[go: up one dir, main page]

CN112631734A - Processing method, device, equipment and storage medium of virtual machine image file - Google Patents

Processing method, device, equipment and storage medium of virtual machine image file Download PDF

Info

Publication number
CN112631734A
CN112631734A CN202011643005.8A CN202011643005A CN112631734A CN 112631734 A CN112631734 A CN 112631734A CN 202011643005 A CN202011643005 A CN 202011643005A CN 112631734 A CN112631734 A CN 112631734A
Authority
CN
China
Prior art keywords
target
image file
storage queue
determining
heat level
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011643005.8A
Other languages
Chinese (zh)
Inventor
陈仲涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Topsec Technology Co Ltd
Beijing Topsec Network Security Technology Co Ltd
Beijing Topsec Software Co Ltd
Original Assignee
Beijing Topsec Technology Co Ltd
Beijing Topsec Network Security Technology Co Ltd
Beijing Topsec Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Topsec Technology Co Ltd, Beijing Topsec Network Security Technology Co Ltd, Beijing Topsec Software Co Ltd filed Critical Beijing Topsec Technology Co Ltd
Priority to CN202011643005.8A priority Critical patent/CN112631734A/en
Publication of CN112631734A publication Critical patent/CN112631734A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45562Creating, deleting, cloning virtual machine instances

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Abstract

The embodiment of the disclosure discloses a method, a device, equipment and a storage medium for processing a virtual machine image file. The method comprises the following steps: determining a target heat level identification of a target image file based on the acquired image access request; the hot level is predetermined based on the number of the virtual machines with the accessed mirror image files; determining a target storage queue of target data information of the target image file based on the target heat level identification, and storing the target data information to the target storage queue; and based on the target storage queue, determining that a target storage position of the target image file is a high-speed access space of a disk or a virtual machine host, and reading the target image file from the target storage position. The method and the device have the advantages that the heat level of each image file is determined before the image files in the disk are accessed, different reading strategies are adopted for the image files with different heat levels, the cache preheating time is shortened, the bandwidth resource consumption of image file reading is reduced, and the image file reading efficiency is improved.

Description

