> Coincidentally, I just happened to be reading up on SWAP only moments
> ago in a study guide.  In my material, it recommends instead of doubling
> SWAP to the size of RAM, you should spread SWAP into partitions in
> multiple disks.  Then set the priority in /etc/fstab to 1 for each of
> the partitions.  That way, SWAP runs optimally and the CPU delegates to
> all SWAP partitions in parallel.
>
> In /etc/fstab, you would do something like this, assuming you have two
> drives on your machine.
>
> /dev/sda1    swap     swap   pri=1  0.0
> /dev/sdb1    swap     swap   pri=1  0.0
>
> Be sure that your drives are of the same speed.
>
> I'm only paraphrasing what I was just reading, but it makes sense to me.
> If anyone else has had experience with this type of optimization, would
> love to hear more from you!
>

So how would you make SUSE use the swap space for suspend if the size
of both swap partitions adds up to the size of RAM?

If there were only 1 swap partition, the kernel would know from the
GRUB menu entry:

kernel /vmlinuz root=/dev/hdd6 vga=0x317 resume=/dev/sda1 splash=verbose

Will it work to have two resume sections like this:

kernel /vmlinuz root=/dev/hdd6 vga=0x317 resume=/dev/sda1
resume=/dev/sdb1 splash=verbose
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to