I have a newish 12.04 box that I converted from FreeNAS due to the difficulty with the FreeNAS operating system and slow transfer speeds over gigabit ethernet. I got 12.04 setup without many difficulties and have been using the software RAID 5 for an array of 4 1 tb disks. Average read rate on the array is 298 MBps. Setup NFS to connect between the Linux server and my Mac and was initially getting transfer speeds between 80 MBps and 110 MBps. Something has changed and now I am getting peak transfer speeds of 25 MBps with an average of around 17.5 MBps.
I've checked with a Windows 8.1 machine and with a Mac, with both Samba and NFS, and the transfer speeds are almost exactly the same across the board. Ran several tests with iperf, all of which have shown consistent speeds of 950 mbps so it would seem to be a software issue as opposed to a limit imposed by the hardware. I have downloaded Bonnie++ but I honestly have no idea where to begin with getting that to output something that is intelligible to me. All of my hardware is the same as when I was getting better performance so I am assuming it is something on the software side of Linux.
In Linux, /etc/exports is setup for the NFS server as:
On the Mac it is set to automount to /Network/Filserver with the following settings:
I had rsize and wsize set to 8192 but took it out as I figured it might do a better job negotiating those settings automatically.
Here's the information returned on the network card:
sudo lshw -class network *-network description: Ethernet interface product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller vendor: Realtek Semiconductor Co., Ltd. physical id: 0 bus info: pci@0000:02:00.0 logical name: eth0 version: 06 serial: d4:3d:7e:d8:0f:47 size: 1Gbit/s capacity: 1Gbit/s width: 64 bits clock: 33MHz capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl8168e-3_0.0.4 03/27/12 ip=10.0.1.21 latency=0 link=yes multicast=yes port=MII speed=1Gbit/s resources: irq:40 ioport:d000(size=256) memory:f0004000-f0004fff memory:f0000000-f0003fff
Router is a WNDR3700, all Cat 5e cabling with a gigabit swtich. I have tried different ports on the switch and the router and all comes back the same.
Any help would be appreciated. I have intermediate Linux and networking skills but I am by no means an expert on either one. Thanks!