Re: [SLUG] amount of allocated memory that's swapped out

From: Eben King (eben1@tampabay.rr.com)
Date: Wed Mar 17 2004 - 13:16:13 EST


On Wed, 17 Mar 2004, Backward Thinker wrote:

> > So if it says
> >
> > PID USER NI SIZE SWAP RSS SHARE WCHAN STAT %CPU %MEM CTIME COMMAND
> > 12944 eben 0 480M 520 480M 479M R 0.1 63.4 2:35 vmware
> > 12983 eben -19 56272 668 54M 55392 do_select S < 0.0 7.1 0:01 vmware
> >
> > then _right now_ VMware has a total allocation of sum(SIZE)=535M of
> > which about 1.2M is swapped out, right?
>
> That's how I read it. At less than .3% paged out, your problem probably
> lies elsewhere. I don't run VMWare myself, but there's probably a lot
> of disk I/O involved in emulating that 600MB of RAM.

It's real RAM, just not allocated until VMware needs it. Linux may swap
out some of VMware's address space, but the only way to affect that
(AFAIK) is to request less memory, or don't run so many other
memory-intensive programs.

> Does sar (or iostat) show spikes during these pauses?

vmstat shows activity in si (swap in), so (swap out), bi (blocks in) and
bo (blocks out) when I raise the Start menu, poke around a bit there and
run Solitaire. I guess the bi and bo is expected. A few minutes later, I
ran Word and there was no significant si/so activity.

I don't have iostat. Is it significantly different than vmstat?

-- 
The people don't want war, but it's always simple to drag the people along.
The people can always be brought to the bidding of the leaders.  All you
have to do is tell them they are being attacked, and denounce the pacifists
for lack of patriotism, and exposing the country. -- Hermann Goering

----------------------------------------------------------------------- This list is provided as an unmoderated internet service by Networked Knowledge Systems (NKS). Views and opinions expressed in messages posted are those of the author and do not necessarily reflect the official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 19:23:26 EDT