Page 1 of 1

windows samba tuning

Posted: Thu Feb 05, 2026 11:42 am
by zemerdon
powershell get current configuration

Code: Select all

PS C:\Users\zemerdon> get-smbclientconfiguration

set a flag
[code]PS C:\Users\zemerdon> set-smbclientconfiguration -EnableBandwidthThrottling $False

Confirm
Are you sure you want to perform this action?
Performing operation 'Modify' on Target 'SMB Client Configuration'.
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "Y"): y

Linux smb.conf

Posted: Thu Feb 05, 2026 3:21 pm
by zemerdon
Version 4.22.6-Debian-4.22.6+dfsg-0+deb13u1~bpo12+1

/etc/samba/smb.conf

Code: Select all

[global]

acl allow execute always = true
acl map full control = yes
deadtime = 60
getwd cache = yes
strict sync = no
sync always = no
use sendfile = true
strict allocate = Yes
read raw = yes
write raw = yes
strict locking = No
server max protocol = SMB3
client max protocol = SMB3
server multi channel support = yes


# not helping flags

#client min protocol = SMB2_10
#socket options = TCP_NODELAY IPTOS_THROUGHPUT SO_RCVBUF=131072 SO_SNDBUF=131072
server signing = no
client signing = no

# no impacts to SMBv3

#min receivefile size = 16384
#aio read size = 16384
#aio write size = 16384

Windows samba config

Posted: Thu Feb 05, 2026 3:22 pm
by zemerdon
powershell output

PS C:\Users\zemerdon> get-smbclientconfiguration

Code: Select all

ConnectionCountPerRssNetworkInterface : 4
DirectoryCacheEntriesMax              : 16
DirectoryCacheEntrySizeMax            : 65536
DirectoryCacheLifetime                : 10
DormantFileLimit                      : 1023
EnableBandwidthThrottling             : False
EnableByteRangeLockingOnReadOnlyFiles : True
EnableInsecureGuestLogons             : True
EnableLargeMtu                        : True
EnableLoadBalanceScaleOut             : True
EnableMultiChannel                    : True
EnableSecuritySignature               : False
ExtendedSessionTimeout                : 1000
FileInfoCacheEntriesMax               : 64
FileInfoCacheLifetime                 : 10
FileNotFoundCacheEntriesMax           : 128
FileNotFoundCacheLifetime             : 5
KeepConn                              : 600
MaxCmds                               : 50
MaximumConnectionCountPerServer       : 32
OplocksDisabled                       : False
RequireSecuritySignature              : False
SessionTimeout                        : 60
UseOpportunisticLocking               : False
WindowSizeThreshold                   : 8

Intel X520 DA1 conf

Posted: Fri Feb 06, 2026 3:26 pm
by admin
interrupt modulation		enabled
interrupt modulation rate	adaptive
ipsec offload			disabled
ipv4 checksum offload rx +tx 	enabled
large send offload v2 ipv4	disabled
max RSS queue			4
packet priority & vlan 		both enabled
tcp checksum offload ipv4	enabled
udp checksum offload ipv4	enabled