Josh Gentry
Cadet
- Joined
- Jul 31, 2013
- Messages
- 2
I am seeing a dramatic difference in performance between Linux and FreeBSD servers mounting the FreeNAS server I have setup. I have searched the forums and not found a discussion of this as a general problem, so wonder what in my setup might be causing this.
The FreeNAS 8.3 server has a raidz2 pool of 5, 2TB disks, exported via NFS. I have that pool mounted on a FreeBSD 9.1 server, and a Gentoo server. If I just dd a large file to and from the NFS mounted zpool, I see almost identical performance. If I do an operation with many files, I see dramatically better performance from the FreeBSD server. I have primarily been using filebench, with the "webserver" template, to test. It creates 1000 small files, then creates several threads to read the files.
I have tried with and without an SSD cache disk, and with and without an SSD log disk. The discrepancy in performance is consistent. I have also tried with a different linux server, Debian instead of Gentoo, and different hardware. Discrepancy in performance is consistent. I have tested network throughput with iperf, and did not get any clues from that.
I tried autotune, with no noticeable difference.
More details on the FreeNAS server:
16 GB RAM
2 Xeon dual core 2.66GHz CPUs
LSILogic SAS/SATA Adapter
Rackable Systems SAS JBOD enclosure
Any help appreciated.
Thanks, Josh
The FreeNAS 8.3 server has a raidz2 pool of 5, 2TB disks, exported via NFS. I have that pool mounted on a FreeBSD 9.1 server, and a Gentoo server. If I just dd a large file to and from the NFS mounted zpool, I see almost identical performance. If I do an operation with many files, I see dramatically better performance from the FreeBSD server. I have primarily been using filebench, with the "webserver" template, to test. It creates 1000 small files, then creates several threads to read the files.
I have tried with and without an SSD cache disk, and with and without an SSD log disk. The discrepancy in performance is consistent. I have also tried with a different linux server, Debian instead of Gentoo, and different hardware. Discrepancy in performance is consistent. I have tested network throughput with iperf, and did not get any clues from that.
I tried autotune, with no noticeable difference.
More details on the FreeNAS server:
16 GB RAM
2 Xeon dual core 2.66GHz CPUs
LSILogic SAS/SATA Adapter
Rackable Systems SAS JBOD enclosure
Any help appreciated.
Thanks, Josh