Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Nov 1999 21:41:20 -0700
From:      "Chris Wasser" <cwasser@v-wave.com>
To:        "Rik van Mierlo" <rik@ricardis.tudelft.nl>, "Edirol" <edirol@anime.ca>
Cc:        <freebsd-questions@FreeBSD.ORG>, "Marty Cawthon" <mrc@ChipChat.com>
Subject:   Re: SAMBA / 3.3-Stable / transfer delay
Message-ID:  <005101bf30b6$014d7da0$271a6c18@vwave.com>
References:  <Pine.BSF.4.10.9911151146090.79614-100000@ricardis.ricardis.tudelft.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
----- Original Message -----
From: Rik van Mierlo <rik@ricardis.tudelft.nl>
To: Edirol <edirol@anime.ca>
Cc: <freebsd-questions@FreeBSD.ORG>; Marty Cawthon <mrc@ChipChat.com>
Sent: Monday, November 15, 1999 3:56 AM
Subject: Re: SAMBA / 3.3-Stable / transfer delay
[---cut---]

This may be somewhat delayed and even unrelated but I had serious
problems getting Samba 2.0.5a from the ports to work properly in
relation to speed over my local network (sending and receiving files
from the Samba server on the FreeBSD box) After hunting and a low I
finally fixed it, I hope this helps someone:

sysctl -w net.inet.tcp.delayed_ack=0

and in smb.conf:

socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SENDBUF=65535
SO_RCVBUF=65535

Now Samba works like a champ. My specs: FreeBSD 3.3-STABLE, Samba 2.0.5a
w/patch-ah running over a 100Base-TX full duplex LAN.

The following is tests conducted before and after the above
recomendations sending and receiving to the FreeBSD samba volume using
smbclient. My Winsux9x/NT client boxes also gave roughly the same speed
(and increases afterwards) give-or-take a few 100 bytes.

------------------------------------------
smbclient statistics before finding solution:
------------------------------------------
smbclient "//deepthought/public" stn2 -U stn2 -d 3 -N -c "get
acdc3223.exe"
Client started (version 2.0.5a).
resolve_name: Attempting lmhosts lookup for name deepthought<0x20>
resolve_name: Attempting host lookup for name deepthought<0x20>
Connecting to 192.168.1.1 at port 139
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 2.0.5a]
dos_clean_name [\\acdc3223.exe]
getting file acdc3223.exe of size 1448082 as acdc3223.exe (107.58 kb/s)
(average 107.58 kb/s)

smbclient "//deepthought/public" stn2 -U stn2 -d 3 -N -c "put
acdc3223.exe"
Client started (version 2.0.5a).
resolve_name: Attempting lmhosts lookup for name deepthought<0x20>
resolve_name: Attempting host lookup for name deepthought<0x20>
Connecting to 192.168.1.1 at port 139
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 2.0.5a]
dos_clean_name [\\acdc3223.exe]
putting file acdc3223.exe as \acdc3223.exe (79.99 kb/s) (average 79.99
kb/s)

----------------------------------------
smbclient statistics after finding solution:
----------------------------------------
smbclient "//deepthought/public" stn2 -U stn2 -d 3 -N -c "get
acdc3223.exe"
Client started (version 2.0.5a).
resolve_name: Attempting lmhosts lookup for name deepthought<0x20>
resolve_name: Attempting host lookup for name deepthought<0x20>
Connecting to 192.168.1.1 at port 139
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 2.0.5a]
dos_clean_name [\\acdc3223.exe]
getting file acdc3223.exe of size 1448082 as acdc3223.exe (12514.5 kb/s)
(average 12514.5 kb/s)

smbclient "//deepthought/public" stn2 -U stn2 -d 3 -N -c "put
acdc3223.exe"
Client started (version 2.0.5a).
resolve_name: Attempting lmhosts lookup for name deepthought<0x20>
resolve_name: Attempting host lookup for name deepthought<0x20>
Connecting to 192.168.1.1 at port 139
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 2.0.5a]
dos_clean_name [\\acdc3223.exe]
putting file acdc3223.exe as \acdc3223.exe (2740.59 kb/s) (average
2740.59 kb/s)



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?005101bf30b6$014d7da0$271a6c18>