<p>This command test memory to memory copies over rsh (a low overhead protocol). This should be about all the throughput you are going to get from your network adapters:</p>
<pre><code>export RSH_TEST_HOST=hostname
time dd if=/dev/zero count=1000 bs=1M | rsh $RSH_TEST_HOST dd of=/dev/null</code></pre>
<p>If you want to test TCP, here&#8217;s the same thing using FTP:</p>
<pre><code>ftp> put "|dd if=/dev/zero bs=1M count=1000" /dev/null</code></pre>
<p>and NCFTP with time:</p>
<pre><code>time dd if=/dev/zero bs=1M count=1000 | /usr/local/bin/ncftpput -u <b>USER</b> -p <b>PASSWORD</b> -c <b>HOST</b> /dev/null</code></pre>
{"id":310,"date":"2009-07-02T17:15:09","date_gmt":"2009-07-02T21:15:09","guid":{"rendered":"http:\/\/patrickv.info\/wordpress\/?p=310"},"modified":"2009-07-02T17:15:09","modified_gmt":"2009-07-02T21:15:09","slug":"test-network-performance","status":"publish","type":"post","link":"https:\/\/rootuser.ninja\/index.php\/2009\/07\/02\/test-network-performance\/","title":{"rendered":"Test network performance"},"content":{"rendered":"<p>This command test memory to memory copies over rsh (a low overhead protocol). This should be about all the throughput you are going to get from your network adapters:<\/p>\n<pre><code>export RSH_TEST_HOST=hostname\ntime dd if=\/dev\/zero count=1000 bs=1M | rsh $RSH_TEST_HOST dd of=\/dev\/null<\/code><\/pre>\n<p>If you want to test TCP, here&#8217;s the same thing using FTP:<\/p>\n<pre><code>ftp> put \"|dd if=\/dev\/zero bs=1M count=1000\" \/dev\/null<\/code><\/pre>\n<p>and NCFTP with time:<\/p>\n<pre><code>time dd if=\/dev\/zero bs=1M count=1000 | \/usr\/local\/bin\/ncftpput -u <b>USER<\/b> -p <b>PASSWORD<\/b> -c <b>HOST<\/b> \/dev\/null<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":null,"protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,1],"tags":[],"class_list":["post-310","post","type-post","status-publish","format-standard","hentry","category-aix-notes","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/rootuser.ninja\/index.php\/wp-json\/wp\/v2\/posts\/310","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rootuser.ninja\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rootuser.ninja\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rootuser.ninja\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rootuser.ninja\/index.php\/wp-json\/wp\/v2\/comments?post=310"}],"version-history":[{"count":0,"href":"https:\/\/rootuser.ninja\/index.php\/wp-json\/wp\/v2\/posts\/310\/revisions"}],"wp:attachment":[{"href":"https:\/\/rootuser.ninja\/index.php\/wp-json\/wp\/v2\/media?parent=310"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rootuser.ninja\/index.php\/wp-json\/wp\/v2\/categories?post=310"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rootuser.ninja\/index.php\/wp-json\/wp\/v2\/tags?post=310"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}