[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian's recommendation for the size of the swap.

> i'm currently use 12M swap with 64M RAM, is it too few ?

Here's what you do:

$ free
             total       used       free     shared    buffers     cached
Mem:        127660     120980       6680      21636      44904      35608
-/+ buffers/cache:      40468      87192
Swap:        25580        240      25340

I have 128 MB of RAM.  I'm using all of it but 6.6MB, but I only really
need 40MB for my applications, the rest of the 128MB is caching files
that I have used recently.  The next time I read them, they will already in
RAM and Linux won't access the disk, thus the process will be 10 times

I'm  hardly using my swap, and almost never do.
Peter Galbraith, research scientist          <GalbraithP@dfo-mpo.gc.ca>
Maurice Lamontagne Institute, Department of Fisheries and Oceans Canada
P.O. Box 1000, Mont-Joli Qc, G5H 3Z4 Canada. 418-775-0852 FAX: 775-0546
    6623'rd GNU/Linux user at the Counter - http://counter.li.org/ 

Reply to: