Native Mac OS X 15x slower than virtualized Windows
Posted: Fri May 28, 2010 9:24 am
Hi,
I've been using NEURON 7.1 in a virtualized Windows 7 environment (in VMWare Fusion, on a Macbook Pro running Mac OS X 10.6.3, with a 2.8 GHz Intel Core 2 Duo processor and 4GB of RAM). Initially, my reason for running in virtualized Windows was for compatibility with a colleague who runs NEURON under native Windows XP - I was learning from him, and wanted to avoid any OS-related differences. I'd prefer to run NEURON in my native OS, namely OS X 10.6, in part to avoid virtualization overhead, but mainly so I can take advantage of both cores (e.g. when running MultiRunFitter).
Paradoxically, running the same simulation under native OS X took about 15x longer to complete than under virtualized Windows. It took 24 sec virtualized, and 386 sec natively. I then closed two state-variable graphs and three mechanism parameter panels that were updating continuously, and reran the simulation (there was still one graph open). It took 11.5 sec virtualized, and 178 sec natively. The simulation is variable time-step using CVODE.
I'd greatly appreciate any help in figuring out how to improve the native Mac performance / figure out what's going on in my case. If there are any benchmarking scripts, I'd be happy to try them (also to supply my model files).
Thank you,
Ben.
I've been using NEURON 7.1 in a virtualized Windows 7 environment (in VMWare Fusion, on a Macbook Pro running Mac OS X 10.6.3, with a 2.8 GHz Intel Core 2 Duo processor and 4GB of RAM). Initially, my reason for running in virtualized Windows was for compatibility with a colleague who runs NEURON under native Windows XP - I was learning from him, and wanted to avoid any OS-related differences. I'd prefer to run NEURON in my native OS, namely OS X 10.6, in part to avoid virtualization overhead, but mainly so I can take advantage of both cores (e.g. when running MultiRunFitter).
Paradoxically, running the same simulation under native OS X took about 15x longer to complete than under virtualized Windows. It took 24 sec virtualized, and 386 sec natively. I then closed two state-variable graphs and three mechanism parameter panels that were updating continuously, and reran the simulation (there was still one graph open). It took 11.5 sec virtualized, and 178 sec natively. The simulation is variable time-step using CVODE.
I'd greatly appreciate any help in figuring out how to improve the native Mac performance / figure out what's going on in my case. If there are any benchmarking scripts, I'd be happy to try them (also to supply my model files).
Thank you,
Ben.