CN109743207A - Server performance adjusting method and server - Google Patents

Server performance adjusting method and server Download PDF

Info

Publication number
CN109743207A
CN109743207A CN201811653617.8A CN201811653617A CN109743207A CN 109743207 A CN109743207 A CN 109743207A CN 201811653617 A CN201811653617 A CN 201811653617A CN 109743207 A CN109743207 A CN 109743207A
Authority
CN
China
Prior art keywords
network interface
interface card
performance mode
server
guidance system
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
Application number
CN201811653617.8A
Other languages
Chinese (zh)
Other versions
CN109743207B (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201811653617.8A priority Critical patent/CN109743207B/en
Publication of CN109743207A publication Critical patent/CN109743207A/en
Application granted granted Critical
Publication of CN109743207B publication Critical patent/CN109743207B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Computer And Data Communications (AREA)

Abstract

Present disclose provides a kind of server performance adjusting methods, comprising: obtains the network interface card load information of server;Performance mode setting of the regulation server in guidance system in server operational process based on the network interface card load information.The disclosure additionally provides a kind of server.

Description

Server performance adjusting method and server
Technical field
This disclosure relates to a kind of server performance adjusting method and server.
Background technique
During using server, when the load of server changes, user wishes to pass through regulation server Performance mode in guidance system is arranged such that server can play and load the performance most to match, and then maximum journey Degree ground utilizes the computing resource of server.The scheme of the prior art generally requires user and is adjusted manually, specifically, restarts clothes Business device enters the performance mode setting that server is manually adjusted in guidance system in guidance system, and the process is time-consuming and laborious, needs Want the business of interrupt the server.
Summary of the invention
An aspect of this disclosure provides a kind of server performance adjusting method, comprising: the network interface card for obtaining server is negative Information carrying breath, based on acquired network interface card load information in server operational process performance of the regulation server in guidance system Mode setting.
Optionally, the network interface card load information of above-mentioned acquisition server includes: the state that network card driver reads corresponding network interface card Statistic registers group obtains following at least one status information of corresponding network interface card: the quantity of the network interface card received data packet, the network interface card The size of received data packet, the speed of the network interface card received data packet, the quantity of network interface card transmission data packet, the network interface card transmit data The speed of the size of packet, network interface card transmission data packet.Network card driver is based at least one status information and phase is calculated Answer the load value of network interface card.
Optionally, the load of corresponding network interface card is calculated based at least one status information in above-mentioned network card driver After value, when the load value of network interface card is higher than highest threshold value or is lower than lowest threshold, network card driver is matched by what is negotiated in advance It sets management data list and adjusts request to the guidance system transfer performance of server, include described in characterization in the property regulation request The information of the expected performance mode of network interface card.It is above-mentioned to adjust clothes in server operational process based on acquired network interface card load information Performance mode setting of the business device in guidance system includes: the spy that guidance system requests configuration processor according to the property regulation Determine register group, sets performance mode to the expected performance mode of network interface card.
Optionally, network card driver passes through the guidance system transitivity of the configuration management tables of data negotiated in advance to server Being adjustable request includes: that network card driver obtains the configuration management tables of data from server memory, in the configuration management data The identification information and expected performance mode that corresponding network interface card is filled in table trigger guidance system by specified interface and are operated.Draw It includes: guidance system in a triggered from clothes that guiding systems, which request the particular register group of configuration processor according to the property regulation, The configuration management tables of data after being filled in by network card driver is read in business device memory, according to the expectation in the configuration management tables of data Performance mode obtains corresponding performance state configuration parameter, the performance state configuration parameter is written corresponding one or more In particular register.
Optionally, the identification information of network interface card includes following at least one: the type mark of the identification of the manufacturer information of network interface card, network interface card Know the sequence number of information, and/or network interface card, the guidance system distinguishes the corresponding property of different network interface cards based on the identification information of network interface card It is adjustable request.
Optionally, the above method further include: when in configuration management tables of data include multiple network interface cards expected performance mode and When the expected performance mode difference of multiple network interface cards, guidance system carries out performance mould according to the expected performance mode of wherein highest level The setting of formula.
Optionally, the above method further include: network card driver is before filling in the configuration management tables of data, if described The current performance mode setting recorded in configuration management tables of data is identical as the expected performance mode of corresponding network interface card, and/or, if The mark that record has characterization that respective wire card is not allowed to carry out performance mode adjustment in the configuration management tables of data, then no longer to drawing Guiding systems transfer performance adjusts request.
Optionally, the above method further include: guidance system is after reading configuration management tables of data, if configuration management number It is identical as the expected performance mode of the network interface card according to the current performance mode setting recorded in table, and/or, if configuration management number It is according to the mark that record in table has characterization that the network interface card is not allowed to carry out performance mode adjustment, then not corresponding further according to the network interface card The setting of property regulation requesting adjustment performance mode.
Optionally, the above method further include: guidance system is after regulation performance mode setting, by the performance mould after adjusting Formula setting is updated in configuration management tables of data, and the mark whether characterization allows each network interface card to carry out performance mode adjustment is updated to In configuration management tables of data.
Another aspect of the present disclosure provides a kind of server, comprising: network card driver and guidance system.Network card driver For obtaining the network interface card load information of server.Guidance system is used for based on the network interface card load information in server operational process Performance mode setting of the middle regulation server in guidance system.
Optionally, network card driver includes read module and computing module.Read module is used to read the shape of corresponding network interface card State statistic registers group, obtain following at least one status information of the network interface card: the quantity of network interface card received data packet, network interface card receive The size of data packet, the speed of network interface card received data packet, network interface card transmission data packet quantity, network interface card transmission data packet size, And/or the speed of network interface card transmission data packet.Computing module is used to that respective wire to be calculated based on above-mentioned at least one status information The load value of card.
Optionally, network card driver further includes request module, for getting the load value of corresponding network interface card in computing module Later, when the load value of network interface card is higher than highest threshold value or is lower than lowest threshold, pass through the configuration management tables of data negotiated in advance It adjusts and requests to the guidance system transfer performance of server.Guidance system includes adjustment module, for being requested according to property regulation The particular register group of configuration processor, sets performance mode to the expected performance mode of the network interface card.
Optionally, request module is specifically used for obtaining configuration management tables of data from server memory, in configuration management number According to the identification information and expected performance mode for filling in corresponding network interface card in table, guidance system is triggered by specified interface and is operated. Adjustment module is specifically used for reading the configuration management data filled in by network card driver from server memory in a triggered Table, according to the corresponding performance state configuration parameter of expected performance pattern acquiring in configuration management tables of data, by the performance shape In the corresponding one or more particular registers of state configuration parameter write-in.
Optionally, the identification information of network interface card includes following at least one: the type mark of the identification of the manufacturer information of network interface card, network interface card Know the sequence number of information, and/or network interface card.Guidance system further includes identification module, for the identification of the manufacturer information based on network interface card, net The type identification information of card, and/or the sequence number of network interface card distinguish the property regulation request of different network interface card transmitting.
Optionally, guidance system further includes scheduler module, for when the phase in configuration management tables of data including multiple network interface cards When hoping performance mode and the expected performance mode difference of multiple network interface cards, carried out according to the expected performance mode of wherein highest level The setting of performance mode.
Optionally, network card driver further includes anticipation module, for before filling in the configuration management tables of data, if The current performance mode setting recorded in the configuration management tables of data is identical as the expected performance mode, and/or, if institute The mark that record in configuration management tables of data has characterization that the network interface card is not allowed to carry out performance mode adjustment is stated, then no longer to described Guidance system transfer performance adjusts request.
Optionally, guidance system further includes anticipation module, is used for after reading the configuration management tables of data, if institute It is identical as the expected performance mode to state the current performance mode setting recorded in configuration management tables of data, and/or, if described The mark that record has characterization that the network interface card is not allowed to carry out performance mode adjustment in configuration management tables of data, then not further according to described The property regulation requesting adjustment performance mode of network interface card is arranged.
Optionally, guidance system further includes update module, is used for after regulation performance mode setting, by the property after adjusting Energy mode setting is updated in the configuration management tables of data, will characterize the mark for whether allowing each network interface card to carry out performance mode adjustment Knowledge is updated in the configuration management tables of data.
Another aspect of the present disclosure provides a kind of server, comprising: network interface card, processor and memory.The memory It is stored with the computer program that can be run on a processor, the processor is realized as described above when executing the computer program Method.
Another aspect of the present disclosure provides a kind of computer readable storage medium, is stored with computer executable instructions, Described instruction is when executed for realizing method as described above.
Another aspect of the present disclosure provides a kind of computer program, and the computer program, which includes that computer is executable, to be referred to It enables, described instruction is when executed for realizing method as described above.
Detailed description of the invention
In order to which the disclosure and its advantage is more fully understood, referring now to being described below in conjunction with attached drawing, in which:
Fig. 1 diagrammatically illustrates the applied field of server performance adjusting method and server according to an embodiment of the present disclosure Scape;
Fig. 2 diagrammatically illustrates the flow chart of server performance adjusting method according to an embodiment of the present disclosure;
Fig. 3 A diagrammatically illustrates the flow chart of server performance adjusting method according to another embodiment of the present disclosure;
Fig. 3 B diagrammatically illustrates the flow chart of server performance adjusting method according to another embodiment of the present disclosure;
Fig. 4 diagrammatically illustrates the block diagram of server according to an embodiment of the present disclosure;
Fig. 5 diagrammatically illustrates the block diagram of server according to another embodiment of the present disclosure;And
Fig. 6 diagrammatically illustrates the block diagram of server according to another embodiment of the present disclosure.
Specific embodiment
Hereinafter, will be described with reference to the accompanying drawings embodiment of the disclosure.However, it should be understood that these descriptions are only exemplary , and it is not intended to limit the scope of the present disclosure.In the following detailed description, to elaborate many specific thin convenient for explaining Section is to provide the comprehensive understanding to the embodiment of the present disclosure.It may be evident, however, that one or more embodiments are not having these specific thin It can also be carried out in the case where section.In addition, in the following description, descriptions of well-known structures and technologies are omitted, to avoid Unnecessarily obscure the concept of the disclosure.
Term as used herein is not intended to limit the disclosure just for the sake of description specific embodiment.It uses herein The terms "include", "comprise" etc. show the presence of the feature, step, operation and/or component, but it is not excluded that in the presence of Or add other one or more features, step, operation or component.
There are all terms (including technical and scientific term) as used herein those skilled in the art to be generally understood Meaning, unless otherwise defined.It should be noted that term used herein should be interpreted that with consistent with the context of this specification Meaning, without that should be explained with idealization or excessively mechanical mode.
It, in general should be according to this using statement as " at least one in A, B and C etc. " is similar to Field technical staff is generally understood the meaning of the statement to make an explanation (for example, " system at least one in A, B and C " Should include but is not limited to individually with A, individually with B, individually with C, with A and B, with A and C, have B and C, and/or System etc. with A, B, C).Using statement as " at least one in A, B or C etc. " is similar to, generally come Saying be generally understood the meaning of the statement according to those skilled in the art to make an explanation (for example, " having in A, B or C at least One system " should include but is not limited to individually with A, individually with B, individually with C, with A and B, have A and C, have B and C, and/or the system with A, B, C etc.).
Shown in the drawings of some block diagrams and/or flow chart.It should be understood that some sides in block diagram and/or flow chart Frame or combinations thereof can be realized by computer program instructions.These computer program instructions can be supplied to general purpose computer, The processor of special purpose computer or other programmable data processing units, so that these instructions are when executed by this processor can be with Creation is for realizing function/operation device illustrated in these block diagrams and/or flow chart.The technology of the disclosure can be hard The form of part and/or software (including firmware, microcode etc.) is realized.In addition, the technology of the disclosure, which can be taken, is stored with finger The form of computer program product on the computer readable storage medium of order, the computer program product is for instruction execution system System uses or instruction execution system is combined to use.
Embodiment of the disclosure provides a kind of server performance adjusting method and can apply the server of this method. This method includes that load information obtains stage and property regulation stage.In the load information acquisition stage, the net of server is obtained Card load information adjusts clothes based on network interface card load information under the premise of continual service device business in the property regulation stage Performance mode setting of the business device in guidance system.
Fig. 1 diagrammatically illustrates the applied field of server performance adjusting method and server according to an embodiment of the present disclosure Scape.It should be noted that being only the example that can apply the scene of the embodiment of the present disclosure shown in Fig. 1, to help art technology Personnel understand the technology contents of the disclosure, but are not meant to that the embodiment of the present disclosure may not be usable for other equipment, system, environment Or scene.
As shown in Figure 1, the application scenarios may include server 100, which can be to provide at various data Reason service, the server with various computing capabilitys, server 100 are currently entering guidance system set interface, guide system The os starting for having the effects that Boot Server, the operating system for ensureing server operate normally, which sets Setting in interface includes that menu is arranged in processor, and it includes performance mode setting submenu, the performance mode under menu that processor, which is arranged, Being arranged includes three options: " general mode ", " high performance mode " and " low performance mode " in submenu.
When the load of the processor of server is different, the performance mode setting being most adapted to is also corresponding different, for example, working as When loading larger, " high performance mode " is set to support corresponding heavy load, when loading smaller, by performance by performance mode Mode setting is " low performance mode " to reduce unnecessary energy consumption.In other embodiments, in the guidance system of server Option in performance mode setting submenu can be diversified forms, herein with no restrictions.
Server performance regulation scheme provided by the embodiment of the present disclosure is suitable for the load of the processor based on server Difference and continual service device operation under the premise of actively adjust in guidance system performance mode setting scene.
Fig. 2 diagrammatically illustrates the flow chart of server performance adjusting method according to an embodiment of the present disclosure.
As shown in Fig. 2, this method includes operation S201~S202.
In operation S201, the network interface card load information of server is obtained.
Operation S202, based on the network interface card load information in server operational process regulation server guidance system In performance mode setting.
As it can be seen that method shown in Fig. 2 can directly be adjusted in server operational process according to the network interface card load information of server Save performance mode setting of the server in guidance system, with need the business of interrupt the server in the prior art, into guidance The scheme being adjusted manually in system is compared, and is realized the adaptivity of server under operation and is adjustable.
It should be noted that guidance system is the system based on server hardware bottom, has in inspection server and handle Whether the state of device and each controller normal, the memory for server, board chip set, video card and peripheral device carry out it is initial Change movement provides the basic settings of each component such as display, keyboard, processor, memory etc. in server, provide operating system or The resident formula of the interruption of application program calling, the os starting of Boot Server, the operating system of guarantee server are normal The effects of operation, if basic input output system (BIOS) is traditional guidance system, unified Extensible Firmware Interface (UEFI) For novel guidance system, etc., herein with no restrictions.
In one embodiment of the present disclosure, it includes: trawl performance that operation S201, which obtains the network interface card load information of server, Device reads the statistic register group of corresponding network interface card, obtains following at least one status information: the number of network interface card received data packet Amount, the quantity of the size of network interface card received data packet, the speed of network interface card received data packet, network interface card transmission data packet, network interface card transmit number According to the speed of size, and/or network interface card the transmission data packet of packet.Network card driver is based on read at least one status information Calculation obtains the load value of corresponding network interface card.
For example, network interface card has corresponding statistic register group (Statistic Register), including record Register (Packets Received [64Bytes] Count, Packets Received of the quantity of network interface card received data packet [65-127Bytes]Count、Packets Received[128-255Bytes]Count、Packets Received[256- 511Bytes]Count、Packets Received[512-1023Bytes]Count、Packets Received[1024to Max Bytes] Count), record the register (Total Packets Received) of the total amount of network interface card received data packet, note Record register (Packets Transmitted [64Bytes] Count, Packets of the quantity of network interface card transmission data packet Transmitted[65-127Bytes]Count、Packets Transmitted[128-255Bytes]Count、Packets Transmitted[256-511Bytes]Count、Packets Transmitted[512-1023Bytes]Count、 Packets Transmitted [Greater than1024Bytes] Count), the total amount of record network interface card transmission data packet is posted Storage (Total Packets Transmitted), etc., network card driver pass through one in reading state statistic registers group One or more status informations of a or multiple available corresponding network interface cards of register are received/are transmitted with it since network interface card is loaded The size of data packet, how many, speed is related, therefore can accurately, easily obtain corresponding network interface card by these status informations Load value, to reflect the corresponding network interface card loading level of server.
In one embodiment of the present disclosure, after the load value that network card driver gets corresponding network interface card, shown in Fig. 2 Method further include: when the load value of network interface card is higher than highest threshold value or is lower than lowest threshold, network card driver by assisting in advance The configuration management tables of data of quotient is adjusted to the guidance system transfer performance of server and is requested, and includes table in the property regulation request Levy the information of the expected performance mode of the network interface card.Wherein, the expected performance mode of the network interface card refers to negative with the network interface card Load is worth the performance mode of compatible processor, and highest threshold value and lowest threshold can carry out flexible setting according to actual needs, The initiation condition of request is adjusted for control performance.
On this basis, aforesaid operations S202 is based on the network interface card load information and adjusts service in server operational process Performance mode setting of the device in guidance system includes: guidance system according to the specific of property regulation request configuration processor Register group sets performance mode to the expected performance mode of the network interface card.
For example, after the load value that network card driver obtains corresponding network interface card, if the load value of the network interface card is higher than highest Threshold value illustrates current network interface card load too high, and higher performance is needed to support, then network card driver passes through the configuration pipe negotiated in advance It manages tables of data and adjusts request to the guidance system transfer performance of server, corresponding network interface card characterized in property regulation request Expected performance mode is " high performance mode ".Guidance system, can be according to the performance tune after getting property regulation request The particular register group of section request configuration processor, so that the performance mode of processor is set as " high performance mode ".And such as The load value of the fruit network interface card is lower than lowest threshold, illustrates that current network interface card load is very low, can turn down to save unnecessary energy consumption Processor performance, then network card driver passes through the guidance system transfer performance of the configuration management tables of data negotiated in advance to server Request is adjusted, the expected performance mode of corresponding network interface card characterized in property regulation request is " low performance mode ".Guidance system System can request the particular register group of configuration processor according to the property regulation, make after getting property regulation request The performance mode for obtaining processor is set as " high performance mode ".Scheme according to the present embodiment runs on the operation system of server Network card driver under system can adjust request to guidance system transfer performance by the configuration management tables of data negotiated in advance, should Configuration management tables of data be except the tables of data of various standards expanded definition for realizing operating system in this programme and drawing The tables of data of property regulation related communication is carried out between guiding systems, operating system is using configuration management tables of data come to guidance system Transfer performance adjusts request, very convenient and efficient.
Specifically, in one embodiment of the present disclosure, above-mentioned network card driver passes through the configuration management number negotiated in advance Adjusting request to the guidance system transfer performance of server according to table includes: that network card driver obtains configuration pipe from server memory Tables of data is managed, the identification information and expected performance mode of corresponding network interface card are filled in the configuration management tables of data, is connect by specified Mouth triggering guidance system is operated.In some cases, configuration management tables of data just filled in after being created need into The identification information of the corresponding network interface card of network card driver of row interaction, therefore network card driver gets configuration from server memory After management data list, the identification information for filling in network interface card is no longer needed to, need to only be filled in after the identification information of corresponding network interface card corresponding Expected performance mode.Above-mentioned guidance system requests the particular register group packet of configuration processor according to the property regulation Include: guidance system in a triggered from server memory read network card driver fill in after configuration management tables of data, according to The corresponding performance state configuration parameter of expected performance pattern acquiring in the configuration management tables of data, the performance state is configured In the corresponding one or more particular registers of parameter write-in.
Wherein, as an optional embodiment, the identification information of network interface card includes following at least one: manufacturer's mark of network interface card Know the sequence number of information, the type identification information of network interface card, and/or network interface card.Guidance system base when reading configuration management tables of data The serial number area of the identification of the manufacturer information of network interface card in configuration management tables of data, the type identification information of network interface card, and/or network interface card Divide different network interface cards corresponding property regulation request.
For example, network card driver and the preparatory joint consultation of guidance system define configuration management tables of data (OEM ACPI Table) and the identification marking of configuration management tables of data (signature), configuration management tables of data are stored in server memory, Its gauge outfit is as shown in table 1:
Table 1
As it can be seen from table 1 including " identification of the manufacturer information (vendor ID) " column, " type identification information The column (device ID) ", the column " sequence number (SN) " and " expected performance mode (performance option control Flag) " column, in other embodiments, configuration management tables of data may include various extension information bars, herein with no restrictions." factory Quotient's identification information (vendor ID) " column is used to fill in identification information, the " type identification information (device of the affiliated manufacturer of network interface card ID) " column is used to fill in the identification information of the affiliated type of device of network interface card, and the column " sequence number (SN) " is used to fill in the sequence of network interface card itself Number, these three identification informations collectively form the identification information of network interface card, can be identified globally uniquely to network interface card." expectation property Energy mode (performance option control flag) " column is for filling in performance compatible with network interface card load information Mode, the corresponding property regulation demand of characterization network interface card.In this example, the performance mode setting of the guidance system of server includes " high Performance mode (Max Performance) ", " low performance mode (Energy Efficiency) ", " general mode (Custom) " The expected performance mode of these three options, network interface card can be any item.
Server includes network interface card A, and network interface card A corresponds to network card driver A ', and network card driver A ' is read at predetermined time intervals The statistic register group of network interface card A calculates the load value of network interface card A.Network card driver A ' by obtained load value with set in advance Fixed highest threshold value and lowest threshold are compared, and the load value of discovery network interface card A is lower than lowest threshold, illustrate the load of network interface card A Very little adapts to the lower-performance mode of server.Network card driver A ' is according to the configuration management tables of data for negotiating definition in advance Identification marking configuration management tables of data is read from server memory, the manufacturer of network interface card A is filled in configuration management tables of data Expected performance mode " the low property of identification information A1, the type identification information A2 of network interface card A, the sequence number A3 of network interface card A and network interface card A Energy mode (Energy Efficiency) ".The configuration management tables of data for filling in completion is as shown in table 2, is still stored in server In depositing, specified interface is system management interrupt (SMI) interface in this example, and network card driver A ' passes through SMI interface triggering guidance system System is operated.
Table 2
In a triggered, guidance system is according to the identification marking for the configuration management tables of data for negotiating to define in advance from server Configuration management tables of data shown in table 2 is read in memory, the message reflection in configuration management tables of data goes out following information: by A1, The property regulation demand of the network interface card A of A2 and A3 common ID is " low performance mode (Energy Efficiency) ".Guidance system The performance state configuration parameter corresponding with " low performance mode (Energy Efficiency) " prestored is obtained, performance state is matched Setting parameter may include the parameter relevant to processor performance such as frequency parameter, voltage parameter, and the performance state is configured and is joined In the corresponding one or more particular registers of number write-in.In this example, particular register group can be model specific registers group (MSR), " low performance mode (Energy Efficiency) " corresponds to lesser frequency parameter and voltage parameter, by " low performance The corresponding frequency parameter of mode (Energy Efficiency) " and voltage parameter are written in corresponding MSR register, processor Frequency parameter and voltage parameter are got by accessing corresponding MSR register, is adjusted according to the frequency parameter and voltage parameter The working frequency and operating voltage of processor realize the setting of " low performance mode (Energy Efficiency) ".
In another embodiment of the disclosure, the network card drivers of multiple network interface cards is described to guidance system transfer performance Adjust the scene of request, method shown in Fig. 2 further include: when the expected performance mould in configuration management tables of data including multiple network interface cards Formula, and when the expected performance mode difference of multiple network interface cards, guidance system is carried out according to the expected performance mode of wherein highest level The setting of performance mode.
Example above is continued to use, the network card driver A ' of network interface card A is based on the load information of network interface card A to configuration management data Table is filled in, and the network card driver B ' of network interface card B fills in configuration management tables of data based on the load information of network interface card B, net The network card driver C ' of card C fills in configuration management tables of data based on the load information of network interface card C, fills in the configuration pipe of completion It is as shown in table 3 to manage tables of data:
Table 3
From table 3 it can be seen that record has the corresponding property regulation request of network interface card A, network interface card B corresponding in configuration management tables of data Property regulation request the request of corresponding with network interface card C property regulation, network interface card A is corresponding by identification information A1, A2 and A3 mark Expected performance mode is " low performance mode (Energy Efficiency) ", and network interface card B is identified by identification information B1, B2 and B3, institute Corresponding expected performance mode is " high performance mode (Max Performance) ", and network interface card C is marked by identification information C1, C2 and C3 Know, corresponding expected performance mode is " general mode (Custom) ".Wherein, network interface card B wishes for performance mode to be arranged and adjust For " high performance mode (Max Performance) ", illustrate that the load of current network interface card B is very big, to guarantee that each network interface card is all normally transported Row should preferentially meet the property regulation request for loading big network interface card.Guidance system is read shown in table 3 from server memory Configuration management tables of data selects the expected performance mode of network interface card B to be adjusted, obtains " high performance mode (the Max prestored Performance) " corresponding performance state configuration parameter is written in corresponding MSR register, so that processor access MSR is posted Storage plays corresponding high-performance.
As it can be seen that the scheme of the present embodiment supports the demand for control of multiple network interface cards in server, at predetermined process rule The property regulation request for managing multiple network interface cards is paid the utmost attention to need highest level when the property regulation request of multiple network interface cards is different Performance mode network interface card demand, meet actual treatment scene.In other embodiments, predetermined process rule can be according to tool The setting of body situation, it is not limited here.
Further, in one embodiment of the present disclosure, in configuration management tables of data further include: characterization current performance mould Whether the information and characterization of formula setting allow to carry out the mark of performance mode adjustment, method shown in Fig. 2 further include: trawl performance Device is before filling in configuration management tables of data, if the current performance mode setting recorded in configuration management tables of data and the phase Hope performance mode identical, and/or, if record has characterization that respective wire card is not allowed to carry out performance mode in configuration management tables of data The mark of adjustment then no longer adjusts request to guidance system transfer performance.
For example, the gauge outfit of configuration management tables of data is as shown in table 4:
Table 4
From table 4, it can be seen that configuration management tables of data extends two columns on the basis of table 1: " current performance mode setting The column (performance option status flag) " and " whether allow carry out performance mode adjustment (performance Option alloW tocontrol flag) " column.Wherein, " current performance mode setting (performance option Status flag) " column be guidance system it is preceding once set up after fill in, correspond to actual disposition to particular register In performance mode information, " whether allow carry out performance mode adjustment (performance option allow to Control flag) " column is also to be filled in by guidance system, and whether characterization allows corresponding network interface card to issue the letter of property regulation request Breath.
Network card driver is read shown in table 4 from server memory in the property regulation request for needing to issue network interface card Configuration management tables of data specifically checks " current performance mode setting (the performance option status of corresponding network interface card Flag) " column and " whether allow carry out performance mode adjustment (performance option allow to control Flag the) " content on column.The column " if current performance mode setting (performance option status flag) " characterization When current performance mode setting is identical as the expected performance mode of corresponding network interface card, it is not necessary to property regulation request is issued again, and/or, " if whether allowing to carry out performance mode adjustment (performance option allow to control flag) " column table Sign does not allow respective wire card to carry out performance mode adjustment, then no longer adjusts request to guidance system transfer performance.It can keep away in this way Exempt from network card driver and issue meaningless property regulation request, improves efficiency, save computing resource.
Further, in one embodiment of the present disclosure, the gauge outfit for preparing management data list is as shown in table 4, shown in Fig. 2 Method further include: guidance system is after reading the configuration management tables of data, if remembered in the configuration management tables of data The current performance mode setting of record is identical as the expected performance mode, and/or, if recorded in the configuration management tables of data The mark for having characterization that the network interface card is not allowed to carry out performance mode adjustment, then do not request to adjust further according to the property regulation of the network interface card Save performance mode setting.
Example above is continued to use, guidance system in a triggered, reads from server memory and configures pipe shown in table 4 Tables of data is managed, the property regulation of each network interface card is requested, specifically checks " the current performance mode setting of corresponding network interface card The column (performance option status flag) " and " whether allow carry out performance mode adjustment (performance Option allow to control flag) " content on column.If " current performance mode setting (performance Option status flag) " column characterization current performance mode setting it is identical as the expected performance mode of corresponding network interface card when, no The property regulation request of the network interface card is reprocessed, and/or, if " whether allowing to carry out performance mode adjustment (performance Option allow to control flag) " column characterization do not allow respective wire card carry out performance mode adjustment, do not reprocess this The property regulation of network interface card is requested.
And further, in one embodiment of the present disclosure, the gauge outfit for preparing management data list is as shown in table 4, figure Method shown in 2 further include: the performance mode setting after adjusting is updated to by guidance system after regulation performance mode setting In the configuration management tables of data, the mark whether characterization allows each network interface card to carry out performance mode adjustment is updated to the configuration In management data list.
Below with reference to Fig. 3 A~Fig. 3 B, method shown in Fig. 2 is illustrated in conjunction with specific embodiments:
In the present embodiment, server includes network interface card A, B and C, corresponds respectively to network card driver A ', B ' and C ', guidance System is BIOS system, network card driver and BIOS system negotiate to define in advance configuration management tables of data OEM ACPI table and The gauge outfit of its identification marking, the OEM ACPI table is as shown in table 4, and the corresponding identification information of network interface card A, B and C is in table In fill in and finish.
Fig. 3 A diagrammatically illustrates the flow chart of server performance adjusting method according to another embodiment of the present disclosure, from Network card driver side describes the server performance adjustment process.
As shown in Figure 3A, this method includes operation S301~S306.
In operation S301, the load value of network interface card is calculated in the statistic register group by reading network interface card, works as network interface card Load value when reaching preset threshold, execute operation S302.
In this operation, the load value that network interface card is calculated in the statistic register group by reading network interface card has above been said It is bright, it repeats no more.Preset threshold includes highest threshold value mentioned above and lowest threshold, and the load value of network interface card reaches preset threshold Refer to that the load value of network interface card is higher than highest threshold value or lower than lowest threshold.HII (the Human of server can be first passed through in advance Interface Infrasturation) configurator provides a user set interface, above-mentioned threshold value carried out by user flexible Setting.
In operation S302, phase is found according to the identification marking for the configuration management tables of data for negotiating definition in advance with guidance system The configuration management tables of data answered finds the corresponding content of corresponding network interface card in configuration management tables of data according to the identification information of network interface card.
In this operation, by taking network interface card A as an example, network card driver A ' finds OEM ACPI according to the identification marking negotiated in advance Table, network card driver A ' are according to identification of the manufacturer information A1, type identification information A2 and the sequence number A3 of network interface card A in OEM ACPI table is matched, that corresponding a line of network interface card A is found.
Operation S303, check the corresponding current performance mode setting of the network interface card whether the expected performance mode with the network interface card Difference, if so, operation S304 is executed, if not, executing operation S306.
In this operation, network card driver A ' checks corresponding " the current performance mode setting of network interface card A in OEM ACPI table Whether (performance option status flag) " be different from the expected performance mode of current network interface card A, both only no Just there is the necessity for continuing adjusting performance simultaneously.
In operation S304, check whether the network interface card allows to carry out performance mode adjustment, if so, executing operation S305, such as Fruit is no, executes operation S306.
In this operation, whether network card driver A ' checks that network interface card A is corresponding in OEM ACPI table " allows to carry out performance Whether mode adjustment (performance option allow to control flag) " is permission, only just when allowing There is the necessity for continuing adjusting performance.
In operation S305, expected performance mode is filled in, guidance system is triggered by SMI interface, so that guidance system carries out Corresponding performance mode adjustment.
In this operation, network card driver A ' corresponding " expected performance mode of network interface card A in OEM ACPI table (performance option control flag) " fills in expectation compatible with the current load value of network interface card A at position Energy mode after the completion of filling in, the bid value for negotiating definition in advance is transmitted to SMI interface (SW SMI port, IO 0xB2), is triggered SW SMI interface turns to go to execute the SMI in BOIS system so that processor enters System Management Mode (SMM Mode) Handler program, the i.e. operation of triggering BIOS system execution performance mode adjustment as shown in 3B.
In operation S306, this logic is jumped out.
Fig. 3 B diagrammatically illustrates the flow chart of server performance adjusting method according to another embodiment of the present disclosure, from Guidance system side describes the server performance adjustment process.
As shown in Figure 3B, this method includes operation S301 '~S307 '.
In each network interface card that operation S301 ', initialization server master board are detected, in the preparatory configuration management number for negotiating definition According to the initial value for defining each position in table.
In this operation, network interface card A, B and C that BIOS system initialization server master board detects, by network interface card A, B and C couple The identification information answered is respectively filled in OEM ACPI table, by " expected performance mode (performance option Control flag) " column and the column " current performance mode setting (performance option status flag) " it is all initial Default value is turned to, " whether will allow to carry out performance mode adjustment (performance option allow to control Flag) " column is initialized as " allowing ".
It in operation S302 ', is triggered, starts execution performance mode adjustment.
In this operation, network interface card triggers SW SMI interface, when SW SMI interface quilt after filling in OEMACPI table After triggering, starts to execute the SMI handler program in BIOS system, that is, start execution performance mode adjustment.
In operation S303 ', found according to the identification marking for the configuration management tables of data for negotiating definition in advance with guidance system Corresponding configuration management tables of data.
In operation S304 ', check whether the corresponding expected performance mode of each network interface card is different from current performance mode setting, it is right It requests in the property regulation of expected performance mode network interface card identical with current performance mode without processing.
In this operation, BIOS system checks corresponding " the current performance mode setting of network interface card A in OEM ACPI table (performance option status flag) " whether " expected performance mode (performance with current network interface card A Option control flag) " it is different, if so, the property regulation request to network interface card A carries out subsequent operation, if it is not, then The property regulation request of network interface card A is not handled.Similarly for network interface card B and C, it repeats no more.The property regulation of network interface card A and B in this example Request continues to be processed.
In operation S305 ', check whether each network interface card allows to carry out performance mode adjustment, for not allowing to carry out performance mode The property regulation request of the network interface card of adjustment is without processing.
In this operation, whether BIOS system checks that network interface card A is corresponding in OEM ACPI table " allows to carry out performance mode Adjust (performance option allow to control flag) " it whether is permission, if so, to the property of network interface card A It is adjustable request and carries out subsequent operation, if it is not, then not handling the property regulation request of network interface card A.Similarly for network interface card B, no longer It repeats.Network interface card A and B are allowed in this example.
In operation S306 ', target capabilities mode is determined according to the expected performance mode of each network interface card and predetermined process rule, is matched The corresponding particular register for reaching the requirement of target capabilities mode is set, configuration management tables of data is updated.
In this operation, predetermined process rule be can be such that if the corresponding expected performance mode of network interface card A and B is identical, by this Expected performance mode is as target capabilities mode, if the expected performance mode of network interface card A and B is different, by wherein higher level Expected performance mode is as target capabilities mode.The corresponding MSR deposit of target capabilities mode requirement is reached in BIOS system configuration Device group, after the completion of configuration, by " current performance mode setting (the performance option in OEM ACPI table Status flag) " column is updated to configured target capabilities mode, and according to logic need to update each network interface card it is corresponding " whether Allow carry out performance mode adjustment (performance option allow to control flag) " content.In this example, Target capabilities mode is the expected performance mode of network interface card A, then BIOS is by corresponding " the current performance mode setting of network interface card B and C (performance option status flag) " is updated to not allow.
In operation S307 ', terminate.
SMI handler program is exited in this operation, terminates the process of BIOS system execute server property regulation.
Based on scheme provided by each embodiment of the disclosure, may be implemented needing to adjust the utility model has the advantages that eliminating as follows The process that user manually adjusts when server performance mode, avoids interrupt the server business, and user can flexibly preset progress The condition of property regulation request, supports the property regulation demand of multiple network interface cards.
Fig. 4 diagrammatically illustrates the block diagram of server according to an embodiment of the present disclosure.
As shown in figure 4, server 400 includes: network card driver 410 and guidance system 420.
Network card driver 410 is used to obtain the network interface card load information of server 400.
Guidance system 420 is used to be based on network interface card load information regulation server 400 in 400 operational process of server Performance mode setting in guidance system 420.
As it can be seen that server shown in Fig. 4 can directly adjust clothes according to the network interface card load information of server in the process of running Be engaged in performance mode setting of the device in guidance system, with need the business of interrupt the server in the prior art, into guidance system In the scheme that is adjusted manually compare, realize the adaptivity of server under operation and be adjustable.
Fig. 5 diagrammatically illustrates the block diagram of server according to another embodiment of the present disclosure.
As shown in figure 5, server 500 includes: network card driver 510 and guidance system 520.Network card driver 510 can be with Realize that the function of guidance system 420 may be implemented in the function of network card driver 410, guidance system 520, duplicate part is no longer superfluous It states.
Network card driver 510 includes: read module 511, computing module 512, request module 513 and anticipation module 514.Guidance system 520 includes: adjustment module 521, identification module 522, scheduler module 523, anticipation module 524 and updates Module 525.
In one embodiment of the present disclosure, network card driver 510 includes read module 511 and computing module 512.It reads Module 511 is used to read the statistic register group of corresponding network interface card, obtains following at least one status information of the network interface card: net The quantity of card received data packet, the size of network interface card received data packet, the speed of network interface card received data packet, network interface card transmit data packet The speed of quantity, the size of network interface card transmission data packet, and/or network interface card transmission data packet.Computing module 512 is based on above-mentioned at least one The load value of corresponding network interface card is calculated in kind status information, that is, gets corresponding network interface card load information.
In one embodiment of the present disclosure, network card driver 510 further includes request module 513, for getting phase After the load value for answering network interface card, when the load value of network interface card is higher than highest threshold value or is lower than lowest threshold, pass through what is negotiated in advance Configuration management tables of data adjusts request to guidance 520 transfer performance of system.Guidance system 520 includes adjustment module 521, is used for root According to the particular register group of property regulation request configuration processor, it sets performance mode to the expected performance mould of the network interface card Formula, to realize the operation of the regulation performance mode setting in 500 operational process of server.
Specifically, as an optional embodiment, above-mentioned request module 513 is specifically used for obtaining from server memory Configuration management tables of data fills in the identification information and expected performance mode of corresponding network interface card in configuration management tables of data, passes through finger Stationary interface triggering guidance system 520 is operated.Above-mentioned adjustment module 521 is specifically used in a triggered from server memory The configuration management tables of data filled in by network card driver 510 is read, according to the expected performance mode in configuration management tables of data Corresponding performance state configuration parameter is obtained, corresponding one or more specific deposits are written into the performance state configuration parameter In device, to complete the configuration to particular register group, it sets performance mode to the expected performance mode of corresponding network interface card.
Wherein optionally, the identification information of network interface card includes following at least one: identification of the manufacturer information, the class of network interface card of network interface card The sequence number of type identification information, and/or network interface card.Guidance system 520 further includes identification module 522, for the manufacturer based on network interface card The property regulation that the sequence number of identification information, the type identification information of network interface card, and/or network interface card distinguishes different network interface card transmitting is asked It asks.
In one embodiment of the present disclosure, guidance system 520 further includes scheduler module 523, for working as configuration management number When according to the expected performance mode in table including multiple network interface cards and the expected performance mode difference of multiple network interface cards, according to wherein highest The expected performance mode of rank carries out the setting of performance mode.
Further, in one embodiment of the present disclosure, network card driver 510 further includes anticipation module 514, is used for Before filling in the configuration management tables of data, if the current performance mode setting recorded in the configuration management tables of data and institute It is identical to state expected performance mode, and/or, if record has characterization that the network interface card is not allowed to carry out in the configuration management tables of data The mark of performance mode adjustment, then no longer adjust to the guidance system transfer performance and request.
In another embodiment of the disclosure, guidance system 520 further includes anticipation module 524, for described in the reading After configuration management tables of data, if the current performance mode setting recorded in the configuration management tables of data and the expectation Energy mode is identical, and/or, if record has characterization that the network interface card is not allowed to carry out performance mode in the configuration management tables of data The mark of adjustment is not arranged then further according to the property regulation requesting adjustment performance mode of the network interface card.
And further, as an optional embodiment, guidance system 520 further includes update module 525, is used for After regulation performance mode setting, the performance mode setting after adjusting is updated in the configuration management tables of data, will be characterized The mark for whether allowing each network interface card to carry out performance mode adjustment is updated in the configuration management tables of data.
It should be noted that in device section Example each module/unit/subelement etc. embodiment, the skill of solution Art problem, the function of realization and the technical effect reached respectively with the implementation of corresponding step each in method section Example Mode, the technical issues of solving, the function of realization and the technical effect that reaches are same or like, and details are not described herein.
It is module according to an embodiment of the present disclosure, submodule, unit, any number of or in which any more in subelement A at least partly function can be realized in a module.It is single according to the module of the embodiment of the present disclosure, submodule, unit, son Any one or more in member can be split into multiple modules to realize.According to the module of the embodiment of the present disclosure, submodule, Any one or more in unit, subelement can at least be implemented partly as hardware circuit, such as field programmable gate Array (FPGA), programmable logic array (PLA), system on chip, the system on substrate, the system in encapsulation, dedicated integrated electricity Road (ASIC), or can be by the hardware or firmware for any other rational method for integrate or encapsulate to circuit come real Show, or with any one in three kinds of software, hardware and firmware implementations or with wherein any several appropriately combined next reality It is existing.Alternatively, can be at least by part according to one or more of the module of the embodiment of the present disclosure, submodule, unit, subelement Ground is embodied as computer program module, when the computer program module is run, can execute corresponding function.
For example, any number of in read module 511, computing module 512, request module 513 and anticipation module 514 It may be incorporated in a module and realize or any one module therein can be split into multiple modules.Alternatively, these At least partly function of one or more modules in module can be combined at least partly function of other modules, and one It is realized in a module.In accordance with an embodiment of the present disclosure, read module 511, computing module 512, request module 513 and anticipation At least one of module 514 can at least be implemented partly as hardware circuit, such as field programmable gate array (FPGA), Programmable logic array (PLA), system on chip, the system on substrate, the system in encapsulation, specific integrated circuit (ASIC), or Can be realized by carrying out the hardware such as any other rational method that is integrated or encapsulating or firmware to circuit, or with software, Any one in three kinds of implementations of hardware and firmware several appropriately combined is realized with wherein any.Alternatively, reading At least one of module 511, computing module 512, request module 513 and anticipation module 514 can be at least by partly real Now corresponding function can be executed when the computer program module is run for computer program module.
In another example reading adjustment module 521, identification module 522, scheduler module 523, anticipation module 524 and update module Any number of in 525 may be incorporated in a module realize or any one module therein can be split into it is more A module.Alternatively, at least partly function of one or more modules in these modules can be with other modules at least partly Function combines, and realizes in a module.In accordance with an embodiment of the present disclosure, it reads adjustment module 521, identification module 522, adjust Degree module 523, anticipation at least one of module 524 and update module 525 can at least be implemented partly as hardware electricity Road, such as field programmable gate array (FPGA), programmable logic array (PLA), system on chip, the system on substrate, encapsulation On system, specific integrated circuit (ASIC), or can be by carrying out any other reasonable side that is integrated or encapsulating to circuit The hardware such as formula or firmware realize, or with any one in three kinds of software, hardware and firmware implementations or with wherein any It is several appropriately combined to realize.Alternatively, adjustment module 521, identification module 522, scheduler module 523, anticipation module 524, with And at least one of update module 525 can at least be implemented partly as computer program module, when the computer program When module is run, corresponding function can be executed.
Fig. 6 diagrammatically illustrates the server for being adapted for carrying out method as described above according to another embodiment of the present disclosure Block diagram.Server shown in Fig. 6 is only an example, should not function to the embodiment of the present disclosure and use scope bring and appoint What is limited.
As shown in fig. 6, server 600 includes processor 610, computer readable storage medium 620 and network interface card 630.The clothes Business device 600 can execute the method according to the embodiment of the present disclosure.
Specifically, processor 610 for example may include general purpose microprocessor, instruction set processor and/or related chip group And/or special microprocessor (for example, specific integrated circuit (ASIC)), etc..Processor 610 can also include using for caching The onboard storage device on way.Processor 610 can be the different movements for executing the method flow according to the embodiment of the present disclosure Single treatment unit either multiple processing units.
Computer readable storage medium 620, such as can be non-volatile computer readable storage medium, specific example Including but not limited to: magnetic memory apparatus, such as tape or hard disk (HDD);Light storage device, such as CD (CD-ROM);Memory, such as Random access memory (RAM) or flash memory;Etc..
Computer readable storage medium 620 may include computer program 621, which may include generation Code/computer executable instructions execute processor 610 according to the embodiment of the present disclosure Method or its any deformation.
Computer program 621 can be configured to have the computer program code for example including computer program module.Example Such as, in the exemplary embodiment, the code in computer program 621 may include one or more program modules, for example including mould Block 621A, module 621B ....It should be noted that the division mode and number of module are not fixed, those skilled in the art It can be combined according to the actual situation using suitable program module or program module, when these program modules are combined by processor When 610 execution, processor 610 is executed according to the method for the embodiment of the present disclosure or its any deformation.
According to an embodiment of the invention, network card driver 410/510 and guidance at least one of system 420/520 can be with Being embodied as the computer program module with reference to Fig. 6 description may be implemented net described above when being executed by processor 610 The corresponding operating that the corresponding operating and guidance system that card driver executes execute.
According to an embodiment of the invention, read module 511, computing module 512, request module 513 and anticipation module At least one of 514 can be implemented as the computer program module with reference to Fig. 6 description can when being executed by processor 610 To realize corresponding operating described above.
According to an embodiment of the invention, adjustment module 521, identification module 522, scheduler module 523, anticipation module 524, with And at least one of update module 525 can be implemented as the computer program module with reference to Fig. 6 description, by processor When 610 execution, corresponding operating described above may be implemented.
The disclosure additionally provides a kind of computer readable storage medium, which can be above-mentioned reality It applies included in equipment/device/system described in example;Be also possible to individualism, and without be incorporated the equipment/device/ In system.Above-mentioned computer readable storage medium carries one or more program, when said one or multiple program quilts When execution, the method according to the embodiment of the present disclosure is realized.
In accordance with an embodiment of the present disclosure, computer readable storage medium can be non-volatile computer-readable storage medium Matter, such as can include but is not limited to: portable computer diskette, hard disk, random access storage device (RAM), read-only memory (ROM), erasable programmable read only memory (EPROM or flash memory), portable compact disc read-only memory (CD-ROM), light Memory device, magnetic memory device or above-mentioned any appropriate combination.In the disclosure, computer readable storage medium can With to be any include or the tangible medium of storage program, the program can be commanded execution system, device or device use or Person is in connection.
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the disclosure, method and computer journey The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation A part of one module, program segment or code of table, a part of above-mentioned module, program segment or code include one or more Executable instruction for implementing the specified logical function.It should also be noted that in some implementations as replacements, institute in box The function of mark can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are practical On can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it wants It is noted that the combination of each box in block diagram or flow chart and the box in block diagram or flow chart, can use and execute rule The dedicated hardware based systems of fixed functions or operations is realized, or can use the group of specialized hardware and computer instruction It closes to realize.
It will be understood by those skilled in the art that the feature recorded in each embodiment and/or claim of the disclosure can To carry out multiple combinations and/or combination, even if such combination or combination are not expressly recited in the disclosure.Particularly, exist In the case where not departing from disclosure spirit or teaching, the feature recorded in each embodiment and/or claim of the disclosure can To carry out multiple combinations and/or combination.All these combinations and/or combination each fall within the scope of the present disclosure.
Although the disclosure, art technology has shown and described referring to the certain exemplary embodiments of the disclosure Personnel it should be understood that in the case where the spirit and scope of the present disclosure limited without departing substantially from the following claims and their equivalents, A variety of changes in form and details can be carried out to the disclosure.Therefore, the scope of the present disclosure should not necessarily be limited by above-described embodiment, But should be not only determined by appended claims, also it is defined by the equivalent of appended claims.

Claims (10)

1. a kind of server performance adjusting method, comprising:
Obtain the network interface card load information of server;
Based on the network interface card load information, performance mode of the regulation server in guidance system is set in server operational process It sets.
2. according to the method described in claim 1, wherein, the network interface card load information for obtaining server includes:
Network card driver reads the statistic register group of corresponding network interface card, and obtain following at least one status information: network interface card connects Receive the number of the quantity of data packet, the size of network interface card received data packet, the speed of network interface card received data packet, network interface card transmission data packet The speed of amount, the size of network interface card transmission data packet, and/or network interface card transmission data packet;
The load value of corresponding network interface card is calculated based at least one status information for the network card driver.
3. according to the method described in claim 2, wherein:
It is described after the load value of corresponding network interface card is calculated based at least one status information in the network card driver Method further include: when the load value of the network interface card is higher than highest threshold value or is lower than lowest threshold, the network card driver passes through The configuration management tables of data negotiated in advance is adjusted to the guidance system transfer performance of server and is requested, in the property regulation request Information including characterizing the expected performance mode of the network interface card;
It is described based on the network interface card load information in server operational process performance mould of the regulation server in guidance system Formula setting includes: the particular register group that the guidance system requests configuration processor according to the property regulation, by performance Mode setting is the expected performance mode of the network interface card.
4. according to the method described in claim 3, wherein:
The network card driver passes through the configuration management tables of data negotiated in advance and adjusts to the guidance system transfer performance of server Request includes: that the network card driver obtains the configuration management tables of data from server memory, in the configuration management number According to the identification information and expected performance mode for filling in corresponding network interface card in table, the guidance system is triggered by specified interface and is grasped Make;
It includes: the guidance system that the guidance system, which requests the particular register group of configuration processor according to the property regulation, The configuration management tables of data is read from server memory in a triggered, according to the expectation in the configuration management tables of data Performance mode obtains corresponding performance state configuration parameter, the performance state configuration parameter is written corresponding one or more In particular register.
5. according to the method described in claim 4, wherein, the identification information of network interface card includes following at least one: the manufacturer of network interface card The sequence number of identification information, the type identification information of network interface card, and/or network interface card, the identification information of the guidance system based on network interface card Distinguish the corresponding property regulation request of different network interface cards.
6. according to the method described in claim 4, further include:
When the expected performance mode of the expected performance mode and multiple network interface cards that in the configuration management tables of data include multiple network interface cards When different, the guidance system carries out the setting of performance mode according to the expected performance mode of wherein highest level.
7. according to the method described in claim 4, further include:
The network card driver is before filling in the configuration management tables of data, if recorded in the configuration management tables of data Current performance mode setting is identical as the expected performance mode, and/or, if record has table in the configuration management tables of data Sign does not allow the network interface card to carry out the mark of performance mode adjustment, then no longer adjusts and request to the guidance system transfer performance.
8. according to the method described in claim 4, further include:
The guidance system is after reading the configuration management tables of data, if what is recorded in the configuration management tables of data works as Preceding performance mode setting is identical as the expected performance mode of the network interface card, and/or, if recorded in the configuration management tables of data There is characterization that the network interface card is not allowed to carry out the mark of performance mode adjustment, is not then asked further according to the corresponding property regulation of the network interface card Seek regulation performance mode setting.
9. according to the method described in claim 4, further include:
Performance mode setting after adjusting is updated to the configuration and managed by the guidance system after regulation performance mode setting It manages in tables of data, the mark whether characterization allows each network interface card to carry out performance mode adjustment is updated to the configuration management tables of data In.
10. a kind of server, comprising:
Network card driver, for obtaining the network interface card load information of server;
Guidance system, for based on the network interface card load information in server operational process regulation server in guidance system Performance mode setting.
CN201811653617.8A 2018-12-29 2018-12-29 Server performance adjusting method and server Active CN109743207B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811653617.8A CN109743207B (en) 2018-12-29 2018-12-29 Server performance adjusting method and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811653617.8A CN109743207B (en) 2018-12-29 2018-12-29 Server performance adjusting method and server

Publications (2)

Publication Number Publication Date
CN109743207A true CN109743207A (en) 2019-05-10
CN109743207B CN109743207B (en) 2021-09-14

Family

ID=66363018

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811653617.8A Active CN109743207B (en) 2018-12-29 2018-12-29 Server performance adjusting method and server

Country Status (1)

Country Link
CN (1) CN109743207B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113268130A (en) * 2021-04-02 2021-08-17 北京比格大数据有限公司 Server power supply method, storage medium and computer equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103529925A (en) * 2013-10-30 2014-01-22 深圳市中兴移动通信有限公司 Method and device for switching central processing unit (CPU) working modes according to application scenarios
CN104883264A (en) * 2014-02-27 2015-09-02 中国科学院声学研究所 Method and system of virtualizing network cards on network processing platform
CN105260236A (en) * 2015-09-22 2016-01-20 惠州Tcl移动通信有限公司 Mobile terminal and performance adjustment method of processor of mobile terminal
CN105786674A (en) * 2016-03-24 2016-07-20 华为技术有限公司 Scheduling method and electronic device
CN108279934A (en) * 2018-02-28 2018-07-13 郑州云海信息技术有限公司 Server B IOS performance parameters setting method, device and storage medium
CN108430087A (en) * 2018-03-26 2018-08-21 新华三技术有限公司 Power consumption control method, device and router

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103529925A (en) * 2013-10-30 2014-01-22 深圳市中兴移动通信有限公司 Method and device for switching central processing unit (CPU) working modes according to application scenarios
CN104883264A (en) * 2014-02-27 2015-09-02 中国科学院声学研究所 Method and system of virtualizing network cards on network processing platform
CN105260236A (en) * 2015-09-22 2016-01-20 惠州Tcl移动通信有限公司 Mobile terminal and performance adjustment method of processor of mobile terminal
CN105786674A (en) * 2016-03-24 2016-07-20 华为技术有限公司 Scheduling method and electronic device
CN108279934A (en) * 2018-02-28 2018-07-13 郑州云海信息技术有限公司 Server B IOS performance parameters setting method, device and storage medium
CN108430087A (en) * 2018-03-26 2018-08-21 新华三技术有限公司 Power consumption control method, device and router

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113268130A (en) * 2021-04-02 2021-08-17 北京比格大数据有限公司 Server power supply method, storage medium and computer equipment

Also Published As

Publication number Publication date
CN109743207B (en) 2021-09-14

Similar Documents

Publication Publication Date Title
US8601250B2 (en) Control over loading of device drivers for an individual instance of a PCI device
CN101622600B (en) Boot negotiation among multiple boot-capable devices
CN106775946B (en) A kind of virtual machine Method of Creation Process
US7596687B2 (en) System and method for information handling system interoperable firmware storage
US20180203815A1 (en) Multi-Channel DMA System with Command Queue Structure Supporting Three DMA Modes
US11703931B2 (en) Application profiling for power-performance management
US20240020009A1 (en) System and method for accelerated data processing in ssds
US8631186B2 (en) Hardware and file system agnostic mechanism for achieving capsule support
CN110134446A (en) Start the method for PCIE device scanning
US20160050111A1 (en) Method and apparatus for adaptive device re-configuration
CN106991071B (en) Kernel scheduling method and system
DE112018004329T5 (en) CONTROL BLOCKS FOR PROCESSOR POWER MANAGEMENT
US10521216B2 (en) Unified extensible firmware interface updates
EP3572940A1 (en) Method and device for scheduling vcpu thread
KR20140076185A (en) Mobile device for simultaneous executing multi operating program and method thereof
CN109743207A (en) Server performance adjusting method and server
CN106775616A (en) Distribution service based on C++ Yu Java hybrid programmings
US20140237017A1 (en) Extending distributed computing systems to legacy programs
WO2020106482A1 (en) Programming and controlling compute units in an integrated circuit
US10277667B2 (en) Method and apparatus for executing application based on open computing language
US20220334888A1 (en) Methods and apparatus to synchronize threads
CN107533443A (en) Multiple are provided in the semiconductor device
US9229761B2 (en) Generating, at least in part, at least one packet indicating, at least in part, at least one command and/or issuing, at least in part, at least one result of execution, at least in part, of the at least one command
US20220113781A1 (en) Methods and apparatus for bi-directional control of computing unit frequency
US10318278B2 (en) Power management data package provision method and apparatus

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
GR01 Patent grant
GR01 Patent grant