我正在尝试使用netperf实用程序测试网络的吞吐量,并希望以不同的比特率发送数据。iperf中有-b选项来控制此,但我正在netperf中寻找相同的选项。
如果您
./configure netperf
使用--enable-intervals
或--enable-spin
,然后构建netperf
二进制文件,将启用两个附加的全局命令行选项:
-w <time> burst interval - time between bursts of sends etc
-b <count> burst count - number of sends, etc to perform in an interval
因此,您可以控制netperf
发送数据的速率。