DEV Community

Qing
Qing

Posted on

Performance Tuning-Analyzing Hardware Bottlenecks-Network

You can run the sar or ifconfig command to check the network status on each node in openGauss and analyze whether performance bottlenecks caused by network faults occur.

Checking Network Status
Check the server network status using either of the following two methods:

· Log in to the server as user root and run the following commands to check the network connection:

Image description

· errors indicates the total number of error packets received.
· dropped indicates the number of packets that have reached the ring buffer but are discarded before being copied to the memory due to system faults, for example, insufficient memory.
· overruns indicates the number of packets that have been discarded from the ring buffer. They are discarded because the kernel is incapable of processing ring buffer (a.k.a. Driver Queue) transmission.
In the command output, if the values of the three parameters keep increasing, the network is overloaded or hardware (such as NICs and memory) faults exist.

· Run the sar command to check the network connection.

Image description

rxkB/s indicates the number of kilobytes of data received per second and txkB/s indicates the number of those sent per second.

In the command output, check whether the amount of data received and sent by any NIC has reached the upper limit.

After the check, press Ctrl+Z to exit.

Top comments (0)