bacon4000 at gmail.com
Sat Apr 13 13:52:26 UTC 2019
On 2019-04-12 08:04, Jason Bacon wrote:
> On 2019-04-12 07:57, Hans Petter Selasky wrote:
>> On 4/12/19 2:39 PM, Jason Bacon wrote:
>>> root at zfs-01:~ # ifconfig ib0
>>> ib0: flags=8002<BROADCAST,MULTICAST> metric 0 mtu 65520
>>> lladdr 188.8.131.52.fe.184.108.40.206.0.0.0.f220.127.116.11.0.92.88.d1
>>> nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
>> Can you try setting an mtu of 4000 bytes on both sides and re-run the
>> test? This large mtu I think is not supported.
> I assume you saw my followup showing 16 Gb/s...
> I'll try playing with MTU anyway. Maybe that will improve performance
> a bit more?
> I'm going to do a bunch of tuning and test NFS. Will report results
> back here when I have some substantial info.
Some data for comparison.
Regarding MTU, the bigger the better, up to a point. At 65520, my
server became unresponsive to the point of an ssh session timing out.
It recovered after a minute or two and there did not seem to be any
permanent harm. Lower MTUs provide more stable performance (monitoring
with "iostat 1") and lower throughput.
For now I'm using 16380, 1/4 of 65520 which is the default on CentOS 7.
I haven't yet seen any stability issues at this level.
Explanation of data:
data-05 is a CentOS 7 RAID server, XFS filesystem.
zfs-01 is a FreeBSD 12 RAID server.
Hardware is identical - PowerEdge R720xd, 12 ST2000NM0023 SAS drives,
RAID-6, PERC H710 mini (MegaRAID).
"-local" means benchmark run on the server, testing the local RAID.
"-nfs4" means benchmark run on a compute node, testing NFS over FDR
Benchmarked with and without ZFS lz4 compression enabled on the server.
All results are the average of 3 trials.
raid-05-nfs4 vs zfs-01-nfs4:
o The FreeBSD server outperformed the CentOS server on random and
o The FreeBSD server fell short on fresh write and way short on overwrite.
zfs-01-local vs FreeBSD 10 results:
o FreeBSD is seeing performance limits on the local array for some reason.
o Local disk performance was much better on FreeBSD 10 a couple years
ago. ZFS or mrsas regression? As I recall, it was overall about 5%
faster than CentOS 6 + XFS at that time.
o Would resolving this push FreeBSD's NFS write performance over CentOS?
Overall, I'd say we're looking pretty good at this point. Performance is
way more than adequate for most HPC jobs. I suspect some tuning and/or
minor improvements to the IB code will improve it further.
Stability will take a long time to test properly. I'm going to start by
rerunning some of our most I/O-intensive jobs on it - jobs that actually
broke our CentOS RAID servers until I switched them to NFS over RDMA.
==> bench-raid-05-local <==
93.92 GiB write 4.00 MiB blocks 71378.00 ms 1347.42 MiB/s
1024 seek 4.00 MiB blocks 18.06 ms 227.56 MiB/s
93.92 GiB read 4.00 MiB blocks 67519.00 ms 1424.43 MiB/s
93.92 GiB rewrite 4.00 MiB blocks 73635.00 ms 1306.12 MiB/s
==> bench-raid-05-nfs4 <==
125.03 GiB write 4.00 MiB blocks 145903.00 ms 877.53 MiB/s
1024 seek 4.00 MiB blocks 23.98 ms 170.67 MiB/s
125.03 GiB read 4.00 MiB blocks 236010.00 ms 542.49 MiB/s
125.03 GiB rewrite 4.00 MiB blocks 158151.00 ms 809.57 MiB/s
==> bench-zfs-01-local <==
127.74 GiB write 4.00 MiB blocks 157977.00 ms 828.00 MiB/s
1024 seek 4.00 MiB blocks 18.39 ms 227.56 MiB/s
127.74 GiB read 4.00 MiB blocks 165471.00 ms 790.50 MiB/s
127.74 GiB rewrite 4.00 MiB blocks 116542.00 ms 1122.38 MiB/s
==> bench-zfs-01-lz4-nfs4 <==
125.03 GiB write 4.00 MiB blocks 185550.00 ms 690.03 MiB/s
1024 seek 4.00 MiB blocks 24.32 ms 170.67 MiB/s
125.03 GiB read 4.00 MiB blocks 234103.00 ms 546.91 MiB/s
125.03 GiB rewrite 4.00 MiB blocks 423833.00 ms 302.09 MiB/s
==> bench-zfs-01-nfs4 <==
125.03 GiB write 4.00 MiB blocks 174645.00 ms 733.11 MiB/s
1024 seek 4.00 MiB blocks 14.67 ms 273.07 MiB/s
125.03 GiB read 4.00 MiB blocks 225402.00 ms 568.03 MiB/s
125.03 GiB rewrite 4.00 MiB blocks 413798.00 ms 309.41 MiB/s
FreeBSD 10.3 local disk results from a couple years ago on the same machine:
127.76 GiB write 4.00 MiB blocks 101323.00 ms 1291.13 MiB/s
1024 seek 4.00 MiB blocks 18.57 ms 215.58 MiB/s
127.76 GiB read 4.00 MiB blocks 95363.00 ms 1371.83 MiB/s
127.76 GiB rewrite 4.00 MiB blocks 108186.00 ms 1209.23 MiB/s
Earth is a beta site.
More information about the freebsd-infiniband