Creating a software performance testing environment on a virtual machine system
AssigneeInternational Business Machines Corporation
InventorsXin Hao Cheng, Guo Qiang Hu, Jun Chi Yan, Jun Zhu
Life of this patent
Estimating the term…
Loading patent…
AssigneeInternational Business Machines Corporation
InventorsXin Hao Cheng, Guo Qiang Hu, Jun Chi Yan, Jun Zhu
Estimating the term…
A method 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 t1 already 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 t1 and 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 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.
A method for creating a software performance testing environment on a virtual machine system, the virtual machine system running at least one virtual machine (VM) on a single hardware platform, the single hardware platform having a central processor unit (CPU) configured to simulate a target environment on which software is to be run, said method comprising:
Dependencies are inferred from the claim text.