I'm finally reading the Second Edition of "The Design and Implementation of the FreeBSD Operating System" and found this passsage:
> The ZFS filesystem integrated from OpenSolaris is the one exception to the integrated buffer cache. ZFS has its own set of memory that it manages by itself. Files that are mmap’ed from ZFS must be copied to the virtual-memory managed memory. In addition to requiring two copies of the file in memory, extra copying occurs every time an mmap’ed ZFS file is being accessed through the read and write interfaces.
Is this still the case? I thought this was an issue only on Linux.
How can I test mmap performance vs UFS2?
> The ZFS filesystem integrated from OpenSolaris is the one exception to the integrated buffer cache. ZFS has its own set of memory that it manages by itself. Files that are mmap’ed from ZFS must be copied to the virtual-memory managed memory. In addition to requiring two copies of the file in memory, extra copying occurs every time an mmap’ed ZFS file is being accessed through the read and write interfaces.
Is this still the case? I thought this was an issue only on Linux.
How can I test mmap performance vs UFS2?