Processing method, device, equipment and storage medium of virtual machine image file
Technical Field
The present disclosure relates to the field of cloud computing technologies, and in particular, to a method, an apparatus, a device, and a storage medium for processing a virtual machine image file.
Background
In the existing super-fusion system, the read-write performance of the virtual machine is mainly determined by the performance of the underlying storage device. The current storage device mainly adopts a disk with low price and large storage space. However, since the disk is addressed and read-written by mechanical devices, the read-write speed is very slow, which seriously affects the read-write performance of the virtual machine.
In addition, a plurality of virtual machines running in the super-fusion system are cloned based on the same virtual machine template image files, and the image files are stored in a disk of a host where the super-fusion system is located. When the host is powered off and restarted, a plurality of image files in the disk can be read by a plurality of virtual machines at the same time. This situation further aggravates the problem of poor read-write performance of the virtual machines, and may result in slow batch startup of the virtual machines and excessive consumption of bandwidth resources.
Disclosure of Invention
In order to solve the technical problem or at least partially solve the technical problem, the present disclosure provides a method, an apparatus, a device, and a storage medium for processing a virtual machine image file.
In a first aspect, the present disclosure provides a method for processing a virtual machine image file, where the method includes:
acquiring a mirror image access request for reading a target mirror image file in a disk of a virtual machine host;
determining a target heat level identification of the target image file based on the image access request; the hot level is predetermined based on the number of the virtual machines with the accessed mirror image files;
determining a target storage queue of target data information of the target image file based on the target heat level identification, and storing the target data information to the target storage queue; the number of the storage queues is consistent with the number of the heat level identifications;
determining a target storage position of the target image file as a high-speed access space of the disk or the virtual machine host based on the target storage queue, and reading the target image file from the target storage position; wherein the high-speed access space comprises a memory and/or a cache.
In some embodiments, the heat level indicator comprises a low heat level indicator, a medium heat level indicator, and a high heat level indicator; the number of virtual machines corresponding to the low-heat level identification is less than a first preset number, the number of virtual machines corresponding to the medium-heat level identification is between the first preset number and a second preset number, and the number of virtual machines corresponding to the high-heat level identification is higher than or equal to the second preset number.
In some embodiments, the determining a target storage queue for target data information of the target image file based on the target heat level identification comprises:
if the target hot level identification is a low hot level identification and the target image file is accessed for the first time, determining that the target storage queue is a first storage queue corresponding to the low hot level identification;
if the target heat level identification is the low heat level identification, the target image file is accessed for the second time, and the target data information is stored in the first storage queue, determining that the target storage queue is a second storage queue corresponding to the medium heat level identification;
if the target hot degree level identification is the medium hot degree level identification and the target image file is accessed for the first time, determining that the target storage queue is the second storage queue;
if the target heat level identification is the medium heat level identification, the target image file is accessed for the second time, and the target data information is stored in the set position of the second storage queue, determining that the target storage queue is the second storage queue; the preset position is a preset proportion range arranged in the second storage queue at the front;
if the target heat level identification is the medium heat level identification, the target image file is accessed for the second time, and the target data information is stored outside the set position of the second storage queue, determining that the target storage queue is a third storage queue corresponding to the high heat level identification;
and if the target heat level identification is a high heat level identification, determining that the target storage queue is the third storage queue.
In some embodiments, the determining, based on the target storage queue, that the target storage location of the target image file is a high-speed access space of the disk or the virtual machine host includes:
if the target storage queue is the first storage queue, determining that a target storage position of the target image file is the disk;
if the target storage queue is the second storage queue or the third storage queue, determining that a target storage position of the target image file is the high-speed access space;
when the target storage location of the target image file is determined to be the high-speed access space and the target image file is stored in the disk, the method further comprises:
and reading the target image file from the disk, and storing the target image file to the high-speed access space.
In some embodiments, the first storage queue and the second storage queue both replace data information in the storage queues using a least recently used algorithm; and the third storage queue adopts a least recently used algorithm to replace the data information in the storage queue.
In some embodiments, the method further comprises:
and if the data information at the tail of the queue is deleted from the third storage queue, storing the data information at the tail of the queue to the second storage queue.
In some embodiments, the determining a target heat level identification for the target image file based on the image access request comprises:
determining a target file identifier of the target image file based on the image access request;
determining the number of target virtual machines corresponding to the target image file based on the corresponding relation between the file identification and the number of virtual machines and the target file identification;
and determining the target heat level identification of the target image file based on the relation between the number of the target virtual machines and the first preset number and the second preset number.
In a second aspect, the present disclosure provides an apparatus for processing a virtual machine image file, the apparatus including:
the system comprises a mirror image access request acquisition module, a mirror image access request acquisition module and a mirror image access request processing module, wherein the mirror image access request acquisition module is used for acquiring a mirror image access request for reading a target mirror image file in a disk of a virtual machine host;
the target hot degree level identification determining module is used for determining a target hot degree level identification of the target image file based on the image access request; the hot level is predetermined based on the number of the virtual machines with the accessed mirror image files;
the target storage queue determining module is used for determining a target storage queue of target data information of the target image file based on the target heat level identification and storing the target data information to the target storage queue; the number of the storage queues is consistent with the number of the heat level identifications;
a target storage location determining module, configured to determine, based on the target storage queue, that a target storage location of the target image file is a high-speed access space of the disk or the virtual machine host, and read the target image file from the target storage location; wherein the high-speed access space comprises a memory and/or a cache.
In some embodiments, the heat level indicator comprises a low heat level indicator, a medium heat level indicator, and a high heat level indicator; the number of virtual machines corresponding to the low-heat level identification is less than a first preset number, the number of virtual machines corresponding to the medium-heat level identification is between the first preset number and a second preset number, and the number of virtual machines corresponding to the high-heat level identification is higher than or equal to the second preset number.
In some embodiments, the target storage queue determining module is specifically configured to:
if the target hot level identification is a low hot level identification and the target image file is accessed for the first time, determining that the target storage queue is a first storage queue corresponding to the low hot level identification;
if the target heat level identification is the low heat level identification, the target image file is accessed for the second time, and the target data information is stored in the first storage queue, determining that the target storage queue is a second storage queue corresponding to the medium heat level identification;
if the target hot degree level identification is the medium hot degree level identification and the target image file is accessed for the first time, determining that the target storage queue is the second storage queue;
if the target heat level identification is the medium heat level identification, the target image file is accessed for the second time, and the target data information is stored in the set position of the second storage queue, determining that the target storage queue is the second storage queue; the preset position is a preset proportion range arranged in the second storage queue at the front;
if the target heat level identification is the medium heat level identification, the target image file is accessed for the second time, and the target data information is stored outside the set position of the second storage queue, determining that the target storage queue is a third storage queue corresponding to the high heat level identification;
and if the target heat level identification is a high heat level identification, determining that the target storage queue is the third storage queue.
In some embodiments, the target storage location determining module is specifically configured to:
if the target storage queue is the first storage queue, determining that a target storage position of the target image file is the disk;
if the target storage queue is the second storage queue or the third storage queue, determining that a target storage position of the target image file is the high-speed access space;
when the target storage location of the target image file is determined to be the high-speed access space and the target image file is stored in the disk, the method further comprises:
and reading the target image file from the disk, and storing the target image file to the high-speed access space.
In some embodiments, the first storage queue and the second storage queue both replace data information in the storage queues using a least recently used algorithm; and the third storage queue adopts a least recently used algorithm to replace the data information in the storage queue.
In some embodiments, the apparatus is further configured to:
and if the data information at the tail of the queue is deleted from the third storage queue, storing the data information at the tail of the queue to the second storage queue.
In some embodiments, the target heat level identification determination module is specifically configured to:
determining a target file identifier of the target image file based on the image access request;
determining the number of target virtual machines corresponding to the target image file based on the corresponding relation between the file identification and the number of virtual machines and the target file identification;
and determining the target heat level identification of the target image file based on the relation between the number of the target virtual machines and the first preset number and the second preset number.
In a third aspect, the present disclosure provides an electronic device, including:
a processor and a memory;
the processor is configured to perform the steps of the method of any embodiment of the invention by calling a program or instructions stored in the memory.
In a fourth aspect, the present disclosure provides a computer-readable storage medium storing a program or instructions for causing a computer to perform the steps of the method described in any embodiment of the invention.
According to the technical scheme provided by the embodiment of the disclosure, a mirror image access request for reading a target mirror image file in a disk of a virtual machine host is obtained; determining a target heat level identification of a target image file based on the image access request; the hot level is predetermined based on the number of the virtual machines with the accessed mirror image files; determining a target storage queue of target data information of the target image file based on the target heat level identification, and storing the target data information to the target storage queue; the number of the storage queues is consistent with the number of the heat level identifications; and based on the target storage queue, determining that a target storage position of the target image file is a high-speed access space of a disk or a virtual machine host, and reading the target image file from the target storage position. The method and the device have the advantages that the heat level of each image file is determined before the image files in the disk are accessed, so that in the process of accessing the image files, the proper storage queue and storage position are determined for the image files according to the corresponding heat level of the image files, accordingly, the cache preheating time is shortened, the cache space utilization rate is improved, the cache hit rate during reading of the image files is improved, the bandwidth resource consumption of reading of the image files is reduced, and the reading efficiency of the image files is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
In order to more clearly illustrate the embodiments or technical solutions in the prior art of the present disclosure, the drawings used in the description of the embodiments or prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a flowchart of a processing method of a virtual machine image file according to an embodiment of the present disclosure;
fig. 2 is a schematic diagram of an association relationship between virtual machine image files of different hotness levels according to an embodiment of the present disclosure;
fig. 3 is a flowchart of a processing method of a virtual machine image file according to an embodiment of the present disclosure;
FIG. 4 is a schematic diagram of a process for determining a target storage queue of data information of virtual machine image files of different heat levels according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a processing apparatus for a virtual machine image file according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of an electronic device provided in an embodiment of the present disclosure.
Detailed Description
In order that the above objects, features and advantages of the present disclosure may be more clearly understood, aspects of the present disclosure will be described in further detail below. It should be noted that the embodiments and features of the embodiments of the present disclosure may be combined with each other without conflict.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present disclosure, but the present disclosure may be practiced in other ways than those described herein; it is to be understood that the embodiments disclosed in the specification are only a few embodiments of the present disclosure, and not all embodiments.
The processing method of the virtual machine image file provided by the embodiment of the disclosure is mainly suitable for the situation of reading the virtual machine image file from a disk of a host running a virtual machine. The processing method of the virtual machine image file provided by the embodiment of the disclosure may be executed by a processing device of the virtual machine image file, the device may be implemented by software and/or hardware, and the device may be integrated in a host running a virtual machine, such as a desktop computer, a server or a host server.
Fig. 1 is a flowchart of a processing method of a virtual machine image file according to an embodiment of the present disclosure. Referring to fig. 1, the method for processing the image file of the virtual machine specifically includes:
s110, acquiring a mirror image access request for reading a target mirror image file in a disk of the virtual machine host.
Specifically, if a virtual machine is to access (read) an image file (i.e., a target image file) in a disk, an access request (i.e., an image access request) is generated based on the relevant information of the virtual machine and the relevant information of the target image file. Then, the image access request is sent to a processing device of the virtual machine image file in the virtual machine host.
And S120, determining a target heat level identification of the target image file based on the image access request.
Wherein the hot level is predetermined based on the number of virtual machines to which the image file is accessed. For example, an image file is accessed by different virtual machines, and the more the number of the virtual machines, the higher the access heat of the image file, and the higher the heat level of the image file. The heat level identification is identification information for characterizing the heat level.
Specifically, the processing device of the virtual machine image file parses the image access request, and determines a hot level identifier (i.e., a target hot level identifier) of the target image file according to a parsing result.
In some embodiments, the heat level indicator comprises a low heat level indicator, a medium heat level indicator, and a high heat level indicator; the number of the virtual machines corresponding to the low-heat level identification is less than a first preset number, the number of the virtual machines corresponding to the medium-heat level identification is between the first preset number and a second preset number, and the number of the virtual machines corresponding to the high-heat level identification is higher than or equal to the second preset number. The first preset number N and the second preset number M are preset values, for example, N is 4, and M is 8. The values of the first preset number N and the second preset number M can be determined according to the system storage condition of the virtual machine host. For example, the higher the storage capacity of the memory and/or cache of the virtual machine host (more image files may be stored), the smaller the values of the first predetermined number and the second predetermined number may be. Specifically, the virtual machine image file is created in three layers, and the bottom layer is an image file (referred to as a top-layer image file) of a basic operating system of the host and is used for installing the operating system of the host; the middle layer creates a mirror image file (called middle layer mirror image file for short) of the template for the virtual machines, and is used for creating each virtual machine; the top layer is an image file of the user application (referred to as a top-layer image file for short) and is used for installing the application program required by the user. Based on this, an image file can be composed of a plurality of file chains, and a process of chain reading of the image file is formed. Referring to fig. 2, when reading a top-level image file 201, first, it is searched whether the top-level image file 201 contains required data. If the corresponding data exists, the data is directly returned. If there is no corresponding data in the top-level image file 201, the data is looked up from the middle-level image file 202 that the top-level image file 201 depends on. If the corresponding data exists, the data is directly returned. If there is no corresponding data in the middle tier image file 202, the data is looked up from the bottom tier image file 203 that the middle tier image file 202 depends on and returned. Thus, the bottom image file and the middle image file can be commonly used by a plurality of top image files, namely a plurality of virtual machines. And, the lower the level of image files is used by more virtual machines. Therefore, when the host is powered off and restarted, a large number of virtual machines can simultaneously access the same middle-layer image file and the same bottom-layer image file, and the access amount of the bottom-layer image file is larger. In addition, after the virtual machines in the host are installed, it is determined which virtual machines access an image file, that is, the number of virtual machines corresponding to the image file can be known in advance. Based on this, in the embodiment of the present disclosure, the heat level of the image file is determined according to the number of virtual machines in which the image file is accessed. In specific implementation, the image files with the number of the accessed virtual machines equal to or exceeding a second preset number are determined as high-heat levels, and high-heat level identifications are correspondingly arranged. And determining the image files with the number of the accessed virtual machines less than the second preset number but greater than or equal to the first preset number as the medium-heat levels, wherein the medium-heat levels correspond to the medium-heat level identifications. Determining the image files with the number of the accessed virtual machines less than the first preset number as low-heat levels, and correspondingly identifying the low-heat levels. The method has the advantages that different image files can be marked with different heat levels in the initialization stage, so that different reading modes are adopted for the image files with different heat levels in the following process, and the aims that the image files with high heat levels can be accessed quickly, and the image files with low heat levels are accessed slowly are fulfilled.
In some embodiments, S120 comprises: determining a target file identifier of a target image file based on the image access request; determining the number of target virtual machines corresponding to the target image file based on the corresponding relation between the file identification and the number of the virtual machines and the target file identification; and determining the target heat level identification of the target image file based on the relation between the number of the target virtual machines and the first preset number and the second preset number. Specifically, the file identifier of the target image file (i.e., the target file identifier) is parsed from the image access request. Then, the target file identifier is used as a search index, and the number of virtual machines corresponding to the target image file (i.e. the number of target virtual machines) is determined from the corresponding relationship between the file identifier and the number of virtual machines. And then, judging the range of the section formed by the first preset number and the second preset number within which the target virtual machine number falls. If the number of the target virtual machines is larger than or equal to a second preset number, the target heat level identification is a high heat level identification; if the number of the target virtual machines is smaller than a first preset number, the target heat level identification is a low heat level identification; and if the number of the target virtual machines is between the first preset number and the second preset number, the target heat level identification is the heat level identification.
S130, determining a target storage queue of target data information of the target image file based on the target heat level identification, and storing the target data information to the target storage queue.
The data information is related information describing the image file, such as file identification, storage location, visitor (virtual machine) identification, access times and the like of the image file. A storage queue is a queue for storing data information. The number of the storage queues is consistent with the number of the hot level identifications, namely, each hot level corresponds to one storage queue and is used for storing the data information of the image file of the corresponding hot level.
Specifically, the corresponding relationship exists between the heat level identifier and the storage queue, so that the corresponding target storage queue can be determined according to the target heat level identifier. Of course, some indexes capable of reflecting the access heat of the image file in the access process, such as the access times, can be further combined, and the target storage queue is further corrected on the basis of the target storage queue determined based on the target heat level identification. Then, the data information of the target image file (i.e. the target data information) is stored into a final target storage queue.
S140, based on the target storage queue, determining that the target storage position of the target image file is a high-speed access space of a disk or a virtual machine host, and reading the target image file from the target storage position.
The high-speed access space refers to a storage space capable of performing data reading and writing at a high speed, and may be, for example, a memory and/or a cache.
Specifically, because the low-heat-level image file is accessed with a low probability, and the medium-heat-level and high-heat-level image files are accessed with a high probability, the low-heat-level image file is stored in the disk, and the medium-heat-level and high-heat-level image files are stored in the high-speed access space of the host, so that when the image files are read, data can be read from the high-speed access space with a higher probability, the reading efficiency of the image files of the virtual machine is improved, and the data hit rate in the high-speed access space is improved. Based on this, in the embodiments of the present disclosure, the correspondence between the storage queue and the storage location may be constructed in advance. And then after determining the target storage queue, determining a target storage position from the corresponding relation. Thereafter, the target image file is read from the target storage location. It should be noted that, if the target image file is not stored in the target storage location, the storage operation of the target storage file is executed before the read operation.
According to the technical scheme of the embodiment of the disclosure, a mirror image access request for reading a target mirror image file in a disk of a virtual machine host is obtained; determining a target heat level identification of a target image file based on the image access request; the hot level is predetermined based on the number of the virtual machines with the accessed mirror image files; determining a target storage queue of target data information of the target image file based on the target heat level identification, and storing the target data information to the target storage queue; the number of the storage queues is consistent with the number of the heat level identifications; and based on the target storage queue, determining that a target storage position of the target image file is a high-speed access space of a disk or a virtual machine host, and reading the target image file from the target storage position. The method and the device have the advantages that the heat level of each image file is determined before the image files in the disk are accessed, so that in the process of accessing the image files, the proper storage queue and storage position are determined for the image files according to the corresponding heat level of the image files, accordingly, the cache preheating time is shortened, the cache space utilization rate is improved, the cache hit rate during reading of the image files is improved, the bandwidth resource consumption of reading of the image files is reduced, and the reading efficiency of the image files is improved.
Fig. 3 is a flowchart of a processing method for a virtual machine image file according to an embodiment of the present disclosure. The processing method of the virtual machine image file further optimizes a target storage queue for determining target data information of the target image file based on the target heat level identification. On the basis, optimization can be further performed on the step of determining that the target storage position of the target image file is a high-speed access space of a disk or a virtual machine host based on the target storage queue. Wherein explanations of the same or corresponding terms as those of the above embodiments are omitted. Referring to fig. 3, the processing method of the virtual machine image file includes:
s201, obtaining a mirror image access request for reading a target mirror image file in a disk of a virtual machine host.
S202, determining a target heat level identification of the target image file based on the image access request.
S203, if the target heat level identification is a low heat level identification and the target image file is accessed for the first time, determining that the target storage queue is a first storage queue corresponding to the low heat level identification.
Specifically, referring to flow (r) in fig. 4, if the target heat level is the low heat level identifier and the target image file is accessed for the first time, the target data information needs to be stored in the first storage queue, that is, the target storage queue is determined to be the first storage queue. The arrows in fig. 4 each indicate the flow of data information (including target information data).
S204, if the target heat level identification is a low heat level identification, the target image file is accessed for the second time, and the target data information is stored in the first storage queue, determining that the target storage queue is a second storage queue corresponding to the medium heat level identification.
Specifically, as shown by the flow of fig. 4, if the target heat level identifier is a low heat level identifier, but the target image file is accessed twice, and the first storage queue still stores the target data file, which indicates that the target image file is accessed twice in a short time and has a higher access heat than other low heat image files, it is necessary to store the target data information in the second storage queue, that is, it is determined that the target storage queue is the second storage queue.
S205, if the target heat level identification is the heat level identification and the target image file is accessed for the first time, determining that the target storage queue is a second storage queue.
Specifically, as shown in flow direction (c) in fig. 4, if the target heat level identifier is the middle heat level identifier and the target image file is accessed for the first time, the target data information needs to be stored in the second storage queue, that is, it is determined that the target storage queue is the second storage queue.
And S206, if the target heat level identification is the heat level identification, the target image file is accessed for the second time, and the set position of the second storage queue stores the target data information, determining that the target storage queue is the second storage queue.
The set position is a preset proportion range arranged at the front in the second storage queue. The preset proportion can be set according to actual conditions. For example, the set position may be the queue range of the second storage queue that is 80% of the second storage queue.
Specifically, as shown in the flow direction (r) in fig. 4, if the target heat level id is the middle heat level id, but the target image file is accessed twice, and the target data information is currently stored in the queue range of the last 80% of the second storage queue, it indicates that although the target image file is accessed twice in a short time, the access frequency of the target image file is still within the range of the middle heat level. Therefore, the target storage queue is still determined to be the second storage queue.
And S207, if the target heat level identification is the middle heat level identification, the target image file is accessed for the second time, and target data information is stored outside the set position of the second storage queue, determining that the target storage queue is a third storage queue corresponding to the high heat level identification.
Specifically, as shown in the flow direction of fig. 4, if the target heat level flag is the middle heat level flag, but the target image file is accessed twice, and the target data information is currently stored in the first 20% of the queue range in the second storage queue, it indicates that the target image file is accessed twice in a shorter time, and has a higher access heat than other middle heat image files, and it is necessary to store the target data information in the third storage queue, that is, it is determined that the target storage queue is the third storage queue.
And S208, if the target heat level identification is a high heat level identification, determining that the target storage queue is a third storage queue.
Specifically, referring to flow direction sixthly in fig. 4, if the target heat level is the high heat level flag, the target data information needs to be stored in the third storage queue, that is, the target storage queue is determined to be the third storage queue.
In some embodiments, the first storage queue and the second storage queue both adopt a least recently used algorithm to replace data information in the storage queues; and the third storage queue adopts a least recently used algorithm to replace the data information in the storage queue. Specifically, in order to further perform different reading processes on image files with different heat levels, in this embodiment, different replacement algorithms are Used for different storage queues, that is, The first storage queue and The second storage queue use The Least Recently Used algorithm (LRU), and The third storage queue uses The Least Recently Used algorithm (LFU). Therefore, the image file with relatively high heat can be stored in the high-speed access space for a longer time, and the reading efficiency of the image file is further improved.
And S209, storing the target data information into a target storage queue.
Specifically, for the first storage queue and the second storage queue, after the target storage queue is determined, the target data information is stored at the head of the first storage queue and the second storage queue. However, if the target storage queue is determined to be the third storage queue, the target data information is stored to the corresponding location in the queue according to the access frequency thereof according to the LFU algorithm.
In some embodiments, if the data information at the tail of the queue is deleted from the third storage queue, the data information at the tail of the queue is stored in the second storage queue. Specifically, referring to the flow directions of (c) and (b) in fig. 4, corresponding to the first storage queue and the second storage queue, if a certain data information is arranged at the end of the queue because it is not accessed again for a long time, it is replaced out of the corresponding queue according to the LRU algorithm, i.e., the data information at the end of the queue is directly discarded. Correspondingly, the image file corresponding to the eliminated data information in the second storage queue is deleted from the high-speed access space. However, in view of the highest access frequency of the image file with a high heat level, in this embodiment, the data information at the end of the queue (with the lowest access frequency) is not directly eliminated, but is added to the appropriate position of the second storage queue according to the time information at which the data information at the end eliminated in the third storage queue was most recently accessed, as shown by the flow direction nine in fig. 4. Therefore, the image file corresponding to the data information of the eliminated queue tail in the third storage queue is still reserved in the high-speed access space, so that the storage time of the image file with high heat level in the high-speed access space is prolonged, and the reading efficiency of the image file with the level is further improved.
S210, if the target storage queue is the first storage queue, determining that the target storage position of the target image file is a disk.
Specifically, the data information of the image file with the low heat level is stored in the first storage queue, so that the target storage location of the image file corresponding to the data information needs to be determined as the disk in the host. Therefore, more useless data can be prevented from being cached, and the cache is prevented from being polluted and invalid. Meanwhile, the overhead of the first storage queue is small because the data does not need to be cached, so that more data information can be recorded.
S211, if the target storage queue is a second storage queue or a third storage queue, determining that the target storage position of the target image file is a high-speed access space.
Specifically, the second storage queue and the third storage queue respectively store data information of medium-heat level and high-heat level, and the target storage location of the corresponding image file is a high-speed access space in the host. Therefore, the image file can be stored in the memory or the cache, and the preheating time of the cache is shortened, so that the reading operation of the image file can be completed more quickly.
S212, when the target storage position of the target image file is determined to be the high-speed access space and the target image file is stored in the disk, reading the target image file from the disk and storing the target image file to the high-speed access space.
And S213, reading the target image file from the target storage position.
According to the technical scheme of the embodiment of the disclosure, on the basis that different storage queues correspond to storage spaces with different data reading efficiencies, the target storage queue is determined to be the first storage queue or the second storage queue according to whether the target image file is accessed for the first time under the condition that the target heat level identifier is the low heat level identifier; under the condition that the target heat level identification is the middle heat level identification, determining that the target storage queue is a second storage queue or a third storage queue according to whether the target image file is accessed for the first time and whether the target data information is stored in a set position range of the second storage queue; when the target heat level identification is a high heat level identification, the target storage queue is determined to be a third storage queue. The target data information is stored into the appropriate storage queue, so that an appropriate storage position can be determined for the target image file, and a basis is provided for efficient reading of the subsequent image file. Determining that a target storage position of the target image file is a disk if the target storage queue is a first storage queue; if the target storage queue is a second storage queue or a third storage queue, determining that the target storage position of the target image file is a high-speed access space; and when the target storage position of the target image file is determined to be the high-speed access space and the target image file is stored in the disk, reading the target image file from the disk and storing the target image file to the high-speed access space. The storage of the low-heat-level image file with low access probability in the disk is realized, and the high-speed access space is prevented from being polluted by useless data and being invalid; the method comprises the steps of storing the low-heat-level image files with more recent access times and the medium-heat-level image files with medium access probability in a high-speed access space, storing the medium-heat-level image files with more recent access times and the high-heat-level image files in the high-speed access space for a long time, solving the problem of starting storm caused by batch startup of the virtual machines, reducing the preheating time of cache, ensuring that the image files can be read quickly in a long time, and improving the reading efficiency of the image files.
Fig. 5 is a schematic structural diagram of a processing apparatus for a virtual machine image file according to an embodiment of the present disclosure. Referring to fig. 5, the apparatus specifically includes:
a mirror image access request obtaining module 510, configured to obtain a mirror image access request for reading a target mirror image file in a disk of a virtual machine host;
a target hot level identification determining module 520, configured to determine a target hot level identification of the target image file based on the image access request; the hot level is predetermined based on the number of the virtual machines with the accessed mirror image files;
a target storage queue determining module 530, configured to determine a target storage queue of target data information of the target image file based on the target heat level identifier, and store the target data information to the target storage queue; the number of the storage queues is consistent with the number of the heat level identifications;
and the target storage location determining module 540 is configured to determine, based on the target storage queue, that a target storage location of the target image file is a high-speed access space of a disk or a virtual machine host, and read the target image file from the target storage location.
In some embodiments, the heat level indicator comprises a low heat level indicator, a medium heat level indicator, and a high heat level indicator; the number of the virtual machines corresponding to the low-heat level identification is less than a first preset number, the number of the virtual machines corresponding to the medium-heat level identification is between the first preset number and a second preset number, and the number of the virtual machines corresponding to the high-heat level identification is higher than or equal to the second preset number.
In some embodiments, the target storage queue determining module 530 is specifically configured to:
if the target heat level identification is a low heat level identification and the target image file is accessed for the first time, determining that the target storage queue is a first storage queue corresponding to the low heat level identification;
if the target heat level identification is a low heat level identification, the target image file is accessed for the second time, and the first storage queue stores the target data information, the target storage queue is determined to be a second storage queue corresponding to the medium heat level identification;
if the target heat level identification is the heat level identification and the target image file is accessed for the first time, determining that the target storage queue is a second storage queue;
if the target heat level identification is the middle heat level identification, the target image file is accessed for the second time, and the set position of the second storage queue stores the target data information, determining that the target storage queue is the second storage queue; the set position is a preset proportion range arranged in the second storage queue at the front;
if the target heat level identification is the middle heat level identification, the target image file is accessed for the second time, and target data information is stored outside the set position of the second storage queue, the target storage queue is determined to be a third storage queue corresponding to the high heat level identification;
and if the target heat level identification is a high heat level identification, determining that the target storage queue is a third storage queue.
In some embodiments, the target storage location determining module 540 is specifically configured to:
if the target storage queue is the first storage queue, determining that the target storage position of the target image file is a disk;
if the target storage queue is a second storage queue or a third storage queue, determining that the target storage position of the target image file is a high-speed access space;
when the target storage position of the target image file is determined to be the high-speed access space and the target image file is stored in the disk, the method further comprises the following steps:
and reading the target image file from the disk and storing the target image file to the high-speed access space.
In some embodiments, the first storage queue and the second storage queue both adopt a least recently used algorithm to replace data information in the storage queues; and the third storage queue adopts a least recently used algorithm to replace the data information in the storage queue.
In some embodiments, the apparatus is further to:
and if the data information at the tail of the queue is deleted from the third storage queue, storing the data information at the tail of the queue into the second storage queue.
In some embodiments, the target heat level identification determination module 520 is specifically configured to:
determining a target file identifier of a target image file based on the image access request;
determining the number of target virtual machines corresponding to the target image file based on the corresponding relation between the file identification and the number of the virtual machines and the target file identification;
and determining the target heat level identification of the target image file based on the relation between the number of the target virtual machines and the first preset number and the second preset number.
By the processing device for the image files of the virtual machine, the heat level of each image file is determined before the image files in the disk are accessed, so that in the process of accessing the image files, a proper storage queue and a proper storage position are determined for the image files according to the heat level corresponding to the image files, the cache preheating time is shortened, the cache space utilization rate is improved, the cache hit rate during reading of the image files is improved, the bandwidth resource consumption of reading of the image files is reduced, and the reading efficiency of the image files is improved.
The processing device for the virtual machine image file provided by the embodiment of the disclosure can execute the processing method for the virtual machine image file provided by any embodiment of the disclosure, and has corresponding functional modules and beneficial effects of the execution method.
It should be noted that, in the embodiment of the processing apparatus for a virtual machine image file, each module included in the embodiment is only divided according to functional logic, but is not limited to the above division, as long as the corresponding function can be realized; in addition, specific names of the functional modules are only used for distinguishing one functional module from another, and are not used for limiting the protection scope of the present disclosure.
Fig. 6 is a schematic structural diagram of an electronic device provided in an embodiment of the present disclosure. In some embodiments, the electronic device may be a host running a virtual machine, such as a desktop, a server, or a cloud server. Referring to fig. 6, an electronic device 600 provided by an embodiment of the present disclosure includes: a processor 620 and a memory 610; the processor 620 is configured to execute the steps of the processing method of the virtual machine image file provided by any embodiment of the present disclosure by calling the program or the instructions stored in the memory 610.
The electronic device 600 shown in fig. 6 is only an example and should not bring any limitations to the function and scope of use of the embodiments of the present disclosure. As shown in fig. 6, the electronic device 600 is embodied in the form of a general purpose computing device. The components of the electronic device 600 may include, but are not limited to: one or more processors 620, a memory 610, and a bus 650 that connects the various system components (including the memory 610 and the processors 620).
Bus 650 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Electronic device 600 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by electronic device 600 and includes both volatile and nonvolatile media, removable and non-removable media.
The memory 610 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)611 and/or cache memory 612. The electronic device 600 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, the storage system 613 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 6, commonly referred to as a "hard drive"). Although not shown in FIG. 6, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 650 by one or more data media interfaces. Memory 610 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the disclosure.
A program/utility 614 having a set (at least one) of program modules 615 may be stored, for example, in memory 610, such program modules 615 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 615 generally perform the functions and/or methods of any of the embodiments described in this disclosure.
The electronic device 600 may also communicate with one or more external devices 660 (e.g., keyboard, pointing device, display 670, etc.), one or more devices that enable a user to interact with the electronic device 600, and/or any devices (e.g., network card, modem, etc.) that enable the electronic device 600 to communicate with one or more other computing devices. Such communication may be through an input/output interface (I/O interface) 630. Also, the electronic device 600 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the Internet) via the network adapter 640. As shown in FIG. 6, the network adapter 640 communicates with the other modules of the electronic device 600 via a bus 650. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the electronic device 600, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The embodiments of the present disclosure also provide a computer-readable storage medium, which stores a program or instructions, where the program or instructions cause a computer to execute the steps of the method for processing a virtual image file provided in any embodiment of the present disclosure.
The computer storage media of the disclosed embodiments may take any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be understood that the terminology used in the disclosure is for the purpose of describing particular embodiments only, and is not intended to limit the scope of the present application. As used in the specification and claims of this disclosure, the terms "a," "an," "the," and/or "the" are not intended to be inclusive in the singular, but rather are inclusive in the plural, unless the context clearly dictates otherwise. The term "and/or" includes any and all combinations of one or more of the associated listed items. Relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. The terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method or apparatus that comprises the element.
The foregoing are merely exemplary embodiments of the present disclosure, which enable those skilled in the art to understand or practice the present disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the disclosure. Thus, the present disclosure is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A processing method of a virtual machine image file is characterized by comprising the following steps:
acquiring a mirror image access request for reading a target mirror image file in a disk of a virtual machine host;
determining a target heat level identification of the target image file based on the image access request; the hot level is predetermined based on the number of the virtual machines with the accessed mirror image files;
determining a target storage queue of target data information of the target image file based on the target heat level identification, and storing the target data information to the target storage queue; the number of the storage queues is consistent with the number of the heat level identifications;
determining a target storage position of the target image file as a high-speed access space of the disk or the virtual machine host based on the target storage queue, and reading the target image file from the target storage position; wherein the high-speed access space comprises a memory and/or a cache.
2. The method of claim 1, wherein the heat level indicator comprises a low heat level indicator, a medium heat level indicator, and a high heat level indicator; the number of virtual machines corresponding to the low-heat level identification is less than a first preset number, the number of virtual machines corresponding to the medium-heat level identification is between the first preset number and a second preset number, and the number of virtual machines corresponding to the high-heat level identification is higher than or equal to the second preset number.
3. The method of claim 1, wherein determining a target storage queue for target data information for the target image file based on the target heat level identification comprises:
if the target hot level identification is a low hot level identification and the target image file is accessed for the first time, determining that the target storage queue is a first storage queue corresponding to the low hot level identification;
if the target heat level identification is the low heat level identification, the target image file is accessed for the second time, and the target data information is stored in the first storage queue, determining that the target storage queue is a second storage queue corresponding to the medium heat level identification;
if the target hot degree level identification is the medium hot degree level identification and the target image file is accessed for the first time, determining that the target storage queue is the second storage queue;
if the target heat level identification is the medium heat level identification, the target image file is accessed for the second time, and the target data information is stored in the set position of the second storage queue, determining that the target storage queue is the second storage queue; the preset position is a preset proportion range arranged in the second storage queue at the front;
if the target heat level identification is the medium heat level identification, the target image file is accessed for the second time, and the target data information is stored outside the set position of the second storage queue, determining that the target storage queue is a third storage queue corresponding to the high heat level identification;
and if the target heat level identification is a high heat level identification, determining that the target storage queue is the third storage queue.
4. The method of claim 3, wherein the determining, based on the target storage queue, that the target storage location of the target image file is a high-speed access space of the disk or the virtual machine host comprises:
if the target storage queue is the first storage queue, determining that a target storage position of the target image file is the disk;
if the target storage queue is the second storage queue or the third storage queue, determining that a target storage position of the target image file is the high-speed access space;
when the target storage location of the target image file is determined to be the high-speed access space and the target image file is stored in the disk, the method further comprises:
and reading the target image file from the disk, and storing the target image file to the high-speed access space.
5. The method of claim 4, wherein the first storage queue and the second storage queue each replace data information in the storage queues using a least recently used algorithm; and the third storage queue adopts a least recently used algorithm to replace the data information in the storage queue.
6. The method of claim 5, further comprising:
and if the data information at the tail of the queue is deleted from the third storage queue, storing the data information at the tail of the queue to the second storage queue.
7. The method of claim 2, wherein determining a target heat level identification for the target image file based on the image access request comprises:
determining a target file identifier of the target image file based on the image access request;
determining the number of target virtual machines corresponding to the target image file based on the corresponding relation between the file identification and the number of virtual machines and the target file identification;
and determining the target heat level identification of the target image file based on the relation between the number of the target virtual machines and the first preset number and the second preset number.
8. A device for processing an image file of a virtual machine, comprising:
the system comprises a mirror image access request acquisition module, a mirror image access request acquisition module and a mirror image access request processing module, wherein the mirror image access request acquisition module is used for acquiring a mirror image access request for reading a target mirror image file in a disk of a virtual machine host;
the target hot degree level identification determining module is used for determining a target hot degree level identification of the target image file based on the image access request; the hot level is predetermined based on the number of the virtual machines with the accessed mirror image files;
the target storage queue determining module is used for determining a target storage queue of target data information of the target image file based on the target heat level identification and storing the target data information to the target storage queue; the number of the storage queues is consistent with the number of the heat level identifications;
a target storage location determining module, configured to determine, based on the target storage queue, that a target storage location of the target image file is a high-speed access space of the disk or the virtual machine host, and read the target image file from the target storage location; wherein the high-speed access space comprises a memory and/or a cache.
9. An electronic device, characterized in that the electronic device comprises:
a processor and a memory;
the processor is adapted to perform the steps of the method of any one of claims 1 to 7 by calling a program or instructions stored in the memory.
10. A computer-readable storage medium, characterized in that it stores a program or instructions for causing a computer to carry out the steps of the method according to any one of claims 1 to 7.
CN202011643005.8A 2020-12-30 2020-12-30 Processing method, device, equipment and storage medium of virtual machine image file Pending CN112631734A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011643005.8A CN112631734A (en) 2020-12-30 2020-12-30 Processing method, device, equipment and storage medium of virtual machine image file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011643005.8A CN112631734A (en) 2020-12-30 2020-12-30 Processing method, device, equipment and storage medium of virtual machine image file

