On 1/25/07, Adam Thornton <[EMAIL PROTECTED]> wrote:
On Jan 25, 2007, at 3:12 PM, Terry Spaulding wrote: > We are using SAN storage... soon we will be phasing out ECKD dasd > for Linux > zSeries.
I have not seen performance data of a serious z/VM installation doing paging on SAN disks, but I do know we have very good paging performance on ECKD. So I would be very reluctant and careful. But I also know you can not win them all in a large company.
I always use a separate device, or at least a partition (in the x86 world). I do not use swapfiles unless I have no other choice.
The preference for swap partition over swap file is because of the extra layers in the path. It will take cycles to run through the file system as well. I could imagine that when Linux needs to swap in parts of a process, that might be because another process just blocked itself on I/O. It would certainly be sad to see Linux try to swap in from the same device. So you would favor a separate device over a separate partition. With mini disks you can give Linux different virtual devices and have CP spread that over multiple paths. On a Linux server that is very memory constrained, you could see the same thing happen with the binaries (they get dropped from page cache and need to be read in when the process is resumed). That would be a reason to enjoy separate devices for application data and code. With SCSI there is more flexibility in dealing with the I/O. I don't know which of these issues still play a role. Rob -- Rob van der Heij Velocity Software, Inc http://velocitysoftware.com/ ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
