A method and system for attributing resource usage of a virtual machine across hosts and guests

By collecting and aligning resource consumption data between the host and guest machines in the virtualization system, the problems of fragmented resource statistics and misalignment of time dimensions are solved, enabling refined attribution of virtual machine resources and improving the accuracy and availability of resource monitoring.

CN122431801APending Publication Date: 2026-07-21KYLIN CORP
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
KYLIN CORP
Filing Date
2026-06-23
Publication Date
2026-07-21

AI Technical Summary

Technical Problem

In virtualization scenarios, existing technologies struggle to accurately reflect the resource usage of the virtual machine as a whole or its internal modules. Resource statistics are fragmented, lack cross-system correlation mechanisms, and are not aligned with time dimensions, making it impossible to support fine-grained attribution and resulting in inaccurate resource monitoring results.

Method used

By collecting resource consumption data from the host system and the client system, aligning timestamps using a two-way time calibration mechanism, establishing a cross-system mapping relationship, and allocating the host system's resource consumption data to the client system's virtual CPU or functional modules based on a preset strategy, resource attribution results are generated.

Benefits of technology

It enables refined statistics on resource usage across host and guest systems, improving the accuracy and availability of resource monitoring in virtualization systems, and supporting refined resource attribution for the virtual machine as a whole and its internal functional units.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122431801A_ABST
    Figure CN122431801A_ABST
Patent Text Reader

Abstract

The present application relates to a kind of virtual machine cross-host and the resource occupation attribution method and system of guest machine, it belongs to computer virtualization field, method includes collecting the resource consumption data of virtual machine management process, virtual CPU thread and virtual I / O processing thread in host system;Collect the resource usage data of each virtual CPU and functional module inside guest machine system;Based on two-way time calibration mechanism, the time stamp of double-system acquisition data is aligned, the linear mapping relationship of host system time and guest machine system time is established;According to the preset cross-system mapping relationship, the resource consumption data of host side is distributed to the corresponding virtual CPU or functional module of guest machine system, and resource attribution result is generated.The present application solves the technical problems of resource statistics fragmentation, lack of cross-system correlation, time dimension misalignment and inability to support submodule fine attribution in virtualization scenario, realizes accurate resource monitoring and attribution analysis to virtual machine and its internal functional unit.
Need to check novelty before this filing date? Find Prior Art