a physical system. Interestingly, the authors explicitly
point out the time measurement deficiencies on VMs
and reportedly counteract them through the use of an
external reference. However, Domingues et al. do not
provide a quantification of these effects.
In summary, the issue of timekeeping in VMs
has already received notable attention by the scien-
tific community. However, no work has specifically
aimed to quantify measurement inaccuracies in the sub-
second range and outline the practical implications of
these deficiencies, e. g., the VM-based evaluation of
algorithms or heuristics.
6 SUMMARY AND OUTLOOK
In the work at hand, we argued that literature and prac-
tical experience points to deficiencies of VMs with
respect to accurate time measurements. To experimen-
tally evaluate these potential drawbacks, we imple-
mented a Java-based measurement tool, which permits
to repeatedly measure the computation time of a deter-
ministic, parameterizable method, namely the factorial
function.
Using this tool, we conducted a series of experi-
ments on both physical and virtual infrastructures, in-
cluding a VM leased from the cloud. Our experiments
indicate that VMs feature much higher measurement
inaccuracies, specifically in the case of sub-second
absolute computation times, compared to physical ma-
chines.
Based on these findings, we conclude that physical
machines should be preferred for exact time measure-
ments, specifically, if absolute computation times in
the sub-second range are expected and valid scientific
results are to be drawn from those measurements.
In our future work, we plan to include additional
machine configurations in our experiments, specifi-
cally, a wider range of public cloud computing offers
and operating systems. We will further examine how
the undesired side-effects of measurement inaccura-
cies on virtual infrastructure can be pragmatically ad-
dressed by researchers.
ACKNOWLEDGEMENTS
This work has been sponsored in part by the E-
Finance Lab e.V., Frankfurt am Main, Germany
(www.efinancelab.de). We would like to thank Sil-
via R
¨
odelsperger and Johannes Schmitt for their help
with the preparation of the experiments.
REFERENCES
Armbrust, M., Fox, A., Griffith, R., Joseph, A., Katz, R.,
Konwinski, A., Lee, G., Patterson, D., Rabkin, A.,
Stoica, I., et al. (2010). A View of Cloud Computing.
Communications of the ACM, 53(4):50–58.
Briscoe, G. and Marinos, A. (2009). Digital Ecosystems in
the Clouds: Towards Community Cloud Computing. In
3rd Int. Conf. on Digital Ecosystems and Technologies,
pages 103–108.
Buyya, R., Yeo, C., Venugopal, S., Broberg, J., and Brandic,
I. (2009). Cloud Computing and Emerging IT Plat-
forms: Vision, Hype, and Reality for Delivering Com-
puting as the 5th Utility. Future Generation Computer
Systems, 25(6):599–616.
Chen, H., Jin, H., and Hu, K. (2010). XenHVMAcct: Ac-
curate CPU Time Accounting for Hardware-Assisted
Virtual Machine. In 11th Int. Conf. on Parallel and
Distributed Computing, Applications and Technologies,
pages 191–198.
Domingues, P., Araujo, F., and Silva, L. (2009). Evaluating
the Performance and Intrusiveness of Virtual Machines
for Desktop Grid Computing. In 8th IEEE Int. Symp.
on Parallel & Distributed Processing, pages 1–8.
Jain, R. K. (1991). The Art of Computer Systems Perfor-
mance Analysis: Techniques for Experimental Design,
Measurement, Simulation, and Modeling. Wiley.
Kohlwey, E., Sussman, A., Trost, J., and Maurer, A. (2011).
Leveraging the Cloud for Big Data Biometrics: Meet-
ing the Performance Requirements of the Next Genera-
tion Biometric Systems. In 7th IEEE World Congress
on Services, pages 597–601.
Lampe, U. (2011). Optimizing the Distribution of Software
Services in Infrastructure Clouds. In 7th IEEE World
Congress on Services, Ph.D. Symposium, pages 69–72.
Manning, C. D., Raghavan, P., and Sch
¨
utze, H. (2008). In-
troduction to Information Retrieval. Cambridge Uni-
versity Press.
Marques de S
´
a, J. (2007). Applied Statistics Using SPSS,
STATISTICA, MATLAB and R. Springer.
Sharma, S., Saran, H., and Bansal, S. (2011). An Empirical
Study of Clock Skew Behavior in Modern Mobile and
Hand-Held Devices. In 3rd Int. Conf. on Communica-
tion Systems and Networks, pages 1–4.
Subramanian, V., Ma, H., Wang, L., Lee, E., and Chen, P.
(2011). Rapid 3D Seismic Source Inversion Using
Windows Azure and Amazon EC2. In 7th IEEE World
Congress on Services, pages 602–606.
VMware, Inc. (2011). Timekeeping in VMware Virtual
Machines. Available online at www.vmware.com/files/
pdf/Timekeeping-In-VirtualMachines.pdf, last access
on March 22, 2012.
THEVIRTUALMARGINOFERROR-OntheLimitsofVirtualMachinesinScientificResearch
69