How to avoid packet drop

Abu Rasheda rcpilot2010 at gmail.com
Fri Oct 4 14:07:43 EDT 2013


> I am running a tool that is a packet generator.
> With that tool i am able to achieve line/link rate on my 1Gbps network.
> I have two queries
>
> Query 1) When i run the same tool on 10Gbps network i am able to achieve
> only 5Gbps rate.( by network i mean i have two machines with Centos 6.4
> connected back to back.)
>

If your question is why you are not able to get line rate on 10 Gb
interface, try faster machines. Dell T110 can do line rate easily and Dell
T620 can do 2 line rates (for 10 Gb) simultaneously

Query 2) When i run the packet generator on the 1Gbps link or 10Gbps link i
> see a packet drop by kernel ( result of tcpdump -i eth2).How can i minimize
> the packet drop?
>

If you are referring to packet drop by tcpdump (when you ctrl-c it), this
packet is not dropped by kernel stack, but by tcpdump filter. For packets
dropped by stack you can look at sats in /proc or look in ifconfig for
packets dropped by the hardware.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20131004/843b7038/attachment.html 


More information about the Kernelnewbies mailing list