FreeNAS slow to respond in basic tasks

Status
Not open for further replies.

steve.long

Dabbler
Joined
Jun 14, 2016
Messages
41
Hello!

I have a FreeNAS Mini XL functioning as our onsite storage for a small (30 employee) engineering firm.

My FreeNAS has the 10 Gb card installed and connected to a 10 Gb port on our switch.

I have certain tasks that seem to take far too long.

Whenever my users are working in an application and they save what they are working on they get a progress bar that runs to the end and just sits there, sometimes for five seconds. This didn't happen with our previous storage device.

When my users create a new folder and name it on the FreeNAS, it sits idle, but if they create a new folder and just leave it named 'New folder' there is no lag.

Similarly, if you rename a file, the change sits idle for probably 3-5 seconds before being applied.

What can I do to fix this issue? It's an annoyance, and my users could get used to it, but I'd prefer it didn't happen at all. It interrupts their normal flow of work as they have grown used to a quicker process.
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
Are you using SMB?
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
Okay, there goes my next suggestion.

How much RAM do you have and how large is your pool? Have you got a crapton of small files and directories?
 

steve.long

Dabbler
Joined
Jun 14, 2016
Messages
41
How much RAM do you have and how large is your pool?

I have 32GB RAM and my pool is 8x4TB drives.

Have you got a crapton of small files and directories?

Yes. We are an engineering firm. Most of our storage is projects directories full of AutoDESK .dwg files. Does that make my issue chronic? I'm amazed my old HP Proliant had no issues with this but my brand new FreeNAS does.
 
Joined
Jan 18, 2017
Messages
525
Do you happen to know what the CPU speed of the Proliant was? I believe the MiniXL is 2.4GHz, I recently upgraded my CPU's to help alleviate unresponsiveness of SMB process during handling of MANY small files. The SMB process on my machine was hitting 100 percent usage and sometime exceeding it.
 
Joined
Jan 18, 2017
Messages
525
well I'll be damned that is the exact processor I replaced.
 

steve.long

Dabbler
Joined
Jun 14, 2016
Messages
41
That's the one you had in your system? Yeah, that xeon had a 3 drive raid to work with and the network saves were snappy.
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
Most of our storage is projects directories full of AutoDESK .dwg files.
Ah, gotta love CAD software. /s

Let's ask someone who's more familiar with Samba. @anodos, do you have any insight on this unusual behavior? Why would a rename be so much slower?
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
I love AutoCAD. It's not a bloated, steaming mess at all.
SolidWorks is amazing, too. In five years, it went from running on a Sandy Bridge laptop with ease to struggling on a Xeon E5-1650 v3. Progress!
 
Joined
Jan 18, 2017
Messages
525
Ah, gotta love CAD software. /s

Let's ask someone who's more familiar with Samba. @anodos, do you have any insight on this unusual behavior? Why would a rename be so much slower?

My slow down would peak when I tried to do read,write and delete operations simultaneously and that would cause my SMB process to hit the 100 percent usage temporarily I'd love to see what @anodos makes of this.
 

steve.long

Dabbler
Joined
Jun 14, 2016
Messages
41
SolidWorks is amazing, too. In five years, it went from running on a Sandy Bridge laptop with ease to struggling on a Xeon E5-1650 v3. Progress!

I have a few users who run Microstation and love it. But I hate their licensing standards.
 
Joined
Jan 18, 2017
Messages
525

steve.long

Dabbler
Joined
Jun 14, 2016
Messages
41
Post contents of /usr/local/etc/smb4.conf


[global]
server min protocol = SMB2
server max protocol = SMB3
encrypt passwords = yes
dns proxy = no
strict locking = no
oplocks = yes
deadtime = 15
max log size = 51200
max open files = 942068
logging = file
load printers = no
printing = bsd
printcap name = /dev/null
disable spoolss = yes
getwd cache = yes
guest account = nobody
map to guest = Bad User
obey pam restrictions = yes
directory name cache size = 0
kernel change notify = no
panic action = /usr/local/libexec/samba/samba-backtrace
nsupdate command = /usr/local/bin/samba-nsupdate -g
server string = FreeNAS Server
ea support = yes
store dos attributes = yes
lm announce = yes
hostname lookups = yes
acl allow execute always = true
dos filemode = yes
multicast dns register = yes
domain logons = no
idmap config *: backend = tdb
idmap config *: range = 90000001-100000000
server role = member server
workgroup = COOPERENG
realm = COOPER.ENG
security = ADS
client use spnego = yes
cache directory = /var/tmp/.cache/.samba
local master = no
domain master = no
preferred master = no
ads dns update = yes
winbind cache time = 7200
winbind offline logon = yes
winbind enum users = yes
winbind enum groups = yes
winbind nested groups = yes
winbind use default domain = no
winbind refresh tickets = yes
idmap config COOPERENG: backend = rid
idmap config COOPERENG: range = 20000-90000000
allow trusted domains = no
client ldap sasl wrapping = plain
template shell = /bin/sh
template homedir = /home/%D/%U
netbios name = RANGER1
pid directory = /var/run/samba
create mask = 0666
directory mask = 0777
client ntlmv2 auth = yes
dos charset = CP437
unix charset = UTF-8
log level = 1
ea support = no
store dos attributes = no
map archive = no
map hidden = no
map readonly = no
map system = no


