The patent badge is an abbreviated version of the USPTO patent document. The patent badge does contain a link to the full patent document.

The patent badge is an abbreviated version of the USPTO patent document. The patent badge covers the following: Patent number, Date patent was issued, Date patent was filed, Title of the patent, Applicant, Inventor, Assignee, Attorney firm, Primary examiner, Assistant examiner, CPCs, and Abstract. The patent badge does contain a link to the full patent document (in Adobe Acrobat format, aka pdf). To download or print any patent click here.

Date of Patent:
Dec. 13, 2016

Filed:

Mar. 31, 2015
Applicant:

International Business Machines Corporation, Armonk, NY (US);

Inventors:

Xin Hao Cheng, Shanghai, CN;

Guo Qiang Hu, Shanghai, CN;

Jun Chi Yan, Shanghai, CN;

Jun Zhu, Shanghai, CN;

Attorneys:
Primary Examiner:
Int. Cl.
CPC ...
G06F 9/46 (2006.01); G06F 9/455 (2006.01); G06F 13/00 (2006.01); G06F 15/173 (2006.01); G06F 11/36 (2006.01); G06F 9/48 (2006.01); G06F 11/34 (2006.01); G06F 3/06 (2006.01);
U.S. Cl.
CPC ...
G06F 11/3688 (2013.01); G06F 3/0601 (2013.01); G06F 9/45533 (2013.01); G06F 9/45558 (2013.01); G06F 9/4881 (2013.01); G06F 9/4887 (2013.01); G06F 11/3466 (2013.01); G06F 11/3664 (2013.01); G06F 2009/45591 (2013.01);
Abstract

The present invention relates to a virtual machine, and specifically discloses a method and apparatus for creating a software performance testing environment based on a virtual machine, wherein the method comprises: in response to obtaining a hard disk read/write request triggered by a virtual CPU of the virtual machine, notifying a virtual CPU scheduler to record a CPU time quota talready consumed by the virtual CPU in a current CPU schedule period; in response to detecting completion of hard disk read/write processing corresponding to the hard disk read/write request, predicting a hard disk read/write latency t corresponding to the hard disk read/write request in a target environment; notifying the virtual CPU scheduler to determine a CPU time quota already consumed by the virtual CPU in the current CPU schedule period based on the recorded CPU time quota tand the hard disk read/write latency t; and adjusting a system clock of the virtual machine based on the determined CPU time quota already consumed by the virtual CPU in the current CPU schedule period. The method according to the embodiments of the present invention may obtain, in the created software performance testing environment, a software performance testing result consistent with the result obtained under a highly configured server in the target environment.


Find Patent Forward Citations

Loading…