>I was further wondering what linux would do if you specified both a V-DISK >and a DASD device as swap files. Is linux smart enough to prefer the faster >device, and only use the slower one when it needs too?
You can indicate priority with swapon, but I'm not sure how much it would help you. The man page for swapon(2) explains that it will affect the allocation, but I don't think for example swap migration is done between partitions. But then, why would you do this? V-Disk does not cost you much when you don't need it, and when you need it you'll be happy to have it. Return the disk space you were going to use for swapping to CP and let it be used as paging space instead (to back your V-disk). The bonus is that CP paging space is shared among all guests and not pre-allocated in advance for each as mini disks would. I think I still like the alternative of swapping in ramdisk even better. It does not require the data to be copied, and in theory it allows you to dynamically move the line between main memory and swap space. Rob