  | | | No swap being used | No swap being used 2006-01-12 - By Jeff Macfarland
Back Jussi Silvennoinen wrote: >> Sun V20z, RHEL 3u5, i386 kernel, 12GB RAM, 12GB swap >> >> This box hosts quite a few things, among them serving SunRay's. We've >> been experiencing horrible slowdowns particularly during a cvs checkout. >> Just noticed that NO swap is being used: >> >> output of `free`: >> >> total used free shared buffers cached >> Mem: 12277844 12036764 241080 0 1333552 7502204 >> -/+ buffers/cache: 3201008 9076836 >> Swap: 12578704 0 12578704 > > I guess yer a Solaris-admin? Things work a bit different in the > penguin-world. > > No need to swap = nothing gets swapped. Solaris does it a bit different. > Over 7gb's of your ram is used for block cache so you're far away from > actually needing to swap. >
At what point will linux start using swap? Where there is absolutely no free RAM left? Its been my understanding that swap will almost always be used for idle processes regardless of amount of free ram left. I see the output of free range from a few gigs free to 50M and at no point is anything swapped. I suppose I am just used to our old solaris boxes though.
> Instead, look at the output of 'top' when the slowdowns occur.
We have. IO waits perecentage goes quite high and iostat shows 'await' time on the order of a few thousand ms for sda. The cvs repo is on a software raid partition though.
Thanks for the swap info though.
-- Jeff Macfarland (jmacfarland@(protected)) Nexa Technologies - 972.747.8879 Unix Administrator GPG Key ID: 0x5F1CA61B GPG Key Server: hkp://wwwkeys.pgp.net
-- Taroon-list mailing list Taroon-list@(protected) https://www.redhat.com/mailman/listinfo/taroon-list
|
|
 |