{"id":3196,"date":"2019-06-25T13:25:27","date_gmt":"2019-06-25T05:25:27","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=3196"},"modified":"2022-05-20T15:37:55","modified_gmt":"2022-05-20T07:37:55","slug":"iperf","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/iperf","title":{"rendered":"iperf\u547d\u4ee4 – \u7f51\u7edc\u6027\u80fd\u6d4b\u8bd5"},"content":{"rendered":"\n
iperf\u662f\u4e00\u6b3e\u8fdb\u884c\u7f51\u7edc\u6027\u80fd\u6d4b\u8bd5\u7684\u5de5\u5177\u547d\u4ee4\uff0c\u7531\u7f8e\u56fd\u4f0a\u5229\u8bfa\u65af\u5927\u5b66\u7814\u53d1\u548c\u7ef4\u62a4\u3002\u53ef\u4ee5\u7528\u6765\u6d4b\u8bd5\u4e00\u4e9b\u7f51\u7edc\u8bbe\u5907\u5982\u8def\u7531\u5668\uff0c\u9632\u706b\u5899\uff0c\u4ea4\u6362\u673a\u7b49\u7684\u6027\u80fd\u3002<\/p>\n\n\n\n
\u6027\u80fd\u6d4b\u8bd5\u662f\u5728\u670d\u52a1\u5668\u5df2\u7ecf\u542f\u52a8\u670d\u52a1\u7684\u573a\u666f\u4e0b\u8fdb\u884c\u7684\uff0c\u670d\u52a1\u5668\u9700\u5148\u6267\u884c\u201ciperf -s\u201d\u6216\u201ciperf3 -s\u201d\u547d\u4ee4\u3002<\/p>\n\n\n\n
\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>iperf [\u53c2\u6570]<\/p>\n\n\n\n \u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n \u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n \u5ba2\u6237\u7aef\u5411\u670d\u52a1\u5668\u53d1\u8d77\u7d2f\u8ba110\u79d2\u3001\u6bcf\u79d2\u6570\u636e\u5305\u4e3a100M\u7684\u8bf7\u6c42\uff1a<\/p>\n\n\n\n \u57fa\u4e8e\u9ed8\u8ba4TCP\u534f\u8bae\uff0c\u6d4b\u8bd5\u5ba2\u6237\u7aef\u5230\u670d\u52a1\u5668\u7684\u4e0a\u4f20\u901f\u5ea6\uff1a<\/p>\n\n\n\n iperf\u662f\u4e00\u6b3e\u8fdb\u884c\u7f51\u7edc\u6027\u80fd\u6d4b\u8bd5\u7684\u5de5\u5177\u547d\u4ee4\uff0c\u7531\u7f8e\u56fd\u4f0a\u5229\u8bfa\u65af\u5927\u5b66\u7814\u53d1\u548c\u7ef4\u62a4\u3002\u53ef\u4ee5\u7528\u6765\u6d4b\u8bd5\u4e00\u4e9b\u7f51\u7edc\u8bbe\u5907\u5982\u8def\u7531\u5668\uff0c\u9632 […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/3196"}],"collection":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/comments?post=3196"}],"version-history":[{"count":14,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/3196\/revisions"}],"predecessor-version":[{"id":9878,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/3196\/revisions\/9878"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=3196"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=3196"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=3196"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}-l<\/td> \u8bbe\u7f6e\u8bfb\u5199\u7f13\u51b2\u533a\u7684\u957f\u5ea6<\/td><\/tr> -u<\/td> \u4f7f\u7528UDP\u534f\u8bae<\/td><\/tr> -c<\/td> \u8fdb\u5165\u5ba2\u6237\u7aef\u6a21\u5f0f<\/td><\/tr> -p<\/td> \u8bbe\u7f6e\u7aef\u53e3\uff0c\u4e0e\u670d\u52a1\u5668\u7aef\u7684\u76d1\u542c\u7aef\u53e3\u4e00\u81f4<\/td><\/tr> -o<\/td> \u91cd\u5b9a\u5411\u8f93\u51fa\u5230\u6307\u5b9a\u6587\u4ef6 <\/td><\/tr> -b<\/td> \u8bbe\u7f6e\u6570\u636e\u5305\u5927\u5c0f\uff08bits\/sec\uff09<\/td><\/tr> -t<\/td> \u8bbe\u7f6e\u4f20\u8f93\u7684\u603b\u65f6\u95f4<\/td><\/tr> -v<\/td> \u663e\u793a\u7248\u672c\u4fe1\u606f\u548c\u7f16\u8bd1\u4fe1\u606f\u5e76\u9000\u51fa <\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n [root@linuxcool ~]# iperf -c 192.168.10.10 -b 100M -t 10<\/strong>\r\nConnecting to host 192.168.10.10, port 5201\r\n[ 5] local 192.168.10.10 port 44256 connected to 192.168.10.10 port 5201\r\n[ ID] Interval Transfer Bitrate Retr Cwnd\r\n[ 5] 0.00-1.00 sec 12.0 MBytes 101 Mbits\/sec 0 639 KBytes \r\n[ 5] 1.00-2.00 sec 11.9 MBytes 99.6 Mbits\/sec 0 639 KBytes \r\n[ 5] 2.00-3.00 sec 12.0 MBytes 101 Mbits\/sec 0 639 KBytes \r\n[ 5] 3.00-4.00 sec 11.9 MBytes 99.7 Mbits\/sec 0 639 KBytes \r\n[ 5] 4.00-5.00 sec 11.9 MBytes 99.6 Mbits\/sec 0 639 KBytes \r\n[ 5] 5.00-6.00 sec 12.0 MBytes 101 Mbits\/sec 0 639 KBytes \r\n[ 5] 6.00-7.00 sec 11.9 MBytes 99.6 Mbits\/sec 0 639 KBytes \r\n[ 5] 7.00-8.00 sec 11.9 MBytes 99.6 Mbits\/sec 0 639 KBytes \r\n[ 5] 8.00-9.00 sec 12.0 MBytes 101 Mbits\/sec 0 639 KBytes \r\n[ 5] 9.00-10.00 sec 11.9 MBytes 99.6 Mbits\/sec 0 639 KBytes \r\n- - - - - - - - - - - - - - - - - - - - - - - - -\r\n[ ID] Interval Transfer Bitrate Retr\r\n[ 5] 0.00-10.00 sec 119 MBytes 100 Mbits\/sec 0 sender\r\n[ 5] 0.00-10.04 sec 119 MBytes 99.7 Mbits\/sec receiver\r\n\r\niperf Done.\r<\/pre>\n\n\n\n
[root@linuxcool ~]# iperf -c 192.168.10.10 -t 10<\/strong>\r\nConnecting to host 192.168.10.10, port 5201\r\n[ 5] local 192.168.10.10 port 44326 connected to 192.168.10.10 port 5201\r\n[ ID] Interval Transfer Bitrate Retr Cwnd\r\n[ 5] 0.00-1.00 sec 1.50 GBytes 12.8 Gbits\/sec 0 1.69 MBytes \r\n[ 5] 1.00-2.00 sec 1.29 GBytes 11.1 Gbits\/sec 0 2.12 MBytes \r\n[ 5] 2.00-3.00 sec 1.34 GBytes 11.5 Gbits\/sec 0 2.62 MBytes \r\n[ 5] 3.00-4.00 sec 1.47 GBytes 12.7 Gbits\/sec 0 3.18 MBytes \r\n[ 5] 4.00-5.00 sec 1.45 GBytes 12.5 Gbits\/sec 0 3.18 MBytes \r\n[ 5] 5.00-6.00 sec 1.61 GBytes 13.9 Gbits\/sec 0 3.18 MBytes \r\n[ 5] 6.00-7.00 sec 1.54 GBytes 13.2 Gbits\/sec 0 3.18 MBytes \r\n[ 5] 7.00-8.00 sec 1.51 GBytes 13.0 Gbits\/sec 0 3.18 MBytes \r\n[ 5] 8.00-9.00 sec 1.66 GBytes 14.2 Gbits\/sec 0 3.18 MBytes \r\n[ 5] 9.00-10.00 sec 1.66 GBytes 14.2 Gbits\/sec 0 3.18 MBytes \r\n- - - - - - - - - - - - - - - - - - - - - - - - -\r\n[ ID] Interval Transfer Bitrate Retr\r\n[ 5] 0.00-10.00 sec 15.0 GBytes 12.9 Gbits\/sec 0 sender\r\n[ 5] 0.00-10.03 sec 15.0 GBytes 12.9 Gbits\/sec receiver\r\n\r\niperf Done.\r<\/pre>\n","protected":false},"excerpt":{"rendered":"