• Home
  • RSS Feed
  • Log in


Running VMWare Server 2.0 on Windows Vista with proper performance
Posted by Vincent Partington just before lunchtime: December 13th, 2008

VMWare Server 2.0 was released about two months ago. Virtualization is hot and has a lot of different uses. I use it to run the Linux-based middleware products (Apache, IBM WebSphere Server, IBM WebSphere Portal, etc.) for which we are building an automated deployment product on my . But more about that later…

Anyway, I’ve been running betas and release candidates of VMWare Server 2.0 for six months now and while the functionality is great, initially the performance was very bad on my Thinkpad T61p running Windows Vista. Last week I finally got it to work with proper performance. A perfect time to let other people know how. :-)

The short version:

  • Turn off User Access Control (UAC).
  • Edit C:\ProgramData\VMWare\VMWare Server\config.ini to include the line
    host.TSC.noForceSync = TRUE
  • Edit your VMWare Server host settings to “Allow some virtual machine memory to be swapped”

And now for the long version…

As mentioned in comments by Theo Fokkema here and here, you need to add host.TSC.noForceSync = TRUE to C:\ProgramData\VMware\VMware Server\config.ini. Unfortunately editing that file on Windows Vista with UAC turned on is tricky. When you edit the file as a user with admin privileges (but not the Administrator itself), you will actually edit a file in a place like C:\Documents and Settings\vinny\AppData\Local\VirtualStore\ProgramData\VMware\VMware Server\config.ini. Already annoyed by the many UAC confirmation dialogs and discovering that IBM WebSphere Server 6.1 also gets confused because of this, I disabled UAC. There are at least four ways to do so, but I choose the easiest; the control panel.

After that fix the total system freezes when starting up a VMWare image where gone, but it still took an inordinate amount of time to start up (3-5 minutes). It turned out that the default setting for the VMWare host is to try and fit all virtual machine memory into reserved host RAM. While that may seem like a good idea, I guess it had the effect of Vista first swapping out a whopping 1.5 GB of my 3 GB memory to disk so that it could reserve that memory for my 1.5 GB Linux image!

To fix that you follow the purple line in the screenshot to the right. It goes a little something like this:

  1. Open the VMWare Server 2.0 web console
  2. Select your host in the inventory tree on the left
  3. Click the “Edit Host Settings” link.
  4. Select the “Allow some virtual machine memory to be swapped” option.
  5. Ignore the warning about this negatively impacting your performance – we know better. ;-)
  6. Click OK.

That’s it! Happy VMing!

Share

Filed under Performance, Virtualization | 3 Comments »



3 Responses to “Running VMWare Server 2.0 on Windows Vista with proper performance”



    Nehemoth Says:
    Posted at: September 5, 2009 at 8:57 pm

    I will try this on Windows 7, if need it

    Reply


    Nehemoth Says:
    Posted at: September 6, 2009 at 2:25 pm

    Did not need it on Windows 7 (RC1).

    Working like a charm

    Reply


    Vincent Partington Says:
    Posted at: September 15, 2009 at 7:05 pm

    @Nehemoth: What part of the advice is not necessary? All of it? In any case, thanks for checking this out!

    Reply


Leave a Reply

Click here to cancel reply.


Xebia Sites

  • Xebia Corporate
  • Xebia France
  • Xebia India
  • XebiCon 2012

Categories

  • Java (312)
  • Agile (192)
  • General (141)
  • Scrum (70)
  • Testing (65)
  • Architecture (65)
  • Performance (47)
  • Middleware (59)
    • Deployment (40)
  • Xebia Labs (41)
  • SOA (31)
  • Project Management (31)
  • Podcast (31)
  • Tools (28)
  • Uncategorized (24)
  • lean architecture (20)
  • Quality Assurance (19)
  • Articles (15)
  • Requirements Management (14)
  • Virtualization (21)

Tag Cloud

    Scala Scrum Flex SOA Xebia lean architecture Spring Concurrency Control Groovy JPA implementation patterns Eclipse Grails agile architectuur Javascript Moving to India Hibernate XML Oracle product owner Lean Java Architecture Frameworks TDD Agile Ajax Maven lean architectuur ACT JPA

Archives

  • May 2012
  • April 2012
  • March 2012
  • February 2012
  • January 2012
  • December 2011
  • November 2011
  • October 2011
  • September 2011
  • August 2011
  • July 2011
  • June 2011
Avatars by Sterling Adventures