Wednesday, March 23, 2016

Network packets dropping?

hi all,

I have some of my linux servers having network packets dropped especially when it is on the receiving parts. It can be noticed at the ifconfig command. With this dragging on the OS, it will degrade the performance. I have tried many way to solve the problem. Some of action that I did was upgrade the firmware version, install of driver, and even bugging the network engineer, claiming the problem was originate from network piece. Basically, I am desperated but, not able to find the answer.

[hiuy@nasilemak~]$ ifconfig
bond0     Link encap:Ethernet  HWaddr 8C:DC:D4:0D:22:50
          inet addr:10.104.192.1  Bcast:10.104.192.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MASTER MULTICAST  MTU:1500  Metric:1
          RX packets:1798666372532 errors:31860797 dropped:806 overruns:31859889 frame:908
          TX packets:1350275497458 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:366956654314385 (333.7 TiB)  TX bytes:348508200310892 (316.9 TiB)

At last, I have seen some internet posting that Centos 6, couldn't handling the CPU interrupts well. if you can watch "cat the /proc/interrupts". Many of the kernel requests are performed by a single CPU, causing it too overwhelming. The result of this, you have to spread the load evenly to multiple CPUs. Also, it has been a waste if you are not using it.

The answer of this problem will be installing a package called, irqbalance, then start it right away. The result is heavenly revealed. My network problem is gone. Also, when interrupts are spread across all of the CPUs. Magically resolved my problem.

No comments: