***SPAM*** Re: [ofw] Adding Performance Counters support for WinOF

Hal Rosenstock hal.rosenstock at gmail.com
Sun Mar 22 08:26:26 PDT 2009


2009/3/22 Moshe Haim <Moshe-ha at orbotech.com>:
> Hi,
>
> Took me a while :)
>
> I repeated the experiment in Windows and in Linux and I was mistaken.
> Both in Linux and windows the counters report the amount of transferred bytes / 4.
> This basically means that I'm having the same issue with counters filling up in Linux as in windows - which make sense since we have only 32-bits.
>
> Now I have another question. There is an additional counter "set" called Recv/XmitPkts, which obviously grows slower than number of bytes.
> And this caused me to think - If I have the packet size and the counter in packets I can get to a much higher limit of transferred bytes till the counter hits 32-bit.
>
> 1. Is the pkt size constant per implementation - for instance let's say 512 bytes in Windows (WinOF) and some other value in OFED for Linux?
> 2. Can I get the packet size through some API?

The packet size is variable.

-- Hal

<snip...>



More information about the ofw mailing list