LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Macro language in Word Processors on linux ???

[ILUG] Macro language in Word Processors on linux ???

Niall niall at magicgoeshere.com
Wed May 17 17:36:18 IST 2000


On Wed, May 17, 2000 at 12:22:20PM +0100, Kenn Humborg wrote:

> > the %MEM fields that top displays I get 191.7 - I presume that's the
> > kernel's memory overcommit coming into effect :-)
> 
> Probably more due to shared memory.  All the code in shared
> libraries and executables is only loaded once into RAM 
> and shared between processes.  So if you have two bash processes
> each looks like this (numbers are fictional):
> 
>    Process 1:      code = 1000k   data = 200k
>    Process 2:      code = 1000k   data = 300k
> 
> In top, these will show up with RSS values of 1.2M and 1.3M.
> So, if you total these, you naively assume that they take
> up 2.5MB of RAM, even though they only take up 1.5M because
> the code portions are shared.

Yes, I did of course have quite some shared memory, in particular with the
soffice.bin instances, but if you look back at my output from free, there
was about 19M of shared memory, and about 29M free (including
buffers/cached) so there's still a big discrepancy there between total RSS
and physical memory, a chunk of which I'm presuming is memory overcommit - I
can't think of any other explanation for it.


Regards,


Niall




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell