CN109960566A - Distribution method, device, equipment and the medium of virtualization resource - Google Patents

Distribution method, device, equipment and the medium of virtualization resource Download PDF

Info

Publication number
CN109960566A
CN109960566A CN201711429506.4A CN201711429506A CN109960566A CN 109960566 A CN109960566 A CN 109960566A CN 201711429506 A CN201711429506 A CN 201711429506A CN 109960566 A CN109960566 A CN 109960566A
Authority
CN
China
Prior art keywords
performance
sample
application
value
resource
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
CN201711429506.4A
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.)
China Mobile Communications Group Co Ltd
China Mobile Group Liaoning Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Group Liaoning 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 China Mobile Communications Group Co Ltd, China Mobile Group Liaoning Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201711429506.4A priority Critical patent/CN109960566A/en
Publication of CN109960566A publication Critical patent/CN109960566A/en
Pending legal-status Critical Current

Links

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/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5011Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
    • G06F9/5016Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals the resource being the memory
    • 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/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • 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/45579I/O management, e.g. providing access to device drivers or storage
    • 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/45583Memory management, e.g. access or allocation

Abstract

The invention discloses the distribution method of virtualization resource, device, equipment and media.This method comprises: obtaining the summary info and essential information for applying sample;It determines according to the summary info using sample and is not present in tag database using sample;The performance data of acquisition applications sample, the performance data based on application sample generates the application performance label for applying sample, and the summary info of application sample and application performance label are stored in tag database;According to the application performance label of application sample, will distribute using sample to corresponding virtualization resource pond.Using the virtualized resource distribution method of the embodiment of the present invention, device, equipment and medium, the utilization rate of virtualization resource can be improved.

Description

Distribution method, device, equipment and the medium of virtualization resource
Technical field
The present invention relates to computer field more particularly to a kind of distribution method of virtualization resource, device, equipment and calculating Machine readable storage medium storing program for executing.
Background technique
Application virtualization technology is after uniformly running on the application program being mounted in local computing operating system originally Platform terminal server.User can by any equipment, in any place, and any time access it is one's own application it is soft Part.
Application virtualization technology is usually to pass through underlying virtual management system, and types of applications resource is realized cloud pond Management allows user to work during use by the maintenance management that the resource that cloud is issued completes normalization.
The realization process for distributing virtualization resource pond in the prior art is as follows:
Firstly, establishing basic resource pond, physical host is uniformly entered into basic resource pond.
Secondly, distribution virtual machine, to issue concrete application on a virtual machine.
Finally, checking whether that there are idle virtual machines in physical host.If physical host there are idle virtual machine, Publication concrete application is realized in idle virtual machine;If idle virtual machine is not present in physical host, virtual machine completes publication.
With business development and the dilatation of resource pool, the capacity of physical host, model are more and more many and diverse.Based on experience value Virtualization resource is distributed, is on the one hand unable to give full play the hardware performance of physical host, another aspect virtualization resource is difficult to With resource requirement.
Summary of the invention
The embodiment of the invention provides a kind of distribution method of virtualization resource, device, equipment and media, are giving full play to It is resource requirement matching virtual resource while the hardware performance of physical host.
The embodiment of the present invention provides a kind of distribution method of virtualization resource, comprising:
Obtain the summary info and essential information for applying sample;
Determine that the application sample is not present in tag database according to the summary info using sample;
The performance data using sample is acquired according to the essential information, based on the performance data using sample The application performance label using sample is generated, and the summary info using sample and the application performance label are deposited Storage is in the tag database;
According to the application performance label using sample, the application sample is distributed to corresponding virtualization resource Pond.
One side according to an embodiment of the present invention, the essential information using sample include that user volume estimates information;
The summary info using sample is to calculate the information obtained using sample file to described by hash algorithm.
One side according to an embodiment of the present invention, it is described described using sample using the performance data generation of sample based on described This application performance label, comprising:
The performance data using sample includes that cpu performance collection value, internal memory performance collection value and read-write IO performance are adopted Set value;
Application is calculated according to the cpu performance collection value, the internal memory performance collection value and the IO performance collection value It can value;
Based on the application performance value, the application performance label using sample is generated.
One side according to an embodiment of the present invention, it is described according to the cpu performance collection value, the internal memory performance collection value Application performance value is calculated with the IO performance collection value, comprising:
Cpu performance value is calculated according to the cpu performance collection value;
Internal memory performance value is calculated according to the internal memory performance collection value;
IO performance number is calculated according to the IO performance collection value;
Application performance value is calculated according to the cpu performance value, the internal memory performance value and the IO performance number.
One side according to an embodiment of the present invention, the application performance label include: high density label, conventional tags, height Performance label.
One side according to an embodiment of the present invention, it is described according to the application performance label using sample, it is answered by described in It is distributed with sample to corresponding virtualization resource pond, comprising:
The virtualization resource pond includes: high density resource pool, conventional resource pool and high-performance resource pool;
The cpu performance of host, the internal memory performance and base of basic resource mediocre person reason host are managed according to basic resource mediocre person Basic resource pond is divided into the high density resource pool, the conventional resource pool by the IO performance of physical host in plinth resource pool With the high-performance resource pool;
According to the application performance label using sample, the corresponding application sample of the high density label is distributed to institute High density resource pool is stated, the corresponding application sample of the conventional tags is distributed to the conventional resource pool, by the high-performance The corresponding application sample of label is distributed to the high-performance resource pool.
The embodiment of the present invention provides a kind of distributor of virtualization resource, comprising:
Module is obtained, for obtaining the summary info and essential information of applying sample;
Determining module, for determining the application sample in tag database according to the summary info using sample It is not present;
Generation module is based on the application for acquiring the performance data using sample according to the essential information The performance data of sample generates the application performance label using sample, and by the summary info using sample and described Application performance label is stored in the tag database;
Distribution module, for according to the application performance label using sample, the application sample to be distributed to correspondence Virtualization resource pond.
One side according to an embodiment of the present invention, the performance data using sample include cpu performance collection value, memory Performance collection value and IO performance collection value, the generation module further include:
Computing module, for according to the cpu performance collection value, the internal memory performance collection value and the read-write IO performance Collection value calculates application performance value;
Submodule is generated, for being based on the application performance value, generates the application performance label using sample.
One side according to an embodiment of the present invention, the computing module further include:
First computational submodule, for calculating cpu performance value according to the cpu performance collection value;
Second computational submodule, for calculating internal memory performance value according to the internal memory performance collection value;
Third computational submodule, for calculating IO performance number according to the IO performance collection value;
4th computational submodule, for being calculated according to the cpu performance value, the internal memory performance value and the IO performance number Application performance value.
One side according to an embodiment of the present invention, the virtualization resource pond include: high density resource pool, conventional resource pool With high-performance resource pool, the application performance label includes: high density label, conventional tags, high-performance label, the distribution mould Block further include:
Division module, for managing the cpu performance of host according to basic resource mediocre person, basic resource mediocre person manages host Internal memory performance and basic resource mediocre person manage the IO performance of host and basic resource pond are divided into the high density resource pool, described Conventional resource pool and the high-performance resource pool;
Distribution sub module, it is for according to the application performance label using sample, the high density label is corresponding It distributes using sample to the high density resource pool, the corresponding application sample of the conventional tags is distributed to the conventional resource Pond distributes the corresponding application sample of the high-performance label to the high-performance resource pool.
The embodiment of the present invention provides a kind of distributing equipment of virtualization resource, comprising:
Memory, for storing program;
Processor realizes that the embodiment of the present invention provides for running the described program stored in the memory to execute Virtualization resource distribution method.
The embodiment of the present invention provides a kind of computer storage medium, and computer journey is stored in the computer storage medium Sequence instruction, the computer program instructions realize the distribution of virtualization resource provided in an embodiment of the present invention when being executed by processor Method.
From above-mentioned technical proposal as can be seen that the distribution method of virtualization resource through the embodiment of the present invention, device, Equipment and medium, can be improved the utilization rate in basic resource pond, while facilitate the unified maintenance management to basic resource pond, and Establish the evaluation criterion of application performance.
Detailed description of the invention
The present invention may be better understood from the description with reference to the accompanying drawing to a specific embodiment of the invention wherein, The same or similar appended drawing reference indicates the same or similar feature.
Fig. 1 is the distribution method flow diagram of virtualization resource in the embodiment of the present invention;
Fig. 2 is the distributor structural schematic diagram of virtualization resource in the embodiment of the present invention;
Fig. 3 is the structure chart of the exemplary hardware architecture of the distributing equipment of virtualization resource in the embodiment of the present invention.
Specific embodiment
The feature and exemplary embodiment of various aspects of the invention is described more fully below, in order to make mesh of the invention , technical solution and advantage be more clearly understood, below in conjunction with drawings and the specific embodiments, the present invention is carried out further detailed Description.It should be understood that specific embodiment described herein is only configured to explain the present invention, it is not configured as limiting this hair It is bright.To those skilled in the art, the present invention can be in the case where not needing some details in these details Implement.The description of embodiment is preferably managed just for the sake of being provided by showing example of the invention of the invention below Solution.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence " including ... ", it is not excluded that including There is also other identical elements in the process, method, article or equipment of the element.
Virtualization pool is constructed namely by way of virtualization by CPU, memory, I/O device of more physical servers etc. Hardware resource is integrally formed a huge virtualization pool, to improve the utilization efficiency of hardware resource.The embodiment of the present invention In, the virtualization pool that the hardware resources such as the CPU, memory, I/O device of more physical servers are integrally formed is referred to as basis money Source pond.When an application needs to issue, directly the resource in basic resource pond is allocated.An and basic resource pond pair The more physical computers answered are there may be model difference, the problems such as capacity is different, performance difference, it is therefore desirable to which one kind can fill It is the match party of the virtualization resource of resource requirement matching virtual resource while the hardware performance of physical host is waved in distribution Method.
It is the distribution method flow diagram of virtualization resource in the embodiment of the present invention referring to Fig. 1, it is of the invention as shown in Figure 1 In embodiment virtualization resource distribution method 100 specifically includes the following steps:
S110 obtains the summary info and essential information for applying sample.
It in some embodiments of the invention, include that user volume estimates information using the essential information of sample.Make one to show Example, user volume, which estimates information, can be the user volume for the use application sample estimated.Make a specific example, one, certain company Totally 20 people are used in conjunction with same fictitious host computer to door.When needing to issue to the fictitious host computer using sample, can estimate makes User volume with application sample is 20 people.
In S110, the summary info using sample is to calculate the letter obtained to application sample file by hash algorithm Breath.
In some embodiments, hash algorithm can be md5-challenge (Message-Digest Algorithm 5, MD5) or secure hash algorithm (Secure Hash Algorithm, SHA).
Make an example, length can be calculated by MD5 algorithm in the data information of application sample and be plucked for 128 Want information.
Make another example, the data information of application sample can be believed by the abstract that SHA algorithm is calculated 160 Breath.
Information can be guaranteed using the summary info of sample by being obtained in the above-described embodiments using MD5 algorithm or SHA algorithm Safety in transmittance process, and have the characteristics that efficiency of algorithm height and algorithm are simple.And MD5 algorithm or SHA algorithm obtain The length of the summary info arrived is longer, ensure that the different data informations using sample correspond to different summary infos.
S120 is determined according to the summary info using sample and is not present in tag database using sample.
In some embodiments, tag database is for storing the summary info using sample issued or issued The application performance label using sample issued or issued.
Therefore, it in S120, determines according to the summary info using sample and is not present in tag database using sample Method, specifically include:
According to the summary info for applying sample, look for whether that there are identical summary infos in tag database.
Identical summary info if it does not exist is determined and is not present in tag database using sample, and is judged using sample This is not issued.
In identical summary info if it does not exist, determine in the step of being not present in tag database using sample, by In calculating the summary info for applying sample using MD5 algorithm or SHA algorithm, the mutual not phase of the different summary infos using sample Together.It therefore can be with by whether there is identical summary info, judging, which whether there is in tag database, applies sample.
In further embodiments, it determines according to the summary info using sample and is not deposited in tag database using sample Method, further includes:
There are identical summary infos, determine and exist in tag database using sample, judge to have issued using sample.
The application performance label that sample is applied in tag database is called, it, will according to the application performance label of application sample It distributes using sample to corresponding virtualization resource pond.
Whether issued, has been determined after having been issued using sample, directly using sample by tag database judgement in S120 The application performance label for applying sample is called, can be improved the efficiency of the distribution method of the virtualization resource of the embodiment of the present invention.
It is determined according to S120 after being not present in tag database using sample, needs to generate application performance label.However, Using none specific measurement standard of the application performance of sample, it is therefore desirable to establish the measurement of the application performance using sample Standard according to application performance will divide and determine corresponding application performance label based on measurement standard using sample.
S130, according to the performance data of essential information acquisition applications sample, the performance data generation based on application sample is answered With the application performance label of sample, and will application sample summary info and application performance label be stored in tag database.
In some embodiments of the invention, in S130 acquisition applications sample performance data, specifically: according to basic letter User volume estimates information in breath, and using Black-box Testing, acquisition is that user volume estimates letter when using this to apply the number of users of sample When the user volume for the use application sample estimated in breath, using the properties data of sample.
In S130, the performance data based on application sample generates the application performance label for applying sample, comprising:
S131, the performance data using sample include cpu performance collection value, internal memory performance collection value and input and output (Input/Output, IO) performance collection value.
In some embodiments of the invention, cpu performance collection value is CPU frequency (the CPU core work occupied using sample The clock frequency of work) size, unit be Gigahertz (Gigahertz, GHZ);Internal memory performance collection value is to account for using sample Memory size, unit are gigabytes (gigabyte, GB);IO performance collection value is to consume using IO of the sample to disk Size, unit are input and output amount (Input/Output Operations Per Second, IOPS) per second.
S132 calculates application performance value according to cpu performance collection value, internal memory performance collection value and IO performance collection value.
In some embodiments of the invention, S132 is specifically included:
S1321 calculates cpu performance value according to cpu performance collection value.
In some embodiments of the invention, the calculation formula of cpu performance value is
Wherein, CPUvalueFor cpu performance value, c is cpu performance collection value, clFor the first reference value of cpu performance, chFor CPU The second reference value of performance, and cl< ch
Make an example, using the first reference value of cpu performance c of samplel0.4GHZ can be taken, using the CPU of sample It can the second reference value ch1GHZ can be taken.When the cpu performance collection value of application sample is equal to 0.2GHZ, less than application sample The first reference value of cpu performance cl, it is equal to 0 using the cpu performance value of sample;When the cpu performance collection value of application sample is equal to When 0.8GHZ, between the first reference value of cpu performance c of application samplelWith the second reference value of cpu performance c of application samplehBetween, It is equal to 1 using the cpu performance value of sample;When the cpu performance collection value of application sample is equal to 1.2GHZ, greater than application sample The second reference value of cpu performance ch, it is equal to 2 using the cpu performance value of sample.
S1322 calculates internal memory performance value according to internal memory performance collection value.
In some embodiments of the invention, the calculation formula of internal memory performance value is
Wherein, MEMvakueFor internal memory performance value, m is internal memory performance collection value, mlFor the first reference value of internal memory performance, mhFor The second reference value of internal memory performance, and ml< mh
S1323 calculates IO performance number according to IO performance collection value.
In some embodiments of the invention, the calculation formula of IO performance number is
Wherein, IOvalueFor IO performance number, i is IO performance collection value, ilFor the first reference value of IO performance, ihFor IO performance Second reference value, and il< ih
S1324 calculates application performance value according to cpu performance value, internal memory performance value and IO performance number.
In some embodiments of the invention, the formula of calculating application performance value is
Wherein, PERvalueFor application performance value, max (CPUvalue, MEMvalue, IOvalue) indicate to take CPUvalue, MEMvalue, IOvalueIn be maximized, a is number greater than 1.
Make an example, as the CPU of an application samplevalue=0, MEMvalue=0, IOvalueWhen=0, meet max (CPUvalue, MEMvalue, IOvalue)=0 is equal to 0 using the application performance value of sample;As the CPU of an application samplevalue= 0, MEMvalue=1, IOvalueWhen=1, meet max (CPUvalue, MEMvalue, IOvalue)=1, using the application performance value of sample Equal to 1;As the CPU of an application samplevalue=2, MEMvalue=0, IOvalueWhen=0, meet max (CPUvalue, MEMvalue, IOvalue)=2 are equal to a using the application performance value of sample.
S133 is based on application performance value, generates the application performance label for applying sample.
In some embodiments of the invention, application performance label includes: high density label, conventional tags, high-performance mark Label.
Table 1 shows the mapping relations of application performance of embodiment of the present invention value and application performance label.
Table 1
Application performance value PERvalue Application performance label
0 High density label
1 Conventional tags
a High-performance label
Make an example, as the application performance value PER of application samplevalueWhen equal to 1, according to application shown in table 1 It can be worth and the mapping relations of application performance label, the application performance label using sample generation are conventional tags.
S140 will be distributed using sample to corresponding virtualization resource pond according to the application performance label of application sample.
In some embodiments of the invention, virtualization resource pond may include: high density resource pool, conventional resource pool and High-performance resource pool.
Wherein, cpu performance, internal memory performance and IO performance are usually to measure the important parameter of a physical host performance.
Therefore, S140 is specifically included:
S141 manages the cpu performance of host, the internal memory performance of basic resource mediocre person reason host according to basic resource mediocre person Basic resource pond is divided into high density resource pool, conventional resource pool and high property by the IO performance for managing host with basic resource mediocre person It can resource pool.
In S141, the cpu performance of physical host can be measured according to the dominant frequency of physical host, measured with the size of memory The performance of physical host memory measures the IO performance of physical host with the input and output amount per second of disk.
Make an example, C can be setlFor the first reference value of cpu performance of physical host, ChFor the CPU of physical host It can the second reference value;MlFor the first reference value of internal memory performance of physical host, MhIt is referred to for the internal memory performance second of physical host Value;IlFor the first reference value of IO performance of physical host, IhFor the second reference value of IO performance of physical host.
Cpu performance parameter is less than Cl, internal memory performance parameter is less than MlIt is less than I with IO performance parameterlPhysical host divide For low performance physical host;Cpu performance parameter is greater than Ch, internal memory performance parameter be greater than MhOr IO performance parameter is greater than IhObject Reason host is divided into high-performance physical host;Remaining physical host is divided into traditional performance physical host.
By the physical resource typing high density resource pool of low performance physical host, the physical resource of traditional performance physical host Typing routine resource pool, by the physical resource typing high-performance resource pool of high-performance physical host.
S142 distributes the corresponding application sample of high density label to highly dense according to the application performance label of application sample Resource pool is spent, the corresponding application sample of conventional tags is distributed to conventional resource pool, high-performance label is corresponding using sample It distributes to high-performance resource pool.
The distribution method of virtualization resource according to embodiments of the present invention, can be by basic resource pond according to physical host Performance is divided into high density resource pool, conventional resource pool and high-performance resource pool, and is generated accordingly according to the performance parameter of application Application performance label.The distribution method of virtualization resource through the embodiment of the present invention can be improved the benefit in basic resource pond With rate, while the unified maintenance management to basic resource pond is facilitated, and establish the evaluation criterion of application performance.
It is the distributor structural schematic diagram of virtualization resource in the embodiment of the present invention, point of virtualization resource referring to fig. 2 Corresponding with the distribution method 100 of virtualization resource with device 200, the distributor 200 of virtualization resource specifically includes:
Module 210 is obtained, for obtaining the summary info and essential information of applying sample.
Determining module 220 is not deposited in tag database for determining according to the summary info using sample using sample ?.
Generation module 230, for according to essential information, the performance data of acquisition applications sample, the property based on application sample Energy data generate the application performance label for applying sample, and will be stored in mark using the summary info and application performance label of sample Sign database.
It in some embodiments of the invention, include that cpu performance collection value, internal memory performance are adopted using the performance data of sample Set value and IO performance collection value.
Therefore generation module 230 further include:
Computing module 231, based on according to cpu performance collection value, internal memory performance collection value and read-write IO performance collection value Calculate application performance value.
In some embodiments of the invention, computing module 231 further include:
First computational submodule 2311, for calculating cpu performance value according to cpu performance collection value.
Second computational submodule 2312, for calculating internal memory performance value according to internal memory performance collection value.
Third computational submodule 2313, for calculating IO performance number according to IO performance collection value.
4th computational submodule 2314, for calculating application performance according to cpu performance value, internal memory performance value and IO performance number Value.
Submodule 232 is generated, for being based on application performance value, generates the application performance label for applying sample.
Distribution module 240 will be distributed to corresponding virtual for the application performance label according to application sample using sample Change resource pool.
In some embodiments of the invention, virtualization resource pond includes: high density resource pool, conventional resource pool and high property Energy resource pool, application performance label includes: high density label, conventional tags, high-performance label.
Therefore, distribution module 240 further include:
Division module 241, for managing the cpu performance of host according to basic resource mediocre person, basic resource mediocre person manages master Basic resource pond is divided into high density resource pool, routine by the IO performance that the internal memory performance of machine and basic resource mediocre person manage host Resource pool and high-performance resource pool.
Distribution sub module 242, it is for the application performance label according to application sample, high density label is corresponding using sample One's duty matches high density resource pool, the corresponding application sample of conventional tags is distributed to conventional resource pool, by high-performance label pair That answers distributes using sample to high-performance resource pool.
Fig. 3 is the structure chart of the exemplary hardware architecture of the distributing equipment of virtualization resource in the embodiment of the present invention.
As shown in figure 3, the distributing equipment 300 of virtualization resource includes input equipment 301, input interface 302, central processing Device 303, memory 304, output interface 305 and output equipment 306.Wherein, input interface 302, central processing unit 303, deposit Reservoir 304 and output interface 305 are connected with each other by bus 310, and input equipment 301 and output equipment 306 are respectively by defeated Incoming interface 302 and output interface 305 are connect with bus 310, and then are connected with the other assemblies of the distributing equipment of virtualization resource 300 It connects.
Specifically, input equipment 301 is received from external input information, and will input information by input interface 302 It is transmitted to central processing unit 303;Central processing unit 303 is based on the computer executable instructions stored in memory 304 to input Information is handled to generate output information, and output information is temporarily or permanently stored in memory 304, is then passed through Output information is transmitted to output equipment 306 by output interface 305;Output information is output to virtualization resource by output equipment 306 Distributing equipment 300 outside for users to use.
That is, the distributing equipment of virtualization resource shown in Fig. 3 also may be implemented as including: to be stored with computer The memory of executable instruction;And processor, the processor may be implemented to combine Fig. 1 when executing computer executable instructions The method and apparatus of the distributing equipment of the virtualization resource described to Fig. 2.
In one embodiment, the distributing equipment 300 of virtualization resource shown in Fig. 3 may be implemented as a kind of equipment, The equipment may include: memory, for storing program;Processor, for running the described program stored in the memory, To execute the distribution method of the virtualization resource of the embodiment of the present invention.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into Row equivalent replacement;And these are modified or replaceed, and the essence of corresponding technical solution is not made to be detached from various embodiments of the present invention technology The range of scheme.

Claims (12)

1. a kind of distribution method of virtualization resource characterized by comprising
Obtain the summary info and essential information for applying sample;
Determine that the application sample is not present in tag database according to the summary info using sample;
The performance data using sample is acquired according to the essential information, is generated based on the performance data using sample The application performance label using sample, and the summary info using sample and the application performance label are stored in The tag database;
According to the application performance label using sample, the application sample is distributed to corresponding virtualization resource pond.
2. the distribution method of virtualization resource according to claim 1, which is characterized in that the essential information using sample Information is estimated including user volume;
The summary info using sample is to calculate the information obtained using sample file to described by hash algorithm.
3. the distribution method of virtualization resource according to claim 1, which is characterized in that it is described based on described using sample Performance data generates the application performance label using sample, comprising:
The performance data using sample includes cpu performance collection value, internal memory performance collection value and read-write IO performance collection value;
Application performance value is calculated according to the cpu performance collection value, the internal memory performance collection value and the IO performance collection value;
Based on the application performance value, the application performance label using sample is generated.
4. the distribution method of virtualization resource according to claim 3, which is characterized in that described to be adopted according to the cpu performance Set value, the internal memory performance collection value and the IO performance collection value calculate application performance value, comprising:
Cpu performance value is calculated according to the cpu performance collection value;
Internal memory performance value is calculated according to the internal memory performance collection value;
IO performance number is calculated according to the IO performance collection value;
Application performance value is calculated according to the cpu performance value, the internal memory performance value and the IO performance number.
5. the distribution method of virtualization resource according to claim 1, which is characterized in that the application performance label includes: High density label, conventional tags, high-performance label.
6. according to claim 1 or the distribution method of 5 virtualization resources, which is characterized in that described to apply sample according to described This application performance label, the application sample is distributed to corresponding virtualization resource pond, comprising:
The virtualization resource pond includes: high density resource pool, conventional resource pool and high-performance resource pool;
The cpu performance of host is managed according to basic resource mediocre person, basic resource mediocre person manages the internal memory performance of host and basis provides Source mediocre person manages the IO performance of host, and basic resource pond is divided into the high density resource pool, the conventional resource pool and institute State high-performance resource pool;
According to the application performance label using sample, the corresponding application sample of the high density label is distributed to the height Density resource pool distributes the corresponding application sample of the conventional tags to the conventional resource pool, by the high-performance label Corresponding application sample is distributed to the high-performance resource pool.
7. a kind of distributor of virtualization resource, which is characterized in that described device includes:
Module is obtained, for obtaining the summary info and essential information of applying sample;
Determining module, for determining that the application sample is not deposited in tag database according to the summary info using sample ?;
Generation module applies sample based on described for acquiring the performance data using sample according to the essential information Performance data generate the application performance label using sample, and by the summary info using sample and the application Performance label is stored in the tag database;
Distribution module, for according to the application performance label using sample, the application sample to be distributed to corresponding void Quasi-ization resource pool.
8. the distributor of virtualization resource according to claim 7, which is characterized in that the performance data using sample Including cpu performance collection value, internal memory performance collection value and IO performance collection value, the generation module further include:
Computing module, for being acquired according to the cpu performance collection value, the internal memory performance collection value and the read-write IO performance Value calculates application performance value;
Submodule is generated, for being based on the application performance value, generates the application performance label using sample.
9. the distributor of virtualization resource according to claim 8, which is characterized in that the computing module further include:
First computational submodule, for calculating cpu performance value according to the cpu performance collection value;
Second computational submodule, for calculating internal memory performance value according to the internal memory performance collection value;
Third computational submodule, for calculating IO performance number according to the IO performance collection value;
4th computational submodule is applied for being calculated according to the cpu performance value, the internal memory performance value and the IO performance number Performance number.
10. the distributor of virtualization resource according to claim 7, which is characterized in that the virtualization resource pond includes: High density resource pool, conventional resource pool and high-performance resource pool, the application performance label include: high density label, conventional mark Label, high-performance label, the distribution module further include:
Division module, for managing the cpu performance of host, the memory of basic resource mediocre person reason host according to basic resource mediocre person Basic resource pond is divided into the high density resource pool, the routine by the IO performance that performance and basic resource mediocre person manage host Resource pool and the high-performance resource pool;
Distribution sub module, for according to the application performance label using sample, by the corresponding application of the high density label Sample is distributed to the high density resource pool, and the corresponding application sample of the conventional tags is distributed to the conventional resource pool, The corresponding application sample of the high-performance label is distributed to the high-performance resource pool.
11. a kind of distributing equipment of virtualization resource, which is characterized in that the equipment includes:
Memory, for storing program;
Processor, for running the described program stored in the memory, to execute such as claim 1-6 any claim The distribution method of the virtualization resource.
12. a kind of computer storage medium, which is characterized in that be stored with computer program in the computer storage medium and refer to It enables, the virtualization as described in claim 1-6 any claim is realized when the computer program instructions are executed by processor The distribution method of resource.
CN201711429506.4A 2017-12-26 2017-12-26 Distribution method, device, equipment and the medium of virtualization resource Pending CN109960566A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711429506.4A CN109960566A (en) 2017-12-26 2017-12-26 Distribution method, device, equipment and the medium of virtualization resource

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711429506.4A CN109960566A (en) 2017-12-26 2017-12-26 Distribution method, device, equipment and the medium of virtualization resource

