[Samba] Low speed in Smaba sharing

Andreas Heinlein aheinlein at gmx.com
Mon Dec 4 19:33:08 UTC 2017


Am 04.12.2017 um 11:03 schrieb sam zand via samba:
> Hi dears,
> how are you?
>
> my friends, i installed samba 4.7 on centos 7 , i need to use Active
> Directory in Samba,
> i connect to sharing with windows client, through user and pass samba AD,
>
> i use 1G ethernet connection between client and file server,
>
> but when i copy a file  from windows to file server,
> speed copy is about 30-50 MB/s (show in copy progress in windows),
>
> while before i use from samba without AD , speed was about 110 MB/S,
>
> what happen in samba with Active Directory that causes speed be low?
>
> any way exist for solve it?

Are you running the AD DC and file sharing on the same samba? Don't do
that. Even Microsoft recommends that a DC is not used for file serving.
This is because SMB signing is required when talking to a DC, this also
applies to file sharing traffic. This puts heavy load on the server and
will limit the effective bandwidth. I tested this with a "real"
Microsoft Windows Server and got about the same figures as you: the same
hardware as DC gives 30-40 MB/s, as a member server I got ~100MB/s.

If you have only one physical machine, move the DC to a virtual machine.

Bye,

Andreas





More information about the samba mailing list