On Tue, Dec 25, 2007 at 04:34:18AM +0100, Andi Kleen wrote:Yeah, unfortunately, querying to find out how much memory is being used by which parts of the system is something which I think needs to be more than just a debugging feature. One could argue that "vmstat", "iostat", and "sar" are debugging features as well, but other people would consider them "critical programs to get information necessary to monitor the health of their system". Perhaps /proc/slabinfo should be that relatively stable interface, if /sys/slab can't be guaranteed to be stable. But there *are* people who will want to monitor information like this on an ongoing fashion on production systems. One of the major downsides of /sys seems to be that it's very hard to keep it stable, so maybe it's not the right tool for this. /proc/slabinfo has the advantage that it's a simple text file, and its format is relatively well-understood, and doesn't a patch to provide /proc/slabinfo for SLUB already exist? - Ted --
| Heiko Carstens | Re: -mm merge plans for 2.6.23 -- sys_fallocate |
| david | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Bart Van Assche | Re: Integration of SCST in the mainstream Linux kernel |
git: | |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| David Miller | [GIT]: Networking |
| Badalian Vyacheslav | e1000: Question about polling |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
