linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* Synchronization of the procps tools with /proc/meminfo
@ 2008-02-18 15:55 Bart Van Assche
  2008-02-19 18:53 ` Albert Cahalan
  0 siblings, 1 reply; 4+ messages in thread
From: Bart Van Assche @ 2008-02-18 15:55 UTC (permalink / raw)
  To: linux-mm, Mel Gorman, acahalan

As known the tools in the procps package (e.g. top and free) obtain
their status information from the Linux kernel by reading a.o.
/proc/meminfo. Both top and free report a.o. the following
information:
* Total amount of physical memory.
* Physical memory in use (reclaimable + unreclaimable).
* Unreclaimable physical memory.
Current versions of the procps tools only take "Buffers" and "Cached"
in account as reclaimable memory and ignore the SReclaimable field
(slab reclaimable, includes a.o. the memory occupied by dentry and
inode structures), one of the more recently added /proc/meminfo field
(the latest procps release (version 3.2.7) dates from June 25, 2006).
I would like to see both top and free modified such that these take
the SReclaimable field in account. The reason is that the numbers
reported by free as "-/+ buffers/cache" are useless on recent kernels
when monitoring a Linux system for memory leaks in kernel and/or
server processes. E.g. when findutils updates its database, a lot of
extra dentry and inodes are cached. The output of "free" shows a
significant increase in the amount of memory used, while only
SReclaimable increased and not the unreclaimable physical memory.

This leads me to the question: if the layout of /proc/meminfo changes,
who communicates these changes to the procps maintainers ? And who
maintains the procps package ? I have tried before to contact Albert
Calahan but without success so far.

See also:
* The procps package -- http://procps.sourceforge.net/
* A previous attempt to inform the procps maintainers:
http://sourceforge.net/mailarchive/forum.php?thread_name=e2e108260802132333w4459ae23o3a5930583f426339%40mail.gmail.com&forum_name=procps-feedback

Bart Van Assche.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-03-08  9:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-18 15:55 Synchronization of the procps tools with /proc/meminfo Bart Van Assche
2008-02-19 18:53 ` Albert Cahalan
2008-02-19 18:59   ` Bart Van Assche
2008-03-08  9:35   ` Bart Van Assche

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).