Publications (1)

Publication Number Publication Date
CN109960566A true CN109960566A (en) 2019-07-02

Family

ID=67021781

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711429506.4A Pending CN109960566A (en) 2017-12-26 2017-12-26 Distribution method, device, equipment and the medium of virtualization resource

Country Status (1)

Country Link
CN (1) CN109960566A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100146074A1 (en) * 2008-12-04 2010-06-10 Cisco Technology, Inc. Network optimization using distributed virtual resources
CN102567072A (en) * 2010-12-20 2012-07-11 ***通信集团公司 Resource allocation method, resource allocation device and resource allocation system
CN103235735A (en) * 2012-11-16 2013-08-07 佳都新太科技股份有限公司 Resource control model based on utilization rate in XEN virtual machine system architecture
CN104281496A (en) * 2014-10-27 2015-01-14 深圳中兴网信科技有限公司 Virtual resource distribution method and virtual resource distribution device
CN106506657A (en) * 2016-11-21 2017-03-15 黑龙江省科学院自动化研究所 One kind distributes method of adjustment based on multiobject cloud computing virtual machine
CN107239337A (en) * 2016-03-28 2017-10-10 北京智梵网络科技有限公司 The distribution of virtual resources and dispatching method and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100146074A1 (en) * 2008-12-04 2010-06-10 Cisco Technology, Inc. Network optimization using distributed virtual resources
CN102567072A (en) * 2010-12-20 2012-07-11 ***通信集团公司 Resource allocation method, resource allocation device and resource allocation system
CN103235735A (en) * 2012-11-16 2013-08-07 佳都新太科技股份有限公司 Resource control model based on utilization rate in XEN virtual machine system architecture
CN104281496A (en) * 2014-10-27 2015-01-14 深圳中兴网信科技有限公司 Virtual resource distribution method and virtual resource distribution device
CN107239337A (en) * 2016-03-28 2017-10-10 北京智梵网络科技有限公司 The distribution of virtual resources and dispatching method and system
CN106506657A (en) * 2016-11-21 2017-03-15 黑龙江省科学院自动化研究所 One kind distributes method of adjustment based on multiobject cloud computing virtual machine

