[Samba] Abysmal performance with Samba 4 and Windows Explorer
Simon Schneider
schneida.simon at gmail.com
Wed Mar 5 08:14:08 MST 2014
Thanks for your reply.
Here is my smb.conf:
[global]
workgroup = ABC-ABCDEF
realm = ABC-ABCDEF.LAN
netbios name = ABCSERVER
server role = active directory domain controller
dns forwarder = 10.10.20.20
idmap_ldb:use rfc2307 = yes
load printers = yes
log level = 0
[netlogon]
path = /var/lib/samba/sysvol/asb-alkoven.lan/scripts
read only = No
[sysvol]
path = /var/lib/samba/sysvol
read only = No
[printers]
path = /var/spool/samba
printable = yes
printing = CUPS
[print$]
path = /srv/samba/PrinterDrivers
comment = Printer Drivers
writeable = yes
[Profiles]
path = /srv/samba/Profiles
read only = no
[home]
path = /srv/samba/home
read only = no
[GemeinsameDateien]
path = /srv/samba/GemeinsameDateien
read only = no
[... 3 more shares following exactly the same pattern as
"GemeinsameDateien"..]
I'm running samba version 4.1.5-SerNet-Debian-7.wheezy on debian i686. The
machine has 4GB RAM and an Intel Core 2 Duo, so performance of the server
itself should not matter (there are at max 5-8 users accessing files but
mostly docs, some pictures).
The problem happens on our existing windows 7 clients as well as one that a
did a fresh install on, installed alle MS updates and is not yet joined to
the domain, so my applied GPOs should not change anything either. Also
clients access the server via IP, so no DNS problem either.
Thanks again for your input!
2014-03-05 15:53 GMT+01:00 Marty Sweet <msweet.dev at gmail.com>:
> Hi,
>
> Could you post your smb.conf? Our production Samba 4 servers work a
> treat but our older Samba 3 servers had this issue occasionally.
> Is there also any error messages in your logging directory?
>
> Thanks,
> Marty Sweet
>
> On 5 March 2014 09:26, Simon Schneider <schneida.simon at gmail.com> wrote:
> > I'm experiencing extremely slow performance when trying to copy files
> from
> > and to a samba 4 share. I'm using Debian and the Samba 4 SerNet packages
> > and everything is up to date on the client as well as on the server. The
> > connection is made through 100Mbp/s ethernet, but the problem also exists
> > on a local virtual machine that runs on the Debian server.
> >
> > By extremely I mean really abysmal:
> >
> > * Copying a folder with 50 files total size 10 MB to Win7: ~ 20 minutes
> at
> > 3-4 Kb/s
> > * Copying the same folder to Windows Server 2003: ~ 3 seconds
> > * Copying the same folder with ROBOCOPY to Win 7: ~3 seconds
> > * Copying a large random file 500 MB to Win 7: Takes ages to start copy
> > progress than up to 10 MB/s
> > * Copying the same large file to Windows Server 2003: Starts immediately
> to
> > copy and takes a few seconds
> > * Copying the same large file with ROBOCOPY using Win7: also decent
> > performance, no delays
> >
> > I already googled for days and found a lot of suggestions to:
> >
> > * Changes switches: one of the test machines runs as VM on host, so this
> is
> > not the issue
> > * Update network drivers: same thing, using different machines and a VM
> the
> > problem exists on all of them
> > * Turn off Remote Differential compression on the client: Didn't help at
> all
> > * Disable autotuning on the client with netsh: Didn't help at all
> > * Make sure not to use mapped drives but UNC paths instead: Did help when
> > logging in but has no effect on file transfer
> > * Try switching max protocol on the samba server to something like NT1:
> did
> > not help
> > * Do not use any other custom smb.conf options like socket etc.
> >
> > What is the big difference between using Windows File Explorer and
> > Robocopy? I mean, I cant force my users to copy files with robocopy from
> > now on.... grml...
> >
> > Thanks for help!
> > --
> > 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