Slow samba speed after upgrade

Status
Not open for further replies.

SMart0711

Cadet
Joined
May 20, 2017
Messages
3
Hey Guys,

I've been using FreeNAS 9.10 on my small NAS Server for half a year without a problem. After upgrading to corral I noticed reduced network spped on my samba shares. Befre it was about 80MB/s /100MB/s write/read over GbE from my Windows 10 PC. After upgrading, the speed dropped to 60/80. For several reasons I switched back to 9.10 (using an older grub entry), expecting to returning to higher transfer speed. But instead the speed dropped again to 20/50. So far I tried replacing cables, switch and another PC with Win 7, but no luck. The internal speed of the ZFS Volume ( dd if=/dev/zero of=/mnt/DATA/testfile bs=500M count=3) showed about 300MB/s speed. I tried tuning samba:
Code:
ea support = no
store dos attributes = no
map archive = no
map hidden = no
map readonly = no
map system = no

...but no difference.
Do you have any idea what could be wrong?
My hardware config is:
CPU: Intel Celeron N3150
RAM: 1x 8GB • PC3L-12800S
HDD: Seagate NAS HDD 4TB, SATA 6Gb/s (ST4000VN000)

I hope someone can help me.
best regards
Sebastian

Edit smb4.conf:
Code:
[global]
  username map = /usr/local/etc/smbusers
  server max protocol = SMB3_00
  interfaces = 127.0.0.1 192.168.0.2
  bind interfaces only = yes
  encrypt passwords = yes
  dns proxy = no
  strict locking = no
  oplocks = yes
  deadtime = 15
  max log size = 51200
  max open files = 232454
  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 9.3
  ea support = yes
  store dos attributes = yes
  lm announce = yes
  unix extensions = no
  time server = yes
  acl allow execute always = true
  dos filemode = yes
  multicast dns register = no
  domain logons = no
  local master = no
  idmap config *: backend = tdb
  idmap config *: range = 90000001-100000000
  server role = standalone
  netbios name = FREENAS
  workgroup = LOCAL
  security = user
  pid directory = /var/run/samba
  create mask = 0666
  directory mask = 0777
  client ntlmv2 auth = yes
  dos charset = CP852
  unix charset = UTF-8
  log level = 0
  ea support = no
  store dos attributes = no
  map archive = no
  map hidden = no
  map readonly = no
  map system = no
   

[nas_backup]
  path = /mnt/DATA/nas_backup
  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-1w
  shadow:snapdirseverywhere = yes
  vfs objects = shadow_copy2 zfs_space zfsacl shadow_copy streams_xattr aio_pthread
  hide dot files = yes
  guest ok = no
  nfs4:mode = special
  nfs4:acedup = merge
  nfs4:chown = true
  zfsacl:acesort = dontcare
 

melloa

Wizard
Joined
May 22, 2016
Messages
1,749
After upgrading to corral I noticed reduced network spped on my samba shares.

Downgrade back to 9.10 and wait for 11. Corral got discontinued and any issue won't be addressed.
 

SMart0711

Cadet
Joined
May 20, 2017
Messages
3
As I wrote, already downgraded to 9.10. But the issue is still there and even got worse. Should I do a clean reinstallation? How would I do this without losing my ZFS Volume?
 

melloa

Wizard
Joined
May 22, 2016
Messages
1,749

BigDave

FreeNAS Enthusiast
Joined
Oct 6, 2013
Messages
2,479
As I wrote, already downgraded to 9.10. But the issue is still there and even got worse. Should I do a clean reinstallation? How would I do this without losing my ZFS Volume?
If you have not backed up your data, do so before
proceeding.
Your Pool(volume) is not part of the OS! You can perform a fresh install and the drives that form your pool will not be affected. Once the fresh install is completed, you may need to import your
Pool to access your data. Please consult the documentation for more details
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
Sounds like FreeNAS 11 should restore the performance you had before.
 

BigDave

FreeNAS Enthusiast
Joined
Oct 6, 2013
Messages
2,479
edit: deleted previous response
edit: Eric beat me to it...
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
Test your network speeds using iperf. Make sure to test with the server being freenas and your Windows host.

Sent from my Nexus 5X using Tapatalk
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
The only way that Corral would be faster would be thanks to an improved driver. That driver would also be in FreeNAS 11.

Intel has been improving their FreeBSD drivers lately. 1st gen. 10GbE went from 7ishGb/s to 9ishGb/s in about a year.
 
Status
Not open for further replies.
Top