On Dienstag, 13. März 2007, [EMAIL PROTECTED] wrote:
> On Tue, Mar 13, 2007 at 09:46:39AM -0300, Joaquim Quinteiro Uchoa wrote:
> > Anthony is really right: it depends if you need swap. In a server with
> > 30 users,
> > problably not, even in the case where the access is simultaneous (by
> > experience with servers with 2GB of RAM and 2GB of swap).
>
> One of the benefits of swap is that unused application text, data, etc.
> can be paged out in a fairly permanent fashion.  Without swap, that
> stuff has to sit in RAM, even if it's not touched for hours or days.
>

no it has not to stay in ram. Unused stuff that is not 'dirty' IE identical to 
the stuff on harddisk, can be kicked out of ram, when the space is needed.

And for some funny reason, loading something out of swap is much slower than 
loading it from the fs....

50mb in swap - and everything is slow. So slow as if every bit is fetched by a 
mule caravan. And it does not matter if it is a swap partition or a swap 
file. It is slow. 

But there is an easy way to get the box back to normal speed: swapoff -a && 
swapon -a ...
--
[email protected] mailing list

Reply via email to