Optimize Paging / Swap for guest OS

This is for discussing general topics about how to use VirtualBox.
Post Reply
brazoayeye
Posts: 1
Joined: 23. Jan 2010, 01:56
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: Winzozz XD

Optimize Paging / Swap for guest OS

Post by brazoayeye »

Hi! I use windows 7 (HOST) and windows XP (GUEST) and ubuntu (GUEST).

The biggest problem is the disk, i think that it's caused by the SWAP or paging file. (i'm on a laptop).

1) If i have WXP on a IDE virtual HD will i lose performance?

I enabled the paging file on WXP
2) Is there a way to use the W7 page file instead of a new file?

That's because I can plug in 3 2GB usbKey that can make my w7 page file faster than a normal HDD...

What means "Enable host I/O chache" -> i enabled it.
Ken Hagan
Posts: 43
Joined: 1. Oct 2009, 17:42
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows (various)
Location: UK

Re: Optimize Paging / Swap for guest OS

Post by Ken Hagan »

If you set "no page file" in your guest, but give it more memory than the host RAM, the guest will effectively be using the host's paging.

On the other hand, I think that a page file on a USB memory stick is likely to shorten the stick's life. Also, when the stick does start giving read errors, they will show up as faults in the paging system rather than in the file system and I suspect that your OS will be less graceful in handling that sort of thing.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Optimize Paging / Swap for guest OS

Post by mpack »

You can't give a guest more memory than the host RAM.
Post Reply