[openib-general] [PATCH] IB/perftest: Fix get_median, size of delta, usage(), worst latency

CH Ganapathi cganapathi at novell.com
Thu Aug 31 21:35:52 PDT 2006


>> "Michael S. Tsirkin" <mst at mellanox.co.il> 8/31/06 2:59 PM >>>
> 3) Worst latency is delta[iters - 2] in read_lat.c, not delta[iters -
3].

>> could you explain this last bit please?

delta having (iters - 1) elements has index range: 0 to (iters - 2).
After 
sorting delta[iters - 2] is the maximum.

Regards,
Ganapathi.





More information about the general mailing list