Garance A Drosihn wrote:
At 11:15 PM -0700 7/18/05, Gary Clemans-Gibbon wrote:

Thanks David,

I just tried that line but it seems to be the same or if
anything it seems even slower.


I missed the start of this thread, but make sure that you do not
have a duplex-mismatch with your ethernet cards.  You want to be
sure your server and your client(s) have the same duplex setting
as whatever they are connected to (usually some switch).  At one
point we had excruciating performance problems with our samba
server, and eventually this turned out to be a duplex mismatch
between the server and the switch it was connected to.  The
switch was set to 100-Mb-full/duplex (which is to say, it was
*not* doing autonegotiation), and the network interface on the
server was set to autonegotiate.  The server ended up with the
wrong answer for duplex...



Garance,

Thanks for that. I am experiencing similar slow write speeds when I transfer uusing SCP as well so it's not samba. Copying a file from one HDD to the other on the samba box results in a fast write. It looks like communication.

I've tried two NICs. The box is hooked to a 16 port switch which works fine. I don't know how to check the autonegotiation.

$ ifconfig -a
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33224
        inet 127.0.0.1 netmask 0xff000000
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5
dc0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        address: 00:50:bf:9c:62:e4
        media: Ethernet autoselect (100baseTX full-duplex)
        status: active
        inet 192.168.20.3 netmask 0xffffff00 broadcast 192.168.20.255
        inet6 fe80::250:bfff:fe9c:62e4%dc0 prefixlen 64 scopeid 0x1
pflog0: flags=0<> mtu 33224
pfsync0: flags=0<> mtu 2020
enc0: flags=0<> mtu 1536


Is there someway I can try different manual settings with the NIC. I guess it is an ifconfig command. I'm off to google now. If you have any suggestion I'd be grateful.

thanks
Gary

Reply via email to