Controlling system clocks in virtual machines

US10054977B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-10054977-B2
Application numberUS-201615141129-A
CountryUS
Kind codeB2
Filing dateApr 28, 2016
Priority dateApr 28, 2016
Publication dateAug 21, 2018
Grant dateAug 21, 2018

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

Managing system clocks of virtual machines. A host system clock value of a host system clock of a host system is obtained, and a virtual machine system clock value of a system clock of a virtual machine managed by the host system is determined. The determining of the virtual machine system clock value includes using the host system clock value and a system clock adjustment value. The system clock of the virtual machine is adjusted using the virtual machine system clock value.

First claim

Opening claim text (preview).

What is claimed is: 1. A computer program product for managing system clocks of a computing environment, said computer program product comprising: a non-transitory computer readable storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for performing a method comprising: obtaining a host system clock value of a host system clock of a host system; determining a virtual machine system clock value of a system clock of a virtual machine managed by the host system, wherein the determining comprises using the host system clock value and a system clock adjustment value to determine the virtual machine system clock value; and adjusting the system clock of the virtual machine using the virtual machine system clock value, wherein the adjusting the system clock of the virtual machine slows down the system clock of the virtual machine to synchronize one process executing on the virtual machine with another process executing on the virtual machine. 2. The computer program product of claim 1 , wherein the determining the virtual machine system clock value comprises dividing the host system clock value by the system clock adjustment value to determine the virtual machine system clock value. 3. The computer program product of claim 1 , wherein the one process is executing in one processing mode and the other process is executing in another processing mode different from the one processing mode. 4. The computer program product of claim 3 , wherein the one processing mode is a debug mode and the other processing mode is a non-debug mode. 5. The computer program product of claim 1 , wherein the method further comprises determining the system clock adjustment value, the determining the system clock adjustment value comprising: determining a loss of performance value using one process time for a process executing in one processing mode and another process time for the process executing in another processing mode; determining an adjusted system clock slowing down value; and using the loss of performance value and the adjusted system clock slowing down value to determine the system clock adjustment value. 6. The computer program product of claim 5 , wherein the using the loss of performance value and the adjusted system clock slowing down value to determine the system clock adjustment value comprises performing a calculation, the calculation comprising: system clock adjustment value=the adjusted system clock slowing down value+a time safety factor*(the loss of performance value−the adjusted system clock slowing down value). 7. The computer program product of claim 5 , wherein one or more of the determining the loss of performance value or the determining the adjusted system clock slowing down value comprises using one or more functional tests. 8. The computer program product of claim 5 , wherein the determining the adjusted system clock slowing down value comprises: setting the system clock of the virtual machine to one value; performing a functional test using a selected value; determining whether a result of the functional test is a particular relationship with respect to a particular value; and performing an action, based on the determining, wherein the performing the action comprises: based on the result of the functional test not having the particular relationship with respect to the particular value, selecting another selected value and repeating the performing the functional test, the determining whether the result of the functional test is the particular relationship with respect to the particular value, and the performing the action; and based on the result of the functional test having the particular relationship with respect to the particular value, setting the adjusted system clock slowing down value to the selected value. 9. A computer system for managing system clocks of a computing environment, said computer system comprising: a memory; and a processor in communication with the memory, wherein the computer system is configured to perform a method, said method comprising: obtaining a host system clock value of a host system clock of a host system; determining a virtual machine system clock value of a system clock of a virtual machine managed by the host system, wherein the determining comprises using the host system clock value and a system clock adjustment value to determine the virtual machine system clock value; and adjusting the system clock of the virtual machine using the virtual machine system clock value, wherein the adjusting the system clock of the virtual machine slows down the system clock of the virtual machine to synchronize one process executing on the virtual machine with another process executing on the virtual machine. 10. The computer system of claim 9 , wherein the determining the virtual machine system clock value comprises dividing the host system clock value by the system clock adjustment value to determine the virtual machine system clock value. 11. The computer system of claim 9 , wherein the method further comprises determining the system clock adjustment value, the determining the system clock adjustment value comprising: determining a loss of performance value using one process time for a process executing in one processing mode and another process time for the process executing in another processing mode; determining an adjusted system clock slowing down value; and using the loss of performance value and the adjusted system clock slowing down value to determine the system clock adjustment value. 12. The computer system of claim 11 , wherein the determining the adjusted system clock slowing down value comprises: setting the system clock of the virtual machine to one value; performing a functional test using a selected value; determining whether a result of the functional test is a particular relationship with respect to a particular value; and performing an action, based on the determining, wherein the performing the action comprises: based on the result of the functional test not having the particular relationship with respect to the particular value, selecting another selected value and repeating the performing the functional test, the determining whether the result of the functional test is the particular relationship with respect to the particular value, and the performing the action; and based on the result of the functional test having the particular relationship with respect to the particular value, setting the adjusted system clock slowing down value to the selected value.

Assignees

Inventors

Classifications

  • I/O management, e.g. providing access to device drivers or storage · CPC title

  • Hypervisor-specific management and integration aspects · CPC title

  • G06F1/12Primary

    Synchronisation of different clock signals {provided by a plurality of clock generators} · CPC title

  • Starting, stopping, suspending or resuming virtual machine instances · CPC title

  • Program synchronisation; Mutual exclusion, e.g. by means of semaphores · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US10054977B2 cover?
Managing system clocks of virtual machines. A host system clock value of a host system clock of a host system is obtained, and a virtual machine system clock value of a system clock of a virtual machine managed by the host system is determined. The determining of the virtual machine system clock value includes using the host system clock value and a system clock adjustment value. The system clo…
Who is the assignee on this patent?
IBM
What technology area does this patent fall under?
Primary CPC classification G06F1/12. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Aug 21 2018 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 1 related publication on this page (citations in our corpus or others sharing the same primary CPC).