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

Re: [linux-lvm] disk swap



Hi, Rob!

Rob Foehl (rwf loonybin net) wrote 29 lines:

> I'm assuming its possible to put swap on LVM, I may be wrong..

I have never tried making a swap partition on LVM. Ssince the
kernel can and will strip over swap with equal priority and you
want swap to be FAST, you should put it 'near the beginning'
of (each?) disk, outside LVM or similar.

LVM is not the fastest way of accessing data -- there is some
overhead.  The price is not high, but as swap is 'extended RAM'
you don't want that penalty, since you gain little or nothing.

For additional (shorttime) swapspace needs you can always use
a swapfile -- a bit slower (FS overhead) but it can live on
any FS.

But then Swap use should be tailored to your specific situation.
A busy disk is a bad place for a swapfile, for example.

-Wolfgang



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