CN105740042B - The management method and management system of virutal machine memory - Google Patents

The management method and management system of virutal machine memory Download PDF

Info

Publication number
CN105740042B
CN105740042B CN201610028695.3A CN201610028695A CN105740042B CN 105740042 B CN105740042 B CN 105740042B CN 201610028695 A CN201610028695 A CN 201610028695A CN 105740042 B CN105740042 B CN 105740042B
Authority
CN
China
Prior art keywords
virtual machine
memory
machine
virutal
data
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.)
Active
Application number
CN201610028695.3A
Other languages
Chinese (zh)
Other versions
CN105740042A (en
Inventor
魏亚文
孙政
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information 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 Beijing Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201610028695.3A priority Critical patent/CN105740042B/en
Publication of CN105740042A publication Critical patent/CN105740042A/en
Application granted granted Critical
Publication of CN105740042B publication Critical patent/CN105740042B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • 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/1479Generic software techniques for error detection or fault masking
    • G06F11/1482Generic software techniques for error detection or fault masking by means of middleware or OS functionality
    • G06F11/1484Generic software techniques for error detection or fault masking by means of middleware or OS functionality involving virtual machines
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/283Multi-dimensional databases or data warehouses, e.g. MOLAP or ROLAP
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Quality & Reliability (AREA)
  • Data Mining & Analysis (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The management method of virutal machine memory provided in an embodiment of the present invention, comprising: operation system is explained and executed to operation virtual machine;During virtual machine operation, by the memory image storage of the virtual machine to data warehouse;The status data of the operation system is parsed from the memory image;And the status data is stored to the data warehouse.By the way that memory image and status data are carried out permanence storage, meet the demand that research staff needs to check the historical data of virutal machine memory in orientation problem.Especially in the case where operation has been put into operation system, the memory that scheme provided in an embodiment of the present invention can help operation personnel to monitor virtual machine helps research staff to position and solve the problems, such as rapidly when something goes wrong.Present invention simultaneously provides corresponding management systems.

Description

The management method and management system of virutal machine memory
Technical field
The present invention relates to computer fields, and in particular, to a kind of management method and management system of virutal machine memory.
Background technique
JAVA largely acts on distributed system, while JAVA virtual machine is absolute core and the basis of JAVA program.It is right The real time monitoring of JAVA virtual machine is to control the stable most important thing of JAVA system.Wherein memory management is critically important one Point.Since business continues to develop, service code is constantly updated.Slightly not note that often will appear the case where memory overflows.It solves Mode is the tool jmap or jconsle included by JDK (Java Development Kit, the development kit of JAVA language) Analyze memory.
The analysis mode has the disadvantage that:
The first, the state at only some specific time point of observation relies on people to the control at time point without historic state For operation;
The second, to the function of none persistence of memory information, cannot carry out substantially later period memory information compare, risk Early warning, class load details, the details of space distribution are compared;
Third needs long-range connection, and open machine designated port, performance and safety are all risky;
4th, it can only be used as tool, it is not easy to be integrated by operation system.
Disadvantage mentioned above causes to need long time by JDK tool setting problems, lacks virutal machine memory monitoring simultaneously Increase the risk of system crash.
Summary of the invention
In view of this, the present invention provides a kind of EMS memory management process and internal storage management system applied to program, to solve The above problem.
According to the first aspect of the invention, a kind of management method of virutal machine memory is provided, comprising: operation virtual machine is explained With execution operation system;During virtual machine operation, by the memory image storage of the virtual machine to data warehouse;From described interior Deposit the status data that the operation system is parsed in snapshot;And the status data is stored to the data warehouse.
Preferably, further includes: before the memory image storage to data warehouse of the virtual machine, read from configuration server Take configuration information.
Preferably, the virtual machine includes JAVA virtual machine, and the operation system includes the JAVA for being pre-compiled as bytecode Program.
Preferably, the configuration information includes the packet catalogue and/or class name, the packet catalogue and/or class name of snapshot acquisition For limiting the memory image of the virtual machine.
Preferably, the memory image by virtual machine is obtained by the DUMP order of JAVA virtual machine.
Preferably, further includes: receive and execute instruction from the operation system, described incite somebody to action is triggered according to described execute instruction The step of memory image storage of the virtual machine is to data warehouse.
Preferably, further includes: the service condition for obtaining the heap memory of the virtual machine, according to the use feelings of the heap memory The step of condition triggers the memory image storage by the virtual machine to data warehouse.
Preferably, the status data includes the description data of class and example, and the status data is used for orientation problem.
According to the second aspect of the invention, a kind of management system of virutal machine memory is provided, comprising: virtual machine node, institute Stating virtual machine node includes virtual machine, operation system and component client, and the operation system is explained and executed to the virtual machine With the component client, during virtual machine operation, the component client deposits the memory image of the virtual machine Store up data warehouse;Snapshot analysis node, for parsing the status data of the operation system from the memory image;Storage Node, for storing the status data to the data warehouse.
Preferably, further includes: configuration server is used to provide the described the configuration information of virtual machine monitoring system.
Preferably, the configuration information includes the packet catalogue and/or class name, the packet catalogue and/or class name of snapshot acquisition For limiting the memory image of the virtual machine.
Preferably, the virtual machine includes JAVA virtual machine, and the operation system includes the JAVA for being pre-compiled as bytecode Program.
Preferably, the component client is triggered by the operation system.
Preferably, the service condition of the heap memory of the component client monitoring virtual machine, is touched according to service condition Hair.
Preferably, the status data includes the description data of class and example, and the status data is used for orientation problem.
The management method of virutal machine memory provided in an embodiment of the present invention, comprising: business is explained and executed to operation virtual machine System;During virtual machine operation, by the memory image storage of the virtual machine to data warehouse;It is solved from the memory image Analyse the status data of the operation system;And the status data is stored to the data warehouse.By by memory image Permanence storage is carried out with status data, meets the historical data that research staff needs to check virutal machine memory in orientation problem Demand.Especially in the case where operation has been put into operation system, scheme provided in an embodiment of the present invention can help to run The memory of personnel monitoring's virtual machine helps research staff to position and solve the problems, such as rapidly when something goes wrong.It provides simultaneously corresponding Management system.
Detailed description of the invention
Description by referring to the following drawings to the embodiment of the present invention, the above and other purposes of the present invention, feature and Advantage will be apparent from, in the accompanying drawings:
Fig. 1 is the schematic block diagram of the management method of virutal machine memory according to an embodiment of the present invention;
Fig. 2 is the structure chart of the management system of virutal machine memory according to another embodiment of the present invention;
Fig. 3 is flow chart of the memory image storage according to an embodiment of the present invention by JAVA virtual machine to data warehouse;
Fig. 4 is the flow chart that memory image data are checked in management system according to an embodiment of the present invention;
Fig. 5 is the flow chart according to an embodiment of the present invention that memory image is resolved to status data.
Specific embodiment
Below based on embodiment, present invention is described, but the present invention is not restricted to these embodiments.Under Text is detailed to describe some specific detail sections in datail description of the invention.Do not have for a person skilled in the art The present invention can also be understood completely in the description of these detail sections.In order to avoid obscuring essence of the invention, well known method, mistake Journey, process do not describe in detail.In addition attached drawing is not necessarily drawn to scale.
Flow chart, block diagram in attached drawing illustrate the possible system frame of the system of the embodiment of the present invention, method, apparatus Frame, function and operation, the box on flow chart and block diagram can represent a module, program segment or only one section of code, institute State module, program segment and code all and be the executable instruction for realizing regulation logic function.It should also be noted that the realization rule The executable instruction for determining logic function can reconfigure, to generate new module and program segment.Therefore attached drawing box with And box sequence is used only to the process and step of better illustrated embodiment, without should be in this, as to inventing limit itself System.
Term in the embodiment of the present invention:
Virtual machine is a kind of for calculating the specification of equipment, and it is by reality that it, which is one and fabricates the computer come out, Computer on analogue simulation various computer functions realize.
Fig. 1 is the schematic block diagram of the management method of virutal machine memory according to an embodiment of the present invention.It relates in the method And component include operation system 101, virtual machine 100 and data warehouse 102, including operation have movement 130,140 and 150, The data being related to have memory image 110 and status data 120.
Multiple operation systems 101 are imported into virtual machine by movement 150 to be explained and executes.Virtual machine 100 explains centre Language (for example, bytecode) is converted to machine and executes language.In one embodiment, virtual machine 100 is JAVA virtual machine, business System is to be pre-compiled as the JAVA program of bytecode.Although the embodiment of the present invention is retouched using the JAVA language of object-oriented State, but technical solution described in the invention, can also be equally applied to other programming languages, and for explaining and Execute the virtual machine of these language.
During virtual machine executes, the memory image of 130 shooting virtual machine of movement, and these memory images are stored to number According in warehouse 102.The memory image of virtual machine is one section of binary bytecode.The API of virtual machine is called to obtain sometime Virtual machine memory.In embodiment corresponding with JAVA virtual machine, the memory image of virtual machine is obtained by DUMP order.
Memory image is read in movement 140 from data warehouse 102, and memory image is parsed, and generation can be direct The status data of reading is stored into data warehouse.Although it will be appreciated by those of skill in the art that being united herein with data warehouse Claim the storage software of data, but in various embodiments, choice relation type database, library or operation according to actual needs System etc. carries out data storage.
Virtual machine memory data persistent storage is facilitated research staff's checking periodically or non-periodically by the embodiment of the present invention The historic state of virutal machine memory, especially when operation system breaks down, by checking that the variation of status data, positioning are asked Topic solves failure.
Fig. 2 is the structure chart of the management system of virutal machine memory according to another embodiment of the present invention.The management system Including virtual machine node 201, memory node 202 and snapshot analysis node 203.The node includes coupling cluster or stand-alone service Device.
Virtual machine node 201 includes operation system and component client, and installs virtual machine on node 201.Component visitor Family end refers to the functional module being deployed on same machine with virtual machine and operation system, and the functional module is for shooting virtual machine Memory image, and memory image is submitted to data warehouse and is stored.The functional module can be based on code coupling Deployment, the code for realizing the functional module is embedded into operation system, and at this moment component client is controlled by operation system and executed, It is also possible to the independent deployment on same machine, the current state decision that at this moment standalone module passes through monitoring virtual machine is No starting component client.For example, starting component client when the utilization rate of the heap memory of virtual machine is more than predetermined threshold. The operation system of object-oriented generally comprises class and example.When virtual machine is explained and executes operation system, one reality of every creation Example needs on heap memory for example allocation space.With the increase of example, the heap memory space for new example gradually subtracts It is few, thereby increase the risk of virtual machine crashes.Therefore, when the use of heap memory enters warning region, starting component visitor The record of memory image is realized at family end, saves the internal storage data of critical point, and research staff is facilitated to carry out heap data monitoring and subsequent It examines.
When running in operation system virtual machine, component client extracts the binary system of memory image in virtual machine in real time File, then compression is stored in the data warehouse of memory image.
When explaining using JAVA virtual machine and executing program, memory image is exported using DUMP order.Due to When DUMP memory image, the application in entire virtual machine environment can suspend.So can determine before preparing DUMP be currently The packet catalogue of the DUMP under unified central planning set.When being configured with packet catalogue and/or class name, in addition to JDK platform in DUMP memory image information Basic category information can only load class under the catalogue and/or specified class and relevant recursive category information.It can mention in this way The efficiency of high DUMP.When not configuring, the information that can generate all classes under entire virtual machine environment (but is not recommended such as This).Since excessively frequent DUMP can have an impact the normal operation of system.So supporting to configure highest DUMP frequency Rate (call number/hour).When current calling frequency is excessive, component selective can not be supported, not influence industry as far as possible The execution of business system.By configuring the acquisition mode of memory image, memory image acquisition is avoided to influence the operation of operation system.
In an alternative embodiment, above-mentioned management system further includes a configuration server 204, in configuration server Initiation parameter required when each component client terminal start-up is stored on 204, for example, snapshot acquisition configuration, data warehouse IP, port, snapshot acquisition configuration include limiting packet catalogue and/or class name of data snapshot range etc..As previously mentioned, passing through restriction The data of memory image prevent the overlong time of record memory image and data excessive, influence the normal operation of operation system.It is interior The file name for depositing snapshot, which can mark, configures Id+ timestamp for system id+ip+DUMP].In addition, the configuration management concentrated has Configuration information is safeguarded conducive to operation personnel.
In an alternative embodiment, ZooKeeper software is disposed in configuration server, ZooKeeper is responsible for concentration Managing configuration information is one distributed, the distributed application program coordination service of open source code, and the function of providing includes Configuring maintenance, name Service, distributed synchronization, group service etc..ZooKeeper can be configured by the log-in interface of terminal 205 The configuration parameter needed on software.Then configuration meeting real-time synchronization is into operation system and component client.
Memory node 202 receives memory image from virtual machine node 201, and stores into data warehouse.
Snapshot analysis node 203 reads memory image from memory node 202, therefrom parses internal storage state data, and By status data storage into data warehouse.In one embodiment, the trigger condition of memory image parsing is to work as data warehouse After the new snapshot document of middle push-in, will startup file parsing, binary file is resolved into JAVA object, after then serializing It is stored in data warehouse.
Fig. 3 is flow chart of the memory image storage according to an embodiment of the present invention by JAVA virtual machine to data warehouse.
In step 301, service initialisation is acquired.
In step 302, current business system configuration is obtained.
In step 303, parsing configuration.
In step 304, trigger collection worker is initialized.Worker herein can be understood as customized task Code block is executed, can set and be executed by timer timing, is responsible for for the memory image being temporarily stored in virtual machine node being transferred to Data warehouse.
In step 305, prepare DUMP memory image.Memory image is generated using DUMP order in JAVA virtual machine.
Within step 306, DUMP memory image is at binary file.
In step 307, data warehouse information is read.Component client submits the request for reading data warehouse configuration.
In step 308, data warehouse configuration node is read.Configuration server receives read requests, reads configuration simultaneously It is transferred to virtual machine node.
In a step 309, parsing configuration.Virtual machine node parses configuration information, obtain data warehouse IP and Port.
In the step 310, compressed file prepares write-in.Data warehouse is transferred to by worker after memory image is compressed. Memory image can be divided into the storage of several small documents in storage by data warehouse, not influence to store effect.
In step 311, file is written to data warehouse.Data warehouse storage memory image.
In step 312, DUMP memory image is executed to complete.Step 304 is returned to repeat.
Fig. 4 is the flow chart for checking memory image data in management system according to an embodiment of the present invention.Including step 401- step 416.
In step 401, it calls and checks API.Operation system is embedded in the API of component client, if meeting condition, The execution API.
In step 402, snapshot is called to analyze API.According to previous step come into come parameter, call snapshot analysis API。
In step 403, analysis request.Snapshot analysis node parses the memory image time model for requiring to check from parameter It encloses and corresponding operation system, i.e. timestamp+system Id.
In step 404, it is searched by timestamp+system Id.
In step 405, memory image information aggregate is obtained.
In a step 406, memory image set is traversed.
In step 407, it judges whether there is next.In this step, if so, executing step 408, step is otherwise executed Rapid 415.
In a step 408, next memory image information is taken out.
In step 409, memory image information is converted into JAVA object.
In step 410, class object is searched according to class name.Some class object is retrieved from corresponding JAVA object.
In step 411, class description information is generated.Class description information includes class name, parent, Classloader, subclass, field Member, example quantity and example gross space.Above- mentioned information are obtained from JAVA object.
In step 412, all examples are traversed, example description information is generated.All examples of such creation are traversed, are generated The description information of each example.Example information includes the word of example id, field information, lock information, context Classloader, parent Segment information, integrated authority text information.Since field may be also not simple data type, itself may be also object. If fruit includes several subclasses, the information of not all subclasses of recursive generation is defaulted.It can be retrieved by the title of subclass and obtain son Category information.Or all subclasses of snapshot Analysis Service recursive generation are required by parameter setting.
In step 413, the description information of class and example is stored.
In step 414, final description information is encapsulated
In step 415, returning an object value is encapsulated.
In step 416, it returns the result.Finally, research staff can check class and reality by the interface UI of operation system The data of example solve failure with orientation problem.
Snapshot analytic process shown in Fig. 4 is initiated according to the API request of operation system, by status number after progress snapshot analysis Status data is stored to data warehouse according to the interface UI for being supplied to operation system, and simultaneously.In another optional embodiment party In formula, the process of snapshot analysis can be periodically executed on memory node.It is by a timer program timing that memory is fast According to being parsed into status data, and it is saved in data warehouse.At this moment, once operation system submits the request for checking status data, Status data can be directly read from data warehouse for showing, in addition, research staff can also pass through data warehouse The interface UI reads status data, to carry out positioning problems.
Fig. 5 is according to the flow chart that memory image is resolved to status data.As shown in figure 5, parsing one is binary Memory image file includes step 501- step 505.
In step 501, binary memory image file is read in.
In step 502, verification, version letter information are read.Sequence reads several bytes of binary file, from the byte The middle version information and check bit for obtaining JDK, JAVA virtual machine.
In step 503, lower four bytes are read, as type coding.Then four bytes are read, are compiled as type Code.The type code includes constant type, and Classloader type, stack are detectd type, stack type and heap memory type, be used to indicate thereafter Several bytes save information type.
In step 504, determined whether to parse corresponding information according to type.If not, executing step 505, otherwise hold Row step 506.
In step 505, the byte position of corresponding length is skipped.After obtaining type coding, it can be determined according to configuration file Whether current type, which needs, parses, if you do not need to parsing, then directly skip this categorical data length byte.Avoid useless number According to parsing, cpu computational efficiency is influenced.
In step 506, the byte length that the type encodes corresponding information is obtained.
In step 507, parsed according to type coding and byte length.Corresponding length is obtained from binary file Byte, and parsed according to type coding.The step is relatively complicated, because detecing type, stack type and heap to stack The information of type of memory needs to carry out repeatedly judgement and repeatedly parsing, could obtain the description information of the corresponding example of class, class.But Since the common knowledge that the realization details of this step is this field is not described in detail so only summarizing here.
In step 508, the data parsed are encapsulated, and stores and arrives data warehouse.
In the embodiment of above-mentioned Fig. 2, a kind of management system of virutal machine memory, the implementation of Fig. 3, Fig. 4 and Fig. 5 are described Example respectively describes memory image storage, memory image checks the specific steps with memory image parsing.
In a preferred embodiment, component client is triggered by operation system.
In a preferred embodiment, the service condition of the heap memory of component client monitoring virtual machine, according to using Situation is triggered.
In a preferred embodiment, management system further include: the operation system obtains the status data and is used for Display.
In a preferred embodiment, the status data includes the description data of class and example, the status data For orientation problem.
From foregoing description it is found that the management system of virutal machine memory provided in an embodiment of the present invention have the advantages that it is a plurality of.
First, it thoroughly avoids artificially observing virutal machine memory situation by JDK tool, but certain rule can be passed through It then automatically processes, realizes memory image automatic information collecting.
Second, by the way that the internal storage data of acquisition to be persisted in data warehouse automatically, realization can monitor magnanimity machine, no With the virutal machine memory information of period.Data basis is provided for memory analysis.
Third, component client exist in the form of API, and operation system invocation component client end AP I can obtain specified class letter It ceases (example information including class).In this way operation system can by the fine granularity category information of return come in real time do monitoring or its His unknown business.
The modules or unit of system can be realized by hardware, firmware or software.Software for example including using JAVA, The coded program that the various programming languages such as C/C++/C#, SQL are formed.Although being provided in method and method legend of the invention real The sequence of the step of applying and step, but the step realize as defined in the executable instruction of logic function can group again It closes, to generate new step.The sequence of the step also should not be restricted solely in the method and method legend Sequence of steps can need to be adjusted at any time according to function.Such as by certain steps therein parallel or according to opposite suitable Sequence executes.
System and a method according to the invention can be deployed on single or multiple servers.For example, can will be different Module is disposed on a different server respectively, forms private server.Alternatively, can the distributed deployment on multiple servers Identical functional unit, module or system, to mitigate load pressure.The server includes but is not limited in the same local area network And pass through multiple PC machine of Internet connection, PC server, rolling reamer machine, supercomputer etc..
The above description is only a preferred embodiment of the present invention, is not intended to restrict the invention, for those skilled in the art For, the invention can have various changes and changes.All any modifications made within the spirit and principles of the present invention are equal Replacement, improvement etc., should all be included in the protection scope of the present invention.

Claims (17)

1. a kind of management method of virutal machine memory, comprising:
It operates virtual machine and explains and execute operation system;
During virtual machine operation, the memory image of the virtual machine is stored to data according to the current state of the virtual machine Warehouse;
The status data of the operation system is parsed from the memory image;And
The status data is stored to the data warehouse,
Wherein, the step of by the storage of the memory image of the virtual machine to data warehouse, is embedded in institute in a manner of code coupling It states in operation system.
2. the management method of virutal machine memory according to claim 1, further includes: deposited in the memory image of the virtual machine Before storing up data warehouse, configuration information is read from configuration server.
3. the management method of virutal machine memory according to claim 2, wherein the configuration information includes what snapshot acquired Packet catalogue and/or class name, the packet catalogue and/or class name are used to limit the memory image of the virtual machine.
4. the management method of virutal machine memory according to claim 1, wherein the virtual machine includes JAVA virtual machine, The operation system includes being pre-compiled as the JAVA program of bytecode.
5. the management method of virutal machine memory according to claim 4, wherein obtained by the DUMP order of JAVA virtual machine Take the memory image of the virtual machine.
6. the management method of virutal machine memory according to claim 1, further includes: receive and execute from the operation system Instruction executes instruction the step of triggering the memory image storage by the virtual machine to data warehouse according to described.
7. the management method of virutal machine memory according to claim 1, further includes: obtain the heap memory of the virtual machine Service condition triggers the memory image storage by the virtual machine to data warehouse according to the service condition of the heap memory The step of.
8. the management method of virutal machine memory according to any one of claims 1 to 7, wherein the status data includes The description data of class and example, the status data are used for orientation problem.
9. a kind of management system of virutal machine memory, comprising:
Virtual machine node, the virtual machine node include virtual machine, operation system and component client, the virtual machine explain and The operation system and the component client are executed, during virtual machine operation, the component client is according to The current state of virtual machine stores the memory image of the virtual machine to data warehouse;
Snapshot analysis node, for parsing the status data of the operation system from the memory image;
Memory node, for storing the status data to the data warehouse,
Wherein, the component client is embedded in the operation system in a manner of code coupling.
10. the management system of virutal machine memory according to claim 9, further includes: configuration server is used to provide the described The configuration information of virtual machine monitoring system.
11. the management system of virutal machine memory according to claim 10, wherein the configuration information includes snapshot acquisition Packet catalogue and/or class name, the packet catalogue and/or class name be used to limit the memory image of the virtual machine.
12. the management system of virutal machine memory according to claim 10, wherein the virtual machine includes JAVA virtual Machine, the operation system include being pre-compiled as the JAVA program of bytecode.
13. the management system of virutal machine memory according to claim 10, wherein the component client is by the business System is triggered.
14. the management system of virutal machine memory according to claim 10, wherein the component client monitors virtual machine Heap memory service condition, triggered according to service condition.
15. according to the management system of the described in any item virutal machine memories of claim 9 to 14, wherein the state data packets The description data of class and example are included, the status data is used for orientation problem.
16. a kind of virutal machine memory managing device, comprising: memory;And it is coupled to the processor of the memory, the place Reason device is configured as the instruction based on storage in the memory, and perform claim requires in the described in any item virtual machines of 1-8 The management method deposited.
17. a kind of computer readable storage medium, the computer-readable recording medium storage has computer instruction, described instruction The management method such as the described in any item virutal machine memories of claim 1-8 is realized when being executed by processor.
CN201610028695.3A 2016-01-15 2016-01-15 The management method and management system of virutal machine memory Active CN105740042B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610028695.3A CN105740042B (en) 2016-01-15 2016-01-15 The management method and management system of virutal machine memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610028695.3A CN105740042B (en) 2016-01-15 2016-01-15 The management method and management system of virutal machine memory

Publications (2)

Publication Number Publication Date
CN105740042A CN105740042A (en) 2016-07-06
CN105740042B true CN105740042B (en) 2019-07-02

Family

ID=56246242

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610028695.3A Active CN105740042B (en) 2016-01-15 2016-01-15 The management method and management system of virutal machine memory

Country Status (1)

Country Link
CN (1) CN105740042B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106775939B (en) * 2016-12-06 2019-12-31 爱普(福建)科技有限公司 Memory snapshot management method in industrial control system
CN106681665B (en) * 2016-12-29 2020-04-24 北京奇虎科技有限公司 Persistent storage method and device for cache data
WO2019105565A1 (en) * 2017-12-01 2019-06-06 Huawei Technologies Co., Ltd. Systems for compiling and executing code within one or more virtual memory pages
CN109558308A (en) * 2018-09-29 2019-04-02 中国平安人寿保险股份有限公司 Application program method for detecting memory leakage, device, electronic equipment and storage medium
CN113360454B (en) * 2021-06-30 2024-03-01 广州虎牙科技有限公司 Memory snapshot file compression and decompression method and related device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102520881A (en) * 2011-12-02 2012-06-27 中标软件有限公司 Virtual machine snapshot management method and system of cloud computing platform
CN105022656A (en) * 2014-04-21 2015-11-04 中国电信股份有限公司 Management method and device of virtual machine snapshot

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7653794B2 (en) * 2006-05-08 2010-01-26 Microsoft Corporation Converting physical machines to virtual machines

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102520881A (en) * 2011-12-02 2012-06-27 中标软件有限公司 Virtual machine snapshot management method and system of cloud computing platform
CN105022656A (en) * 2014-04-21 2015-11-04 中国电信股份有限公司 Management method and device of virtual machine snapshot

Also Published As

Publication number Publication date
CN105740042A (en) 2016-07-06

Similar Documents

Publication Publication Date Title
CN105740042B (en) The management method and management system of virutal machine memory
KR101203224B1 (en) Scalable synchronous and asynchronous processing of monitoring rules
CN111124850A (en) MQTT server performance testing method, system, computer equipment and storage medium
CN111552556B (en) GPU cluster service management system and method
CN101217400B (en) An integrated intelligent polling method and system
CN108492005B (en) Project data processing method and device, computer equipment and storage medium
CN111125444A (en) Big data task scheduling management method, device, equipment and storage medium
CN107888437B (en) Cloud monitoring method and equipment
CN111459763A (en) Cross-kubernets cluster monitoring system and method
US10534700B2 (en) Separating test verifications from test executions
US11550615B2 (en) Kubernetes resource policy enforcement
CN109189642A (en) Application system business conduct characteristic-acquisition method and monitoring system based on plug-in unit
US20180143897A1 (en) Determining idle testing periods
CN108509313A (en) A kind of business monitoring method, platform and storage medium
CN109460307A (en) Micro services a little, which are buried, based on log calls tracking and its system
CN111984505B (en) Fortune dimension data acquisition device and acquisition method
CN105637488A (en) Tracing source code for end user monitoring
CN114595201A (en) Method, equipment and storage medium for inquiring acquisition record of interface access log
US20180232299A1 (en) Composing future tests
US11119899B2 (en) Determining potential test actions
CN110431530A (en) Measurement and the expected of log are collected
CN114610597A (en) Pressure testing method, device, equipment and storage medium
CN115373886A (en) Service group container shutdown method, device, computer equipment and storage medium
WO2021096346A1 (en) A computer-implemented system for management of container logs and its method thereof
CN106411547B (en) A kind of redis calls monitoring method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant