CN102693160A - Reconfiguration method for dynamic resource of computer system - Google Patents
Reconfiguration method for dynamic resource of computer system Download PDFInfo
- Publication number
- CN102693160A CN102693160A CN2012101492292A CN201210149229A CN102693160A CN 102693160 A CN102693160 A CN 102693160A CN 2012101492292 A CN2012101492292 A CN 2012101492292A CN 201210149229 A CN201210149229 A CN 201210149229A CN 102693160 A CN102693160 A CN 102693160A
- Authority
- CN
- China
- Prior art keywords
- resource
- monitoring management
- management system
- operating system
- added
- 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.)
- Granted
Links
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Power Sources (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention provides a reconfiguration method for the dynamic resource of a computer system. A system designed with the method disclosed by the invention can dynamically regulate all resources including a processor, a memory, IO (input/output) equipment and the like in the system, and the system is universal. With the reconfiguration method for the dynamic resource of the computer system, the defects in the traditional method that particular vendors and equipment need to be bonded and limited resource types are supported and the like are made up, the universality is achieved, fault resources can be isolated in time, the resource use ratio can be effectively improved, the availability and the power consumption ratio per watt are improved, and the reconfiguration method has the advantages of wide development prospect and extremely high technical value.
Description
Technical field
The present invention relates to the Computer Applied Technology field, the method that specifically a kind of computer system dynamic resource is reshuffled.
Background technology
Along with the high speed development of applications such as science calculating, commercial service, government function electronization, the user is in indexs such as the system of pursuit high-performance, high power capacity, high density, and what more value is availability and every watt of power consumption ratio of system.To this demand; The part method that industry is existing such as hot plug of processor, PCI-E equipment hot swap etc. can part enhanced system availabilities; Reduce every watt of power consumption ratio, but this class methods most existence needs to cooperate particular vendor equipment to use, support limitation such as the resource kind that can dynamically adjust is limited.Therefore, a kind of computer system dynamic resource method for reconfiguration that has more versatility need be proposed on prior art scheme basis.
Summary of the invention
The purpose of this invention is to provide the method that a kind of computer system dynamic resource is reshuffled.
The objective of the invention is to realize that comprising that dynamic resource removes with dynamic resource adds two sub-processes by following mode, wherein:
Dynamic resource removes process, the resource that the user will remove through the monitoring management system selection; Monitoring management system provides sign to wait to remove the information and the notifying operation system of resource; Operating system will be waited to remove the resource inter-related task and migrate on other available resources, and remove the data message of related resource correspondence in operating system, and the notice monitoring management system; Monitoring management system removes electricity for resource to be removed, and concrete performing step is following:
1) user comprises through the web administration page through the CPU that the monitoring management system selection will remove;
2) monitoring management system comprises that to certain MailBox filling in heat in certain register removes resource information, comprises that resource type is that CPU, resource ID are 2, sends out interrupt notification operating system, comprises SCI or GPE;
3) operating system receive to be interrupted, according to the content among the MailBox, learn resource information to be removed after, will move as follows: forbid that this processor participates in the action of process load balance migration; Resource migration or release that this processor is corresponding comprise task_list, soft_irq, mca, init, deletion sysfs and procfs relevant entry; Forbid the corresponding processor register among the memory map, interrupt the visit in space, and in memory map, corresponding space is forbidden;
4) operating system is sent out the interrupt notification monitoring management system and has been accomplished resource and remove, and comprises the mode through GPIO;
5) monitoring management system goes for resource to be removed;
Dynamic resource adds process, the resource that the user will add through the monitoring management system selection; Monitoring management system powers on for resource to be added; Monitoring management system initialization resource to be added; Monitoring management system provides the information and the notifying operation system of sign resource to be added; The operating system data message that resource to be added is corresponding adds, and notice monitoring management system resource is added completion;
Dynamic resource interpolation process adopts following concrete steps to realize:
1) user selects the resource that will add through monitoring management system, comprises through the web administration page;
2) monitoring management system is given resource to be added, comprises to certain IO device power;
3) monitoring management system initialization resource to be added is the desired state of system with this IO configuration of devices register configuration, like the Bus number of configuration device, slot number, IO spatial information;
4) monitoring management system comprises that to certain MailBox filling in heat in certain register adds resource information, comprises that resource type is that HBA card, resource ID are 2, sends out interrupt notification operating system, comprises SCI or GPE;
5) operating system hot plug interrupt handling procedure is configured this equipment, adds this equipment and slave unit thereof: add overall equipment chained list, add sysfs and procfs respective items;
Operating system is sent out the interrupt notification monitoring management system and has been accomplished the resource interpolation, comprises the mode through GPIO.
The invention has the beneficial effects as follows: utilize method designed system of the present invention, can support, comprise that processor, internal memory, IO etc. dynamically adjust, and possess versatility all resources in the system.System dynamics resource reconfiguration method; Remedy classic method and need bind defectives such as particular vendor and equipment, support resource kind be limited; Possess versatility, can be in time with the fault resource isolation, and can effectively improve resource utilization; Improve availability and every watt of power consumption ratio of system, thereby had vast potential for future development and high technological value.
Description of drawings
Accompanying drawing 1 removes the process synoptic diagram for dynamic resource;
Accompanying drawing 2 adds the process synoptic diagram for dynamic resource.
Embodiment
Explanation at length below with reference to Figure of description method of the present invention being done.
The process of the method that the computer system dynamic resource realizing describing in the invention reshuffles with reference to the accompanying drawings, content of the present invention is described with instantiation.
As described in the summary of the invention, be linux with operating system, to wait to remove resource be example for certain CPU, the dynamic resource among the present invention removes process and can adopt following concrete steps to realize:
1) user selects the CPU (as through the web administration page) that will remove through monitoring management system;
2) monitoring management system is filled in heat and is removed resource information (is that CPU, resource ID are 2 etc. like resource type) in certain MailBox (like certain register), sends out interrupt notification operating system (like SCI or GPE);
3) operating system receive to be interrupted, according to the content among the MailBox, learn resource information to be removed after, will move as follows: forbid that this processor participates in the action of process load balance migration; Resource migration or release that this processor is corresponding, like task_list, soft_irq, mca, init etc., deletion sysfs and procfs relevant entry; Forbid visit, and in memory map, corresponding space is forbidden spaces such as the corresponding processor register among the memory map, interruptions;
4) operating system is sent out the interrupt notification monitoring management system and has been accomplished resource and remove (like the mode through GPIO);
5) monitoring management system goes for resource to be removed.
As described in the summary of the invention, be that linux, resource to be added are example for certain IO equipment with operating system, the process of adding of the dynamic resource among the present invention can adopt following concrete steps to realize:
1) user selects the resource (as through the web administration page) that will add through monitoring management system;
2) monitoring management system is given resource to be added such as certain IO device power;
3) monitoring management system initialization resource to be added is the desired state of system with this IO configuration of devices register configuration, like information such as the Bus number of configuration device, slot number, IO spaces;
4) monitoring management system is filled in heat and is added resource information (is that HBA card, resource ID are 2 etc. like resource type) in certain MailBox (like certain register), sends out interrupt notification operating system (like SCI or GPE);
5) operating system hot plug interrupt handling procedure is configured this equipment, adds this equipment and slave unit thereof: add overall equipment chained list, add sysfs and procfs respective items etc.;
Operating system is sent out the interrupt notification monitoring management system and has been accomplished resource interpolation (like the mode through GPIO)
Except that the described technical characterictic of instructions, be the known technology of those skilled in the art.
Claims (1)
1. the method that the computer system dynamic resource is reshuffled is characterized in that, comprise that dynamic resource removes with dynamic resource to add two sub-processes, wherein:
Dynamic resource removes process, the resource that the user will remove through the monitoring management system selection; Monitoring management system provides sign to wait to remove the information and the notifying operation system of resource; Operating system will be waited to remove the resource inter-related task and migrate on other available resources, and remove the data message of related resource correspondence in operating system, and the notice monitoring management system; Monitoring management system removes electricity for resource to be removed, and concrete performing step is following:
(1) user comprises through the web administration page through the CPU that the monitoring management system selection will remove;
(2) monitoring management system comprises that to certain MailBox filling in heat in certain register removes resource information, comprises that resource type is that CPU, resource ID are 2, sends out interrupt notification operating system, comprises SCI or GPE;
(3) operating system receive to be interrupted, according to the content among the MailBox, learn resource information to be removed after, will move as follows: forbid that this processor participates in the action of process load balance migration; Resource migration or release that this processor is corresponding comprise task_list, soft_irq, mca, init, deletion sysfs and procfs relevant entry; Forbid the corresponding processor register among the memory map, interrupt the visit in space, and in memory map, corresponding space is forbidden;
(4) operating system is sent out the interrupt notification monitoring management system and has been accomplished resource and remove, and comprises the mode through GPIO;
(5) monitoring management system goes for resource to be removed;
Dynamic resource adds process, the resource that the user will add through the monitoring management system selection; Monitoring management system powers on for resource to be added; Monitoring management system initialization resource to be added; Monitoring management system provides the information and the notifying operation system of sign resource to be added; The operating system data message that resource to be added is corresponding adds, and notice monitoring management system resource is added completion;
Dynamic resource interpolation process adopts following concrete steps to realize:
(1) user selects the resource that will add through monitoring management system, comprises through the web administration page;
(2) monitoring management system is given resource to be added, comprises to certain IO device power;
(3) monitoring management system initialization resource to be added is the desired state of system with this IO configuration of devices register configuration, like the Bus number of configuration device, slot number, IO spatial information;
(4) monitoring management system comprises that to certain MailBox filling in heat in certain register adds resource information, comprises that resource type is that HBA card, resource ID are 2, sends out interrupt notification operating system, comprises SCI or GPE;
(5) operating system hot plug interrupt handling procedure is configured this equipment, adds this equipment and slave unit thereof: add overall equipment chained list, add sysfs and procfs respective items;
Operating system is sent out the interrupt notification monitoring management system and has been accomplished the resource interpolation, comprises the mode through GPIO.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210149229.2A CN102693160B (en) | 2012-05-15 | 2012-05-15 | A kind of method that computer system dynamic resource is reshuffled |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210149229.2A CN102693160B (en) | 2012-05-15 | 2012-05-15 | A kind of method that computer system dynamic resource is reshuffled |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102693160A true CN102693160A (en) | 2012-09-26 |
CN102693160B CN102693160B (en) | 2016-05-18 |
Family
ID=46858634
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210149229.2A Active CN102693160B (en) | 2012-05-15 | 2012-05-15 | A kind of method that computer system dynamic resource is reshuffled |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102693160B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103218180A (en) * | 2013-05-14 | 2013-07-24 | 北京百度网讯科技有限公司 | Disk positioning method and device |
CN104731740A (en) * | 2013-12-23 | 2015-06-24 | 联芯科技有限公司 | Hot-swap control method and hot-swap control device for multi-core central processing units in terminals |
CN107453950A (en) * | 2017-08-09 | 2017-12-08 | 郑州云海信息技术有限公司 | A kind of information processing method and monitoring system |
US11546644B2 (en) | 2017-03-29 | 2023-01-03 | Huawei Technolgoies Co., Ltd. | Bandwidth control method and apparatus, and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020087611A1 (en) * | 2000-12-28 | 2002-07-04 | Tsuyoshi Tanaka | Virtual computer system with dynamic resource reallocation |
JP2004021982A (en) * | 2002-06-14 | 2004-01-22 | Hewlett-Packard Development Co Lp | Method and system for dynamically allocating computer system resource |
CN1517872A (en) * | 2003-01-16 | 2004-08-04 | 国际商业机器公司 | Method and device for dynamic allocation of computer resource |
US20100043009A1 (en) * | 2008-08-18 | 2010-02-18 | Marchand Benoit | Resource Allocation in Multi-Core Environment |
-
2012
- 2012-05-15 CN CN201210149229.2A patent/CN102693160B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020087611A1 (en) * | 2000-12-28 | 2002-07-04 | Tsuyoshi Tanaka | Virtual computer system with dynamic resource reallocation |
JP2004021982A (en) * | 2002-06-14 | 2004-01-22 | Hewlett-Packard Development Co Lp | Method and system for dynamically allocating computer system resource |
CN1517872A (en) * | 2003-01-16 | 2004-08-04 | 国际商业机器公司 | Method and device for dynamic allocation of computer resource |
US20100043009A1 (en) * | 2008-08-18 | 2010-02-18 | Marchand Benoit | Resource Allocation in Multi-Core Environment |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103218180A (en) * | 2013-05-14 | 2013-07-24 | 北京百度网讯科技有限公司 | Disk positioning method and device |
CN103218180B (en) * | 2013-05-14 | 2017-03-15 | 北京百度网讯科技有限公司 | Disk localization method and positioner |
CN104731740A (en) * | 2013-12-23 | 2015-06-24 | 联芯科技有限公司 | Hot-swap control method and hot-swap control device for multi-core central processing units in terminals |
CN104731740B (en) * | 2013-12-23 | 2017-11-10 | 联芯科技有限公司 | Polycaryon processor hot plug control method and device in terminal |
US11546644B2 (en) | 2017-03-29 | 2023-01-03 | Huawei Technolgoies Co., Ltd. | Bandwidth control method and apparatus, and device |
CN107453950A (en) * | 2017-08-09 | 2017-12-08 | 郑州云海信息技术有限公司 | A kind of information processing method and monitoring system |
Also Published As
Publication number | Publication date |
---|---|
CN102693160B (en) | 2016-05-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102906726B (en) | Association process accelerated method, Apparatus and system | |
US9582463B2 (en) | Heterogeneous input/output (I/O) using remote direct memory access (RDMA) and active message | |
JP6622715B2 (en) | Dynamic load balancing of hardware threads in a cluster processor core using shared hardware resources and associated circuits, methods, and computer readable media | |
TW201214284A (en) | Virtualization and dynamic resource allocation aware storage level reordering | |
CN103984602A (en) | VM (virtual machine) resource scheduling method, device and system | |
US11163659B2 (en) | Enhanced serial peripheral interface (eSPI) signaling for crash event notification | |
US9218140B2 (en) | System and method for selectively utilizing memory available in a redundant host in a cluster for virtual machines | |
CN102693160A (en) | Reconfiguration method for dynamic resource of computer system | |
CN104023062A (en) | Heterogeneous computing-oriented hardware architecture of distributed big data system | |
US20210406050A1 (en) | Techniques to decrease a live migration time for a virtual machine | |
CN105117285A (en) | Non-volatile memory schedule optimization method based on mobile virtualization system | |
US20190155361A1 (en) | Power state management for lanes of a communication port | |
CN105335223A (en) | Virtual machine memory migration device, method and system on source host and destination host | |
WO2016202153A1 (en) | Gpu resource allocation method and system | |
CN104518897A (en) | Resource management optimization processing method and resource management optimization processing device for virtual firewalls | |
CN105359122A (en) | Enhanced data transfer in multi-CPU systems | |
CN104391736A (en) | Method for setting up sleep mode of virtual machine and device | |
JP2021509240A (en) | Low power management for the entire system | |
JPWO2012081085A1 (en) | Interrupt factor management device and interrupt processing system | |
CN105630593A (en) | Method for handling interrupts | |
CN104125292A (en) | Data processing device, cloud server and use method thereof | |
CN104391564A (en) | Power consumption control method and device | |
CN104580328A (en) | Virtual machine migration method, device and system | |
CN102710772A (en) | Mass data communication system based on cloud platform | |
CN113703906A (en) | Data processing method, device and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |