Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Sep 2003 09:58:05 -0400
From:      Jesse Guardiani <jesse@wingnet.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: `top` process memory usage: SIZE vs RES
Message-ID:  <bjsjdd$vgh$2@sea.gmane.org>
References:  <bjqs64$6i9$1@sea.gmane.org> <20030911231742.GA61528@dan.emsphone.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Dan Nelson wrote:

> In the last episode (Sep 11), Jesse Guardiani said:
>> 1.) Where is my Free memory going? I can't account for it
>>     in the SIZE and RES columns of the various processes.
>>     These are relatively constant.
> 
> Disk cache.

I thought it might be something like that. My large test
messages are being written to disk over and over and over
as the message travels down the pipline. Makes a great case
for installing a RAM disk. :)

>  
>> 2.) What, exactly, is RES? `man top` describes it as this:
>>     "RES is the current amount of resident memory", but does
>>     that mean RES is included in SIZE? Or does that mean that
>>     RES should be counted in addition to SIZE?
> 
> RES the amount of SIZE that it currently in core

OK. To clarify, you mean core kernel memory here?
If so, how is that significant? Why should I care?

In other words, why would I ever want to know that?

Thanks.

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bjsjdd$vgh$2>