[Samba] my file transfers are incredibly slow
David
habeeb at cfl.rr.com
Wed Aug 20 05:41:45 GMT 2003
My problem is there I download and archive my work to the freebsd server via
samba. When I'm transfering files from the windows -> freebsd I will get
anywhere between 20-100kB/s and from freebsd -> windows I will get a few
mbps. I'm getting no where near a full 100mbps and both ethernet cards are
set for 100mbps full duplex working great. I've tried increasing buffer
sizes on the network to over 65535 bytes and nothing seems to work.
(xl0 = LAN, xl1 = internet)
I've included some information and I know it's still a general question but
I'm hoping someone can work with me on this issue. I'd really like to keep
samba but I need it to perform. I need to be able to get atleast a 35%
efficiency rate. Thanks in advance.
Here is some info from top as I was transfering a large file:
last pid: 39875; load averages: 0.00, 0.00, 0.00
up 10+10:22:57 01:38:14
22 processes: 2 running, 20 sleeping
CPU states: 0.0% user, 0.0% nice, 0.4% system, 1.2% interrupt, 98.4%
idle
Mem: 17M Active, 546M Inact, 150M Wired, 36M Cache, 86M Buf, 1328K Free
Swap: 384M Total, 384M Free
$ ping 172.16.16.1
PING 172.16.16.1 (172.16.16.1): 56 data bytes
64 bytes from 172.16.16.1: icmp_seq=0 ttl=64 time=0.760 ms
64 bytes from 172.16.16.1: icmp_seq=1 ttl=64 time=0.047 ms
64 bytes from 172.16.16.1: icmp_seq=2 ttl=64 time=0.070 ms
64 bytes from 172.16.16.1: icmp_seq=3 ttl=64 time=0.044 ms
64 bytes from 172.16.16.1: icmp_seq=4 ttl=64 time=0.070 ms
64 bytes from 172.16.16.1: icmp_seq=5 ttl=64 time=0.047 ms
64 bytes from 172.16.16.1: icmp_seq=6 ttl=64 time=0.047 ms
^C
--- 172.16.16.1 ping statistics ---
7 packets transmitted, 7 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.044/0.155/0.760/0.247 ms
$ netstat -nr
Routing tables
Internet:
Destination Gateway Flags Refs Use
Netif Expire
default 65.2.120.1 UGSc 9 8112704 xl1
65.2.120/21 link#2 UC 1 0
xl1
65.2.120.1 00:06:2a:ce:64:54 UHLW 9 0 xl1
1200
65.2.126.81 127.0.0.1 UGHS 0 0
lo0
127.0.0.1 127.0.0.1 UH 2 1478
lo0
172.16.16/24 link#1 UC 3 0
xl0
172.16.16.1 00:01:03:c1:ac:19 UHLW 0 197 lo0
172.16.16.2 00:01:03:c1:89:1a UHLW 8 4720351 xl0
901
172.16.16.255 ff:ff:ff:ff:ff:ff UHLWb 1 2545
xl0
Samba server:
amd athlon 1Ghz
768meg pc133 ram
250gig ata/100 7200rpm 8meg cache
3com 905_???_ managed nic
root at damn (~)$ smbd -V;uname -prs
Version 2.2.8a
FreeBSD 5.1-CURRENT i386
root at damn (~)$ ifconfig xl0
xl0: flags=28943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu
1500
options=b<RXCSUM,TXCSUM,VLAN_MTU>
inet 172.16.16.1 netmask 0xffffff00 broadcast 172.16.16.255
ether 00:01:03:c1:ac:19
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
||
100mbps full duplex netgear switch
||
Windows 2000 SP4
20gig ata/66 7200rpm
512meg pc3200 ddr
amd barton 2800+
3com 905_???_ managed nic
More information about the samba
mailing list