[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: meminfo?
- To: linux-il(at-nospam)linux.org.il
- Subject: Re: meminfo?
- From: Jean-Daniel PAUGET <jd(at-nospam)univ-lyon1.fr>
- Date: Wed, 21 Feb 2001 16:18:18 +0200 (IST)
- Delivered-To: linux.org.il-linux-il@linux.org.il
- In-Reply-To: <3A93ADE8.FCBA1CFB@mobilian.com>
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
On Wed, 21 Feb 2001, Shimon Panfil wrote:
> Hi folks,
> I see a considerable difference between total used memory reported by
> top and the sum of total sizes of processes.
> In particular (gtop):Sum of total sizes 92624K
> memory used:203948K
>
> Can anybody explain this?
linux allocate a lot of buffers in memory in order to speed all
disk-accesses. this memory allocated to buffer is aimed to shrink very
quicqly if any process needs and use a lot of memory, so you don't have
to bother about this memory.
by the way, do not forget also that part of the memory counted as used
by a process may be shared (libraries), not to say that I don't know
how is counted the memory "occupied" by say a mmap call that map a file
into memory (for example). Is the said memory counted as allocated ? as
buffer ?
--
(°- --il n'y a pas d'helice, helas ! )\._.,--....,'``.
//\ et oui ! c'est la qu'est l'os !-- /, _.. \ _\ ;`._ ,.
v_/_ (the big vadrouille, 1944) `._.-(,_..'--(,_..'`-.;.'
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il