From: valdis.kletnieks@vt.edu (valdis.kletnieks at vt.edu) Date: Tue, 14 Nov 2017 13:04:25 -0500 Subject: memory usage between kernel versions In-Reply-To: <2357.1510681353@epgd332.auth.hpicorp.net> References: <2357.1510681353@epgd332.auth.hpicorp.net> Message-ID: <34122.1510682665@turing-police.cc.vt.edu> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org On Tue, 14 Nov 2017 09:42:33 -0800, Mike Harless said: > 3.14 kernel: > 4c010000-4c0d0000 r-xp 00000000 00:0e 1177 /lib/libc-2.20-2014.11.so > Size: 768 kB > Rss: 416 kB > Pss: 12 kB > > 4.9 kernel: > 4c010000-4c0d0000 r-xp 00000000 00:0e 1177 /lib/libc-2.20-2014.11.so > Size: 768 kB > Rss: 768 kB > Pss: 12 kB > > Is this difference in Rss something to keep looking into, or are there > other thoughts or suggestions on where to look? Thanks! Looks identical to me except for the RSS - which is the amount of resident memory consumed. And *that* can be an artifact of when the process was started, what order processes were started, how many of its pages had been referenced, whether the kernel does read-ahead of .so text segments, and any number of other things. It may be as simple as "you checked the 3.14 system when it had been up for several days/weeks/months and all the useless parts of libc had been freed (to be re-fetched from disk if referenced), and you checked the bright shiny new 4.9 kernel right after boot, before memory pressure had caused page frees to happen. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 486 bytes Desc: not available Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20171114/a001f6d5/attachment.bin