NFS reads vs. writes
Bob Friesenhahn
bfriesen at simple.dallas.tx.us
Sun Jan 3 19:20:52 UTC 2016
On Sun, 3 Jan 2016, Mikhail T. wrote:
>
> Why would the same ZFS -- with the same slog -- be working faster, when written to locally, than when over NFS?
Yes (it depends). Normal local writes are async writes so they do not
use the slog at all. NFS writes are usually synchronous writes so
they hit the slog hard.
You would need software which intentionally issues synchronous writes
to local disks in order to test synchronous local writes.
Write sizes of 128k and above are written directly to pool disks and
don't go to the slog, even if they are sync writes. This is done to
make sure that the slog does not limit pool performance due to
bandwidth limitations (vs IOPS).
Bob
--
Bob Friesenhahn
bfriesen at simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/
More information about the freebsd-fs
mailing list