CN114461297A - Method and device for adjusting processor characteristic information - Google Patents

Method and device for adjusting processor characteristic information Download PDF

Info

Publication number
CN114461297A
CN114461297A CN202111657580.8A CN202111657580A CN114461297A CN 114461297 A CN114461297 A CN 114461297A CN 202111657580 A CN202111657580 A CN 202111657580A CN 114461297 A CN114461297 A CN 114461297A
Authority
CN
China
Prior art keywords
characteristic information
cloud host
processor characteristic
processor
configuration file
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
CN202111657580.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.)
Tianyi Cloud Technology Co Ltd
Original Assignee
Tianyi Cloud Technology 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 Tianyi Cloud Technology Co Ltd filed Critical Tianyi Cloud Technology Co Ltd
Priority to CN202111657580.8A priority Critical patent/CN114461297A/en
Publication of CN114461297A publication Critical patent/CN114461297A/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/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1415Saving, restoring, recovering or retrying at system level
    • G06F11/1438Restarting or rejuvenating
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles

Abstract

According to the method, a cloud host receives a configuration file sent by a cloud host management platform, the configuration file comprises new processor characteristic information, and then the cloud host adjusts the current processor characteristic information of the cloud host into the new processor characteristic information according to the configuration file. Therefore, the processor characteristic information of the cloud host can be adjusted without closing the cloud host, the problem of service interruption caused by closing the cloud host can be avoided, the operation of a user is simple, and the user experience can be improved.

Description

