CN109586965A - A kind of network interface card RSS method of automatic configuration, device, terminal and storage medium - Google Patents
A kind of network interface card RSS method of automatic configuration, device, terminal and storage medium Download PDFInfo
- Publication number
- CN109586965A CN109586965A CN201811476132.6A CN201811476132A CN109586965A CN 109586965 A CN109586965 A CN 109586965A CN 201811476132 A CN201811476132 A CN 201811476132A CN 109586965 A CN109586965 A CN 109586965A
- Authority
- CN
- China
- Prior art keywords
- network interface
- rss
- rss configuration
- configuration
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 35
- 230000015654 memory Effects 0.000 claims description 19
- 238000012795 verification Methods 0.000 claims description 13
- 238000004590 computer program Methods 0.000 claims description 4
- 238000000605 extraction Methods 0.000 claims description 3
- 238000005516 engineering process Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 5
- 238000012545 processing Methods 0.000 description 5
- 238000013515 script Methods 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000008878 coupling Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000006467 substitution reaction Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000005538 encapsulation Methods 0.000 description 1
- 230000017525 heat dissipation Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000009191 jumping Effects 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 238000005192 partition Methods 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 239000000126 substance Substances 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0876—Aspects of the degree of configuration automation
- H04L41/0886—Fully automatic configuration
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0866—Checking the configuration
- H04L41/0869—Validating the configuration within one network element
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Automation & Control Theory (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present invention provides a kind of network interface card RSS method of automatic configuration, device, terminal and storage medium, comprising: obtains the network interface information of network interface card;RSS configuration file is generated according to the network interface information;Network interface RSS configuration is carried out according to the RSS configuration file;Verify network interface RSS configuration result.Present invention improves the Operating Complexities of conventional arrangement method, fully achieve automation RSS configuration, and manpower and resource is greatly saved for the RSS configuration of multiple network interfaces or a variety of network interface cards.
Description
Technical field
The invention belongs to network interface card RSS technical fields, and in particular to a kind of network interface card RSS method of automatic configuration, device, terminal and
Storage medium.
Background technique
More queue network interface cards are a kind of technologies, are initially for solving the problems, such as network I/O QoS (quality of service)
, later with the continuous promotion of the bandwidth of network I/O, monokaryon CPU cannot place completely meet the needs of network interface card, pass through more queues
The support of trawl performance, carrying out Hash processing by the header file to incoming data packet, distribution receives net among multiple processors
Each queue is tied on different core, to meet the needs of network interface card by network flow by interrupting.
If network interface card does not carry out RSS configuration, under Windows system, network flow can be automatically by first processor
It receives, which can be rapidly achieved peak use rate, and limitation receives network transmission.Present server field is to network function
Demand be continuously increased, but many network interface cards do not have more array techniques, so that network interface card transmission performance is especially in Windows system
It is too low under system.If carrying out manual RSS adjustment to network interface card, can make more effectively to carry out receiving between network interface card and CPU message and
Distribute data flow, greatly improved the performance of network interface card.
Technology is all to be configured one by one to each network interface manually to network interface card RSS setting at present, is operated very time-consuming
Arduously, the configuration more especially for the more network interface card of network interface or network interface card, can take a substantial amount of time and be configured.
Summary of the invention
In view of the deficiencies of the prior art, the present invention provides a kind of network interface card RSS method of automatic configuration, device, terminal and storage
Medium, to solve the above technical problems.
In a first aspect, the embodiment of the present application provides a kind of network interface card RSS method of automatic configuration, which comprises
Obtain the network interface information of network interface card;
RSS configuration file is generated according to the network interface information;
Network interface RSS configuration is carried out according to the RSS configuration file;
Verify network interface RSS configuration result.
With reference to first aspect, in the first embodiment of first aspect, the network interface information for obtaining network interface card includes:
All network interface information are obtained using foreach circulation;
Judge whether the network interface has existed RSS configuration:
It is the operation for then cancelling the RSS configuration file for generating the network interface;
It is no, then the network interface information is stored to specified path.
With reference to first aspect, described that RSS configuration is generated according to network interface information in second of embodiment of first aspect
File includes:
Extract the network interface ID in network interface card information;
The corresponding CPU core number of the network interface ID is set;
The allocation of parameters of the corresponding CPU core of the network interface ID is set;
NumaNode where the network interface ID is set;
The distribution setting of specified network interface card logic processor.
With reference to first aspect, in the third embodiment of first aspect, the verification network interface RSS configuration result packet
It includes:
Network interface RSS configuration status is obtained using order " Get-NetAdapterRss ";
Judge whether the network interface RSS configuration succeeds according to the RSS configuration status:
It is then to show the network interface RSS configuration successful;
It is no, then it shows the network interface RSS configuration failure and shows respective profiles.
Second aspect, the embodiment of the present application provide a kind of network interface card RSS and automatically configure device, and described device includes:
Information acquisition unit is configured to obtain the network interface information of network interface card;
File generating unit is configured to generate RSS configuration file according to the network interface information;
Execution unit is configured, is configured to carry out network interface RSS configuration according to the RSS configuration file;
As a result verification unit is configured to verification network interface RSS configuration result.
In conjunction with second aspect, in the first embodiment of second aspect, the information acquisition unit includes:
Circulation obtains module, is configured to obtain all network interface information using foreach circulation;
Configuration determination module is configured to judge whether the network interface has existed RSS configuration;
Module is cancelled in configuration, is configured to cancel the operation for the RSS configuration file for generating the network interface;
Information storage module is configured to store the network interface information to specified path.
In conjunction with second aspect, in second of embodiment of second aspect, the file generating unit includes:
Network interface extraction module is configured to extract the network interface ID in network interface card information;
Number setup module is configured to that the corresponding CPU core number of the network interface ID is arranged;
Parameter setting module is configured to that the allocation of parameters of the corresponding CPU core of the network interface ID is arranged;
Network interface setup module is configured to that the NumaNode where the network interface ID is arranged;
Setup module is distributed, the distribution setting of specified network interface card logic processor is configured to.
In conjunction with second aspect, in the third embodiment of second aspect, the result verification unit includes:
State acquisition module is configured to obtain network interface RSS configuration status using order " Get-NetAdapterRss ";
Condition judgment module is configured to judge whether the network interface RSS configuration succeeds according to the RSS configuration status;
Success display module, is configured to show the network interface RSS configuration successful;
File display module is configured to show the network interface RSS configuration failure and shows respective profiles.
The third aspect provides a kind of terminal, comprising:
Processor, memory, wherein
The memory is used to store computer program,
The processor from memory for calling and running the computer program, so that terminal executes above-mentioned terminal
Method.
Fourth aspect provides a kind of computer storage medium, instruction is stored in the computer readable storage medium,
When run on a computer, so that computer executes method described in above-mentioned various aspects.
5th aspect, provides a kind of computer program product comprising instruction, when run on a computer, so that
Computer executes method described in above-mentioned various aspects.
The beneficial effects of the present invention are,
Network interface card RSS method of automatic configuration, device, terminal and storage medium provided by the invention, by the net for obtaining network interface card
Message breath is that each network interface generates corresponding RSS configuration file according to network interface information, and network interface card can be realized in the configuration file for executing generation
RSS configuration, verifies configuration result after the completion of configuration.It is complete present invention improves the Operating Complexity of conventional arrangement method
It is complete to realize automation RSS configuration, manpower and resource are greatly saved for the RSS configuration of multiple network interfaces or a variety of network interface cards.
In addition, design principle of the present invention is reliable, structure is simple, has very extensive application prospect.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, for those of ordinary skill in the art
Speech, without creative efforts, is also possible to obtain other drawings based on these drawings.
Fig. 1 is the schematic flow chart of the method for the application one embodiment.
Fig. 2 is the schematic block diagram of the device of the application one embodiment.
Fig. 3 is a kind of structural schematic diagram of terminal provided in an embodiment of the present invention.
Specific embodiment
Technical solution in order to enable those skilled in the art to better understand the present invention, below in conjunction with of the invention real
The attached drawing in example is applied, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described implementation
Example is only a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, this field is common
Technical staff's every other embodiment obtained without making creative work, all should belong to protection of the present invention
Range.
The Key Term occurred in the application is explained below.
Fig. 1 is the schematic flow chart of the method for the application one embodiment.Wherein, Fig. 1 executing subject can be one kind
Network interface card RSS automatically configures device.
As shown in Figure 1, this method 100 includes:
Step 110, the network interface information of network interface card is obtained;
Step 120, RSS configuration file is generated according to the network interface information;
Step 130, network interface RSS configuration is carried out according to the RSS configuration file;
Step 140, network interface RSS configuration result is verified.
Optionally, as the application one embodiment, the network interface information for obtaining network interface card includes:
All network interface information are obtained using foreach circulation;
Judge whether the network interface has existed RSS configuration:
It is the operation for then cancelling the RSS configuration file for generating the network interface;
It is no, then the network interface information is stored to specified path.
Optionally, described to include: according to network interface information generation RSS configuration file as the application one embodiment
Extract the network interface ID in network interface card information;
The corresponding CPU core number of the network interface ID is set;
The allocation of parameters of the corresponding CPU core of the network interface ID is set;
NumaNode where the network interface ID is set;
The distribution setting of specified network interface card logic processor.
Optionally, as the application one embodiment, the verification network interface RSS configuration result includes:
Network interface RSS configuration status is obtained using order " Get-NetAdapterRss ";
Judge whether the network interface RSS configuration succeeds according to the RSS configuration status:
It is then to show the network interface RSS configuration successful;
It is no, then it shows the network interface RSS configuration failure and shows respective profiles.
In order to facilitate the understanding of the present invention, below with the principle of network interface card RSS method of automatic configuration of the present invention, in conjunction with implementation
The process for carrying out automatic RSS configuration in example to network interface card, further retouches network interface card RSS method of automatic configuration provided by the invention
It states.
Specifically, automatized script is written in the network interface card RSS method of automatic configuration, realized by executing automatized script,
Include:
S1, the network interface information for obtaining network interface card.
<#
Rss turning scripts!
#>
[CmdletBinding()]
param
(
[init]$numa,
[init]$core_num,
[init] $ n1=0,
[init] $ n2=0,
[init]$net_num
)
$ hardware_info=Get-NetAdapterHardwareInfo
echo$hardware_info|Out-File-Force-Append"NetworkHardwareinfo.txt"
The off line message of system is obtained using Get-NetAdapterHardwareInfo to cease, and is saved in
Under NetworkHardwareinfo.txt file.
#get nics port name
$ line_1=gc NetworkHardwareinfo.txt | % { $ _ .split () [0] }
echo$line_1>>line1.txt
$ net_num=$ net_name.Length-3
$ array=3.. $ net_num
foreach($n in$array)
{
$ name=gc (line1.txt) [- $ n]
echo$name>>name.txt
}
Network interface card title is extracted from NetworkHardwareinfo.txt using Get-Content and foreach order,
It is saved in name.txt
#generate rss file
foreach($port in name.txt)
{
$ assign_or_not=Read-Host " if assign cpu core to $ port, if assign, please
input y/Y;if not OK,please input n/N!"
if(($assign_or_not-eq"y")-or($assign_or_not-eq"Y"))
{
$ numa=Read-host " Please input which numa to assign "
$ core_num=Read-Host " Please input the core number to assign "
$ n2=$ n1+2* $ core_num
echo"Set-NetAdapterrss-name"$name"-NumberOfReceiveQueues$core_num-
BaseProcessorGroup$numa-MaxProcessorGroup$numa-BaseProcessorNumber$n1-
MaxProcessorNumber$n2-MaxProcessors$core_num-NumaNode$numa–Profile
ClosestStatic">>rss.ps1
$ n1=$ n2
}
else
{
continue
}
}
All network interfaces are looped through using foreach, first determine whether network interface needs to carry out RSS configuration, if it is desired,
Then configured;It is this time recycled if it is not required, then jumping out.
S2, RSS configuration file is generated according to the network interface information.
Name: the network interface name of RSS is configured;
NumberOfReceiveQueues: the number for the CPU core that network interface needs to divide;
BaseProcessorGroup&MaxProcessorGroup: the NumaNode where network interface;
BaseProcessorNumber: the relevant parameter of specified network interface is given since which core of CPU;
MaxProcessorNumber: the relevant parameter of the last one core of specified network interface is given;
MaxProcessors: the CPU core number of specified network interface is given
NumaNode: the NumaNode where specified network interface
Profile: the distribution setting of specified network interface card logic processor.
S3, network interface RSS configuration is carried out according to the RSS configuration file.
Running configuration file carries out the RSS configuration of network interface.
S4, verification network interface RSS configuration result.
#check rss info
$ RSS=Get-NetAdapterRss
echo$rss
$ RSS_or_not=Read-Host " if RSS info is right, please input y/Y;if not,
please input n/N!"
if(($RSS_or_not-eq"y")-or($RSS_or_not-eq"Y"))
{
Write-Host"RSS is configured successfully!"-ForegroundColor Green
exit
}
else
{
Write-Host"RSS infomation is wrong,please check rss_script.ps1!"-
ForegroundColor Red
}
}
RSS distribution file has been executed, has checked whether to be allocated successfully, if it succeeds, output " RSS is configured
successfully!", if it fails, output " RSS infomation is wrong, please check rss_
script.ps1!".
If Fig. 2 shows, which includes:
Information acquisition unit 210, the information acquisition unit 210 are used to obtain the network interface information of network interface card;
File generating unit 220, the file generating unit 220 are used to generate RSS configuration text according to the network interface information
Part;
Execution unit 230 is configured, the configuration execution unit 230 is used to carry out network interface RSS according to the RSS configuration file
Configuration;
As a result verification unit 240, the result verification unit 240 is for verifying network interface RSS configuration result.
Optionally, as the application one embodiment, the information acquisition unit includes:
Circulation obtains module, is configured to obtain all network interface information using foreach circulation;
Configuration determination module is configured to judge whether the network interface has existed RSS configuration;
Module is cancelled in configuration, is configured to cancel the operation for the RSS configuration file for generating the network interface;
Information storage module is configured to store the network interface information to specified path.
Optionally, as the application one embodiment, the file generating unit includes:
Network interface extraction module is configured to extract the network interface ID in network interface card information;
Number setup module is configured to that the corresponding CPU core number of the network interface ID is arranged;
Parameter setting module is configured to that the allocation of parameters of the corresponding CPU core of the network interface ID is arranged;
Network interface setup module is configured to that the NumaNode where the network interface ID is arranged;
Setup module is distributed, the distribution setting of specified network interface card logic processor is configured to.
Optionally, as the application one embodiment, the result verification unit includes:
State acquisition module is configured to obtain network interface RSS configuration status using order " Get-NetAdapterRss ";
Condition judgment module is configured to judge whether the network interface RSS configuration succeeds according to the RSS configuration status;
Success display module, is configured to show the network interface RSS configuration successful;
File display module is configured to show the network interface RSS configuration failure and shows respective profiles.
Fig. 3 is a kind of structural schematic diagram of terminal installation 300 provided in an embodiment of the present invention, which can be with
For executing the method provided by the embodiments of the present application for updating heat dissipation policing parameter.
Wherein, which may include: processor 310, memory 320 and communication unit 330.These components
It is communicated by one or more bus, it will be understood by those skilled in the art that the structure of server shown in figure is not
The restriction to the application is constituted, it is also possible to hub-and-spoke configuration either busbar network, can also include more than illustrating
Or less component, perhaps combine certain components or different component layouts.
Wherein, which can be used for executing instruction for storage processor 310, and memory 320 can be by any class
The volatibility or non-volatile memories terminal or their combination of type are realized, such as static random access memory (SRAM), electricity
Erasable Programmable Read Only Memory EPROM (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory
(PROM), read-only memory (ROM), magnetic memory, flash memory, disk or CD.When executing instruction in memory 320
When being executed by processor 310, so that terminal 300 some or all of is able to carry out in following above method embodiment step.
Processor 310 is the control centre for storing terminal, utilizes each of various interfaces and the entire electric terminal of connection
A part by running or execute the software program and/or module that are stored in memory 320, and calls and is stored in storage
Data in device, to execute the various functions and/or processing data of electric terminal.The processor can be by integrated circuit
(Integrated Circuit, abbreviation IC) composition, such as the IC that can be encapsulated by single are formed, can also be by more of connection
The encapsulation IC of identical function or different function and form.For example, processor 310 can only include central processing unit
(Central Processing Unit, abbreviation CPU).In the application embodiment, CPU can be single operation core, can also
To include multioperation core.
Communication unit 330, for establishing communication channel, so that the storage terminal be allow to be led to other terminals
Letter.It receives the user data of other terminals transmission or sends user data to other terminals.
The application also provides a kind of computer storage medium, wherein the computer storage medium can be stored with program, the journey
Sequence may include step some or all of in each embodiment provided by the present application when executing.The storage medium can for magnetic disk,
CD, read-only memory (English: read-only memory, referred to as: ROM) or random access memory (English:
Random access memory, referred to as: RAM) etc..
Therefore, the application is that each network interface generates corresponding RSS configuration according to network interface information by the network interface information of acquisition network interface card
File, the configuration file for executing generation can be realized network interface card RSS configuration, verify after the completion of configuration to configuration result.This hair
The bright Operating Complexity for improving conventional arrangement method fully achieves automation RSS configuration, for multiple network interfaces or a variety of nets
The RSS configuration of card is greatly saved manpower and resource, the present embodiment attainable technical effect may refer to retouching above
It states, details are not described herein again.
It is required that those skilled in the art can be understood that the technology in the embodiment of the present application can add by software
The mode of general hardware platform realize.Based on this understanding, the technical solution in the embodiment of the present application substantially or
Say that the part that contributes to existing technology can be embodied in the form of software products, which is stored in
Such as USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory in one storage medium
The various media that can store program code such as (RAM, Random Access Memory), magnetic or disk, including it is several
Instruction is used so that a terminal (can be personal computer, server or second terminal, the network terminal etc.) is held
Row all or part of the steps of the method according to each embodiment of the present invention.
Same and similar part may refer to each other between each embodiment in this specification.Implement especially for terminal
For example, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring in embodiment of the method
Explanation.
In several embodiments provided herein, it should be understood that disclosed systems, devices and methods, it can be with
It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit
It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components
It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or
The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit
It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
Although by reference to attached drawing and combining the mode of preferred embodiment to the present invention have been described in detail, the present invention
It is not limited to this.Without departing from the spirit and substance of the premise in the present invention, those of ordinary skill in the art can be to the present invention
Embodiment carry out various equivalent modifications or substitutions, and these modifications or substitutions all should in covering scope of the invention/appoint
What those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, answer
It is included within the scope of the present invention.Therefore, protection scope of the present invention is answered described is with scope of protection of the claims
It is quasi-.
Claims (10)
1. a kind of network interface card RSS method of automatic configuration, which is characterized in that the described method includes:
Obtain the network interface information of network interface card;
RSS configuration file is generated according to the network interface information;
Network interface RSS configuration is carried out according to the RSS configuration file;
Verify network interface RSS configuration result.
2. the method according to claim 1, wherein the network interface information for obtaining network interface card includes:
All network interface information are obtained using foreach circulation;
Judge whether the network interface has existed RSS configuration:
It is the operation for then cancelling the RSS configuration file for generating the network interface;
It is no, then the network interface information is stored to specified path.
3. the method according to claim 1, wherein described include: according to network interface information generation RSS configuration file
Extract the network interface ID in network interface card information;
The corresponding CPU core number of the network interface ID is set;
The allocation of parameters of the corresponding CPU core of the network interface ID is set;
NumaNode where the network interface ID is set;
The distribution setting of specified network interface card logic processor.
4. the method according to claim 1, wherein the verification network interface RSS configuration result includes:
Network interface RSS configuration status is obtained using order " Get-NetAdapterRss ";
Judge whether the network interface RSS configuration succeeds according to the RSS configuration status:
It is then to show the network interface RSS configuration successful;
It is no, then it shows the network interface RSS configuration failure and shows respective profiles.
5. a kind of network interface card RSS automatically configures device, which is characterized in that described device includes:
Information acquisition unit is configured to obtain the network interface information of network interface card;
File generating unit is configured to generate RSS configuration file according to the network interface information;
Execution unit is configured, is configured to carry out network interface RSS configuration according to the RSS configuration file;
As a result verification unit is configured to verification network interface RSS configuration result.
6. device according to claim 5, which is characterized in that the information acquisition unit includes:
Circulation obtains module, is configured to obtain all network interface information using foreach circulation;
Configuration determination module is configured to judge whether the network interface has existed RSS configuration;
Module is cancelled in configuration, is configured to cancel the operation for the RSS configuration file for generating the network interface;
Information storage module is configured to store the network interface information to specified path.
7. device according to claim 5, which is characterized in that the file generating unit includes:
Network interface extraction module is configured to extract the network interface ID in network interface card information;
Number setup module is configured to that the corresponding CPU core number of the network interface ID is arranged;
Parameter setting module is configured to that the allocation of parameters of the corresponding CPU core of the network interface ID is arranged;
Network interface setup module is configured to that the NumaNode where the network interface ID is arranged;
Setup module is distributed, the distribution setting of specified network interface card logic processor is configured to.
8. device according to claim 5, which is characterized in that the result verification unit includes:
State acquisition module is configured to obtain network interface RSS configuration status using order " Get-NetAdapt erRs s ";
Condition judgment module is configured to judge whether the network interface RSS configuration succeeds according to the RSS configuration status;
Success display module, is configured to show the network interface RSS configuration successful;
File display module is configured to show the network interface RSS configuration failure and shows respective profiles.
9. a kind of terminal characterized by comprising
Processor;
The memory executed instruction for storage processor;
Wherein, the processor is configured to perform claim requires the described in any item methods of 1-4.
10. a kind of computer readable storage medium for being stored with computer program, which is characterized in that the program is executed by processor
Shi Shixian method for example of any of claims 1-4.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201811476132.6A CN109586965A (en) | 2018-12-04 | 2018-12-04 | A kind of network interface card RSS method of automatic configuration, device, terminal and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201811476132.6A CN109586965A (en) | 2018-12-04 | 2018-12-04 | A kind of network interface card RSS method of automatic configuration, device, terminal and storage medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN109586965A true CN109586965A (en) | 2019-04-05 |
Family
ID=65926988
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201811476132.6A Pending CN109586965A (en) | 2018-12-04 | 2018-12-04 | A kind of network interface card RSS method of automatic configuration, device, terminal and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN109586965A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111193668A (en) * | 2019-12-10 | 2020-05-22 | 中移(杭州)信息技术有限公司 | Flow distribution method and device, computer equipment and storage medium |
Citations (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20120210337A1 (en) * | 2010-04-23 | 2012-08-16 | International Business Machines Corporation | Resource Affinity Via Dynamic Reconfiguration for Multi-Queue Network Adapters |
| US20150046618A1 (en) * | 2011-10-25 | 2015-02-12 | Dell Products, Lp | Method of Handling Network Traffic Through Optimization of Receive Side Scaling4 |
| CN104639578A (en) * | 2013-11-08 | 2015-05-20 | 华为技术有限公司 | Multi-protocol-stack load balancing method and multi-protocol-stack load balancing device |
| CN104811353A (en) * | 2015-05-05 | 2015-07-29 | 浪潮电子信息产业股份有限公司 | Linux system based automatic network card performance test environment construction method |
| CN105530143A (en) * | 2015-12-11 | 2016-04-27 | 浪潮电子信息产业股份有限公司 | Netperf-based multi-network-port testing method |
| CN106250217A (en) * | 2016-07-22 | 2016-12-21 | 无锡华云数据技术服务有限公司 | Synchronous dispatching method between a kind of many virtual processors and dispatching patcher thereof |
| CN106385448A (en) * | 2016-09-13 | 2017-02-08 | 郑州云海信息技术有限公司 | Method and device for communicating between client and server |
| CN106533755A (en) * | 2016-11-08 | 2017-03-22 | 许继集团有限公司 | IEC61850 device internet port automatic configuration method |
| CN107547274A (en) * | 2017-08-22 | 2018-01-05 | 新华三大数据技术有限公司 | Multi-netmouth polymerization and device |
| CN107872365A (en) * | 2017-10-23 | 2018-04-03 | 上海斐讯数据通信技术有限公司 | A kind of Ethernet fourdrinier wire beats stream performance test methods and system |
-
2018
- 2018-12-04 CN CN201811476132.6A patent/CN109586965A/en active Pending
Patent Citations (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20120210337A1 (en) * | 2010-04-23 | 2012-08-16 | International Business Machines Corporation | Resource Affinity Via Dynamic Reconfiguration for Multi-Queue Network Adapters |
| US20150046618A1 (en) * | 2011-10-25 | 2015-02-12 | Dell Products, Lp | Method of Handling Network Traffic Through Optimization of Receive Side Scaling4 |
| CN104639578A (en) * | 2013-11-08 | 2015-05-20 | 华为技术有限公司 | Multi-protocol-stack load balancing method and multi-protocol-stack load balancing device |
| CN104811353A (en) * | 2015-05-05 | 2015-07-29 | 浪潮电子信息产业股份有限公司 | Linux system based automatic network card performance test environment construction method |
| CN105530143A (en) * | 2015-12-11 | 2016-04-27 | 浪潮电子信息产业股份有限公司 | Netperf-based multi-network-port testing method |
| CN106250217A (en) * | 2016-07-22 | 2016-12-21 | 无锡华云数据技术服务有限公司 | Synchronous dispatching method between a kind of many virtual processors and dispatching patcher thereof |
| CN106385448A (en) * | 2016-09-13 | 2017-02-08 | 郑州云海信息技术有限公司 | Method and device for communicating between client and server |
| CN106533755A (en) * | 2016-11-08 | 2017-03-22 | 许继集团有限公司 | IEC61850 device internet port automatic configuration method |
| CN107547274A (en) * | 2017-08-22 | 2018-01-05 | 新华三大数据技术有限公司 | Multi-netmouth polymerization and device |
| CN107872365A (en) * | 2017-10-23 | 2018-04-03 | 上海斐讯数据通信技术有限公司 | A kind of Ethernet fourdrinier wire beats stream performance test methods and system |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111193668A (en) * | 2019-12-10 | 2020-05-22 | 中移(杭州)信息技术有限公司 | Flow distribution method and device, computer equipment and storage medium |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN106484622B (en) | Test method, apparatus and system | |
| CN106464535B (en) | Method and system for managing capabilities in a virtualized network | |
| CN111459665A (en) | Distributed edge computing system and distributed edge computing method | |
| CN110389843A (en) | A kind of business scheduling method, device, equipment and readable storage medium storing program for executing | |
| CN111563820B (en) | Intelligent contract parallel execution method and device | |
| CN104244243B (en) | Terminal peripheral hardware control method, Machine To Machine gateway and communication system | |
| CN109992504A (en) | A kind of server Redfish test method, system, terminal and storage medium | |
| CN109446097A (en) | A kind of regression test case selection method, device, terminal and storage medium | |
| CN104717576B (en) | The dispositions method and management system of passive optical-fiber network access | |
| CN109788052A (en) | A kind of server configuration remote inquiry method, apparatus, terminal and storage medium | |
| CN109858257A (en) | Access control method and device | |
| CN114647593A (en) | Automatic storage testing method and device capable of dynamically adjusting resources | |
| CN117834174A (en) | Power data encryption transmission method, system, terminal and storage medium | |
| CN110704182A (en) | Deep learning resource scheduling method and device and terminal equipment | |
| CN113297080A (en) | Simple test method for Internet of things platform | |
| CN109815070A (en) | A HOST-BOX server stability testing method, device, terminal and storage medium | |
| WO2017031931A1 (en) | Device, board card and method for signal output | |
| CN109857471A (en) | Method, apparatus, terminal and the storage medium of the tactful real-time synchronization of electricity under a kind of BIOS and BMC | |
| CN109491903A (en) | A kind of automatic test script splicing processing method, device, terminal and storage medium | |
| CN109802866A (en) | A kind of network interface card SR-IOV function test method, device, terminal and storage medium | |
| CN109586965A (en) | A kind of network interface card RSS method of automatic configuration, device, terminal and storage medium | |
| CN107222618A (en) | Terminal screenshotss method and device | |
| CN109086214A (en) | A kind of database write performance test methods, device, terminal and storage medium | |
| CN112532405A (en) | Software Defined Network (SDN) network construction method and device | |
| CN114389868B (en) | Cloud resource allocation method, system, device and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190405 |