[Accounting]
path = /mnt/Galaxy/CooperData/Active/Accounting
printable = no
veto files = /.snapshot/.windows/.mac/.zfs/
writeable = yes
browseable = yes
vfs objects = zfs_space zfsacl streams_xattr aio_pthread
hide dot files = yes
guest ok = no
nfs4:mode = special
nfs4:acedup = merge
nfs4:chown = true
zfsacl:acesort = dontcare


[Applications]
path = /mnt/Galaxy/CooperData/Applications
printable = no
veto files = /.snapshot/.windows/.mac/.zfs/
writeable = yes
browseable = yes
vfs objects = zfs_space zfsacl streams_xattr aio_pthread
hide dot files = yes
guest ok = no
nfs4:mode = special
nfs4:acedup = merge
nfs4:chown = true
zfsacl:acesort = dontcare


[Archive]
path = /mnt/Galaxy/CooperData/Inactive/Archive
printable = no
veto files = /.snapshot/.windows/.mac/.zfs/
writeable = yes
browseable = yes
vfs objects = zfs_space zfsacl streams_xattr aio_pthread
hide dot files = yes
guest ok = no
nfs4:mode = special
nfs4:acedup = merge
nfs4:chown = true
zfsacl:acesort = dontcare


[Photos]
path = /mnt/Galaxy/CooperData/Inactive/Photos
printable = no
veto files = /.snapshot/.windows/.mac/.zfs/
writeable = yes
browseable = yes
vfs objects = zfs_space zfsacl streams_xattr aio_pthread
hide dot files = yes
guest ok = no
nfs4:mode = special
nfs4:acedup = merge
nfs4:chown = true
zfsacl:acesort = dontcare


[Projects]
path = /mnt/Galaxy/CooperData/Active/Projects
printable = no
veto files = /.snapshot/.windows/.mac/.zfs/
writeable = yes
browseable = yes
shadow:snapdir = .zfs/snapshot
shadow:sort = desc
shadow:localtime = yes
shadow:format = auto-%Y%m%d.%H%M-2w
shadow:snapdirseverywhere = yes
vfs objects = shadow_copy2 zfs_space zfsacl streams_xattr aio_pthread
hide dot files = yes
guest ok = no
nfs4:mode = special
nfs4:acedup = merge
nfs4:chown = true
zfsacl:acesort = dontcare


[Recovery]
path = /mnt/Galaxy/CooperData/Active/Projects
printable = no
veto files = /.snapshot/.windows/.mac/.zfs/
writeable = yes
browseable = yes
shadow:snapdir = .zfs/snapshot
shadow:sort = desc
shadow:localtime = yes
shadow:format = auto-%Y%m%d.%H%M-6m
shadow:snapdirseverywhere = yes
vfs objects = shadow_copy2 zfs_space zfsacl streams_xattr aio_pthread
hide dot files = yes
guest ok = yes
nfs4:mode = special
nfs4:acedup = merge
nfs4:chown = true
zfsacl:acesort = dontcare


[Users]
path = /mnt/Galaxy/CooperData/Active/Users
printable = no
veto files = /.snapshot/.windows/.mac/.zfs/
writeable = yes
browseable = yes
shadow:snapdir = .zfs/snapshot
shadow:sort = desc
shadow:localtime = yes
shadow:format = auto-%Y%m%d.%H%M-6m
shadow:snapdirseverywhere = yes
vfs objects = shadow_copy2 zfs_space zfsacl streams_xattr aio_pthread
hide dot files = yes
guest ok = no
nfs4:mode = special
nfs4:acedup = merge
nfs4:chown = true
zfsacl:acesort = dontcare

 

steve.long

Dabbler
Joined
Jun 14, 2016
Messages
41
Hey, @anodos, did you have a chance to look through my smb4.conf? Anything stand out to you? Should I adjust keepalive or deadtime?

I really appreciate any insight you can provide.
 
Status
Not open for further replies.
Top