Slow Network Performance

Status
Not open for further replies.

dr_sherman

Dabbler
Joined
Nov 23, 2013
Messages
29
Hi All,

I am experiencing an issue with my FreeNAS 9.10 installation whilst transferring files to and from my NAS.

In terms of background I used to experience a transfer rate of around 80MB/s (via CIFS) but I think a recent software upgrade is causing me bother. Whilst reading up on the subject most people are pointed to dodgy network infrastructure but I get 100MB/s+ when I connect the ethernet cable to an alternative "NAS". This tells me that my switch and cabling are likely to be fine.

From my NAS:
  • media: Ethernet autoselect (1000baseT <full-duplex>) - As expected
  • em0: <Intel(R) PRO/1000 Network Connection 7.6.1-k> port 0xe000-0xe01f mem 0xf7cc0000-0xf7cdffff,0xf7c00000-0xf7c7ffff,0xf7ce0000-0xf7ce3fff irq 18 at device 0.0 on pci5

Any suggestions as to what I can do here / further information that I can provide?

Thanks in advance!
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,553
Hi All,

I am experiencing an issue with my FreeNAS 9.10 installation whilst transferring files to and from my NAS.

In terms of background I used to experience a transfer rate of around 80MB/s (via CIFS) but I think a recent software upgrade is causing me bother. Whilst reading up on the subject most people are pointed to dodgy network infrastructure but I get 100MB/s+ when I connect the ethernet cable to an alternative "NAS". This tells me that my switch and cabling are likely to be fine.

From my NAS:
  • media: Ethernet autoselect (1000baseT <full-duplex>) - As expected
  • em0: <Intel(R) PRO/1000 Network Connection 7.6.1-k> port 0xe000-0xe01f mem 0xf7cc0000-0xf7cdffff,0xf7c00000-0xf7c7ffff,0xf7ce0000-0xf7ce3fff irq 18 at device 0.0 on pci5

Any suggestions as to what I can do here / further information that I can provide?

Thanks in advance!

Please provide:
  • Full hardware specs of NAS.
  • Contents of /usr/local/etc/smb4.conf
  • Details of zpool configuration.
 

dr_sherman

Dabbler
Joined
Nov 23, 2013
Messages
29
Please provide:
  • Full hardware specs of NAS.
  • Contents of /usr/local/etc/smb4.conf
  • Details of zpool configuration.

Hi Anodos,

Hardware: i7-4771, 32GB RAM, Intel Pro NIC

Samba Config:
Code:
[global]
	server min protocol = SMB2
	server max protocol = SMB2
	interfaces = 127.0.0.1 192.168.1.60
	bind interfaces only = yes
	encrypt passwords = yes
	dns proxy = no
	strict locking = no
	oplocks = yes
	deadtime = 15
	max log size = 51200
	max open files = 939188
	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 = Roland
	ea support = yes
	store dos attributes = yes
	lm announce = yes
	hostname lookups = yes
	time server = yes
	acl allow execute always = true
	dos filemode = yes
	multicast dns register = yes
	domain logons = no
	local master = yes
	idmap config *: backend = tdb
	idmap config *: range = 90000001-100000000
	server role = standalone
	netbios name = ROLAND
	workgroup = WORKGROUP
	security = user
	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
   

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

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

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

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

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

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



Zpool:
  • x3 pools: (a) x4 4TB [effectively RAID5], (b) x1 4tb and (c) x1 4TB. All WD Red's and all perform the same during a read or write.
Thanks,
 

depasseg

FreeNAS Replicant
Joined
Sep 16, 2014
Messages
2,874
I would break down the problem:
1. Network - run an iperf test between the freenas and client.
2. run a dd or other test locally to test the speed of your pool.
3. look at the performance graphs during a large transfer (try small files and large files). Notice anything strange
 
Status
Not open for further replies.
Top