Hi Om,

This is a naive advice though.

You could add "printk" and some counters in the networking code where the
checksum is being computed.
Then in the var/log see these counters, but this is bad bcoz u wil have to
recomile ur code.
Let me know if u get any short cut to this.

thanks,
siddhesh.

On Mon, Jan 5, 2009 at 11:13 AM, Om <[email protected]> wrote:

> Hi,
> I just completed a network driver for a 100Mbps controller. for performance
> measurement, when I run netperf and netserver with UDP_STREAM, I get 98Mbps.
> But with TCP, I get 0.03 Mbps.
>
> I think tcp checksumming fails a lot.
>
> How do I go about finding out the problem? What are the tools that helps me
> to diagnose it and peep into the network subsystem in linux?
>
> I would like to get info on
> 1. how many packets made into stack?
> 2. of them, how many failed checksum?
> 3. How many did the application receive?
>
> ..etc.
> netstat -s or iptstate did not tell me all these.
>
> Thanks,
> Om.
>
> --
> To unsubscribe from this list: send an email with
> "unsubscribe kernelnewbies" to [email protected]
> Please read the FAQ at http://kernelnewbies.org/FAQ
>
>


-- 
Thank You,
Siddhesh M. Divekar.

Reply via email to