Unless I missed it, no one has spoke to the pros/cons of multiple v-disk swap. I was discussing a number of things with Velocity software just yesterday and the recommendation given was to tune virtual storage down to the point swapping just begins and then set up 10 1 meg vdisk swap spaces rather than 1 10 meg. This provides a normal working set size and then will only allocate swap space that needs to be used. Would anyone more familar with this model care to elaborate? Al Schilla State of Minnesota
-----Original Message----- From: Adam Thornton [mailto:[EMAIL PROTECTED] Sent: Thursday, August 12, 2004 1:25 PM To: [EMAIL PROTECTED] Subject: Re: VDSK Swap - allocation size? On Aug 12, 2004, at 1:15 PM, David Boyes wrote: >> I've always been under the impression that the best configuration for >> Linux/390 guest swap is to make the virtual machine storage >> as large as it >> SHOULD need under normal operating conditions, and give the guest >> practically NO swap. > > Not quite. The idea is to keep the virtual machine size as small as > possible, *and* allow Linux to swap via the most efficient method > possible if it's necessary. Linux dies horribly if it hits a burst of > activity and can't find enough swap to handle the load. "Dies horribly" is a bit extreme. But, yes, eventually the kernel will just start picking processes to kill, and that's never good. Which is why you need to budget VDISK for the common case when the machine suddenly needs a few more megabytes. Depending on the workload, you may also need to budget real DASD (or more VDISK if you can spare it) for giant spikes in RAM usage. > You can then either adjust the virtual > machine size to avoid swapping, or you can accept some amount of > swapping and keep the maximum working set size for the virtual machine > small, and expend the real storage on VDISK for swap, which gets > allocated only if it's really needed. David and I are of course arguing for the second, since this prevents caching a lot of file I/O in the Linux guest, and swapping to VDISK is not a big performance hit. Adam ---------------------------------------------------------------------- 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 ---------------------------------------------------------------------- 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
