Will Stephenson said the following on 06/14/2011 09:04 AM:
I'd be interested to know your opinion of the accuracy of ksysguard's memory stats (alt-f2, "System Monitor" under KDE).
I'd seen and used it as a version of 'top' that better illustrated threads, but after this posting, Will, I drilled down and ... WOW!
[snip
Due to their high degree of integration and shared components, and top, KDE apps routinely get clobbered by the uninformed for being "bloated", so the ksysguard author has tried to produce a tool that provides accurate stats.
WOW! I see what is pasted below, and when I expand on the "Show Full Details" of memory usage, all my questions about what is where are answered. It also answers the questions about what libraries and binaries should be on fast store/SSD for the programs you use. Its a shame there is no way to 'dump' the output to a file. The only shortcoming is that I have to proceed forward. Clearly FF isn't the one contributing to the use of swap, despite what I had though. Its memory use is prodigious, but the way Linux maps and shares libraries wins out in the end, and the way it handles threads and shares memory between threads is another example of conservatism. Here we go: Process 4059 - firefox Summary The process firefox (with pid 4059) is using approximately 430.9 MB of memory. It is using 412.2 MB privately, 15.8 MB for pixmaps, and a further 12.0 MB that is, or could be, shared with other programs. Dividing up the shared memory between all the processes sharing that memory we get a reduced shared memory usage of 2.9 MB. Adding that to the private and pixmap usage, we get the above mentioned total memory footprint of 430.9 MB. Library Usage The memory usage of a process is found by adding up the memory usage of each of its libraries, plus the process's own heap, stack and any other mappings, plus the stack of its 24 threads. Private more 402716 KB [heap] 12468 KB /usr/lib/xulrunner-2.0.1/libxul.so 2756 KB /usr/lib/xulrunner-2.0.1/libmozjs.so 540 KB /home/anton/.mozilla/firefox/tav9xtnm.2006-07-07/extensions/{DDC359D1-844A-42a7-9AA1-88A850A938A8}.xpi 488 KB /usr/lib/xulrunner-2.0.1/libmozsqlite3.so Shared more 972 KB /usr/lib/libgtk-x11-2.0.so.0.2200.1 832 KB /usr/lib/libnss3.so 712 KB /lib/libc-2.11.3.so 584 KB /var/cache/fontconfig/7ef2298fde41cc6eeb7af42e48b7d293-le32d4.cache-3 484 KB /lib/libglib-2.0.so.0.2800.0 Totals Pixmap 16177 KB (Might be stored in the graphics card's memory) Private 422128 KB (= 16660 KB clean + 405468 KB dirty) Shared 12252 KB (= 12188 KB clean + 64 KB dirty) Rss 434380 KB (= Private + Shared) Pss 425098 KB (= Private + Shared/Number of Processes) Swap 0 KB Full Details Information about the complete virtual space for the process is available, with sortable columns. An empty filename means that it is an anonymous mapping. Both the MMU page size and the kernel page size are 4 KB. Show Full Details ------------------- END ----------------- -- There is only one quality worse than hardness of heart and that is softness of head. --Theodore Roosevelt -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org