[netperf-talk] netperf reporting 0 bytes/s

Rick Jones rick.jones2 at hp.com
Mon Dec 19 10:02:55 PST 2005


Srinivasan S wrote:
> Hi Rick,
> after adding few prints in netperf I observer some value in bytes_received
> and in thruput. when printing in %llx format, but in %f it is all zeros. Is
> it got to do any thing with endian and network to host conversions?

Likely as not differences in the format of floatingpoint numbers.  Sadly, 
netperf echanges floating point numbers because "way back when" there wasn't 
much support for 64-bit integers.  Fixing your problem may require changing 
netperf to move 64-bit integers around.

Short-term you can hack around the problem for the TCP tests at least - but NOT 
the UDP tests - by using the netperf side stats rather than the netserver side 
stats.

rick

I'm going to cc this to netperf-talk because it would be useful for that to be 
in the record and perhaps it will help find someone willing and able to add the 
64-bit integer stuff to the messaging over the holidays :)


More information about the netperf-talk mailing list