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) `._.-(,_..'--(,_..'`-.;.'
ÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝØ unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]