{"id":2682,"date":"2012-06-02T22:38:03","date_gmt":"2012-06-02T19:38:03","guid":{"rendered":"http:\/\/skeletor.org.ua\/?p=2682"},"modified":"2023-03-13T11:07:08","modified_gmt":"2023-03-13T09:07:08","slug":"iperfttcp","status":"publish","type":"post","link":"https:\/\/skeletor.org.ua\/?p=2682","title":{"rendered":"\u0418\u0437\u043c\u0435\u0440\u044f\u0435\u043c \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f"},"content":{"rendered":"<p>\u0415\u0441\u043b\u0438 \u043f\u043e\u044f\u0432\u0438\u043b\u0430\u0441\u044c \u0437\u0430\u0434\u0430\u0447\u0430 \u0438\u0437\u043c\u0435\u0440\u044f\u0442\u044c \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u044b \u043c\u0435\u0436\u0434\u0443 2-\u043c\u044f \u0445\u043e\u0441\u0442\u0430\u043c\u0438, \u0442\u043e \u043b\u0443\u0447\u0448\u0435\u0433\u043e \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0430, \u0447\u0435\u043c <strong>iperf\/ttcp<\/strong> \u043d\u0435 \u043d\u0430\u0439\u0442\u0438.<\/p>\n<p>\u041e\u0431\u0430 \u044d\u0442\u0438\u0445 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0430 \u043d\u0443\u0436\u043d\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u0441 \u043e\u0431\u0435\u0438\u0445 \u043a\u043e\u043d\u0446\u043e\u0432 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c\u043e\u0439 \u0442\u0440\u0430\u0441\u0441\u044b.<\/p>\n<p><!--more--><\/p>\n<p><strong><span style=\"color: #ff0000;\">1) ttcp<\/span><\/strong><\/p>\n<p>\u041d\u0430 \u043f\u0435\u0440\u0432\u043e\u0439 (<strong>ip=10.5.5.171<\/strong>) \u043c\u0430\u0448\u0438\u043d\u0435 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c<\/p>\n<p><code>$ttcp -r<\/code><\/p>\n<p>\u041d\u0430 \u0432\u0442\u043e\u0440\u043e\u0439 (<strong>10.5.5.170<\/strong>)<\/p>\n<p><code>$ttcp -t 10.5.5.171<\/code><\/p>\n<p>\u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0432\u043e\u0442 \u0442\u0430\u043a\u043e\u0439 \u0432\u044b\u0432\u043e\u0434:<\/p>\n<p><code>$ \/opt\/csw\/bin\/ttcp -t 10.5.5.171<br \/>\nttcp-t: buflen=8192, nbuf=2048, align=16384\/0, port=5001 tcp -&gt; 10.5.5.171<br \/>\nttcp-t: socket<br \/>\nttcp-t: nodelay<br \/>\nttcp-t: connect<br \/>\nttcp-t: 16777216 bytes in 0.39 real seconds = 42008.64 KB\/sec +++<br \/>\nttcp-t: 2048 I\/O calls, msec\/call = 0.20, calls\/sec = 5251.08<br \/>\nttcp-t: 0.0user 0.3sys 0:00real 87% 0i+0d 0maxrss 0+0pf 26+29csw<\/code><\/p>\n<p><code><\/code>\u0414\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0439 \u043f\u043e\u0432\u0442\u043e\u0440\u043d\u043e\u0439 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u043f\u0440\u0438\u0434\u0451\u0442\u0441\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u0443\u0442\u0438\u043b\u0438\u0442\u0443 \u0437\u0430\u043d\u043e\u0432\u043e \u043d\u0430 \u043e\u0431\u0435\u0438\u0445 \u043a\u043e\u043d\u0446\u0430\u0445.<\/p>\n<p><strong><span style=\"color: #ff0000;\">2) iperf<\/span><\/strong><\/p>\n<p>\u041d\u0430 \u043f\u0435\u0440\u0432\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u0435 (<strong>10.5.5.141<\/strong>):<\/p>\n<pre>&gt; iperf -s\n------------------------------------------------------------\nServer listening on TCP port 5001\nTCP window size: 64.0 KByte (default)\n------------------------------------------------------------\n[  4] local 10.5.5.141 port 5001 connected with 10.5.5.140 port 38794\n[ ID] Interval       Transfer     Bandwidth\n[  4]  0.0-10.0 sec   940 MBytes   788 Mbits\/sec<\/pre>\n<p>\u043d\u0430 \u0432\u0442\u043e\u0440\u043e\u0439 (<strong>10.5.5.140<\/strong>):<\/p>\n<pre>$ iperf -c 10.5.5.141\n------------------------------------------------------------\nClient connecting to 10.5.5.141, TCP port 5001\nTCP window size: 16.0 KByte (default)\n------------------------------------------------------------\n[  3] local 10.5.5.140 port 38794 connected with 10.5.5.141 port 5001\n[ ID] Interval       Transfer     Bandwidth\n[  3]  0.0-10.0 sec    940 MBytes    788 Mbits\/sec<\/pre>\n<p>\u0418\u043d\u043e\u0433\u0434\u0430 \u0431\u044b\u0432\u0430\u044e\u0442 \u043c\u043e\u043c\u0435\u043d\u0442\u044b, \u043a\u043e\u0433\u0434\u0430 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0432 1 \u043f\u043e\u0442\u043e\u043a \u043d\u0435 \u0434\u0430\u0451\u0442 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u0432, \u0442\u043e\u0433\u0434\u0430 \u043d\u0443\u0436\u043d\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u0432 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u0442\u043e\u043a\u043e\u0432.<\/p>\n<p><code>$ iperf -c 10.5.5.141 -i10 -t20 -P 5<\/code><\/p>\n<p><strong><span style=\"color: #ff0000;\">3)\u00a0Speedtest<\/span><\/strong><\/p>\n<p>\u041e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f, \u0435\u0441\u0442\u044c \u043a\u043e\u043d\u0441\u043e\u043b\u044c\u043d\u044b\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 speedtest.net &#8211;\u00a0https:\/\/raw.github.com\/sivel\/speedtest-cli\/master\/speedtest_cli.py, \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u0435\u043c, \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c, \u0442\u0435\u0441\u0442\u0438\u0440\u0443\u0435\u043c.<\/p>\n<p><strong><span style=\"color: #ff0000;\">4)\u00a0Netperf<\/span><\/strong><\/p>\n<p>\u041d\u0435\u043a\u0438\u0439 \u0430\u043d\u0430\u043b\u043e\u0433 <strong>iperf<\/strong>, \u043d\u043e \u043e\u0442 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 <a href=\"https:\/\/github.com\/HewlettPackard\/netperf\">HP<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0415\u0441\u043b\u0438 \u043f\u043e\u044f\u0432\u0438\u043b\u0430\u0441\u044c \u0437\u0430\u0434\u0430\u0447\u0430 \u0438\u0437\u043c\u0435\u0440\u044f\u0442\u044c \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u044b \u043c\u0435\u0436\u0434\u0443 2-\u043c\u044f \u0445\u043e\u0441\u0442\u0430\u043c\u0438, \u0442\u043e \u043b\u0443\u0447\u0448\u0435\u0433\u043e \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0430, \u0447\u0435\u043c iperf\/ttcp \u043d\u0435 \u043d\u0430\u0439\u0442\u0438. \u041e\u0431\u0430 \u044d\u0442\u0438\u0445 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0430 \u043d\u0443\u0436\u043d\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u0441 \u043e\u0431\u0435\u0438\u0445 \u043a\u043e\u043d\u0446\u043e\u0432 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c\u043e\u0439 \u0442\u0440\u0430\u0441\u0441\u044b.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,5,25,24],"tags":[],"class_list":["post-2682","post","type-post","status-publish","format-standard","hentry","category-freebsd","category-linux","category-openbsd","category-solaris"],"_links":{"self":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/2682","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2682"}],"version-history":[{"count":9,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/2682\/revisions"}],"predecessor-version":[{"id":6113,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/2682\/revisions\/6113"}],"wp:attachment":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2682"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2682"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2682"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}