Similar Documents

Publication Publication Date Title
CN110163474A (en) A kind of method and apparatus of task distribution
CN106020715B (en) Storage pool capacity management
CN104854563B (en) What resource used automatically analyzes
CN105205014B (en) A kind of date storage method and device
US20170031423A1 (en) Optimizing power consumption by dynamic workload adjustment
WO2009103221A1 (en) Effective relating theme model data processing method and system thereof
CN105550270B (en) Data base query method and device
EP2671152A1 (en) Estimating a performance characteristic of a job using a performance model
CN104112084B (en) Execution-based license discovery and optimization method and device
CN106716335A (en) Asynchronous processing of mapping information
CN109241084A (en) Querying method, terminal device and the medium of data
CN107645410A (en) A kind of virtual machine management system and method based on OpenStack cloud platforms
CN110147657A (en) A kind of user right configuration method and device
CN109062936A (en) A kind of data query method, computer readable storage medium and terminal device
Maroulis et al. A holistic energy-efficient real-time scheduler for mixed stream and batch processing workloads
CN115631273A (en) Big data duplicate removal method, device, equipment and medium
Adrian et al. Analysis of K-means algorithm for VM allocation in cloud computing
CN110119396A (en) Data managing method and Related product
CN109783321A (en) Monitoring data management method, device, terminal device
CN108289086B (en) Request processing method and device and server
CN109388651A (en) A kind of data processing method and device
CN106844175B (en) A kind of cloud platform method for planning capacity based on machine learning
CN109376006B (en) Resource integration method based on time-varying characteristics of user requirements in cloud computing environment
CN109960566A (en) Distribution method, device, equipment and the medium of virtualization resource
CN116647560A (en) Method, device, equipment and medium for coordinated optimization control of Internet of things computer clusters

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: 20190702

RJ01 Rejection of invention patent application after publication