[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
size of shared memory, buffer cache, page cache, etc.
Hi, all,
Sorry to bother you to answer these naive questions about linux mm.
I know that in linux memory management, besides the pages actually used by
the some workload, there are also some shared pages (e.g. Copy-On-Write or
IPC shared memory), disk caches (buffer/page cache), swap cache, dentry cache,
slab cache, etc, in order to improve the performance.
My 1st question is: usually, how can I roughly found out the size of the part
of memory which is occupied by all those shared pages, different caches?
(assume there is some processes running)
2nd question is: how are those special pages managed differently, when there
is only single process running and when there are multiple processes running?
Thank you.
--
Cheers!
--Zou Min
zoum@comp.nus.edu.sg URL: http://www.comp.nus.edu.sg/~zoum
-----------------------------------------------------------------------------
Presume not that I am the thing I was. --William Shakespeare
--
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.eu.org/Linux-MM/