{"id":890,"date":"2020-11-23T15:20:08","date_gmt":"2020-11-23T08:20:08","guid":{"rendered":"http:\/\/www.oopsbox.com\/?p=890"},"modified":"2020-11-23T15:41:02","modified_gmt":"2020-11-23T08:41:02","slug":"iperf3-perform-network-throughput-tests-%e0%b8%9a%e0%b8%99-docker","status":"publish","type":"post","link":"https:\/\/www.oopsbox.com\/?p=890","title":{"rendered":"iperf3 perform network throughput tests \u0e1a\u0e19 Docker"},"content":{"rendered":"<p>iperf \u0e04\u0e37\u0e2d\u0e2d\u0e30\u0e44\u0e23<\/p>\n<blockquote><p>iperf \u0e04\u0e37\u0e2d \u0e42\u0e1b\u0e23\u0e41\u0e01\u0e23\u0e21\u0e17\u0e35\u0e48\u0e43\u0e0a\u0e49\u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e01\u0e32\u0e23\u0e17\u0e14\u0e2a\u0e2d\u0e1a Network Bandwidth \u0e42\u0e14\u0e22\u0e08\u0e30\u0e40\u0e0a\u0e47\u0e04\u0e2d\u0e31\u0e15\u0e23\u0e32\u0e04\u0e27\u0e32\u0e21\u0e40\u0e23\u0e47\u0e27\u0e43\u0e19\u0e01\u0e32\u0e23\u0e23\u0e31\u0e1a\u0e2a\u0e48\u0e07\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e23\u0e27\u0e21\u0e16\u0e36\u0e07\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e27\u0e34\u0e40\u0e04\u0e23\u0e32\u0e30\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e1e\u0e27\u0e01 Packet loss \u0e15\u0e48\u0e32\u0e07 \u0e46<\/p><\/blockquote>\n<p>\u0e40\u0e1e\u0e23\u0e32\u0e30\u0e09\u0e19\u0e31\u0e49\u0e19 iperf \u0e08\u0e36\u0e07\u0e40\u0e2b\u0e21\u0e32\u0e30\u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e01\u0e32\u0e23\u0e19\u0e33\u0e21\u0e32\u0e43\u0e0a\u0e49\u0e43\u0e19\u0e01\u0e32\u0e23\u0e27\u0e34\u0e40\u0e04\u0e23\u0e32\u0e30\u0e2b\u0e4c\u0e40\u0e19\u0e15\u0e40\u0e27\u0e34\u0e23\u0e4c\u0e04\u0e20\u0e32\u0e22\u0e43\u0e19 (LAN) \u0e01\u0e32\u0e23\u0e17\u0e33\u0e07\u0e32\u0e19\u0e02\u0e2d\u0e07 iperf \u0e08\u0e33\u0e40\u0e1b\u0e47\u0e19\u0e15\u0e49\u0e2d\u0e07\u0e43\u0e0a\u0e49\u0e04\u0e2d\u0e21\u0e1e\u0e34\u0e27\u0e40\u0e15\u0e2d\u0e23\u0e4c\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e19\u0e49\u0e2d\u0e22 2 \u0e40\u0e04\u0e23\u0e37\u0e48\u0e2d\u0e07\u0e43\u0e19\u0e25\u0e31\u0e01\u0e29\u0e13\u0e30 Server &#8211; Client \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e17\u0e14\u0e2a\u0e2d\u0e1a \u0e21\u0e32\u0e40\u0e23\u0e34\u0e48\u0e21\u0e14\u0e49\u0e27\u0e22\u0e01\u0e31\u0e19\u0e17\u0e33 iperf server \u0e01\u0e31\u0e19 \u0e42\u0e14\u0e22\u0e01\u0e32\u0e23\u0e2a\u0e23\u0e49\u0e32\u0e07 Dockerfile \u0e15\u0e32\u0e21\u0e19\u0e35\u0e49<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">FROM alpine\r\n\r\nLABEL maintainer mf &lt;mfhelper@gmail.com&gt;\r\n\r\nRUN apk add --no-cache iperf3 \\\r\n  &amp;&amp; adduser -S iperf\r\n\r\nUSER iperf\r\n\r\nEXPOSE 5201\/tcp 5201\/udp\r\n\r\nENTRYPOINT [\"iperf3\"]\r\n\r\n# iperf3 -s run in Server mode\r\nCMD [\"-s\"]<\/pre>\n<p>\u0e41\u0e25\u0e30\u0e17\u0e33\u0e01\u0e32\u0e23 Build \u0e43\u0e2b\u0e49\u0e40\u0e23\u0e35\u0e22\u0e1a\u0e23\u0e49\u0e2d\u0e22<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">sudo docker build -t mf\/iperf3:server .<\/pre>\n<p>\u0e41\u0e25\u0e30\u0e17\u0e33\u0e01\u0e32\u0e23 run iperf \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e40\u0e1b\u0e47\u0e19\u0e42\u0e2b\u0e19\u0e14 Server<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">sudo docker run --restart=unless-stopped --name=iperf3 -d -p 5201:5201\/tcp -p 5201:5201\/udp mf\/iperf3:server\r\n\r\n<\/pre>\n<p>\u0e17\u0e35\u0e48\u0e19\u0e35\u0e49\u0e01\u0e47\u0e40\u0e23\u0e34\u0e48\u0e21\u0e17\u0e14\u0e2a\u0e2d\u0e1a\u0e01\u0e31\u0e19\u0e42\u0e14\u0e22\u0e1d\u0e31\u0e48\u0e07 Client \u0e01\u0e47\u0e17\u0e33\u0e01\u0e32\u0e23\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07 iperf3 \u0e43\u0e2b\u0e49\u0e40\u0e23\u0e35\u0e22\u0e1a\u0e23\u0e49\u0e2d\u0e22 \u0e21\u0e35\u0e23\u0e2d\u0e07\u0e23\u0e31\u0e1a\u0e17\u0e31\u0e49\u0e07 Windows macOS iOS Android \u0e41\u0e25\u0e30 Linux \u0e42\u0e14\u0e22 Download \u0e44\u0e14\u0e49<a href=\"https:\/\/iperf.fr\/iperf-download.php\">\u0e17\u0e35\u0e48\u0e19\u0e35\u0e48<\/a>\u00a0 \u0e2a\u0e48\u0e27\u0e19 Linux \u0e01\u0e47\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07\u0e44\u0e14\u0e49\u0e42\u0e14\u0e22\u0e43\u0e0a\u0e49\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">sudo apt install iperf3<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-891\" src=\"https:\/\/www.oopsbox.com\/wp-content\/uploads\/Screenshot-20201123150943-1178x577-1-1024x502.png\" alt=\"\" width=\"700\" height=\"343\" srcset=\"https:\/\/www.oopsbox.com\/wp-content\/uploads\/Screenshot-20201123150943-1178x577-1-1024x502.png 1024w, https:\/\/www.oopsbox.com\/wp-content\/uploads\/Screenshot-20201123150943-1178x577-1-300x147.png 300w, https:\/\/www.oopsbox.com\/wp-content\/uploads\/Screenshot-20201123150943-1178x577-1-768x376.png 768w, https:\/\/www.oopsbox.com\/wp-content\/uploads\/Screenshot-20201123150943-1178x577-1-700x343.png 700w, https:\/\/www.oopsbox.com\/wp-content\/uploads\/Screenshot-20201123150943-1178x577-1.png 1178w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/p>\n<p>\u0e17\u0e14\u0e2a\u0e2d\u0e1a\u0e41\u0e23\u0e01\u0e01\u0e31\u0e19\u0e14\u0e49\u0e27\u0e22<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">iperf3 -c &lt;speedtest.mydomain.local&gt;<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-892\" src=\"https:\/\/www.oopsbox.com\/wp-content\/uploads\/Screenshot-20201123151211-1178x577-1-1024x502.png\" alt=\"\" width=\"700\" height=\"343\" srcset=\"https:\/\/www.oopsbox.com\/wp-content\/uploads\/Screenshot-20201123151211-1178x577-1-1024x502.png 1024w, https:\/\/www.oopsbox.com\/wp-content\/uploads\/Screenshot-20201123151211-1178x577-1-300x147.png 300w, https:\/\/www.oopsbox.com\/wp-content\/uploads\/Screenshot-20201123151211-1178x577-1-768x376.png 768w, https:\/\/www.oopsbox.com\/wp-content\/uploads\/Screenshot-20201123151211-1178x577-1-700x343.png 700w, https:\/\/www.oopsbox.com\/wp-content\/uploads\/Screenshot-20201123151211-1178x577-1.png 1178w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/p>\n<p>\u0e25\u0e2d\u0e07\u0e17\u0e14\u0e2a\u0e2d\u0e1a\u0e2d\u0e35\u0e01\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">iperf3 -R -O 1 -u -b 50M -c speedtest.mydomain.local<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-893\" src=\"https:\/\/www.oopsbox.com\/wp-content\/uploads\/Screenshot-20201123151403-1178x577-1-1024x502.png\" alt=\"\" width=\"700\" height=\"343\" srcset=\"https:\/\/www.oopsbox.com\/wp-content\/uploads\/Screenshot-20201123151403-1178x577-1-1024x502.png 1024w, https:\/\/www.oopsbox.com\/wp-content\/uploads\/Screenshot-20201123151403-1178x577-1-300x147.png 300w, https:\/\/www.oopsbox.com\/wp-content\/uploads\/Screenshot-20201123151403-1178x577-1-768x376.png 768w, https:\/\/www.oopsbox.com\/wp-content\/uploads\/Screenshot-20201123151403-1178x577-1-700x343.png 700w, https:\/\/www.oopsbox.com\/wp-content\/uploads\/Screenshot-20201123151403-1178x577-1.png 1178w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/p>\n<p>\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e44\u0e1b\u0e14\u0e39\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07\u0e2d\u0e37\u0e48\u0e19 \u0e46 \u0e44\u0e14\u0e49\u0e17\u0e35\u0e48 <a href=\"https:\/\/iperf.fr\/iperf-doc.php\">https:\/\/iperf.fr\/iperf-doc.php <\/a>\u00a0\u0e2b\u0e23\u0e37\u0e2d\u0e14\u0e39\u0e23\u0e32\u0e22\u0e25\u0e30\u0e40\u0e2d\u0e35\u0e22\u0e14\u0e40\u0e23\u0e37\u0e48\u0e2d\u0e07 Bandwidth \u0e44\u0e14\u0e49\u0e17\u0e35\u0e48 <a href=\"https:\/\/www.paessler.com\/it-explained\/bandwidth\">https:\/\/www.paessler.com\/it-explained\/bandwidth <\/a><\/p>\n<p>\u0e08\u0e1a\u0e1b\u0e34\u0e4a\u0e07\u0e07\u0e07 ^__^<\/p>\n<p>&nbsp;<\/p>\n<div id=\"s-share-buttons\" class=\"\"><div class=\"s-single-share\">\n\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"fb-share-button\" data-href=\"https:\/\/www.oopsbox.com\/?p=890\" data-type=\"button_count\"><\/div><\/div><div class=\"s-single-share\"><a href=\"https:\/\/twitter.com\/share\" class=\"twitter-share-button\"><\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t<\/div><div class=\"s-single-share\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"g-plusone\" data-size=\"medium\"><\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div><div class=\"s-single-share\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"\/\/www.pinterest.com\/pin\/create\/button\/\" data-pin-do=\"buttonBookmark\"  data-pin-color=\"red\"><img decoding=\"async\" src=\"\/\/assets.pinterest.com\/images\/pidgets\/pinit_fg_en_rect_red_20.png\" \/><\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<script type=\"text\/javascript\" async defer src=\"\/\/assets.pinterest.com\/js\/pinit.js\"><\/script>\n\t\t\t\t\t\t\t\t\t\t\t\t<\/div><div class=\"s-single-share\">\n\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"mailto:?Subject=iperf3%20perform%20network%20throughput%20tests%20\u0e1a\u0e19%20Docker&Body=Here%20is%20the%20link%20to%20the%20article:%20https:\/\/www.oopsbox.com\/?p=890\" title=\"Email\" class=\"s3-email\"><img decoding=\"async\" src=\"https:\/\/www.oopsbox.com\/wp-content\/plugins\/simple-social-share\/includes\/..\/images\/share-email.png\"><\/a>\n\t\t\t\t\t\t\t\t\t\t\t<\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>iperf \u0e04\u0e37\u0e2d\u0e2d\u0e30\u0e44\u0e23 iperf \u0e04\u0e37\u0e2d \u0e42\u0e1b\u0e23\u0e41\u0e01\u0e23\u0e21\u0e17\u0e35\u0e48\u0e43\u0e0a\u0e49\u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e01\u0e32\u0e23\u0e17\u0e14\u0e2a\u0e2d\u0e1a Network Bandwidth \u0e42\u0e14\u0e22\u0e08\u0e30\u0e40\u0e0a\u0e47\u0e04\u0e2d\u0e31\u0e15\u0e23\u0e32\u0e04\u0e27\u0e32\u0e21\u0e40\u0e23\u0e47\u0e27\u0e43\u0e19\u0e01\u0e32\u0e23\u0e23\u0e31\u0e1a\u0e2a\u0e48\u0e07\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e23\u0e27\u0e21\u0e16\u0e36\u0e07\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e27\u0e34\u0e40\u0e04\u0e23\u0e32\u0e30\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e1e\u0e27\u0e01 Packet loss \u0e15\u0e48\u0e32\u0e07 \u0e46 \u0e40\u0e1e\u0e23\u0e32\u0e30\u0e09\u0e19\u0e31\u0e49\u0e19 iperf \u0e08\u0e36\u0e07\u0e40\u0e2b\u0e21\u0e32\u0e30\u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e01\u0e32\u0e23\u0e19\u0e33\u0e21\u0e32\u0e43\u0e0a\u0e49\u0e43\u0e19\u0e01\u0e32\u0e23\u0e27\u0e34\u0e40\u0e04\u0e23\u0e32\u0e30\u0e2b\u0e4c\u0e40\u0e19\u0e15\u0e40\u0e27\u0e34\u0e23\u0e4c\u0e04\u0e20\u0e32\u0e22\u0e43\u0e19 (LAN) \u0e01\u0e32\u0e23\u0e17\u0e33\u0e07\u0e32\u0e19\u0e02\u0e2d\u0e07 iperf \u0e08\u0e33\u0e40\u0e1b\u0e47\u0e19\u0e15\u0e49\u0e2d\u0e07\u0e43\u0e0a\u0e49\u0e04\u0e2d\u0e21\u0e1e\u0e34\u0e27\u0e40\u0e15\u0e2d\u0e23\u0e4c\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e19\u0e49\u0e2d\u0e22 2 \u0e40\u0e04\u0e23\u0e37\u0e48\u0e2d\u0e07\u0e43\u0e19\u0e25\u0e31\u0e01\u0e29\u0e13\u0e30 Server &#8211; Client \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e17\u0e14\u0e2a\u0e2d\u0e1a \u0e21\u0e32\u0e40\u0e23\u0e34\u0e48\u0e21\u0e14\u0e49\u0e27\u0e22\u0e01\u0e31\u0e19\u0e17\u0e33 iperf server \u0e01\u0e31\u0e19 \u0e42\u0e14\u0e22\u0e01\u0e32\u0e23\u0e2a\u0e23\u0e49\u0e32\u0e07 Dockerfile \u0e15\u0e32\u0e21\u0e19\u0e35\u0e49 FROM alpine LABEL maintainer mf &lt;mfhelper@gmail.com&gt; RUN apk add &#8211;no-cache iperf3 \\ &amp;&amp; adduser -S iperf USER iperf EXPOSE 5201\/tcp 5201\/udp ENTRYPOINT [&#8220;iperf3&#8221;] &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.oopsbox.com\/?p=890\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;iperf3 perform network throughput tests \u0e1a\u0e19 Docker&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":894,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[5],"tags":[47,113,114],"class_list":["post-890","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-docker","tag-iperf3","tag-network-throughput","entry"],"views":3885,"_links":{"self":[{"href":"https:\/\/www.oopsbox.com\/index.php?rest_route=\/wp\/v2\/posts\/890","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.oopsbox.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.oopsbox.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.oopsbox.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.oopsbox.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=890"}],"version-history":[{"count":2,"href":"https:\/\/www.oopsbox.com\/index.php?rest_route=\/wp\/v2\/posts\/890\/revisions"}],"predecessor-version":[{"id":896,"href":"https:\/\/www.oopsbox.com\/index.php?rest_route=\/wp\/v2\/posts\/890\/revisions\/896"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.oopsbox.com\/index.php?rest_route=\/wp\/v2\/media\/894"}],"wp:attachment":[{"href":"https:\/\/www.oopsbox.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=890"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.oopsbox.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=890"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.oopsbox.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=890"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}