Publications (1)

Publication Number Publication Date
CN112631734A true CN112631734A (en) 2021-04-09

Family

ID=75290528

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011643005.8A Pending CN112631734A (en) 2020-12-30 2020-12-30 Processing method, device, equipment and storage medium of virtual machine image file

Country Status (1)

Country Link
CN (1) CN112631734A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116069529A (en) * 2023-03-16 2023-05-05 天翼云科技有限公司 Dynamic caching method and device, electronic equipment and computer readable medium
CN116955219A (en) * 2023-09-13 2023-10-27 新华三信息技术有限公司 A data mirroring method, device, host and storage medium
CN117193641A (en) * 2023-09-08 2023-12-08 中电云计算技术有限公司 Mirror image cache write-in rate control method, device, equipment and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7809884B1 (en) * 2006-09-29 2010-10-05 Emc Corporation Data storage system power management
CN102467408A (en) * 2010-11-12 2012-05-23 阿里巴巴集团控股有限公司 Method and device for accessing data of virtual machine
CN103019962A (en) * 2012-12-21 2013-04-03 华为技术有限公司 Data cache processing method, device and system
CN103885811A (en) * 2012-12-21 2014-06-25 中国电信股份有限公司 Device, system and method for system-wide online migration of virtual machine system
CN104407926A (en) * 2014-12-15 2015-03-11 成都英力拓信息技术有限公司 Scheduling method of cloud computing resources
CN105446826A (en) * 2014-06-30 2016-03-30 国际商业机器公司 Virtual machine backup and recovery method and device
CN105718280A (en) * 2015-06-24 2016-06-29 乐视云计算有限公司 Method and management platform for accelerating IO of virtual machine
CN108776617A (en) * 2018-06-08 2018-11-09 山东超越数控电子股份有限公司 It is a kind of that target identification method is prefetched based on access frequency and dynamic priority
CN108932150A (en) * 2017-05-24 2018-12-04 中兴通讯股份有限公司 Caching method, device and medium based on SSD and disk mixing storage

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7809884B1 (en) * 2006-09-29 2010-10-05 Emc Corporation Data storage system power management
CN102467408A (en) * 2010-11-12 2012-05-23 阿里巴巴集团控股有限公司 Method and device for accessing data of virtual machine
CN103019962A (en) * 2012-12-21 2013-04-03 华为技术有限公司 Data cache processing method, device and system
CN103885811A (en) * 2012-12-21 2014-06-25 中国电信股份有限公司 Device, system and method for system-wide online migration of virtual machine system
CN105446826A (en) * 2014-06-30 2016-03-30 国际商业机器公司 Virtual machine backup and recovery method and device
CN104407926A (en) * 2014-12-15 2015-03-11 成都英力拓信息技术有限公司 Scheduling method of cloud computing resources
CN105718280A (en) * 2015-06-24 2016-06-29 乐视云计算有限公司 Method and management platform for accelerating IO of virtual machine
CN108932150A (en) * 2017-05-24 2018-12-04 中兴通讯股份有限公司 Caching method, device and medium based on SSD and disk mixing storage
CN108776617A (en) * 2018-06-08 2018-11-09 山东超越数控电子股份有限公司 It is a kind of that target identification method is prefetched based on access frequency and dynamic priority

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116069529A (en) * 2023-03-16 2023-05-05 天翼云科技有限公司 Dynamic caching method and device, electronic equipment and computer readable medium
CN117193641A (en) * 2023-09-08 2023-12-08 中电云计算技术有限公司 Mirror image cache write-in rate control method, device, equipment and storage medium
CN116955219A (en) * 2023-09-13 2023-10-27 新华三信息技术有限公司 A data mirroring method, device, host and storage medium
CN116955219B (en) * 2023-09-13 2024-01-19 新华三信息技术有限公司 Data mirroring method, device, host and storage medium

