I used cyclets_to_units() get

Bandwidth peak (#0 to #972): 1852.72 MByte/sec
Bandwidth average: 1852.67 MByte/sec

Which is far away from the 1X (2.5Gbit/s) throughtput.

This per secs cycles value is incorrect. Either change the measurment to gettimeofday() to measure MB/s or
measure the how many cycles per sec by doing something like that:

#define MEASURE_TIME 16

get_cycles(tbegin);
sleep(MEASURE_TIME);
get_cycles(tend)
cycles_to_units = (tend-tbegin)/MEASURE_TIME

to caculate the right MB/s throughput.

Thanks
Shirley Ma
IBM Linux Technology Center
15300 SW Koll Parkway
Beaverton, OR 97006-6063
Phone(Fax): (503) 578-7638

_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to