Re: swapping

Stephen C. Tweedie (sct@redhat.com)
Wed, 25 Nov 1998 15:53:00 GMT


Hi,

On Tue, 17 Nov 1998 21:05:00 -0500, David Feuer <feuer@his.com> said:

> I'm sure someone has already done this to death, but....
> Are there any advantages to having many small swap partitions laid out
> at regular intervals along the disk?

No, none at all.

> Would this offer better efficiency? Could a filesystem take into
> account a file spread across disk like this in an efficient way?

Maybe, but these days, trying to second-guess the physical movement of a
disk head is a losing game.

What _does_ help is to stripe your swap over different disks by having
swap on physically separate drives and setting up the swap partitions to
have the same swap priority (man swapon). Also good is to make sure
that the drive used for swap is different from the one used to page
common binaries and libraries.

--Stephen

-
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/