On Thursday 21 July 2011 16:27:03 Grant did opine thusly:
> >> > [..]
> >> > 
> >> >> I think if you have 4GB of RAM you shouldn't need any
> >> >> swap
> >> >> under
> >> >> normal circumstances. I have a gentoo box with just
> >> >> 256MB of
> >> >> RAM
> >> >> that's running web server (apache + php), mail server
> >> >> (postfix +
> >> >> dovecot), and database (mariadb), and it works fine if i
> >> >> disable swap. I do normally have swap enabled on it,
> >> >> though,
> >> >> because emerging sometimes uses a lot of RAM.
> >> > 
> >> > Indeed, I have a server with 256MB of memory and it
> >> > couldn't
> >> > emerge gcc when I had swap disabled.
> >> 
> >> I can't compile openoffice with -j1 on 3GB RAM and no swap.
> > 
> > Sounds like a case for a swap partition that can be activated
> > when you need it for big emerges. I hit the same thing with
> > firefox-5 oddly enough.
> 
> Swap file just as good?

Yeah. If the docs are true, then swap files and partitions give 
similar performance these days.


-- 
alan dot mckinnon at gmail dot com

Reply via email to