Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Nov 1995 21:28:20 -0800 (PST)
From:      John Dyson <dyson>
To:        pgf@American.COM
Cc:        freebsd-questions@freebsd.org
Subject:   Re: what's counted in RSS and VSZ?
Message-ID:  <199511030528.VAA17394@freefall.freebsd.org>
In-Reply-To: <199511030324.WAA05749@mozart.american.com> from "Paul Fox" at Nov 2, 95 10:24:48 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> here are the results:
> 
> USER       PID %CPU %MEM   VSZ  RSS TT  STAT STARTED       TIME COMMAND
> pgf       8369  0.0  2.3   136  324 p3  S    10:21PM    0:00.04 simple.dynamic
> pgf       8370  0.0  0.4   164   48 p3  S    10:21PM    0:00.01 simple.static
> 
> questions:
> 
>     - how can RSS ever be bigger than VSZ?  
>
	The shared lib version does not include the shared lib in the VSZ, and
	the shared lib itself is 'prefaulted' into the processes address space
	by placing convieniently accessible (in memory) pages directly in.
	These pages count as part of the RSS even if they are not used.  This
	significantly speeds up process start-up (most of the time.)


John
dyson@freebsd.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199511030528.VAA17394>