{"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 After which you’ll get an output similar to this:<\/p>\n Changing the port is possible using the \u00a0 Now on the Client issue the following to initiate the testing process:<\/p>\n You’ll be greeted by the following output:<\/p>\niperf -s\u00a0<\/code><\/p>\n
----------------------------------------------------------\r\nServer listening on TCP port 5001\r\nTCP window size: 85.3 KByte (default)\r\n----------------------------------------------------------<\/pre>\n
-p<\/code>\u00a0 argument.<\/p>\n
iperf -c <ip_address_of_server>\u00a0<\/code><\/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