Re: Swap file usage seems very low



On 2006-03-06, Warren Block <wblock@xxxxxxxxxxx> wrote:
Monty Hall <monty@xxxxxxxx> wrote:
I'm running FreeBSD 6.0 and for the few times I've looked, the swap file
usage is never greater then 100kB. As Win32 user, this seems extremely
small, is ~100kb normal?

Zero is normal if you have plenty of RAM. After all, running code
that's been swapped out is so much slower than running from RAM. I've
never understood why Windows would swap even with unused RAM available.

I think the idea is "swap now so we don't have to swap later" - which
i've sometimes wished FBSD would do.

Is there some setting that isn't correct?

No, FreeBSD is just using your hardware as efficiently as possible.
.



Relevant Pages

  • Re: excessive swap-in time
    ... Trying to do it all with RAM is just inefficient. ... I find that does not work well when the swapping is caused by excessive I/O ... Or you could have 5 TB of swap space. ...
    (comp.os.linux.development.system)
  • SLUB 0:1 SLAB (OOM during massive parallel kernel builds)
    ... 2G of RAM, 1G of swap partition. ... DMA per-cpu: ... kill process 25286 score 188662 or a child ...
    (Linux-Kernel)
  • 2.6.26-rc5-mm2: OOM with 1G free swap
    ... OOM condition happened with 1G free swap. ... 4G RAM, 1G swap partition, normally LTP survives during much, much higher ... Call Trace: ... 675611 total pagecache pages ...
    (Linux-Kernel)
  • fork failed cannot allocate memory
    ... I have a Dell 2650, dual Xeon box, 2GB RAM, 6GB swap with PERC Hardware ... feeding the perl processes). ... Every week or two the box will stop allowing new netcool client ...
    (RedHat)
  • Re: 2.6.0-test9 - poor swap performance on low end machines
    ... >> Well I was considering adding the swap pressure to this algorithm but I ... It wont be as aggressive as setting the swappiness ... > The test compile started in a similar way to the compile when using your ... detriment of other tasks that are on the runqueue and still need ram. ...
    (Linux-Kernel)