Date: Fri, 3 Apr 1998 12:42:33 +0100 From: nik@iii.co.uk To: Karl Pielorz <kpielorz@tdx.co.uk> Cc: questions@FreeBSD.ORG Subject: Re: Interleaved swapping... Message-ID: <19980403124233.05061@iii.co.uk> In-Reply-To: <3524C839.C3B5BA77@tdx.co.uk>; from Karl Pielorz on Fri, Apr 03, 1998 at 12:30:01PM %2B0100 References: <3524C839.C3B5BA77@tdx.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Apr 03, 1998 at 12:30:01PM +0100, Karl Pielorz wrote: > If I have multiple swap files on my system (running 2.2.6-R) - are they > interleaved by default? - or does the system just swap to device 'a', until > it's out of space - then start swapping to device 'b'? It uses both. Anecdotal evidence suggests that if you plan on having 128 MB of swap (for example) and you have two disks, it's better to have 2 64MB swap partitions, since the system spreads the load over the disks. I say "anecdotal" because I haven't seen any hard figures showing how much of an improvement this is. Doubtless they exist, but I don't know where. (I've faked up this display because I only have one swap partition, but I've used it with both) # swapinfo Device 512-blocks Used Avail Capacity Type /dev/wd0s1b 262144 134752 127264 51% Interleaved /dev/wd1s1b 262144 134752 127264 51% Interleaved N -- Work: nik@iii.co.uk | FreeBSD + Perl + Apache Rest: nik@nothing-going-on.demon.co.uk | Remind me again why we need Play: nik@freebsd.org | Microsoft? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980403124233.05061>