On Wed, 05 May 2004 15:57:13 -0400
danek <(E-Mail Removed)> wrote:
> Also, MTU size and buffer size need to be looked at.
how do i find out about those two?
> >> i've installed a gigabit lan a few weeks ago and even bought cat6
> >> cables but i will get only 9-13MByte/s real data transfer
> >
> >
> > How did you measure that, e.g. did you use FTP connection or did you sen
> > files
> > via Samba, NFS or ????
scp tells you the throughput, also i watch my gkrellm network meter. i almost ever use nfs or scp.
> > Anyways, modern Harddisks (like the 160 GB in Box 1) will be able to
> > serve more
> > than 13 MB/s, but only if you transfer large files on the fly.
> > Have you enabled (U)DMA-Modes for your HDDs (ok, to SATA this might not
> > apply)?
i worte them to the hard disk, but maybe you misinterpreted that as the maximum. sata drive on box 1 runs at UDMA6 and pata on box2 at UDMA5.
> > HDDs are almost always the bottleneck. Let's say your HDD could serve
> > 20MB/s,
> > so there is (depending on your transfer protocol) some overhead by the
> > server
> > daemon/protocol and network transport........13MB/s do not sound that bad
> > for non-RAID HDD systems, but it might not be the best you can get.
i'll include hdparm -tT readings, as well as netperf benchmark tests:
netperf: BOX1 -> BOX2:
***************************
netperf -H hydra -f M -c -C
TCP STREAM TEST to hydra
Recv Send Send Utilization Service Demand
Socket Socket Message Elapsed Send Recv Send Recv
Size Size Size Time Throughput local remote local remote
bytes bytes bytes secs. MBytes /s % T % T us/KB us/KB
87380 16384 16384 10.00 29.54 92.80 29.11 30.680 9.623
netperf: BOX2 -> BOX1:
***************************
netperf -H enti -f M -c -C
TCP STREAM TEST to enti
Recv Send Send Utilization Service Demand
Socket Socket Message Elapsed Send Recv Send Recv
Size Size Size Time Throughput local remote local remote
bytes bytes bytes secs. MBytes /s % T % T us/KB us/KB
87380 16384 16384 10.00 32.56 68.48 19.60 20.538 5.877
hdparm: BOX1:
*****************
root@eNTi $ hdparm -tT /dev/sda
/dev/sda:
Timing buffer-cache reads: 1032 MB in 2.00 seconds = 514.79 MB/sec
Timing buffered disk reads: 100 MB in 3.02 seconds = 33.10 MB/sec
hdparm: BOX2:
*****************
root@hydralisk $ hdparm -tT /dev/hde
/dev/hde:
Timing buffer-cache reads: 540 MB in 2.01 seconds = 268.03 MB/sec
Timing buffered disk reads: 138 MB in 3.02 seconds = 45.63 MB/sec
strangly the "supposed-to-be-faster" sata disk brings a lot worse bufferd reads.
ifconfig BOX1:
****************
root@eNTi $ ifconfig
eth0 Link encap:Ethernet HWaddr 00:09:5B:62:1E:F8
inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3871859 errors:0 dropped:0 overruns:0 frame:0
TX packets:2868305 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:76626653 (73.0 Mb) TX bytes:673987799 (642.7 Mb)
Interrupt:7
ifconfig BOX2:
****************
root@hydralisk $ ifconfig
eth0 Link encap:Ethernet HWaddr 00:09:5B:62:1E

3
inet addr:192.168.0.3 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:16662976 errors:0 dropped:0 overruns:0 frame:0
TX packets:18611361 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3691867954 (3520.8 Mb) TX bytes:2477305059 (2362.5 Mb)
Interrupt:3
mii-tool BOX1:
****************
root@eNTi $ mii-tool
eth0: negotiated 100baseTx-FD flow-control, link ok
mii-diag BOX2:
*****************
root@eNTi $ mii-diag
Using the default interface 'eth0'.
Basic registers of MII PHY #1: 1000 796d 0020 6110 05e1 cde1 000d 2001.
The autonegotiated capability is 01e0.
The autonegotiated media type is 100baseTx-FD.
Basic mode control register 0x1000: Auto-negotiation enabled.
You have link beat, and everything is working OK.
Your link partner advertised cde1: Flow-control 100baseTx-FD 100baseTx 10baseT-FD 10baseT, w/ 802.3X flow control.
End of basic transceiver information.
mii-tool BOX2:
****************
root@hydralisk $ mii-tool
eth0: negotiated 100baseTx-FD flow-control, link ok
mii-diag BOX2:
*****************
root@hydralisk $ mii-diag
Using the default interface 'eth0'.
Basic registers of MII PHY #1: 1000 796d 0020 6110 05e1 cde1 000d 2001.
The autonegotiated capability is 01e0.
The autonegotiated media type is 100baseTx-FD.
Basic mode control register 0x1000: Auto-negotiation enabled.
You have link beat, and everything is working OK.
Your link partner advertised cde1: Flow-control 100baseTx-FD 100baseTx 10baseT-FD 10baseT, w/ 802.3X flow control.
End of basic transceiver information.
thx for your help!
---
eNTi
--------------------------------------------
"In mathematics you don't understand things,
you just get used to them."
-- Johann von Neumann