Are POSIX IO operations read() and write() compatible with DAX file system?

37 views Asked by At

I have configured an Intel Optane Persistent memory with the fsdax mode and mounted an ext4-dax filesystem on it. I am trying to read and write to the device using POSIX API (read() and write()) but I am seeing no performance improvement over writing to the HDD.
My guess is that the read() and write() calls do not bypass the page cache. So my question is do I need to use mmap or the PMDK library to read/write to the PM device?

0

There are 0 answers