[Samba] Samba 4 slower file transfer under AD DC mode
Dante Colo
dante.colo at stwbrasil.com
Fri Mar 28 07:46:07 MDT 2014
Hi,
I´m running a samba 4.0.16 under Debian Squeeze 6.0.9, i´ve noted under standalone role mode file transfer on shares is almost twice as fast compared to AD DC mode for big and small files .Settings for the shares when was testing under standalone mode was exactly the same, any suggestions ?
root at pdc:~# testparm
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[netlogon]"
Processing section "[sysvol]"
Processing section "[share1]"
Processing section "[share2]"
Processing section "[SALAMONE_LOCAL]"
Loaded services file OK.
WARNING: You have some share names that are longer than 12 characters.
These may not be accessible to some older clients.
(Eg. Windows9x, WindowsMe, and smbclient prior to Samba 3.0.)
Server role: ROLE_ACTIVE_DIRECTORY_DC
Press enter to see a dump of your service definitions
[global]
workgroup = SALAMONE
realm = SALAMONE.LOCAL
server string = %L
server role = active directory domain controller
passdb backend = samba_dsdb
syslog = 0
log file = /var/log/samba/log.%M
max log size = 2048
debug prefix timestamp = Yes
debug class = Yes
server max protocol = SMB2
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns forwarder = 172.17.100.249
rpc_server:tcpip = no
rpc_daemon:spoolssd = embedded
rpc_server:spoolss = embedded
rpc_server:winreg = embedded
rpc_server:ntsvcs = embedded
rpc_server:eventlog = embedded
rpc_server:srvsvc = embedded
rpc_server:svcctl = embedded
rpc_server:default = external
idmap config * : backend = tdb
map archive = No
map readonly = no
store dos attributes = Yes
vfs objects = dfs_samba4, acl_xattr
[netlogon]
path = /var/lib/samba/sysvol/salamone.local/scripts
read only = No
[sysvol]
path = /var/lib/samba/sysvol
read only = No
[share1]
path = /data/share1
read only = No
aio read size = 16384
aio write size = 16384
map acl inherit = Yes
vfs objects = aio_pthread, acl_xattr
acl_xattr:ignore system acls = yes
[share2]
path = /data/share2
read only = No
aio read size = 16384
aio write size = 16384
map acl inherit = Yes
write cache size = 262144
vfs objects = aio_pthread, acl_xattr
acl_xattr:ignore system acls = yes
[SALAMONE_LOCAL]
path = /data/salamone
read only = No
aio read size = 16384
aio write size = 16384
map acl inherit = Yes
write cache size = 262144
vfs objects = aio_pthread, acl_xattr
acl_xattr:ignore system acls = yes
More information about the samba
mailing list