DevDays is Monday
Monday New York will host the first DevDays of the year! I will be doing the opening keynote (along with fellow RD Andrew Brust) and a session on Web Security-threat modeling.
The keynote demos are all on virtual PC drive images, I got the Blue Screen of Death on a Win 2003 Virtual PC Image. Go figure. I have noticed that it is faster to run VPC on an external disk. Here are some tips that came my way if you are a VPC user:
Biggest perf tip is to put the VPC Virtual Hard Disks (VHD) to separate disk spindles from the operating system. The biggest perf issue with VPC is related to disk I/O … and by making the VPC fight with your OS and swap disk make this issue much, much worse. Additionally, today’s USB 2.0 and Firewire external hard drives run on a fast interface bus (Firewire does have some advantages over USB 2.0, but both are excellent), have a large (8MB) buffer and spin at 7200 RPM, as opposed to 4200 RPM for most laptop HDD.
Also, note the tip below regarding “Run Virtual PC at Maximum Speed” … this will give a boost to the VPC’s thread priorities at the expense of the host OS applications. Depending on what you are using the VPC for, this may be exactly what you want.
From a PPT Deck:
• Ideally Virtual PC performance is at: • CPU: 96-97% of host • Network: 70-90% of host • Disk: 40-70% of host • However this is only for optimized guest operating systems running typical loads for a single process • The Virtual PC team’s aim is always to provide the fastest possible solution while not compromising compatibility
• While virtual machines are not slow – there is always the potential for an unusual application to cause performance issues
• Guest Performance – Preferences • Check “File … Options” • Running guest in background: Enable “Run Virtual PC at Maximum Speed” • Running a test on multiple guests: Enable “All running virtual machines get equal CPU time” • Memory • Host should have a minimum of 256MB, 512MB – 1024MB recommended • More memory is recommended for running multiple virtual machines simultaneously • Each guest should be allocated memory like it would on a physical machine • Virtual machines cannot use paged memory on the host system
Additional Disk Optimizations
• Virtual Hard Disk size • Compress them • Defrag guest • Clear unused sectors ( Cipher, Eraser, etc.) • DO NOT attempt this step on a differencing drive – it will expand the disk to maximum size and you cannot compact it.
• Compact using Virtual Disk Wizard • Enable NTFS compression on host operating system • Trades off performance for file size • Virtual Hard Disk performance • Place the .VHD files on separate spindle from host OS • If using Undo or Differencing Disks, place them on an additional spindle
Page rendered at Thursday, March 30, 2023 6:29:00 AM (Eastern Standard Time, UTC-05:00)
The opinions expressed herein are my own personal opinions and do not represent
my employer's view in anyway.