keson
Dabbler
- Joined
- Jan 24, 2019
- Messages
- 12
Team,
I can read several threads about SMB performance issues, but not many seem to be related to 11.2.U2. As I have red that the SMB implementation has changed rapidly in U2, I would perhaps not link this issue to those on older version.
The thing is that when I fresh boot FreeNas and for several days after the restart it seems to do very well, I can see some 70-80 MB/s on RED Was on HP Microserver G10. Quite OK for me I would say. However suddenly the next day I can see only 3-6 MB/s both on writing and reading.
Not sure what it can cause, I see no particular errors, but the speed is slow until next restart. Some shares are available for guests, some not, also using SMB for Time machine, which really does work great. I do not use any other but default permissions. So either owner or goes access scenario so to say. I see no obvious errors in console, no alerts...
Here is a bit from my SMB configuration, affects basically all shares the same way. Not sure what else shall I post here for better troubleshooting?
[root@freenas ~]# testparm -s
Registered MSG_REQ_POOL_USAGE
Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
Load smb config files from /usr/local/etc/smb4.conf
Processing section "[Archiv]"
Processing section "[Deti]"
Processing section "[Filmy]"
Processing section "[Hudba]"
Processing section "[Knihy]"
Processing section "[Satelit]"
Processing section "[TimeMachinePetrSMB]"
Processing section "[TimemachineradkaSMB]"
Processing section "[homes]"
Loaded services file OK.
Server role: ROLE_STANDALONE
# Global parameters
[global]
deadtime = 15
disable spoolss = Yes
dns proxy = No
dos charset = CP437
hostname lookups = Yes
kernel change notify = No
lm announce = Yes
load printers = No
logging = file
map to guest = Bad User
max log size = 51200
max open files = 218918
netbios aliases = FREENAS
nsupdate command = /usr/local/bin/samba-nsupdate -g
obey pam restrictions = Yes
panic action = /usr/local/libexec/samba/samba-backtrace
printcap name = /dev/null
security = USER
server min protocol = SMB2_02
server role = standalone server
server string = FreeNAS Server na Srubu
time server = Yes
workgroup = SRUB
idmap config *: range = 90000001-100000000
idmap config * : backend = tdb
acl allow execute always = Yes
create mask = 0666
directory mask = 0777
directory name cache size = 0
dos filemode = Yes
strict locking = No
[Archiv]
path = "/mnt/tank/Archiv"
read only = No
veto files = /.snapshot/.windows/.mac/.zfs/
vfs objects = zfs_space zfsacl fruit streams_xattr
zfsacl:acesort = dontcare
nfs4:chown = true
nfs4:acedup = merge
nfs4:mode = special
fruit:resource = stream
fruit:metadata = stream
[Deti]
guest ok = Yes
path = "/mnt/tank/Deti"
read only = No
veto files = /.snapshot/.windows/.mac/.zfs/
vfs objects = zfs_space zfsacl fruit streams_xattr
zfsacl:acesort = dontcare
nfs4:chown = true
nfs4:acedup = merge
nfs4:mode = special
fruit:resource = stream
fruit:metadata = stream
[Filmy]
path = "/mnt/tank/Movies"
read only = No
veto files = /.snapshot/.windows/.mac/.zfs/
vfs objects = zfs_space zfsacl fruit streams_xattr
zfsacl:acesort = dontcare
nfs4:chown = true
nfs4:acedup = merge
nfs4:mode = special
fruit:resource = stream
fruit:metadata = stream
[Hudba]
guest ok = Yes
path = "/mnt/tank/Music"
read only = No
veto files = /.snapshot/.windows/.mac/.zfs/
vfs objects = zfs_space zfsacl fruit streams_xattr
zfsacl:acesort = dontcare
nfs4:chown = true
nfs4:acedup = merge
nfs4:mode = special
fruit:resource = stream
fruit:metadata = stream
[Knihy]
guest ok = Yes
path = "/mnt/tank/Books"
read only = No
veto files = /.snapshot/.windows/.mac/.zfs/
vfs objects = zfs_space zfsacl fruit streams_xattr
zfsacl:acesort = dontcare
nfs4:chown = true
nfs4:acedup = merge
nfs4:mode = special
fruit:resource = stream
fruit:metadata = stream
[Satelit]
guest ok = Yes
path = "/mnt/tank/Satelit"
read only = No
veto files = /.snapshot/.windows/.mac/.zfs/
vfs objects = zfs_space zfsacl fruit streams_xattr
zfsacl:acesort = dontcare
nfs4:chown = true
nfs4:acedup = merge
nfs4:mode = special
fruit:resource = stream
fruit:metadata = stream
[TimeMachinePetrSMB]
path = "/mnt/tank/TMPetr"
read only = No
veto files = /.snapshot/.windows/.mac/.zfs/
vfs objects = zfs_space zfsacl fruit streams_xattr
zfsacl:acesort = dontcare
nfs4:chown = true
nfs4:acedup = merge
nfs4:mode = special
fruit:volume_uuid = a5d9226e-be85-4a9b-a72d-de0f5e36bb3e
fruit:time machine = yes
fruit:resource = stream
fruit:metadata = stream
[TimemachineradkaSMB]
path = "/mnt/tank/TMRadka"
read only = No
veto files = /.snapshot/.windows/.mac/.zfs/
vfs objects = zfs_space zfsacl fruit streams_xattr
zfsacl:acesort = dontcare
nfs4:chown = true
nfs4:acedup = merge
nfs4:mode = special
fruit:volume_uuid = 52317f07-1aee-4579-958c-75b5db0f9b3f
fruit:time machine = yes
fruit:resource = stream
fruit:metadata = stream
[homes]
browseable = No
comment = Domaci slozky
path = "/mnt/tank/Homes/%U"
read only = No
valid users = %U
veto files = /.snapshot/.windows/.mac/.zfs/
vfs objects = zfs_space zfsacl fruit streams_xattr
zfsacl:acesort = dontcare
nfs4:chown = true
nfs4:acedup = merge
nfs4:mode = special
fruit:resource = stream
fruit:metadata = stream
[root@freenas ~]#
I can read several threads about SMB performance issues, but not many seem to be related to 11.2.U2. As I have red that the SMB implementation has changed rapidly in U2, I would perhaps not link this issue to those on older version.
The thing is that when I fresh boot FreeNas and for several days after the restart it seems to do very well, I can see some 70-80 MB/s on RED Was on HP Microserver G10. Quite OK for me I would say. However suddenly the next day I can see only 3-6 MB/s both on writing and reading.
Not sure what it can cause, I see no particular errors, but the speed is slow until next restart. Some shares are available for guests, some not, also using SMB for Time machine, which really does work great. I do not use any other but default permissions. So either owner or goes access scenario so to say. I see no obvious errors in console, no alerts...
Here is a bit from my SMB configuration, affects basically all shares the same way. Not sure what else shall I post here for better troubleshooting?
[root@freenas ~]# testparm -s
Registered MSG_REQ_POOL_USAGE
Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
Load smb config files from /usr/local/etc/smb4.conf
Processing section "[Archiv]"
Processing section "[Deti]"
Processing section "[Filmy]"
Processing section "[Hudba]"
Processing section "[Knihy]"
Processing section "[Satelit]"
Processing section "[TimeMachinePetrSMB]"
Processing section "[TimemachineradkaSMB]"
Processing section "[homes]"
Loaded services file OK.
Server role: ROLE_STANDALONE
# Global parameters
[global]
deadtime = 15
disable spoolss = Yes
dns proxy = No
dos charset = CP437
hostname lookups = Yes
kernel change notify = No
lm announce = Yes
load printers = No
logging = file
map to guest = Bad User
max log size = 51200
max open files = 218918
netbios aliases = FREENAS
nsupdate command = /usr/local/bin/samba-nsupdate -g
obey pam restrictions = Yes
panic action = /usr/local/libexec/samba/samba-backtrace
printcap name = /dev/null
security = USER
server min protocol = SMB2_02
server role = standalone server
server string = FreeNAS Server na Srubu
time server = Yes
workgroup = SRUB
idmap config *: range = 90000001-100000000
idmap config * : backend = tdb
acl allow execute always = Yes
create mask = 0666
directory mask = 0777
directory name cache size = 0
dos filemode = Yes
strict locking = No
[Archiv]
path = "/mnt/tank/Archiv"
read only = No
veto files = /.snapshot/.windows/.mac/.zfs/
vfs objects = zfs_space zfsacl fruit streams_xattr
zfsacl:acesort = dontcare
nfs4:chown = true
nfs4:acedup = merge
nfs4:mode = special
fruit:resource = stream
fruit:metadata = stream
[Deti]
guest ok = Yes
path = "/mnt/tank/Deti"
read only = No
veto files = /.snapshot/.windows/.mac/.zfs/
vfs objects = zfs_space zfsacl fruit streams_xattr
zfsacl:acesort = dontcare
nfs4:chown = true
nfs4:acedup = merge
nfs4:mode = special
fruit:resource = stream
fruit:metadata = stream
[Filmy]
path = "/mnt/tank/Movies"
read only = No
veto files = /.snapshot/.windows/.mac/.zfs/
vfs objects = zfs_space zfsacl fruit streams_xattr
zfsacl:acesort = dontcare
nfs4:chown = true
nfs4:acedup = merge
nfs4:mode = special
fruit:resource = stream
fruit:metadata = stream
[Hudba]
guest ok = Yes
path = "/mnt/tank/Music"
read only = No
veto files = /.snapshot/.windows/.mac/.zfs/
vfs objects = zfs_space zfsacl fruit streams_xattr
zfsacl:acesort = dontcare
nfs4:chown = true
nfs4:acedup = merge
nfs4:mode = special
fruit:resource = stream
fruit:metadata = stream
[Knihy]
guest ok = Yes
path = "/mnt/tank/Books"
read only = No
veto files = /.snapshot/.windows/.mac/.zfs/
vfs objects = zfs_space zfsacl fruit streams_xattr
zfsacl:acesort = dontcare
nfs4:chown = true
nfs4:acedup = merge
nfs4:mode = special
fruit:resource = stream
fruit:metadata = stream
[Satelit]
guest ok = Yes
path = "/mnt/tank/Satelit"
read only = No
veto files = /.snapshot/.windows/.mac/.zfs/
vfs objects = zfs_space zfsacl fruit streams_xattr
zfsacl:acesort = dontcare
nfs4:chown = true
nfs4:acedup = merge
nfs4:mode = special
fruit:resource = stream
fruit:metadata = stream
[TimeMachinePetrSMB]
path = "/mnt/tank/TMPetr"
read only = No
veto files = /.snapshot/.windows/.mac/.zfs/
vfs objects = zfs_space zfsacl fruit streams_xattr
zfsacl:acesort = dontcare
nfs4:chown = true
nfs4:acedup = merge
nfs4:mode = special
fruit:volume_uuid = a5d9226e-be85-4a9b-a72d-de0f5e36bb3e
fruit:time machine = yes
fruit:resource = stream
fruit:metadata = stream
[TimemachineradkaSMB]
path = "/mnt/tank/TMRadka"
read only = No
veto files = /.snapshot/.windows/.mac/.zfs/
vfs objects = zfs_space zfsacl fruit streams_xattr
zfsacl:acesort = dontcare
nfs4:chown = true
nfs4:acedup = merge
nfs4:mode = special
fruit:volume_uuid = 52317f07-1aee-4579-958c-75b5db0f9b3f
fruit:time machine = yes
fruit:resource = stream
fruit:metadata = stream
[homes]
browseable = No
comment = Domaci slozky
path = "/mnt/tank/Homes/%U"
read only = No
valid users = %U
veto files = /.snapshot/.windows/.mac/.zfs/
vfs objects = zfs_space zfsacl fruit streams_xattr
zfsacl:acesort = dontcare
nfs4:chown = true
nfs4:acedup = merge
nfs4:mode = special
fruit:resource = stream
fruit:metadata = stream
[root@freenas ~]#