>> run a vmstat 1 on both machines during the copy.
> Yes, the 20mb file might get cached, but make sure you have DMA enabled on
> your computers. If it is not done with the Linux drivers you can do it
> with the hdparm program.
hdparm -- Yes, DMA is enabled.
/dev/hda:
multcount = 16 (on)
I/O support = 1 (32-bit)
unmaskirq = 1 (on)
using_dma = 1 (on)
keepsettings = 0 (off)
nowerr = 0 (off)
readonly = 0 (off)
readahead = 8 (on)
geometry = 1860/255/63, sectors = 29888820, start = 0
ifconfig -- It looks okey on both side. No errors or collisions.
eth0 Link encap:Ethernet HWaddr 00:01:03:27:12:FA
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1893479 errors:0 dropped:0 overruns:0 frame:0
TX packets:4685765 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:329656451 (314.3 Mb) TX bytes:753288958 (718.3 Mb)
Interrupt:17 Base address:0xdc00
vmstat -- Typical printout of 'vmstat 1' on the receiving side looks like
below. Looks okey, but I'm don't have much experience at this level.
0 1 0 36 3884 2456 76480 0 0 16 0 8793 5470 0 21 78
0 1 2 36 3844 2476 76516 0 0 0 0 9062 5711 0 22 78
0 1 0 36 3836 2508 76412 0 0 8 0 5094 4118 0 7 93
0 1 0 36 3912 2520 76276 0 0 4 0 5647 3934 0 15 85
0 1 1 36 3856 2604 76160 0 0 48 0 4324 3781 0 8 92
0 1 0 36 3852 2608 76040 0 0 4 0 8310 5708 0 18 81
0 1 0 36 3896 2548 76128 0 0 4 12104 6201 3816 0 14 86
0 1 0 36 3904 2480 76132 0 0 4 0 3609 2682 0 6 94
0 1 1 36 3888 2444 76176 0 0 0 20840 1511 805 0 6 94
0 1 2 36 3900 2448 76168 0 0 4 12944 246 26 0 2 98
0 1 1 36 3876 2480 76120 0 0 12 10652 1713 1274 0 6 94
0 1 0 36 3936 2480 76020 0 0 8 0 8054 5209 0 15 85
0 1 0 36 3884 2468 76052 0 0 0 0 9109 5671 0 22 78
0 1 0 36 3844 2440 76132 0 0 4 0 9776 6098 0 21 79
0 1 0 36 3944 2340 76124 0 0 0 0 9265 5897 0 23 77
0 1 2 36 3920 2356 76132 0 0 0 5376 7823 4811 0 18 81
0 1 1 36 3948 2360 76092 0 0 0 25668 711 216 0 5 95
0 1 1 36 3948 2360 76092 0 0 0 19476 273 17 0 2 98
0 0 0 36 6416 2388 76100 0 0 8 1164 5244 3552 0 9 91
After copying several times from both sides, I've noticed that
- 990MB directory tree -> 3MB/s if run on sending box
-> 5MB/s if run on receiving box
I'll chuck this as NFS problem...
--
8-CPU Cluster, Hosting, NAS, Linux, LaTeX, python, vim, mutt, tin