Lately I’ve discussed the performance drop between a virtualized Mac OS X and the same system running natively on a Mac Pro. My virtualization project is not limited to Mac OS X of course. Windows, Linux, FreeBSD are also part of the deal. In order to further test my virtualized workstation setup, I’ve created a Windows Server 2008 R2 VM.
Every VM runs on top of ESXi, only one VM at a time so no interference is possible. Each VM uses the ATI Radeon HD 5770 PCIe card directly thanks to VMware passthrough mode. ESXi is running on a Mac Pro, and the native OS X system runs on the same Mac Pro so I have a consistent hardware platform.
I’ve given Cinebench a ride on this Windows VM, and I must admit, results are appalling… for Mac OS X:
| Cinebench |
OS X 10.8.2 native |
OS X 10.8.2 VM |
Windows Server 2008 R2 VM |
| CORES |
4 |
4 |
4 |
| LOGICALCORES |
2 |
1 |
1 |
| MHZ |
2800 |
2663 |
2800 |
| CBCPUX |
5.038354 |
3.797552 |
3.962436 |
| CBOPENGL |
32.284100 |
27.319487 |
53.606468 |
I’m afraid a virtualized Windows system achieves better results than a native OS X. And not just a little bit better, but 66% better. We knew for ages that Apple ships crappy graphics card drivers and almost obsolete OpenGL. This is one more evidence.
After further research, I’ve finally succeeded in launching some Valve games on this windows VM: Half Life Lost Coast and Portal. They both run quite nicely. The HL Lost Coast integrated benchmark scores a very nice 229,82 FPS and the portal frame rate displayed by the command cl_showfps 1 was around 200 and 300.
On Team Fortress 2 I’ve been able to make a proper benchmark. That’s not as detailed as my L4D2 bench, but that’s enough.
I’ve recorded a game on TF2, Mac OS X 10.6.8, played it back with the timedemo command on the same system, and on the Windows VM.
It’s a short demo (4099 frames) featuring a control point map with 12 players (11 bots, and me). Video settings were the same on both sides, of course.
|
Mac OS X 10.6.8 Native |
Windows VM |
| average |
59.04 fps |
59.83 fps |
| variability |
2.764 fps |
3.270 fps |
It looks like something is capping the fps at 60. I don’t know if it comes from my settings, or if it comes from outside the game. Both scores are very similar. Mac OS X’s only bonus is the smaller variability, meaning its frame rate is more consistent throughout the demo. If only I had sound in my VMs…
Next step: try to configure a Ubuntu VM so it can use the ATI Radeon HD 5770 PCIe card, and make good use of my Steam On Linux beta test account.