A customer has reported that 100 transfers for large sizes
is insufficient to achieve the top bandwidth over a high
latency link. Contrary, 100,000 transfers is too high for
small latency ping-pong over a slow connection.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
int size_to_count(int size)
{
if (size >= (1 << 20))
- return 100;
+ return 300;
else if (size >= (1 << 16))
return 1000;
else if (size >= (1 << 10))
return 10000;
else
- return 100000;
+ return 30000;
}
void format_buf(void *buf, int size)