Closed jti-lanl closed 8 years ago
I can reliably get 128K reads from nfsd to marfs, now.
However, on Hb's cluster (decent Scality read performance), if I configure more than one NFS thread, I soon find nfsd requesting discontiguous reads. This is because nfsd apparently issues concurrent reads for different byte-ranges, on the same file-handle (maybe via pread). Once we stumble on one of these, we have our own problem (see #130). Anyhow, for now, such reads likely fail. And, when NFS gets a read error, it apparently falls back to 4K reads and seems to continue with those for a long time, maybe indefinitely.
See issue #131, for some possible fixes, including this:
The cc-fta cluster has extremely-slow reads (because of our extremely-limited HW arch). It also appears to have a different NFS configuration. On this cluster, I don't see the discontiguous reads, even with 128 threads. But perhaps we would, if the reads were faster?
Some notes:
Try improving read-performance of NFS-mounted marfs-fuse. The most obvious target seems to be trying to increase the 4k transfer-size that nfsd uses, when interacting with fuse.
Test with fuse/export on on batch fta, and client on interactive.
Some ideas that have come up in email:
email from Gary:
[We explicitly turn off async_read, in our fuse-init. It was causing some kind of problem, early on.]