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

Re: [linux-lvm] Keeping swap in the middle of the disk

On Fri, 26 Jan 2001, Jos Visser wrote:

> Hi Chris,
> The setup you describe will work. Use pvcreate to make hda2, hda4, hdc2
> and hdc2 into physical volumes, and group them into one volume group
> (using vgcreate/vgextend as appropriate). Then create one big logical
> volume in that vg. 

If I do this then surely it either ends up striping across all four
partitions (so each disk would be continually seeking from one partition
to another) or not do any striping at all?

> However, I must say that placing the swap area's in the middle of the
> disk strikes me as somewhat overkill. I dare venture that this is almost

I guess so... it looks like I'm gonna end up with it at one end of the

> never necessary nowadays. Theoretically you are right, but the
> things modern disk drives and operating systems do to minimise disk
> I/O's make it kinda hard to predict what will be going on anyways.
> Optimising swapping is optimising at the wrong level of the storage
> hierarchy anyway. And, on another note, it might be more worthwhile to
> make sure the ReiserFS journal is in the middle of the disk, since that
> is most definitely a hot spot in the file system.
> ++Jos



jakdaw xmms org

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