Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Redhat Linux system based realization method for network card performance optimization

An implementation method and network card technology, applied in the field of network card optimization, can solve the problems of consuming CPU resources, wasting CPU time, hardware interruption, etc.

Inactive Publication Date: 2016-05-04
LANGCHAO ELECTRONIC INFORMATION IND CO LTD
View PDF3 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At present, servers are generally equipped with multi-core CPUs, multiple network cards, and multiple hard disks. Hardware interruptions occur frequently. Using the above methods is a waste of CPU time and consumes too much CPU resources.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Redhat Linux system based realization method for network card performance optimization
  • Redhat Linux system based realization method for network card performance optimization

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] An implementation method based on network card performance optimization under RedhatLinux system, using system commands to find the interrupt number allocated by the relevant system for the network card, by grabbing the eth* character in the interrupt file, find the eth* interrupt number, and modify it through the system echo command The CPU that handles the interrupt distributes the interrupt to the less loaded CPU.

[0019] Use the system cat command to find the interrupt number allocated by the network card in the smp_affinity file of the relevant system.

[0020] When a network card is assigned multiple interrupt numbers, modify the interrupt processing CPU for each interrupt through the system echo command, and assign each interrupt to multiple CPUs with lighter loads.

[0021] According to the method described above, the present invention will be further described in conjunction with the accompanying drawings and the summary of the invention.

[0022] Prepare the...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a Redhat Linux system based realization method for network card performance optimization, and belongs to the technical field of network card optimization. An interrupt number allocated to a network card by a related system is found by utilizing a system command; an interrupt number of eth* is found by capturing an eth* character in an interrupt file; and a CPU modifying and processing an interrupt through a system echo instruction allocates the interrupt to a CPU with a relatively small load, so that the response time of a database can be effectively shortened, the performance of the network card can be optimized, the CPU can be monopolized by the interrupt of the network card, the burden of other CPUs can be reduced, the integral processing efficiency can be improved, and the network card can obtain higher bandwidth and is better in performance; and furthermore, IRQs are reasonably balanced according to characteristics of production environments and applications, so that the integral throughput capability and performance of the system can be improved.

Description

technical field [0001] The invention discloses a method for realizing network card performance optimization, which belongs to the technical field of network card optimization, and specifically relates to a method for realizing network card performance optimization based on a RedhatLinux system. Background technique [0002] Under the Linux system, by default, hardware device interruptions are processed by polling, and the hardware status is queried regularly through the CPU, and then processed according to the priority. This method works better when the server load is light, and can also balance the processing Each device is interrupted, but this method is a waste of CPU time. Since each hardware device has an interrupt, the system will assign an interrupt to each hardware device. The CPU distinguishes the hardware device through the interrupt number. The hardware device generates an interrupt and sends it to the interrupt controller, and then the interrupt controller sends ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/50
CPCG06F9/505
Inventor 李萌
Owner LANGCHAO ELECTRONIC INFORMATION IND CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products