gig network again

Austin Godber godber at no8tech.com
Thu May 17 13:23:45 MST 2007


David wrote:
> time dd if=/dev/zero of=/home/daz/udaz/testfile bs=32k count=32768
> 32768+0 records in
> 32768+0 records out
> 1073741824 bytes (1.1 GB) copied, 371.025 seconds, 2.9 MB/s


Try iperf.  You should get between 800-900 Mbps:

godber at vex:~$ iperf -c feisty.local
------------------------------------------------------------
Client connecting to feisty.local, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[  3] local 192.168.1.10 port 43712 connected with 192.168.1.109 port 5001
[  3]  0.0-10.0 sec  1.09 GBytes    936 Mbits/sec


Oh, wow, first time I have ever seen over 890Mbps.  Wind must be blowing
to my back.

If iperf doesn't give you results in this range you're never going to
get it with something like scp or nfs plus disk.


Then you can take a look at your disks with something like hdparm (at
first, Bonnie++ later if you have time to kill) to get an idea of how
fast your disks are:

godber at feisty:~$ sudo hdparm -tT /dev/sda
Password:

/dev/sda:
 Timing cached reads:   2076 MB in  2.00 seconds = 1038.20 MB/sec
 Timing buffered disk reads:   76 MB in  3.00 seconds =  25.30 MB/sec

Watch your units too, use google when in doubt:
936 Mbps in MBps
 25 MBps in Mbps

Austin


More information about the PLUG-discuss mailing list