mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* measuring memory pressure, expose freepages and zone watermarks under /proc perhaps?
@ 2008-07-22 18:36 Buddy Lumpkin
  0 siblings, 0 replies; only message in thread
From: Buddy Lumpkin @ 2008-07-22 18:36 UTC (permalink / raw)
  To: linux-kernel, linux-mm

Hi All,

Would it be possible to expose the value of the zone watermarks and
freepages for each zone under /proc in order to present a clear
picture of what the memory pressure on a system looks like?

Running: watch -n1 cat /proc/meminfo,  you can get a pretty good feel
for how much memory pressure each zone is under by watching HighFree
and LowFree fall to a certain point, and then increase in a cyclical
fashion, but it would be absolutely wonderful if some metrics could be
exposed that give us a better view into the amount of memory pressure
a system is under.

In my case, I would like to write an agent that distills this
information in a way that allows users to set alarm thresholds for
their applications. The allocstall metric in /proc/vmstat is nice for
indicating whether a 2.6 kernel has fallen under extreme memory
pressure, but I have applications that are affected noticeably by even
modest amounts of memory pressure make a very noticeable difference in
latency.

Lastly, if anyone knows of a good method for measuring various levels
of memory pressure on 2.4 and/or 2.6 kernels, please share them.

Thanks in advance,

--Buddy

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-07-22 18:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-22 18:36 measuring memory pressure, expose freepages and zone watermarks under /proc perhaps? Buddy Lumpkin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®