Advise wanted on optimizing a WinXP guest.
Posted: 27. Jul 2010, 20:54
My Setup:
Version: VirtualBox 3.2.6 for Linux (Not OSE)
PC Specs: Intel Core 2 Duo CPU E8500 3.16GHz, 3 GB RAM.
Host: Linux / Ubuntu (v. Lucid Lynx)
Guest: Windows XP Pro SP3
Windows XP Guest Setup:
RAM: 1 GB
Processor: 1
Video Memory: 64 MB
Hard Disk: Dynamically Expanding Storage
Guest Additions are installed.
For all files I create I use a shared folder, except for installed software of course.
Firstly I am very impressed with VirtualBox, Win XP running as a guest works very well, VirtualBox is certainly a very impressive piece of software.
I would like some advise on how to optimize Win XP running as a guest please. I run a few processor and file intensive applications on the guest, some video conversion software and such like which Linux does not have viable alternatives for. Now I know that such software is among the worst to run in a virtual environment, but I would really love not to have to have a dual boot Linux/WinXP (which I have at the moment) and use a normal WinXP install for my processor intensive operations because I want to start the processes running in WinXP and then, while it's running, get on with other things in Linux. Obviously I can only do that with VirtualBox (and I don't want to do it the other way around and run Linux as a guest OS on a Win host).
I ran some time tests and, at the moment, some processor intensive tasks (video encoding in this case) take about 3 times longer to run under WinXP as a VirtualBox guest as they do under native WinXP. Now that's quite manageable, not bad at all, but can I optimize my setup to improve it? I have some questions below, but any advise would be greatly appreciated.
1. Multiple processors. In VirtualBox Settings --> System --> Processor Tab I have one CPU set, when I increased this to two a warning indicator was displayed saying 'Non-optimal settings detected'. It sounded ominous so I cancelled it. Is it a good idea to try this or should I obey the warning? Within the System settings there are a number of other options like the Motherboard Extended Features, would any of these increase performance? What about Video Memory, mine is set to 64 MB, would putting this up to the max. of 128 MB help?
2. In the manual there is a section "12.3.8 Long delays when accessing shared folders", which advises making the following changes if accessing shared folders on a Windows guest results in 'long delays'.
"To fix these delays, add the following entries to the file \windows\system32\drivers\etc\lmhosts of the Windows guest:
255.255.255.255 VBOXSVR #PRE
255.255.255.255 VBOXSRV #PRE"
I do NOT have long delays, but might this serve as a performance enhancer anyway?
3. WinXP is bloated!! I read a suggestion somewhere on the web, that said a Win version called TinyXP runs very well as a guest on VirtualBox because it consists of a version of XP with non-essential services turned off, and all kinds of changes to XP so that it will run fast even on limited hardware specs. On investigation TinyXP turned out to be a pirated distribution that someone has created so I'm not interested - I have several genuine licensed copies of XP that I've had bundled with various PCs/Laptops over the years. However as a concept for improving WinXP performance as a VirtualBox guest it seems to me an excellent idea to turn off/disable unnecessary WinXP services. There are 44 'Started' services running on my WinXP guest, but I'm no Windows guru - how do I know which are essential and which I can turn off? Is turning some off likely to give me a performance boost? Which ones (if that's not too hard to answer!)?
4. As a supplement to question 3., are there any other settings I can change on WinXP to increase it's performance running as a VirtualBox guest?
Sorry that this has turned out to be such a long post, I'm a VirtualBox newbie and could find no guide to optimization. Any help and advise would be greatly appreciated.
Many thanks and regards,
GenCon
Version: VirtualBox 3.2.6 for Linux (Not OSE)
PC Specs: Intel Core 2 Duo CPU E8500 3.16GHz, 3 GB RAM.
Host: Linux / Ubuntu (v. Lucid Lynx)
Guest: Windows XP Pro SP3
Windows XP Guest Setup:
RAM: 1 GB
Processor: 1
Video Memory: 64 MB
Hard Disk: Dynamically Expanding Storage
Guest Additions are installed.
For all files I create I use a shared folder, except for installed software of course.
Firstly I am very impressed with VirtualBox, Win XP running as a guest works very well, VirtualBox is certainly a very impressive piece of software.
I would like some advise on how to optimize Win XP running as a guest please. I run a few processor and file intensive applications on the guest, some video conversion software and such like which Linux does not have viable alternatives for. Now I know that such software is among the worst to run in a virtual environment, but I would really love not to have to have a dual boot Linux/WinXP (which I have at the moment) and use a normal WinXP install for my processor intensive operations because I want to start the processes running in WinXP and then, while it's running, get on with other things in Linux. Obviously I can only do that with VirtualBox (and I don't want to do it the other way around and run Linux as a guest OS on a Win host).
I ran some time tests and, at the moment, some processor intensive tasks (video encoding in this case) take about 3 times longer to run under WinXP as a VirtualBox guest as they do under native WinXP. Now that's quite manageable, not bad at all, but can I optimize my setup to improve it? I have some questions below, but any advise would be greatly appreciated.
1. Multiple processors. In VirtualBox Settings --> System --> Processor Tab I have one CPU set, when I increased this to two a warning indicator was displayed saying 'Non-optimal settings detected'. It sounded ominous so I cancelled it. Is it a good idea to try this or should I obey the warning? Within the System settings there are a number of other options like the Motherboard Extended Features, would any of these increase performance? What about Video Memory, mine is set to 64 MB, would putting this up to the max. of 128 MB help?
2. In the manual there is a section "12.3.8 Long delays when accessing shared folders", which advises making the following changes if accessing shared folders on a Windows guest results in 'long delays'.
"To fix these delays, add the following entries to the file \windows\system32\drivers\etc\lmhosts of the Windows guest:
255.255.255.255 VBOXSVR #PRE
255.255.255.255 VBOXSRV #PRE"
I do NOT have long delays, but might this serve as a performance enhancer anyway?
3. WinXP is bloated!! I read a suggestion somewhere on the web, that said a Win version called TinyXP runs very well as a guest on VirtualBox because it consists of a version of XP with non-essential services turned off, and all kinds of changes to XP so that it will run fast even on limited hardware specs. On investigation TinyXP turned out to be a pirated distribution that someone has created so I'm not interested - I have several genuine licensed copies of XP that I've had bundled with various PCs/Laptops over the years. However as a concept for improving WinXP performance as a VirtualBox guest it seems to me an excellent idea to turn off/disable unnecessary WinXP services. There are 44 'Started' services running on my WinXP guest, but I'm no Windows guru - how do I know which are essential and which I can turn off? Is turning some off likely to give me a performance boost? Which ones (if that's not too hard to answer!)?
4. As a supplement to question 3., are there any other settings I can change on WinXP to increase it's performance running as a VirtualBox guest?
Sorry that this has turned out to be such a long post, I'm a VirtualBox newbie and could find no guide to optimization. Any help and advise would be greatly appreciated.
Many thanks and regards,
GenCon