Hello everybody,
I am currently having some issues determining the issue of my FreeNAS server. I have read all threads on hardware recommendation and performance benchmarking but I am not able today to figure out what I am doing wrong.
My FreeNAS system have been running for almost 1 year now, but I have not used it so much, because I didn't fully trusted it and didn't find the time to investigate much. Also I wanted to be sure that my backup solution is safe. So to begin, my system is designed like that :
OS : FreeNAS 11.1-U5
CPU : Pentium G3220 @ 3Ghz
RAM : 32GB
Disks : 6* Seagate 4To drives in RAIDZ2
What I want to do with it :
- File sharing through NFS / SMB / AFP (Connected to LDAP)
- RSync module for my other off-site backup
- (Plex Server but it's only a plus service offered as I can remotely handle that via NFS and a more powerfull VM)
So I would want to serve AFP/SMB via one interface attached to my system (on one VLAN) and the NFS on a specific Storage VLAN.
My problem is the bandwidth I get through my system. I have tested my network through iperf and I get 950-980MBits per second which is not perfect but it's ok.
So I decided to test directly the performance of disks via the dd command like in this thread. As a result I get roughly 300MB/s in write speeds. I am a little bit surprised to not get better results but in RAIDZ2, data are written in N-2 disks so with 6 disks data are written to 4 which gives me 75MB/s each, fair enough.
But when I try to mount my dataset via NFS on a VM wired to the Storage VLAN network, and try to dd in it with the same command ... I get a max of 60MB/s. Not really stunning.
What I found weird is the RDD graph of my interface, even if I get a full 950MBits/s of throughput in the console (I tested FreeNAS as Server of Client), it shows 450MBits/second on my interface
I also tried to do a real world test, with large files, and also get this 60MB/s. And during this, my CPU didn't even get upper than 20% usage.
At this point I am a little bit disappointed, and don't know what could be wrong with my configuration. I mean, i hopped to saturate a gigabit link through this machine.
Did I need to tune some configuration as a basic (like using auto-tunables) ? Or maybee some packet fragmentation which slow NFS performances ?
I am currently having some issues determining the issue of my FreeNAS server. I have read all threads on hardware recommendation and performance benchmarking but I am not able today to figure out what I am doing wrong.
My FreeNAS system have been running for almost 1 year now, but I have not used it so much, because I didn't fully trusted it and didn't find the time to investigate much. Also I wanted to be sure that my backup solution is safe. So to begin, my system is designed like that :
OS : FreeNAS 11.1-U5
CPU : Pentium G3220 @ 3Ghz
RAM : 32GB
Disks : 6* Seagate 4To drives in RAIDZ2
What I want to do with it :
- File sharing through NFS / SMB / AFP (Connected to LDAP)
- RSync module for my other off-site backup
- (Plex Server but it's only a plus service offered as I can remotely handle that via NFS and a more powerfull VM)
So I would want to serve AFP/SMB via one interface attached to my system (on one VLAN) and the NFS on a specific Storage VLAN.
My problem is the bandwidth I get through my system. I have tested my network through iperf and I get 950-980MBits per second which is not perfect but it's ok.
So I decided to test directly the performance of disks via the dd command like in this thread. As a result I get roughly 300MB/s in write speeds. I am a little bit surprised to not get better results but in RAIDZ2, data are written in N-2 disks so with 6 disks data are written to 4 which gives me 75MB/s each, fair enough.
But when I try to mount my dataset via NFS on a VM wired to the Storage VLAN network, and try to dd in it with the same command ... I get a max of 60MB/s. Not really stunning.
What I found weird is the RDD graph of my interface, even if I get a full 950MBits/s of throughput in the console (I tested FreeNAS as Server of Client), it shows 450MBits/second on my interface
I also tried to do a real world test, with large files, and also get this 60MB/s. And during this, my CPU didn't even get upper than 20% usage.
At this point I am a little bit disappointed, and don't know what could be wrong with my configuration. I mean, i hopped to saturate a gigabit link through this machine.
Did I need to tune some configuration as a basic (like using auto-tunables) ? Or maybee some packet fragmentation which slow NFS performances ?