Messages in this thread | | | Date | Thu, 16 Sep 1999 18:48:27 -0400 | From | Rui Sousa <> | Subject | Re: Swap on two drives |
| |
laslo@wodip.opole.pl wrote: > > Hi, > > I have a quick question (just from curiosity): > > If we have a hipotetical machine with two harddrives, > and on both we make a swap partitions, will Linux > try to swap on not-actually-used disk ? > I mean something like: we have some disk activity > on hda1 and Linux has to swap something in, > will it swap to swap partition on hda or hdb ? > > I'm sorry if it's not a good place to ask such > a question, and if so - please guide me in the > good direction. > > Thanks in advance, > -- laslo > > - > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majordomo@vger.rutgers.edu > Please read the FAQ at http://www.tux.org/lkml/
Hi,
You can define priorities for the swap partitions (see man 2 swapon) and I think that's the only difference the kernel will see. So if you have equally fast disks and one is mainly idle increase the priority of the swap partition in this disk.
Rui Sousa
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |