On Thu, 1 Oct 1998, H.J. Lu wrote:
> > Here is a free report for everyone BTW, you'll enjoy this.  I admit it's a
> > weird situation.  I'm trying newer kernels as I write this.
> > 
> >              total       used       free     shared    buffers     cached
> > Mem:        257176     238112      19064      69184      91992      69844
> > -/+ buffers/cache:      76276     180900
> > Swap:       130748          0     130748
> > 
> >              total       used       free     shared    buffers     cached
> > Mem:        515848     482776      33072      76616     176136     210868
> > -/+ buffers/cache:      95772     420076
> > Swap:       261496          0     261496
> > 
> 
> You have so many free memory. Why should swap be used? I have
> a dual PPro SMP machine with 256MB RAM:
> 
>              total       used       free     shared    buffers     cached
> Mem:        257580     252320       5260      30420      80560     139448
> -/+ buffers/cache:      32312     225268
> Swap:        16060          8      16052
> 
> I have no problem with swap. But I have never used more than 10MB
> swap.

Believe me, it can definitely page to swap.  I've used a alot more than that
on occasion.  I just now purposely used a bunch of memory on my 2.0.30 SMP
system:

roadrunner:~$ free
             total       used       free     shared    buffers     cached
Mem:        126896     125816       1080      42512        236      15860
-/+ buffers/cache:     109720      17176
Swap:       196596      37928     158668

Then I decided to really thrash it (xv's visual schnauzer displaying
thousands of images works quite nicely for that) and saw:

roadrunner:~$ free
             total       used       free     shared    buffers     cached
Mem:        126896     125240       1656      27724        152      10292
-/+ buffers/cache:     114796      12100
Swap:       196596     165056      31540


Yes, I think it can page to swap quite nicely... :-)

Incidentally, just to make things interesting, the above numbers were
generated using mostly swap files (3 64MB files), not swap partitions.

-Andy

Global Auctions
http://www.globalauctions.com

Reply via email to