SwampRabbit
Explorer
- Joined
- Apr 25, 2014
- Messages
- 61
Firstly, thank you in advance to anyone who can offer some assistance.
I had been lurking around here for awhile, reading and learning mostly (or trying to), posted a few times. I still consider myself new to FreeNAS and FreeBSD, cause I am. I do not consider myself an "IT" expert really, but I have done quite a bit (IT related) over the years in most of the fields, and both my jobs are IT centric but limited to one field. I tend to think I can do 5th grade math on par with a 3rd grader.
My goal has been to migrate my Debian CIFS file server over to FreeNAS. I finally put together my FreeNAS server, been testing and attempting to burn it in as much as possible. And I am very happy with the journey to a degree so far.
FreeNAS Server:
Build FreeNAS-9.2.1.6-RELEASE-x64 (ddd1e39)
CPU - Xeon 1230v2
Motherboard - Supermicro X9SCM-F-O (turned HT off)
Memory - 32GB Crucial 1600mhz ECC
HDDs - 12x 4TB Seagate NAS drives (2x6 vdevs RAIDZ2)
SATA Controllers - Highpoint 2720 SGL x2 (They are not configured for raid, latest firmware. I know these aren't ideal, but I had a bunch of them new already)
autotune - off
compression - lz4
atime - off
dedup - off
Datasets used for CIFS shares are inheriting
CIFS service and shares are at defaults, no smb.conf changes
HTPC:
Linux Mint 17-x64 Mate Edition
CPU - AMD A8-6500
Motherboard - some ASUS mobo (Realtek NIC)
Memory - 8GB Corsair 1866mhz
HDD - 500GB 2.5" WD Blue
Network:
Cisco SG300-20 (SMB Switch)
Info - it is set to layer 3 mode, the HTPC and FreeNAS are on two different vlan subnets. The routing works, or seems to be fine, I am still trying to get a full grasp of this switch as its mostly GUI based.
All of this is in a standalone test network prior to going "in home production".
I seem to have a performance problem and not exactly sure what the cause is.
I have attempted several things to narrow it down, but haven't done any real tweaking with configs or settings, both hardware or in the OSes or software. I wanted to keep it clean until I could figure out were the bottleneck is.
When I try to copy files over to the CIFS shares I set up, max I have seen it go is 47 MB/sec, but usually it bounces between 43 and 44.5 MB/sec. I am transfering a 1.5GB file.
What I have tried so far:
- I originally had 16GB of memory, upgraded to 32GB, sorta had the other pair sitting as spares while verifying they were good.
3 passes and then 5 passes later of Memtest.
- Installed a Intel NIC (see below).
- Put both systems on the same subnet, also tried direct connection, no change.
- Checked zpool status seems ok (not sure what to look for exactly).
DD tests - Compression is turned off:
dd if=/dev/zero of=/mnt/vdev1/folder1/testfile bs=4M count=10000
41943040000 bytes transferred in 137.288874 secs (305509387 bytes/sec)
dd if=/dev/zero of=/mnt/vdev1/folder1/testfile bs=2048k count=50k
107374182400 bytes transferred in 365.267786 secs (293960175 bytes/sec)
IPERF tests w/Realtek NIC:
iperf -c 192.168.5.5 -t 30
0.0-30.0 sec 2.45 GBytes 703 Mbits/sec
iperf -c 192.168.5.5 -t 30 -P 10
0.0-30.0 sec 3.26 GBytes 931 Mbits/sec
IPERF tests w/Intel NIC:
iperf -c 192.168.5.5 -t 30
0.0-30.0 sec 3.29 GBytes 942 Mbits/sec
iperf -c 192.168.5.5 -t 30 -P 10
0.0-30.0 sec 3.26 GBytes 944 Mbits/sec
So the Intel NIC improved drastically on the first test, but copying to the CIFS shares still will not go over 47 MB/sec in both directions.
I attempted to remove the Highpoint controller as the bottleneck by placing one drive on one of the onboard SATA3 6Gb/s ports. Created a striped volume, dataset, and the share. The transfer to it was only 41.9 MB/sec.
I took the FreeNAS server and client off of the Cisco switch and connected them to a new dumb TrendNet Gig switch I have to try and see if that was the problem. But it didn't change anything.
Client (Realtek NIC) > FreeNAS (onboard Intel NIC - striped volume) transfer was 43.4 MB/sec
Client (Intel NIC) > FreeNAS (onboard Intel NIC - striped volume) transfer was 44.8 MB/sec
Client (Intel NIC) > FreeNAS (onboard Intel NIC - RAIDZ2 volume) transfer was 46.4 MB/sec
I am at the point that I believe the only major thing I could change hardware wise on the FreeNAS server is replacing the Highpoint cards, but from the tests it doesn't seem like they are causing too much trouble, but I could be wrong.
I could possibly attempt to install a client on one of the SSDs I have laying around to see if the WD Blue is limiting the transfer.
I am not sure if I should enable Autotune or not? I saw a few posts stating this function was broken lately and wouldn't really help my situation much.
Does it seem like I am working through this properly?
Or is there something standing out that I may have missed or am failing to test?
I see a lot of threads talk about tunables and other tweaks and know sometimes Samba needed some adjustments prior to v4.
But I don't want to go blindly changing things without some advice from people who know FreeNAS well.
Please let me know if you need any other information.
Also please move this thread if it better fits somewhere else, I just wasn't sure at this point where to put it, thanks.
I had been lurking around here for awhile, reading and learning mostly (or trying to), posted a few times. I still consider myself new to FreeNAS and FreeBSD, cause I am. I do not consider myself an "IT" expert really, but I have done quite a bit (IT related) over the years in most of the fields, and both my jobs are IT centric but limited to one field. I tend to think I can do 5th grade math on par with a 3rd grader.
My goal has been to migrate my Debian CIFS file server over to FreeNAS. I finally put together my FreeNAS server, been testing and attempting to burn it in as much as possible. And I am very happy with the journey to a degree so far.
FreeNAS Server:
Build FreeNAS-9.2.1.6-RELEASE-x64 (ddd1e39)
CPU - Xeon 1230v2
Motherboard - Supermicro X9SCM-F-O (turned HT off)
Memory - 32GB Crucial 1600mhz ECC
HDDs - 12x 4TB Seagate NAS drives (2x6 vdevs RAIDZ2)
SATA Controllers - Highpoint 2720 SGL x2 (They are not configured for raid, latest firmware. I know these aren't ideal, but I had a bunch of them new already)
autotune - off
compression - lz4
atime - off
dedup - off
Datasets used for CIFS shares are inheriting
CIFS service and shares are at defaults, no smb.conf changes
HTPC:
Linux Mint 17-x64 Mate Edition
CPU - AMD A8-6500
Motherboard - some ASUS mobo (Realtek NIC)
Memory - 8GB Corsair 1866mhz
HDD - 500GB 2.5" WD Blue
Network:
Cisco SG300-20 (SMB Switch)
Info - it is set to layer 3 mode, the HTPC and FreeNAS are on two different vlan subnets. The routing works, or seems to be fine, I am still trying to get a full grasp of this switch as its mostly GUI based.
All of this is in a standalone test network prior to going "in home production".
I seem to have a performance problem and not exactly sure what the cause is.
I have attempted several things to narrow it down, but haven't done any real tweaking with configs or settings, both hardware or in the OSes or software. I wanted to keep it clean until I could figure out were the bottleneck is.
When I try to copy files over to the CIFS shares I set up, max I have seen it go is 47 MB/sec, but usually it bounces between 43 and 44.5 MB/sec. I am transfering a 1.5GB file.
What I have tried so far:
- I originally had 16GB of memory, upgraded to 32GB, sorta had the other pair sitting as spares while verifying they were good.
3 passes and then 5 passes later of Memtest.
- Installed a Intel NIC (see below).
- Put both systems on the same subnet, also tried direct connection, no change.
- Checked zpool status seems ok (not sure what to look for exactly).
DD tests - Compression is turned off:
dd if=/dev/zero of=/mnt/vdev1/folder1/testfile bs=4M count=10000
41943040000 bytes transferred in 137.288874 secs (305509387 bytes/sec)
dd if=/dev/zero of=/mnt/vdev1/folder1/testfile bs=2048k count=50k
107374182400 bytes transferred in 365.267786 secs (293960175 bytes/sec)
IPERF tests w/Realtek NIC:
iperf -c 192.168.5.5 -t 30
0.0-30.0 sec 2.45 GBytes 703 Mbits/sec
iperf -c 192.168.5.5 -t 30 -P 10
0.0-30.0 sec 3.26 GBytes 931 Mbits/sec
IPERF tests w/Intel NIC:
iperf -c 192.168.5.5 -t 30
0.0-30.0 sec 3.29 GBytes 942 Mbits/sec
iperf -c 192.168.5.5 -t 30 -P 10
0.0-30.0 sec 3.26 GBytes 944 Mbits/sec
So the Intel NIC improved drastically on the first test, but copying to the CIFS shares still will not go over 47 MB/sec in both directions.
I attempted to remove the Highpoint controller as the bottleneck by placing one drive on one of the onboard SATA3 6Gb/s ports. Created a striped volume, dataset, and the share. The transfer to it was only 41.9 MB/sec.
I took the FreeNAS server and client off of the Cisco switch and connected them to a new dumb TrendNet Gig switch I have to try and see if that was the problem. But it didn't change anything.
Client (Realtek NIC) > FreeNAS (onboard Intel NIC - striped volume) transfer was 43.4 MB/sec
Client (Intel NIC) > FreeNAS (onboard Intel NIC - striped volume) transfer was 44.8 MB/sec
Client (Intel NIC) > FreeNAS (onboard Intel NIC - RAIDZ2 volume) transfer was 46.4 MB/sec
I am at the point that I believe the only major thing I could change hardware wise on the FreeNAS server is replacing the Highpoint cards, but from the tests it doesn't seem like they are causing too much trouble, but I could be wrong.
I could possibly attempt to install a client on one of the SSDs I have laying around to see if the WD Blue is limiting the transfer.
I am not sure if I should enable Autotune or not? I saw a few posts stating this function was broken lately and wouldn't really help my situation much.
Does it seem like I am working through this properly?
Or is there something standing out that I may have missed or am failing to test?
I see a lot of threads talk about tunables and other tweaks and know sometimes Samba needed some adjustments prior to v4.
But I don't want to go blindly changing things without some advice from people who know FreeNAS well.
Please let me know if you need any other information.
Also please move this thread if it better fits somewhere else, I just wasn't sure at this point where to put it, thanks.