{"id":1166,"date":"2015-12-27T20:24:30","date_gmt":"2015-12-27T19:24:30","guid":{"rendered":"https:\/\/www.nico-maas.de\/?p=1166"},"modified":"2015-12-27T20:24:30","modified_gmt":"2015-12-27T19:24:30","slug":"rpi-measuring-rpi-zero-usb-network-speed-with-iperf","status":"publish","type":"post","link":"https:\/\/www.nico-maas.de\/?p=1166","title":{"rendered":"[RPi] Measuring RPi Zero USB Network Speed with iperf"},"content":{"rendered":"<p>As I saw Jeff Geerlings Website and his iperf Benchmarks of different RPis (<a href=\"http:\/\/www.midwesternmac.com\/blogs\/jeff-geerling\/getting-gigabit-networking\" target=\"_blank\">Link<\/a>), I wondered how the RPi Zero would perform by using the USB Virtual Ethernet Interface on my Windows 7 x64 PC.<\/p>\n<p>So I got the latest iperf 2 Version (iPerf 2.0.5-3) from the iperf Website at <a href=\"https:\/\/iperf.fr\/iperf-download.php\" target=\"_blank\">https:\/\/iperf.fr\/iperf-download.php<\/a>, installed iperf from the Raspbian Jessie Packages and launched the iperf Server on my Windows 7 x64 PC via iperf -s. The PC was attached to an Gigabit Switch via an Gigabit Ethernet Interface - so no bottleneck here.<\/p>\n<p>Then I started the iperf tests via <code>iperf -c IP -t 20 -i 2<\/code>.<br \/>\nAnd these are results:<\/p>\n<p>RPi Modell B Version pre 2<br \/>\n------------------------------------------------------------<br \/>\nClient connecting to 192.168.2.4, TCP port 5001<br \/>\nTCP window size: 43.8 KByte (default)<br \/>\n------------------------------------------------------------<br \/>\n[  3] local 192.168.2.98 port 37217 connected with 192.168.2.4 port 5001<br \/>\n[ ID] Interval       Transfer     Bandwidth<br \/>\n[  3]  0.0- 2.0 sec  13.9 MBytes  58.2 Mbits\/sec<br \/>\n[  3]  2.0- 4.0 sec  13.9 MBytes  58.2 Mbits\/sec<br \/>\n[  3]  4.0- 6.0 sec  13.6 MBytes  57.1 Mbits\/sec<br \/>\n[  3]  6.0- 8.0 sec  14.4 MBytes  60.3 Mbits\/sec<br \/>\n[  3]  8.0-10.0 sec  14.5 MBytes  60.8 Mbits\/sec<br \/>\n[  3] 10.0-12.0 sec  14.6 MBytes  61.3 Mbits\/sec<br \/>\n[  3] 12.0-14.0 sec  14.5 MBytes  60.8 Mbits\/sec<br \/>\n[  3] 14.0-16.0 sec  14.6 MBytes  61.3 Mbits\/sec<br \/>\n[  3] 16.0-18.0 sec  14.5 MBytes  60.8 Mbits\/sec<br \/>\n[  3] 18.0-20.0 sec  14.5 MBytes  60.8 Mbits\/sec<br \/>\n[  3]  0.0-20.0 sec   143 MBytes  60.0 Mbits\/sec<\/p>\n<p>60 MBit\/s? Well... That is not as good as thought...<\/p>\n<p>RPi Modell B v2<br \/>\n------------------------------------------------------------<br \/>\nClient connecting to 192.168.2.4, TCP port 5001<br \/>\nTCP window size: 43.8 KByte (default)<br \/>\n------------------------------------------------------------<br \/>\n[  3] local 192.168.2.161 port 55453 connected with 192.168.2.4 port 5001<br \/>\n[ ID] Interval       Transfer     Bandwidth<br \/>\n[  3]  0.0- 2.0 sec  14.1 MBytes  59.2 Mbits\/sec<br \/>\n[  3]  2.0- 4.0 sec  14.1 MBytes  59.2 Mbits\/sec<br \/>\n[  3]  4.0- 6.0 sec  14.0 MBytes  58.7 Mbits\/sec<br \/>\n[  3]  6.0- 8.0 sec  14.8 MBytes  61.9 Mbits\/sec<br \/>\n[  3]  8.0-10.0 sec  14.6 MBytes  61.3 Mbits\/sec<br \/>\n[  3] 10.0-12.0 sec  14.6 MBytes  61.3 Mbits\/sec<br \/>\n[  3] 12.0-14.0 sec  14.6 MBytes  61.3 Mbits\/sec<br \/>\n[  3] 14.0-16.0 sec  14.6 MBytes  61.3 Mbits\/sec<br \/>\n[  3] 16.0-18.0 sec  14.5 MBytes  60.8 Mbits\/sec<br \/>\n[  3] 18.0-20.0 sec  14.6 MBytes  61.3 Mbits\/sec<br \/>\n[  3]  0.0-20.0 sec   145 MBytes  60.7 Mbits\/sec<\/p>\n<p>60.7 MBit\/s - ok, the RPi Modell B v2.0 got double the RAM (512 MB) than the old version - but that did not have impact on the network speed.<\/p>\n<p>RPi 2 Modell B<br \/>\n------------------------------------------------------------<br \/>\nClient connecting to 192.168.2.4, TCP port 5001<br \/>\nTCP window size: 43.8 KByte (default)<br \/>\n------------------------------------------------------------<br \/>\n[  3] local 192.168.2.111 port 38411 connected with 192.168.2.4 port 5001<br \/>\n[ ID] Interval       Transfer     Bandwidth<br \/>\n[  3]  0.0- 2.0 sec  22.6 MBytes  94.9 Mbits\/sec<br \/>\n[  3]  2.0- 4.0 sec  22.4 MBytes  93.8 Mbits\/sec<br \/>\n[  3]  4.0- 6.0 sec  22.5 MBytes  94.4 Mbits\/sec<br \/>\n[  3]  6.0- 8.0 sec  22.5 MBytes  94.4 Mbits\/sec<br \/>\n[  3]  8.0-10.0 sec  22.4 MBytes  93.8 Mbits\/sec<br \/>\n[  3] 10.0-12.0 sec  22.5 MBytes  94.4 Mbits\/sec<br \/>\n[  3] 12.0-14.0 sec  22.4 MBytes  93.8 Mbits\/sec<br \/>\n[  3] 14.0-16.0 sec  22.5 MBytes  94.4 Mbits\/sec<br \/>\n[  3] 16.0-18.0 sec  22.4 MBytes  93.8 Mbits\/sec<br \/>\n[  3] 18.0-20.0 sec  22.5 MBytes  94.4 Mbits\/sec<br \/>\n[  3]  0.0-20.0 sec   225 MBytes  94.2 Mbits\/sec<\/p>\n<p>94.2 Mbits\/s is a good value, the matches with Jeff ones - so I am feeling a bit better after the bad measurements of the RPi 1 B pre\/2.0's...<\/p>\n<p>RPi Zero<br \/>\n------------------------------------------------------------<br \/>\nClient connecting to 192.168.7.1, TCP port 5001<br \/>\nTCP window size: 43.8 KByte (default)<br \/>\n------------------------------------------------------------<br \/>\n[  3] local 192.168.7.2 port 37992 connected with 192.168.7.1 port 5001<br \/>\n[ ID] Interval       Transfer     Bandwidth<br \/>\n[  3]  0.0- 2.0 sec  21.9 MBytes  91.8 Mbits\/sec<br \/>\n[  3]  2.0- 4.0 sec  22.1 MBytes  92.8 Mbits\/sec<br \/>\n[  3]  4.0- 6.0 sec  22.2 MBytes  93.3 Mbits\/sec<br \/>\n[  3]  6.0- 8.0 sec  22.1 MBytes  92.8 Mbits\/sec<br \/>\n[  3]  8.0-10.0 sec  22.1 MBytes  92.8 Mbits\/sec<br \/>\n[  3] 10.0-12.0 sec  22.2 MBytes  93.3 Mbits\/sec<br \/>\n[  3] 12.0-14.0 sec  22.2 MBytes  93.3 Mbits\/sec<br \/>\n[  3] 14.0-16.0 sec  22.2 MBytes  93.3 Mbits\/sec<br \/>\n[  3] 16.0-18.0 sec  22.1 MBytes  92.8 Mbits\/sec<br \/>\n[  3] 18.0-20.0 sec  22.2 MBytes  93.3 Mbits\/sec<br \/>\n[  3]  0.0-20.0 sec   222 MBytes  92.9 Mbits\/sec<\/p>\n<p>Finally - and that does come in as a surprise: I though the Pi Zero - attached via USB Ethernet would give me any value between some Mbit and some really odd numbers - but it closely matches an really solid 100 MBit Interface - so... Thats cool :)! <\/p>\n","protected":false},"excerpt":{"rendered":"<p>As I saw Jeff Geerlings Website and his iperf Benchmarks of different RPis (Link), I wondered how the RPi Zero would perform by using the USB Virtual Ethernet Interface on my Windows 7 x64 PC. So I got the latest iperf 2 Version (iPerf 2.0.5-3) from the iperf Website at https:\/\/iperf.fr\/iperf-download.php, installed iperf from the &hellip; <a href=\"https:\/\/www.nico-maas.de\/?p=1166\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">[RPi] Measuring RPi Zero USB Network Speed with iperf<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"[RPi] RPi Zero USB Gadget Network Speed","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[32,280],"tags":[526,283,508,523],"class_list":["post-1166","post","type-post","status-publish","format-standard","hentry","category-network","category-raspberry-pi","tag-iperf","tag-pi","tag-raspberry","tag-zero"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/piXYf-iO","jetpack-related-posts":[{"id":1877,"url":"https:\/\/www.nico-maas.de\/?p=1877","url_meta":{"origin":1166,"position":0},"title":"NFS Benchmarking RPi 3B, RPi 3B+ &#038; BPi","author":"Nico Maas","date":"21. March 2018","format":false,"excerpt":"3-14, PiDay. Sadly the day Stephen Hawking passed away - and the day the new Raspberry Pi 3B Plus was unveiled. Some days later, I got a small package: With that small thing at hand, I was looking through the list of changes: Broadcom BCM2837B0, Cortex-A53 (ARMv8) 64-bit SoC @\u2026","rel":"","context":"In &quot;Computer&quot;","block_context":{"text":"Computer","link":"https:\/\/www.nico-maas.de\/?cat=4"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.nico-maas.de\/wordpress\/wp-content\/uploads\/nfsBTTitle-300x141.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":1151,"url":"https:\/\/www.nico-maas.de\/?p=1151","url_meta":{"origin":1166,"position":1},"title":"[RPi] The cheapest Raspberry Pi Cluster Ever Made","author":"Nico Maas","date":"26. December 2015","format":false,"excerpt":"As soon as the Pi Zero came out, I started on thinking about Clusters again. I wanted to create an big - but at the same time, cheap cluster. Yes, an Pi Zero is not nearly as fast, as an RPi 2. And yes, there are some problems with this\u2026","rel":"","context":"In &quot;Projects&quot;","block_context":{"text":"Projects","link":"https:\/\/www.nico-maas.de\/?cat=23"},"img":{"alt_text":"ppplink","src":"https:\/\/i0.wp.com\/www.nico-maas.de\/wordpress\/wp-content\/uploads\/ppplink-300x225.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":1193,"url":"https:\/\/www.nico-maas.de\/?p=1193","url_meta":{"origin":1166,"position":2},"title":"[RPi] The cheapest Raspberry Pi Cluster Ever Made v2","author":"Nico Maas","date":"15. January 2016","format":false,"excerpt":"Ok, an little update on the PiZero Cluster Front: Now, that OTG is compiled directly into the \"next\" kernel of RPi, we can use the OTG USB Virtual Ethernet directly - which makes it a lot easier. So I updated this :). 0. Preparing Minibian Jessie Image I used some\u2026","rel":"","context":"In &quot;Computer&quot;","block_context":{"text":"Computer","link":"https:\/\/www.nico-maas.de\/?cat=4"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1203,"url":"https:\/\/www.nico-maas.de\/?p=1203","url_meta":{"origin":1166,"position":3},"title":"[Docker] OpenWRT Images for x86, x64, Raspberry Pi and Raspberry Pi 2","author":"Nico Maas","date":"19. January 2016","format":false,"excerpt":"As some of you know, I am trying to learn to use Docker. I love the simplicity of this tool and the fact that a lot of my Appliances could be built and mainted more efficiently with the use of it. So I thought \"Well, I should at least try\u2026","rel":"","context":"In &quot;Docker&quot;","block_context":{"text":"Docker","link":"https:\/\/www.nico-maas.de\/?cat=531"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":587,"url":"https:\/\/www.nico-maas.de\/?p=587","url_meta":{"origin":1166,"position":4},"title":"Cisco PIX 506e Hardware Upgrade","author":"Nico Maas","date":"19. March 2011","format":false,"excerpt":"The Cisco PIX Series has been \"the\" well known and powerful firewall appliance of the last decade - and for some people, this decade ain't over yet. Cisco has released the successor \"ASA\" some years ago, but many people still got a PIX running. Reasons are simple: The PIX Series\u2026","rel":"","context":"In &quot;Cisco&quot;","block_context":{"text":"Cisco","link":"https:\/\/www.nico-maas.de\/?cat=33"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1275,"url":"https:\/\/www.nico-maas.de\/?p=1275","url_meta":{"origin":1166,"position":5},"title":"[Review] Western Digital WD Labs PiDrive 314GB","author":"Nico Maas","date":"16. June 2016","format":false,"excerpt":"Today, I want to do my first review on this blog, concerning the Western Digital \/ WD Labs PiDrive 314GB. I received this nice little drive from the guys over at PiAndMore as a gift for my three presentations at the PiAndMore 9 (among other loot ;)). So, what is\u2026","rel":"","context":"In &quot;Raspberry Pi&quot;","block_context":{"text":"Raspberry Pi","link":"https:\/\/www.nico-maas.de\/?cat=280"},"img":{"alt_text":"pidrive1","src":"https:\/\/i0.wp.com\/www.nico-maas.de\/wordpress\/wp-content\/uploads\/pidrive1-1024x768.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.nico-maas.de\/index.php?rest_route=\/wp\/v2\/posts\/1166","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.nico-maas.de\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.nico-maas.de\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.nico-maas.de\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.nico-maas.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1166"}],"version-history":[{"count":1,"href":"https:\/\/www.nico-maas.de\/index.php?rest_route=\/wp\/v2\/posts\/1166\/revisions"}],"predecessor-version":[{"id":1167,"href":"https:\/\/www.nico-maas.de\/index.php?rest_route=\/wp\/v2\/posts\/1166\/revisions\/1167"}],"wp:attachment":[{"href":"https:\/\/www.nico-maas.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1166"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.nico-maas.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1166"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.nico-maas.de\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1166"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}