AnsweredAssumed Answered

Why does execution take so long on a virtual machine?

Question asked by TehNrd on Jul 28, 2011
Latest reply on Aug 2, 2011 by tlui
I have an extremely simple process that goes directly from a start shape to a stop shape. It is querying about 127,000 documents from a SQL database. On my wimpy centrino laptop the entire process finishes in about 8 mintues. On a virutal machine with a 6 core processor and 2GB of memory dedicated to the atom it takes at least 30 mintues. This is all according to the Process Reporting:

0EM40000000PDXD

...yet when you look at the logs they are performing very similar.
 
The laptop:
2011-07-28T16:31:56Z     INFO     initializing...     initializing...     Executing Process Query from BZ
2011-07-28T16:31:56Z     INFO     shape1     Start: Bazaar DB: database Connector     Executing Start Shape
2011-07-28T16:33:54Z     INFO     shape1     Start: Bazaar DB: database Connector     127728 document(s) found for processing.
2011-07-28T16:33:55Z     INFO     shape1     Start: Bazaar DB: database Connector     (Start: Bazaar DB: database Connector) Query executed successfully in 119094ms (2min).
2011-07-28T16:33:58Z     INFO     shape2     Stop: continuing process     Executing Stop Shape with 127728 document(s).
2011-07-28T16:34:18Z     INFO     shape2     Stop: continuing process     (Stop: continuing process) -- executed successfully in 19868ms (20sec).
2011-07-28T16:40:45Z     INFO     cleanup...     cleanup...     Process execution completed normally.
 
The VM:
2011-07-28T16:33:42Z     INFO     initializing...     initializing...     Executing Process Query from BZ
2011-07-28T16:33:42Z     INFO     shape1     Start: Bazaar DB: database Connector     Executing Start Shape
2011-07-28T16:36:53Z     INFO     shape1     Start: Bazaar DB: database Connector     127728 document(s) found for processing.
2011-07-28T16:36:55Z     INFO     shape1     Start: Bazaar DB: database Connector     (Start: Bazaar DB: database Connector) Query executed successfully in 192592ms. (3.2 min)
2011-07-28T16:36:55Z     INFO     shape2     Stop: continuing process     Executing Stop Shape with 127728 document(s).
2011-07-28T16:37:15Z     INFO     shape2     Stop: continuing process     (Stop: continuing process) -- executed successfully in 20319ms (20sec).
2011-07-28T17:06:34Z     INFO     cleanup...     cleanup...     Process execution completed normally.
 
It looks like they are performing very similar but something is causing a big difference in the process reporting. I am wondering if there is some post process logging to disk that may be slowing things down as the VM doesn't have the same type of disk performance.
 
Can disk performance have this big of an affect on processess performance?
 
Thanks,
Jason

Outcomes