Bug#233209: hardware-monitor: linux 2.6 memory usage still not quite right

Felix Kuehling Felix Kuehling <fxkuehl@gmx.de>, 233209@bugs.debian.org
Tue, 17 Feb 2004 14:06:40 +0100


Package: libgtop2
Version: 2.0.8-7
Severity: normal

This is a follow-up to bug #231421. I'm using the latest libgtop2 and
hardware-monitor 0.7-5. The kernel version is 2.6.1. When I run for instance

  find / -type f > /dev/null

the memory usage grows by over 100MB. I believe this is because the Slab
cache is included in the memory usage. When I run the above command the Slab
field in /proc/meminfo grows to over 100MB. A closer look at /proc/slabinfo
shows that it's the ext3_inode_cache that grows very large. Since this memory
will be freed when it's needed by applications it should be subtracted from
the memory usage IMHO.

Regards,
  Felix

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux trabant 2.6.1 #3 Sat Jan 31 00:03:27 CET 2004 i686
Locale: LANG=de_DE.ISO-8859-1, LC_CTYPE=de_DE.ISO-8859-1

Versions of packages libgtop2 depends on:
ii  libc6                       2.3.2.ds1-11 GNU C Library: Shared libraries an
ii  libglib2.0-0                2.2.3-1      The GLib library of C routines

-- no debconf information