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? very thanks for your helpful answers,
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
Hi friend, thanks fore your helps, but, you allow still i explain more about my problem, I setup DC but windows clients dont join in DC, how can increase speed? or how i have AD feature in samba without decrease performance? thanks, On Mon, Dec 4, 2017 at 11:03 PM, Andreas Heinlein via samba < samba at lists.samba.org> wrote:> 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 > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >