Hi all,
I've recently installed Ubuntu 10.10 64 bit (say host H). I also installed Ubuntu inside VirtualBox on H using the same image (say Guest G).
I'm working on a fairly large java project. I've installed the same version of jdk (sun-java-6) on both H & G.
To compile my project - it takes ~3 mins 10 secs (consistently) on H, whereas it only takes ~1 min 5 seconds on G . The full build (compile + tests) takes ~29 mins on H, whereas it takes only ~7 mins on G. Tests do a lot of writes to mongodb.
This is very puzzling. I think it has something to do with fsync disk io etc. But I'm not proficient enough to dig further. Maybe it has something to do with partition sizes of H, G?
Please help me understand this behavior.
Thanks!



Adv Reply


Bookmarks