Method and device for adjusting processor characteristic information
Technical Field
The invention relates to the technical field of cloud computing, in particular to a method and a device for adjusting processor characteristic information.
Background
In recent years, with the rapid development of computer technology and the demand for large data, computer cloud technology (also referred to as cloud computing technology) is gradually applied to a plurality of industries. In the cloud computing technology, a cloud host is a part of a plurality of similar independent hosts simulated on a physical machine through virtual machine technology, and the cloud host and the similar independent hosts share the hardware resources of the physical machine.
The processor characteristics of the cloud host, such as information on whether a certain function is supported or not, are simulated by software and can be modified theoretically. At present, the processor characteristics of a cloud host are predefined when the cloud host is created, when the cloud host starts to run, the characteristics of the processor are fixed, and if the characteristics of the processor are to be modified, the cloud host needs to be shut down, and then the characteristics of the processor need to be modified. The operation is complex, and at this time, if the cloud host is processing the service, the service is interrupted when the cloud host is closed, which affects the user experience.
Disclosure of Invention
The invention aims to provide a method and a device for adjusting processor characteristic information, which are used for solving the problem of service interruption caused by closing a cloud host when the processor characteristic of the cloud host is adjusted.
The purpose of the invention is realized by the following technical scheme:
in a first aspect, the present application provides a method for adjusting processor characteristic information, where the method is applicable to a cloud host. Specifically, the method may comprise: receiving a configuration file sent by a cloud host management platform, wherein the configuration file comprises new processor characteristic information; and then adjusting the current processor characteristic information of the cloud host into new processor characteristic information according to the configuration file.
Through the technical scheme, when the processor characteristic information of the cloud host is modified, the modification can be completed without closing the cloud host, so that the problem of service interruption caused by closing the cloud host can be avoided, namely, the processor characteristic information of the cloud host can be adjusted without closing the cloud host, the operation of a user is simple, and the user experience can be improved. In addition, the use characteristics of the cloud host can be increased by adjusting the characteristic information of the cloud host processor.
In a possible implementation manner, the configuration file further includes a first parameter or a second parameter, the first parameter is used to obtain processor characteristic information of a host where the cloud host is located, and the second parameter is used to represent that the processor characteristic information of the cloud host is modified.
Before adjusting the current processor characteristic information of the cloud host to the new processor characteristic information according to the configuration file, the method further includes: and determining the parameters included in the configuration file as second parameters.
The first parameter is a parameter host, and the second parameter is a parameter custom. When the parameter is the host, it can be understood that the processor characteristic information of the cloud host is not adjusted; when the parameter is custom, the processor characteristic information of the cloud host needs to be adjusted.
In one possible implementation manner, adjusting the current processor characteristic information of the cloud host to be new processor characteristic information according to the configuration file includes:
calling a modify interface to send the new processor characteristic information to a QEMU component of the cloud host; the QEMU component of the cloud host replaces the current processor characteristic information with the new processor characteristic information.
By the technical scheme, the processor characteristic information can be dynamically adjusted in QEMU. And the configuration of the virtual processor characteristic information can be realized through a modify interface.
In one possible implementation, the method further includes:
calling an ioctl interface to send the new processor characteristic information to a host where the cloud host is located; and when a restart instruction is received, acquiring the new processor characteristic information from the host machine where the cloud host is located.
Through the technical scheme, after the cloud host is restarted, the new processor characteristic information can be obtained from the host and applied to the cloud host, so that the new processor characteristic information of the cloud host takes effect.
In a second aspect, the present application provides an apparatus for adjusting processor characteristic information, including:
the system comprises a receiving and sending unit, a processing unit and a processing unit, wherein the receiving and sending unit is used for receiving a configuration file sent by a cloud host management platform, and the configuration file comprises new processor characteristic information; and the processing unit is used for adjusting the current processor characteristic information of the cloud host into new processor characteristic information according to the configuration file.
In a possible implementation manner, the configuration file further includes a first parameter or a second parameter, where the first parameter is used to obtain processor characteristic information of a host where the cloud host is located, and the second parameter is used to characterize and modify the processor characteristic information of the cloud host.
The device further comprises: a determining unit, configured to determine, before adjusting the current processor characteristic information of the cloud host to be new processor characteristic information according to the configuration file, that a parameter included in the configuration file is a second parameter.
In a possible implementation manner, the processing unit is specifically configured to adjust the current processor characteristic information of the cloud host to be new processor characteristic information according to the configuration file as follows:
calling a modify interface to send the new processor characteristic information to a QEMU component of the cloud host; replacing the current processor characteristic information with the new processor characteristic information.
In a possible implementation manner, the transceiver unit is further configured to:
calling an ioctl interface to send the new processor characteristic information to a host where the cloud host is located; and when a restart instruction is received, acquiring the new processor characteristic information from the host machine where the cloud host is located.
In a third aspect, the present application further provides an apparatus for adjusting processor characteristic information, including: the system comprises a processor, a memory and a transceiver, wherein the processor, the memory and the transceiver are connected through a bus;
the memory to store program instructions;
the transceiver is used for receiving and transmitting signals;
the processor is configured to read program instructions stored in the memory and execute the method of the first aspect.
In a fourth aspect, the present application provides a computer readable storage medium having stored thereon computer instructions which, when run on a computer, cause the computer to perform the method of the first aspect.
With regard to the technical effects brought by the various embodiments of the second aspect to the fourth aspect, reference may be made to the description of the technical effects of the first aspect or the various embodiments of the first aspect, and redundant description is not provided herein.
Drawings
Fig. 1 is a flowchart of a method for adjusting processor characteristic information according to an embodiment of the present disclosure;
fig. 2 is a flowchart illustrating an embodiment of a method for adjusting processor characteristic information according to the present disclosure;
FIG. 3 is a schematic diagram of an apparatus for adjusting processor characteristic information according to an embodiment of the present disclosure;
fig. 4 is a schematic diagram of an apparatus for adjusting processor characteristic information according to an embodiment of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It is to be understood that the terms "first," "second," and the like in the description herein are used for descriptive purposes only and not for purposes of indicating or implying relative importance, nor order.
Since the processor characteristic information of the cloud host (e.g., whether a certain instruction is supported) is simulated by the virtualization software, the processor characteristic information of the cloud host can be adjusted by a software method. At present, when modifying the processor characteristic information of the cloud host, the cloud host needs to be shut down first, then the processor characteristic information of the cloud host needs to be modified, and then the cloud host needs to be restarted. The operation process is complicated, and if some services are processed, the cloud host is closed, so that the services are interrupted, and the user experience is influenced.
In view of this, an embodiment of the present application provides a method for adjusting processor characteristic information, in which processor characteristic information of a cloud host is modified in a QEMU component, so that online adjustment of the processor characteristic information of the cloud host is achieved without turning off the cloud host. And adding the simulated processor characteristic information in the KVM so that the cloud host acquires the new processor characteristic information from the KVM and takes effect after the KVM is restarted.
Fig. 1 is a flowchart illustrating a method for adjusting processor characteristic information according to an embodiment of the present disclosure, referring to fig. 1, the method may include the following steps:
s101, the cloud host management platform sends a configuration instruction to the cloud host.
Wherein, the configuration instruction includes a new processor characteristic configuration file, namely a modified processor characteristic configuration file.
It should be noted that, after purchasing the cloud host, the user may modify the configuration file of the processor characteristics according to the configuration specification (i.e., the product specification or some operation instruction, etc.) of the cloud host to form a new configuration file of the processor characteristics.
As a possible implementation manner, after modifying the configuration file, the user may upload the new processor characteristic configuration file to the cloud host management platform, and then the cloud host management platform may send the new processor characteristic configuration file to the cloud host.
As another possible implementation manner, in order to meet different requirements of different users, some modified processor characteristic profiles (or templates that can be understood as some processor characteristic profiles are stored in advance) may be stored in advance on the cloud host management platform, and a user may directly select a new processor characteristic profile without separately writing the profile.
In some embodiments, the cloud host management platform may send configuration instructions (which may also be referred to as configuration commands) to the cloud host via the Libvirt component and provide a new processor characterization profile.
Wherein the new processor characteristic configuration file may include additions, deletions, modifications to the current processor characteristic information.
S102, modifying the processor characteristic information of the cloud host by the cloud host according to the configuration instruction.
In some embodiments, after the cloud host receives the configuration instruction, an interface of a qemu (quick emulator) component may be invoked, operations of the virtualization layer performed, and processor characteristics of the cloud host dynamically modified.
That is to say, in this embodiment of the application, if the processor characteristics of the cloud host are to be modified, the cloud host management platform may send the new processor characteristics of the cloud host to the cloud host, so that the cloud host dynamically adjusts the processor characteristics, that is, the processor characteristics of the cloud host may be adjusted without closing the cloud host, thereby avoiding occurrence of a service interruption caused by closing the cloud host when the cloud host processes a service, and improving user experience.
S102 in the embodiment shown in fig. 1 will be described in detail with reference to fig. 2. Referring to fig. 2, a flowchart of another method for adjusting processor characteristic information according to an embodiment of the present disclosure is shown, where referring to fig. 2, the method may include the following steps:
1. and the cloud host management platform sends the configuration file to the cloud host.
2. And the cloud host judges whether the configuration parameters in the configuration file are first parameters, if so, the step 3 is continuously executed, and if so, the step 4 is executed.
Wherein the first parameter is host, and the second parameter is custom.
In some embodiments, the cloud host may call the Set _ mode () interface of Libvirt to obtain parameter information in the configuration file features. And if the parameter is host, executing the step 3, and if the parameter is custom, executing the step 4 and the following steps. It should be understood that the method for modifying the characteristics of the processor in the embodiment of the present application refers to the method steps performed when the parameter custom is used.
3. The Host CPU Features are given to the Emulated Features.
If the parameter is Host, the value of Host CPU Features can be given to Emulated Features, that is, the processor Features of the Host are assigned to the simulated processor feature information.
4. And calling a modify () interface to read new processor characteristic information from the configuration file.
If the parameter is custom, the Modify () interface may be invoked to read the new processor characteristics information from the configuration file (features.
It should be noted that the Set _ mode () interface and the Modify () interface are newly added interfaces in Libvirt, and are used to dynamically configure the virtual processor characteristics.
5. And giving the new processor characteristic information to Custom characteristic Custom characteristics in the QEMU, and changing the Default value Default value into a Modified value.
The Default value can be understood as a Default characteristic used when the cloud host is started. I.e. new processor characteristics information is entered in the Custom Features.
6. QEMU calls ioctl interface, and assigns modified Custom Features to Emulated Features.
In the embodiment of the application, the ioctl interface is modified, so that the processor characteristic information of the cloud host can be modified and adjusted online. That is to say, the ioctl interface in the embodiment of the present application may be used to modify processor characteristic information of the cloud host.
7. The method comprises the steps of executing Reboot operation in a cloud host, starting a Guest OS, executing system initialization codes, calling a read _ sys _ info () interface, and acquiring Emulated Features from a Kernel-based Virtual Machine (KVM).
8. The obtained Emulated Features are assigned to VCPU Features.
In some embodiments, the user may perform a reboot operation in the cloud host, and then obtain new processor characteristics information from the Emulated Features, and assign the new processor characteristics information to the cloud host processor characteristics VCPU Features.
Optionally, the user may obtain the modified processor characteristic information VCPU Features through a query operation to confirm whether the modification is successful or correct.
The query method may be a query using an lscpu tool, and of course, the query may also be performed in other manners, which is not specifically limited in this application.
As one possible implementation, a new data structure may be implemented in the KVM of the schematic shown in FIG. 2 for storing simulated processor Features.
Through the embodiment, dynamic adjustment of the processor characteristics of the cloud host, namely adjustment of Custom Features, can be realized in QEMU, and the Emulated Features are given.
Furthermore, by the method of the embodiment of the application, the online migration capability of the cloud host can be improved, and the resource management capability of the cloud host cluster is optimized. In addition, the use characteristics of the cloud host can be increased, and the use experience of a user is optimized. For example, if there are 2 cloud hosts, for example, the cloud hosts are respectively the cloud host 1 and the cloud host 2, and the processor characteristic information of the cloud host 1 and the cloud host 2 is different, for example, the processor characteristic information of the cloud host 1 is a, and the processor characteristic information of the cloud host 2 is B, if a user needs to modify the processor characteristic a of the cloud host 1, and the cloud host 1 currently has a service to process, the service of the cloud host 1 may be migrated to the cloud host 2 to process at this time.
It should be noted that the cloud host 1 and the cloud host 2 may be cloud hosts in the same cluster or cloud hosts in different clusters, which is not limited in the present application.
Based on the same concept as the aforementioned method for adjusting processor characteristic information, an embodiment of the present invention further provides an apparatus for adjusting processor characteristic information, and fig. 3 is a block diagram of the apparatus for adjusting processor characteristic information according to the embodiment of the present application, where the block diagram includes: a transceiving unit 301 and a processing unit 302.
The transceiving unit 301 is configured to receive a configuration file sent by a cloud host management platform, where the configuration file includes new processor characteristic information;
a processing unit 302, configured to adjust the current processor characteristic information of the cloud host to be new processor characteristic information according to the configuration file.
In a possible implementation manner, the configuration file further includes a first parameter or a second parameter, where the first parameter is used to obtain processor characteristic information of a host where the cloud host is located, and the second parameter is used to characterize and modify the processor characteristic information of the cloud host;
the device further comprises: a determining unit 303, configured to determine, before adjusting the current processor characteristic information of the cloud host to be new processor characteristic information according to the configuration file, that a parameter included in the configuration file is a second parameter.
In a possible implementation manner, the processing unit 302 is specifically configured to adjust the current processor characteristic information of the cloud host to be new processor characteristic information according to the configuration file as follows:
calling a modify interface to send the new processor characteristic information to a QEMU component of the cloud host; replacing the current processor characteristic information with the new processor characteristic information.
In a possible implementation manner, the transceiver unit 301 is further configured to:
calling an ioctl interface to send the new processor characteristic information to a host where the cloud host is located; and when a restart instruction is received, acquiring the new processor characteristic information from the host machine where the cloud host is located.
It should be noted that, for the function implementation of each unit in the above-mentioned apparatus in the embodiment of the present invention, further reference may be made to the description of the related method embodiment, which is not described herein again.
Fig. 4 shows an apparatus 400 for adjusting processor characteristic information according to an embodiment of the present application. The processor characteristic information adjusting device 400 comprises at least one processor 402 for implementing or supporting the processor characteristic information adjusting device 400 to implement the functionality of the processing unit 302 shown in fig. 3 as provided by the embodiments of the present application. For example, the processor 402 may adjust the current processor characteristic information of the cloud host to new processor characteristic information according to the configuration file, which is specifically described in the detailed description of the method example and is not described herein again.
The processor characteristic information adjusting apparatus 400 may further include at least one memory 401 for storing program instructions. The memory 401 is coupled to the processor 402. The coupling in the embodiments of the present application is an indirect coupling or a communication connection between devices, units or modules, and may be an electrical, mechanical or other form for information interaction between the devices, units or modules. The processor 402 may cooperate with the memory 401. Processor 402 may execute program instructions and/or data stored in memory 401. At least one of the at least one memory may be included in the processor.
The processor characteristic information adjusting device 400 may further comprise a transceiver 403 for communicating with other devices via a transmission medium. The processor 402 may transceive data using the transceiver 403. Illustratively, the transceiver 403 is configured to receive a configuration file sent by the cloud host management platform.
The present application does not limit the specific connection medium between the transceiver 403, the processor 402, and the memory 401 described above. In fig. 4, the memory 401, the processor 402, and the transceiver 403 are connected by a bus 404, which is indicated by a thick line in fig. 4. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 4, but this does not indicate only one bus or one type of bus.
In the embodiments of the present application, the processor 402 may be a general purpose processor, a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination thereof, and may implement or perform the methods, steps, and logic blocks disclosed in the embodiments of the present application. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of a method disclosed in connection with the embodiments of the present application may be implemented directly by a hardware processor, or by a combination of hardware and software modules in a processor.
In the embodiment of the present application, the memory 401 may be a non-volatile memory, such as a Hard Disk Drive (HDD) or a solid-state drive (SSD), and may also be a volatile memory (RAM). The memory is any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to such. The memory in the embodiments of the present application may also be circuitry or any other device capable of performing the storage function to store the program instructions.
Optionally, the computer-executable instructions in the embodiments of the present application may also be referred to as application program codes, which are not specifically limited in the embodiments of the present application.
Also provided in embodiments of the present application is a computer-readable storage medium comprising instructions that, when executed on a computer, cause the computer to perform the method of the above-described embodiments.
Also provided in embodiments of the present application is a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method of the above-described embodiments.
The embodiment of the application also provides a chip, and the logic in the chip is used for executing the method of the embodiment.
Embodiments of the present application are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by instructions. These instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (10)

1. A method for adjusting processor characteristic information is applied to a cloud host, and is characterized by comprising the following steps:
receiving a configuration file sent by a cloud host management platform, wherein the configuration file comprises new processor characteristic information;
and adjusting the current processor characteristic information of the cloud host to be the new processor characteristic information according to the configuration file.
2. The method according to claim 1, wherein the configuration file further includes a first parameter or a second parameter, the first parameter is used to obtain processor characteristic information of a host where the cloud host is located, and the second parameter is used to characterize and modify the processor characteristic information of the cloud host;
before the adjusting the current processor characteristic information of the cloud host to the new processor characteristic information according to the configuration file, the method further includes:
and determining the parameters included in the configuration file as second parameters.
3. The method of claim 1 or 2, wherein adjusting the current processor characteristic information of the cloud host to new processor characteristic information according to the configuration file comprises:
calling a modify interface to send the new processor characteristic information to a QEMU component of the cloud host;
the QEMU component of the cloud host replaces the current processor characteristic information with the new processor characteristic information.
4. The method of claim 1, wherein the method further comprises:
calling an ioctl interface to send the new processor characteristic information to a host where the cloud host is located;
and when a restart instruction is received, acquiring the new processor characteristic information from the host machine where the cloud host is located.
5. An apparatus for adjusting processor characteristic information, comprising:
the system comprises a receiving and sending unit, a processing unit and a processing unit, wherein the receiving and sending unit is used for receiving a configuration file sent by a cloud host management platform, and the configuration file comprises new processor characteristic information;
and the processing unit is used for adjusting the current processor characteristic information of the cloud host into new processor characteristic information according to the configuration file.
6. The apparatus of claim 5, wherein the configuration file further includes a first parameter or a second parameter, the first parameter is used to obtain processor characteristic information of a host where the cloud host is located, and the second parameter is used to characterize modification of the processor characteristic information of the cloud host;
the device further comprises: a determining unit, configured to determine, before adjusting the current processor characteristic information of the cloud host to be new processor characteristic information according to the configuration file, that a parameter included in the configuration file is a second parameter.
7. The apparatus according to claim 5 or 6, wherein the processing unit is specifically configured to adjust the current processor characteristic information of the cloud host to be new processor characteristic information according to the configuration file as follows:
calling a modify interface to send the new processor characteristic information to a QEMU component of the cloud host;
replacing the current processor characteristic information with the new processor characteristic information.
8. The apparatus as recited in claim 5, wherein said transceiving unit is further to:
calling an ioctl interface to send the new processor characteristic information to a host where the cloud host is located; and when a restart instruction is received, acquiring the new processor characteristic information from the host machine where the cloud host is located.
9. An apparatus for adjusting processor characteristic information, comprising: the system comprises a processor, a memory and a transceiver, wherein the processor, the memory and the transceiver are connected through a bus;
the memory to store program instructions;
the transceiver is used for receiving and transmitting signals;
the processor is used for reading the program instructions stored in the memory and executing the method of any one of claims 1 to 4.
10. A computer readable storage medium having stored thereon computer instructions which, when run on a computer, cause the computer to perform the method of any of claims 1-4.
CN202111657580.8A 2021-12-30 2021-12-30 Method and device for adjusting processor characteristic information Pending CN114461297A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111657580.8A CN114461297A (en) 2021-12-30 2021-12-30 Method and device for adjusting processor characteristic information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111657580.8A CN114461297A (en) 2021-12-30 2021-12-30 Method and device for adjusting processor characteristic information

Publications (1)

Publication Number Publication Date
CN114461297A true CN114461297A (en) 2022-05-10

Family

ID=81408034

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111657580.8A Pending CN114461297A (en) 2021-12-30 2021-12-30 Method and device for adjusting processor characteristic information

Country Status (1)

Country Link
CN (1) CN114461297A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110995462A (en) * 2019-10-31 2020-04-10 北京浪潮数据技术有限公司 Cloud host function expansion method, system, equipment and computer storage medium
CN111258721A (en) * 2020-01-19 2020-06-09 苏州浪潮智能科技有限公司 Cloud host operating system user management method, device, equipment and storage medium
CN111966413A (en) * 2020-08-14 2020-11-20 北京金山云网络技术有限公司 Configuration method and device
CN112737835A (en) * 2020-12-25 2021-04-30 北京浪潮数据技术有限公司 Cloud host business management method and related device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110995462A (en) * 2019-10-31 2020-04-10 北京浪潮数据技术有限公司 Cloud host function expansion method, system, equipment and computer storage medium
CN111258721A (en) * 2020-01-19 2020-06-09 苏州浪潮智能科技有限公司 Cloud host operating system user management method, device, equipment and storage medium
CN111966413A (en) * 2020-08-14 2020-11-20 北京金山云网络技术有限公司 Configuration method and device
CN112737835A (en) * 2020-12-25 2021-04-30 北京浪潮数据技术有限公司 Cloud host business management method and related device

Similar Documents

Publication Publication Date Title
US9841991B2 (en) Techniques for virtual machine migration
JP4738534B2 (en) Boot negotiation between multiple bootable devices
US10768827B2 (en) Performance throttling of virtual drives
US10282220B2 (en) Dynamic allocation of queue depths for virtual functions in a converged infrastructure
AU2012375273B2 (en) Method and system for verifying proper operation of a computing device after a system change
US20150324216A1 (en) Self-repairing configuration service for virtual machine migration
CN107222349B (en) Method and device for configuring network card rate of virtual machine, computer equipment and storage medium
US20160335007A1 (en) Techniques for data migration
US20150324217A1 (en) Techniques for virtual machine shifting
TW201818262A (en) Read/write request processing method and apparatus
US11210132B2 (en) Virtual machine migration in virtualization environment having different virtualization systems
US11740810B2 (en) Mirrored memory configuration method and apparatus, and computer storage medium
CN110968392B (en) Method and device for upgrading virtualized simulator
CN116644011B (en) Quick identification method, device and equipment of I2C equipment and storage medium
CN108108314B (en) Exchanger system
US10007529B2 (en) Data terminal running mode switching method, device, and data terminal
CN112912743B (en) Calculation force control method, device, equipment and storage medium
CN114461297A (en) Method and device for adjusting processor characteristic information
CN110874264A (en) Example hot migration method and device, storage medium and processor
CN113986451A (en) Virtual machine migration method and device, electronic equipment and storage medium
WO2023287407A1 (en) Hardware component initialization
CN105094947A (en) Method and system for quotas management of virtual computing resource
EP4307631A1 (en) User access processing method and related device
CN114676085B (en) CCIX bus control method, device and medium
CN117608749A (en) Virtual machine migration method, system, host machine and computer readable storage medium

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