On Mon, 2009-05-04 at 19:58 +0100, David De La Harpe Golden wrote:
> >
> ISTR you still need to manually set the swap priorities equal to make it
> actually do that. I could be out of date there though.
> e.g. /etc/fstab with
>> /dev/sda2 none swap sw,pri=1 0 0
> /dev/sdb2 none swap sw,pri=1 0 0
You are quite right of course. You may wish to tune things so that you
are not swapping to the same disk that your apps are hammering on for
I/O too
Still memory is cheap these days so much swapping is a bad thing most of
the time that can usually be cured by throwing more ram in the box. I do
tend to let virtual machines swap a bit since the underlying host will
be using any free ram it has left to cache Disk I/O anyway.
.brendan
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!