Similar Documents

Publication Publication Date Title
US8504792B2 (en) Methods and apparatuses to allocate file storage via tree representations of a bitmap
US8972690B2 (en) Methods and apparatuses for usage based allocation block size tuning
CN112631734A (en) Processing method, device, equipment and storage medium of virtual machine image file
US7472252B2 (en) Merging identical memory pages
US9058212B2 (en) Combining memory pages having identical content
CN107506447A (en) A kind of small documents reading/writing method and system based on local file system
CN111090628A (en) Data processing method and device, storage medium and electronic equipment
US20080086599A1 (en) Method to retain critical data in a cache in order to increase application performance
US20150363457A1 (en) Deduplicating storage with enhanced frequent-block detection
WO2017107414A1 (en) File operation method and device
CN112905111A (en) Data caching method and data caching device
CN111930316B (en) Cache read-write system and method for content distribution network
CN107665095B (en) Apparatus, method and readable storage medium for memory space management
US12026099B2 (en) System and method for storing cache location information for cache entry transfer
CN110737399A (en) Method, apparatus and computer program product for managing a storage system
CN104461735A (en) Method and device for distributing CPU resources in virtual scene
CN109213691B (en) Method and apparatus for cache management
US8549274B2 (en) Distributive cache accessing device and method for accelerating to boot remote diskless computers
CN110941565B (en) Memory management method and device for chip storage access
US20200349186A1 (en) Method, apparatus and computer program product for managing metadata of storage object
CN109478163B (en) System and method for identifying a pending memory access request at a cache entry
CN104899158A (en) Memory access optimization method and memory access optimization device
CN108875036B (en) Page data caching method and device and electronic equipment
US9223703B2 (en) Allocating enclosure cache in a computing system
US20100100674A1 (en) Managing a region cache

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20210409

RJ01 Rejection of invention patent application after publication