Re: just a small VM idea

From: Rik van Riel (riel@conectiva.com.br)
Date: Mon Oct 23 2000 - 11:23:27 EST


On Sun, 22 Oct 2000, Samium Gromoff wrote:

> Let`s imagine were having two mounted swap partitions.
> Current situation, if im not going wrong is the next:
> swapping to 1st partition, till there is a space on it
> then swapping to the next one...
> But if make two basic checks:
> 1) if these partitions are on different drives
> 2) i/o speed is approx the same
> we can do parallel page writes/reads, therefore
> in fact twicing swapping i/o...

If you swapon(8) both partition with the same priority,
the kernel will stripe between them.

See 'man 8 swapon' for more info...

regards,

Rik

--
"What you're running that piece of shit Gnome?!?!"
       -- Miguel de Icaza, UKUUG 2000

http://www.conectiva.com/ http://www.surriel.com/

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Oct 23 2000 - 21:00:21 EST