These test results are wrong. I was using broken network setup that routed some directions behind outside router.
Building test data for tests:
$ dd if=/dev/urandom of=1G.dat bs=1048576 count=1024
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB) copied, 237.054 s, 4.5 MB/s
$ ls -lha 1G.dat
-rw-r--r-- 1 jhh users 1.0G Jan 14 15:24 1G.dat
Over NFS from a linux box:
$ time cp 1G.dat /export/a2000/disk2/fs.001/
real 1m51.331s
user 0m2.596s
sys 0m2.854s
...about 9.2 MB/s
Over SSH from a linux box:
$ scp 1G.dat a2000:/export/disk2/fs.001/tmp/
1G.dat 100% 1024MB 7.2MB/s 02:23
# cat /proc/cpuinfo
processor : 0
vendor_id : CentaurHauls
cpu family : 6
model : 13
model name : VIA C7-D Processor 1500MHz
stepping : 0
cpu MHz : 1499.885
cache size : 128 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge cmov pat clflush acpi mmx fxsr sse sse2 tm nx up pni xtpr rng rng_en ace ace_en ace2 ace2_en phe phe_en pmm pmm_en
bogomips : 2999.77
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 32 bits virtual
power management:
# lspci
00:00.0 Host bridge: VIA Technologies, Inc. VX800 Host Bridge (rev 12)
00:00.1 Host bridge: VIA Technologies, Inc. VX800/VX820 Error Reporting
00:00.2 Host bridge: VIA Technologies, Inc. VX800/VX820 Host Bus Control
00:00.3 Host bridge: VIA Technologies, Inc. VX800 PCI to PCI Bridge
00:00.4 Host bridge: VIA Technologies, Inc. VX800/VX820 Power Management Control
00:00.5 PIC: VIA Technologies, Inc. VX800/VX820 APIC and Central Traffic Control
00:00.6 Host bridge: VIA Technologies, Inc. VX800/VX820 Scratch Registers
00:00.7 Host bridge: VIA Technologies, Inc. VX800/VX820 North-South Module Interface Control
00:01.0 VGA compatible controller: VIA Technologies, Inc. VX800/VX820 Chrome 9 HC3 Integrated Graphics (rev 11)
00:02.0 PCI bridge: VIA Technologies, Inc. VX800/VX820 PCI Express Root Port
00:03.0 PCI bridge: VIA Technologies, Inc. VX800/VX820 PCI Express Root Port
00:03.1 PCI bridge: VIA Technologies, Inc. VX800/VX820 PCI Express Root Port
00:0f.0 IDE interface: VIA Technologies, Inc. VX800 Serial ATA and EIDE Controller
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev a0)
00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev a0)
00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev a0)
00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 90)
00:11.0 ISA bridge: VIA Technologies, Inc. VX800/VX820 Bus Control and Power Management
00:11.7 Host bridge: VIA Technologies, Inc. VX8xx South-North Module Interface Control
00:13.0 PCI bridge: VIA Technologies, Inc. VX855/VX875 PCI to PCI Bridge
00:14.0 Audio device: VIA Technologies, Inc. VT1708/A [Azalia HDAC] (VIA High Definition Audio Controller) (rev 20)
02:00.0 Ethernet controller: VIA Technologies, Inc. VT6120/VT6121/VT6122 Gigabit Ethernet Adapter (rev 82)
$ time cp 1G.dat /export/s01/data/jhh/
real 1m48.871s
user 0m2.481s
sys 0m1.984s
...about 9.41 MB/s
Reading over the network to /dev/null:
$ time cat /export/s01/data/jhh/1G.dat > /dev/null
real 0m16.369s
user 0m1.046s
sys 0m1.137s
...about 62.56 MB/s
Over SSH from a linux box:
$ time scp 1G.dat a2000:/data/jhh/
1G.dat 100% 1024MB 6.5MB/s 02:37
SSH with blowfish cipher make a difference:
time scp -c blowfish 1G.dat a2000:/data/jhh/
1G.dat 100% 1024MB 8.8MB/s 01:56
# time dd if=/dev/zero bs=1048576 count=1024|nc s01 5000 -w1
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB) copied, 102.234 s, 10.5 MB/s
real 1m44.252s
user 0m7.998s
sys 0m16.210s
Downloading from HTTP running on the box:
$ wget -O /dev/null http://s01/jhh/1G.dat
--2012-01-16 16:56:44-- http://s01/jhh/1G.dat
Resolving s01... 192.168.1.67
Connecting to s01|192.168.1.67|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1073741824 (1.0G) [application/x-ns-proxy-autoconfig]
Saving to: “/dev/null”
100%[======================================================================================================>] 1,073,741,824 65.5M/s in 16s
2012-01-16 16:57:00 (63.9 MB/s) - “/dev/null” saved [1073741824/1073741824]
Downloading to the box from outside:
# wget -O /dev/null http://zeta1/1G.dat
--2012-01-16 17:00:35-- http://zeta1/1G.dat
Resolving zeta1... 192.168.1.82
Connecting to zeta1|192.168.1.82|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1073741824 (1.0G) [application/x-ns-proxy-autoconfig]
Saving to: `/dev/null'
100%[======================================================================================================>] 1,073,741,824 9.20M/s in 1m 47s
2012-01-16 17:02:22 (9.54 MB/s) - `/dev/null' saved [1073741824/1073741824]