This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
start [2020/06/11 20:00] Ira Weiny [Filesystems] |
start [2020/06/12 15:58] Ira Weiny [Filesystems] |
||
---|---|---|---|
Line 455: | Line 455: | ||
</code> | </code> | ||
- | Where **[dax_mount_options]** depends on the kernel support you have and the desired behavior. **For kernel version less than 5.8 the legacy '-o dax' option must be used.** In 5.8 new mount options were introduced. See [[fs_mount_options|fs_mount_options]] for details. | + | Where **[dax_mount_options]** depends on the kernel support you have and the desired behavior. See [[fs_mount_options|fs_mount_options]] for details. |
Check the kernel log to ensure the DAX mount option was honored; mount does not print this information. Example failures: | Check the kernel log to ensure the DAX mount option was honored; mount does not print this information. Example failures: | ||
Line 483: | Line 483: | ||
==== iostats ==== | ==== iostats ==== | ||
---- | ---- | ||
- | iostats are disabled by default due to performance overhead (e.g., 12M IOPS dropping 25% to 9M IOPS). However, they can be enabled in sysfs if desired. | + | iostats are disabled by default due to performance overhead (e.g., 12M IOPS dropping 25% to 9M IOP |
+ | S). However, they can be enabled in sysfs if desired. | ||
As of kernel 4.5, iostats are only collected for the base pmem device, not per-partition. Also, I/Os that go through DAX paths (rw_page, rw_bytes, and direct_access functions) are not counted, so nothing is collected for: | As of kernel 4.5, iostats are only collected for the base pmem device, not per-partition. Also, I/Os that go through DAX paths (rw_page, rw_bytes, and direct_access functions) are not counted, so nothing is collected for: |