From: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.)
Subject: Re: two swap disks versus one swap disk
Date: 9 Jan 2001 19:43:12 GMT [thread overview]
Message-ID: <93fpkg$bf9$1@mailint03.im.hou.compaq.com> (raw)
In-Reply-To: 93fka9$1qf$1@nnrp1.deja.com
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1878 bytes --]
In article <93fka9$1qf$1@nnrp1.deja.com>, estratosfera@my-deja.com writes:
>Hello, I have to install a machine which has two hard disks so I would
>like to install one swap area in each disk because I have heard that
>the system will work faster than a system with only one swap area.
>
>A Compaq technical person has recommended don't do it but I don�t
>believe him.
I wouldn't believe him either, since the installation procedure
give you the opportunity to setup two page/swap spaces. Many
people setup more than just two.
>What is your opinion or your experience with the swap
>areas? Two swap areas in two hard disks or only one big swap area in
>only one hard disk?
Or one area mirrored on the two disks...
You need page/swap space as a means to support some desired amount
of virtual memory. Either as a maximum if you use the default (eager)
mode of page/swap space reservation, or as an addition to available
memory if you use lazy. The organization of it isn't really that
relevant if the I/O rate to it is sufficiently low.
When you start paging enough that the performance of the page/swap
space becomes relevant the first question you should is "can I afford
more memory"? I would expect that the performance difference between
having more memory and not paging, and needing to page, is enough to
make this serious consideration. Once you can't throw more memory
at the problem, you're faced with how to make a *really bad* performance
problem be merely *bad*.
At that point spreading the page/swap I/O out over more disks and
more controllers might offer some benefit over a single device.
With two disks you can at least some overlapped seeking. With
those two disks on separate controllers, you might get parallel
transfers.
>
>Thank you for your help
>
>
>Sent via Deja.com
>http://www.deja.com/
>
--
Alan Rollow alan@nabeth.cxo.dec.com
next prev parent reply other threads:[~2001-01-09 19:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-01-09 18:12 two swap disks versus one swap disk estratosfera
2001-01-09 18:34 ` Bob Koehler
2001-01-09 19:43 ` Alan Rollow - Dr. File System's Home for Wayward Inodes. [this message]
2001-01-10 10:31 ` Robert Mulley
2001-01-10 14:38 ` Tony Verhulst
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox