[Samba] Speed differences for windows clients

Philipp Lies philipp.lies at cin.uni-tuebingen.de
Tue Aug 13 06:11:02 MDT 2013


Thanks, but here is no socket option set. Here's the smb.conf w/o shares:

[global]
       workgroup = XXX
       server string = Samba Server Version %v
       netbios name = XXX
       log file = /var/log/samba/log.%m
       max log size = 1000
       syslog = 0

       security = user
       passdb backend = ldapsam:ldap://localhost
       ldap suffix = dc=...
       ldap admin dn = cn=...
       ldap user suffix = ou=users
       ldap group suffix = ou=groups
       ldap machine suffix = ou=computers
       ldap passwd sync = No
       ldap ssl = start tls
       domain master = no
       domain logons = yes
       preferred master = yes
       os level = 35

Pretty minimal, that's why I thought maybe someone here knows if I
should set some additional parameter.

Am 8/13/2013 2:07 PM, schrieb Ricky Nance:
> If you have a socket options line in your config, comment it out and
> restart smbd and see if that helps.
> On Aug 13, 2013 4:17 AM, "Philipp Lies" <philipp.lies at cin.uni-tuebingen.de>
> wrote:
> 
>> Am 8/13/2013 10:50 AM, schrieb L.P.H. van Belle:
>>> Try the following.
>>> Since Win7 does traffic shaping.
>>>
>>> in adminstrative dos box.
>>> run
>>> netsh interface tcp set global autotuning=disabled
>>>
>>> ( the original setting is : netsh interface tcp set global
>> autotuningl=normal  )
>>> and test again.
>> Thanks, this boosted the speed ~5MB/s for both connections but the
>> difference between server 1 and server 2 is still at ~10-15 MB/s. It's
>> nothing critical, I'm just curious what could cause this.
>>
>> Cheers
>>
>> Philipp
>>
>>>
>>>
>>> Gr.
>>>
>>> Louis
>>>
>>>
>>>> -----Oorspronkelijk bericht-----
>>>> Van: jra at samba.org [mailto:samba-bounces at lists.samba.org]
>>>> Namens Jeremy Allison
>>>> Verzonden: dinsdag 13 augustus 2013 2:18
>>>> Aan: Philipp Lies
>>>> CC: samba at lists.samba.org
>>>> Onderwerp: Re: [Samba] Speed differences for windows clients
>>>>
>>>> On Mon, Aug 12, 2013 at 10:00:18AM +0200, Philipp Lies wrote:
>>>>> Hi,
>>>>>
>>>>> we have a strange phenomenon with the transfer speed between windows
>>>>> clients and samba servers. Here's the setup:
>>>>>
>>>>> server 1: centos 6.3 with samba 3.5.10
>>>>> server 2: centos 6.4 with samba 3.6.9
>>>>> both servers are configured as BDC and have - aside from netbios
>>>>> name - identical smb.conf which contains ldapsam as backend and all
>>>>> other parameters are not set (i.e. default)
>>>>>
>>>>> When I mount a share from a linux client, the transfer speed is
>>>>> ~112MB/sec to either server from any linux client. However, when I
>>>>> mount a share from Windows clients, the speed to server 1 is ~95MB/s
>>>>> and to server 2 ~85MB/s. We tested this with several windows clients
>>>>> (all running Windows 7 with all updates).
>>>>>
>>>>> The speed difference between linux client and windows client is not
>>>>> what's confusing me but that server 2 is always slower than server
>>>>> 1.
>>>>>
>>>>> Any ideas what could cause this?
>>>>
>>>> Nope. Need more data :-).
>>>>
>>>> Jeremy.
>>>> --
>>>> To unsubscribe from this list go to the following URL and read the
>>>> instructions:  https://lists.samba.org/mailman/options/samba
>>>>
>>>>
>>>
>>
>> --
>> To unsubscribe from this list go to the following URL and read the
>> instructions:  https://lists.samba.org/mailman/options/samba
>>
> 



More information about the samba mailing list