{"id":274,"date":"2016-03-17T17:40:30","date_gmt":"2016-03-17T16:40:30","guid":{"rendered":"http:\/\/104.198.79.120\/?p=274"},"modified":"2016-03-17T17:40:30","modified_gmt":"2016-03-17T16:40:30","slug":"measure-network-speed-throughput-performance-and-bandwidth-between-devices","status":"publish","type":"post","link":"https:\/\/wp.gaborhargitai.hu\/measure-network-speed-throughput-performance-and-bandwidth-between-devices\/","title":{"rendered":"Measure network speed, throughput performance and bandwidth between devices"},"content":{"rendered":"

It is always good to know just how much TCP \/ UDP packets can we squeeze out from our network interfaces. Be it that we are building our very own router or just plain testing out our network environment. Usually there comes a time when the question pops up in our head: “How much megabits can these handle?” A likely\u00a0answer comes in form of iperf<\/a>.<\/p>\n

A server-client model piece of software, which opens up a port on the server side and awaits for any incoming connections after which the bandwidth test is initiated.<\/p>\n

Fire up your Server using this command:<\/p>\n

iperf -s\u00a0<\/code><\/p>\n

After which you’ll get an output similar to this:<\/p>\n

----------------------------------------------------------\r\nServer listening on TCP port 5001\r\nTCP window size: 85.3 KByte (default)\r\n----------------------------------------------------------<\/pre>\n

Changing the port is possible using the \u00a0-p<\/code>\u00a0 argument.<\/p>\n

Now on the Client issue the following to initiate the testing process:<\/p>\n

iperf -c <ip_address_of_server>\u00a0<\/code><\/p>\n

You’ll be greeted by the following output:<\/p>\n

oli@bert:~$ iperf -c 192.168.1.1\r\n----------------------------------------------------------\r\nClient connecting to 192.168.1.1, TCP port 5001\r\nTCP window size: 85.3 KByte (default)\r\n----------------------------------------------------------\r\n[  3] local 192.168.1.2 port 37221 connected with 192.168.1.1 port 5001\r\n[ ID] Interval       Transfer     Bandwidth\r\n[  3]  0.0-10.0 sec  1.04 GBytes    935 Mbits\/sec<\/pre>\n

Alternative Windows binaries are available for download here<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"

It is always good to know just how much TCP \/ UDP packets can we squeeze out from our network interfaces. Be it that we are building our very own router or just plain testing out our network environment. Usually there comes a time when the question pops up in our head: “How much megabits […]<\/p>\n","protected":false},"author":1,"featured_media":279,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[8,6,11,1,7,15],"tags":[],"_links":{"self":[{"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/posts\/274"}],"collection":[{"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/comments?post=274"}],"version-history":[{"count":4,"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/posts\/274\/revisions"}],"predecessor-version":[{"id":278,"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/posts\/274\/revisions\/278"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/media\/279"}],"wp:attachment":[{"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/media?parent=274"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/categories?post=274"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/tags?post=274"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}