From: "王欢(云痕)" <huan.wanghuan@alibaba-inc.com>
To: "cgroups" <cgroups@vger.kernel.org>
Cc: "linux-mm" <linux-mm@kvack.org>
Subject: Can cgroup memory subsystem provide estimated available memory, just like /proc/meminfo: MemAvailable?
Date: Sat, 08 Oct 2022 17:45:46 +0800 [thread overview]
Message-ID: <f97b1356-300a-4129-af9b-8635c88bbf7b.huan.wanghuan@alibaba-inc.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 413 bytes --]
Hello cgroup & memory experts,
/proc/meminfo: MemAvailable is a very useful mertics that provides estimated available memory, calculated by MemFree, Active(file), Inactive(file), SReclaimable and Watermarks. It is implemented by the si_mem_available() function[1]. Can cgroup memory subsystem provide estimated available memory?
/proc/meminfo:
MemTotal: 63793888 kB
MemFree: 21124704 kB
MemAvailable: 39106088 kB
[-- Attachment #2: Type: text/html, Size: 2180 bytes --]
next reply other threads:[~2022-10-08 9:45 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-08 9:45 王欢(云痕) [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-10-08 10:38 王欢(云痕)
2022-10-08 9:48 王欢(云痕)
2022-10-08 9:29 王欢(云痕)
2022-10-08 9:09 Can Cgroup " =?gb18030?B?xP6+srXEzOy/1Q==?=
2022-10-07 15:58 =?gb18030?B?xP6+srXEzOy/1Q==?=
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f97b1356-300a-4129-af9b-8635c88bbf7b.huan.wanghuan@alibaba-inc.com \
--to=huan.wanghuan@alibaba-inc.com \
--cc=cgroups@vger.kernel.org \
--cc=linux-mm@kvack.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox