hi, using nfs 4. I see really bad performance running FIO writes to the Truenas server via NFS. Any tips to what to do to improve it ?
Server:
Dual Intel Xeon E5-2640V3 8(16HT)Cores 128GB mem, 4x10gbe
Storage: 12x4TB Enterprise SATA @Raidz2
OS:Truenas 12.0u3
Client:
Dual Intel Xeon E5-2640V3 8(16HT)Cores 128GB mem, 4x10gbe
Redhat En 8.3x64
mount syntax:
sudo mount -t nfs IP:/mnt/test2/Storage2 /opt/NAS-SHARE2
fio -name=random-write --ioengine=posixaio --rw=randwrite --bs=64k --size=256k --numjobs=8 --iodepth=2 --runtime=60 --time_based --end_fsync=1
FIO results direct on the server in console:
Run status group 0 (all jobs):
WRITE: bw=9.81GiB/s (10.5GB/s), 1220MiB/s-1272MiB/s (1279MB/s-1334MB/s), io=601GiB (645GB), run=61212-61225msec
NFS client;
Run status group 0 (all jobs):
WRITE: bw=29.7MiB/s (31.2MB/s), 3788KiB/s-3835KiB/s (3879kB/s-3927kB/s), io=1789MiB (1876MB), run=60118-60173msec
Server:
Dual Intel Xeon E5-2640V3 8(16HT)Cores 128GB mem, 4x10gbe
Storage: 12x4TB Enterprise SATA @Raidz2
OS:Truenas 12.0u3
Client:
Dual Intel Xeon E5-2640V3 8(16HT)Cores 128GB mem, 4x10gbe
Redhat En 8.3x64
mount syntax:
sudo mount -t nfs IP:/mnt/test2/Storage2 /opt/NAS-SHARE2
fio -name=random-write --ioengine=posixaio --rw=randwrite --bs=64k --size=256k --numjobs=8 --iodepth=2 --runtime=60 --time_based --end_fsync=1
FIO results direct on the server in console:
Run status group 0 (all jobs):
WRITE: bw=9.81GiB/s (10.5GB/s), 1220MiB/s-1272MiB/s (1279MB/s-1334MB/s), io=601GiB (645GB), run=61212-61225msec
NFS client;
Run status group 0 (all jobs):
WRITE: bw=29.7MiB/s (31.2MB/s), 3788KiB/s-3835KiB/s (3879kB/s-3927kB/s), io=1789MiB (1876MB), run=60118-60173msec