On 11/23/2011 02:16 PM, Eric Blake wrote:
> On 11/23/2011 06:01 AM, Frank Murphy wrote:
>> Can a single physical disk,
>> be used as a shared swap-drive.
>> Among virtual Guests?
> (...) having multiple guests simultaneously running while using the same
> disk image for shared swap is a recipe for disaster.

Sorry for barging into this thread but the question made me curious.
What about using multiple disk images (one per guest), on the same
*physical* disk? What are the performance implications? Of course
swapping isn't that fast to begin with, but would a guest that is not
under excessive memory pressure be noticably slower if you have multiple
guests swapping to the same physical disk? Are there special
considerations to swapping that you don't have with non-swap IO?

Can you do 'swap ballooning' where you have let's say 10GB physical disk
space and you give 6 VMs 2GB swap space each, hoping they'll never all
use all of their swap space?

Emanuel
_______________________________________________
virt mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/virt

Reply via email to