-
Notifications
You must be signed in to change notification settings - Fork 64
Direct IO write speed is much slower than exfat-nofuse #29
Comments
Did you confirm that exfat-nofuse is handling direct I/O properly? See if free memory from /proc/meminfo doesn't change on DIO writes. |
Did you confirm that exfat-nofuse is handling direct I/O properly? ----yes,the results of my tests on my storage media are(sequential I/O write): 1.direct-io See if free memory from /proc/meminfo doesn't change on DIO writes -----Free Memory from /proc/meminfo is basically unchanged on DIO writes. |
That number looks wrong. Wrong enough to suspect something's wrong with exfat-nofuse's DIO. Can you count the total wall time on DIO write and umount on both nofuse and this? |
That number looks wrong. Wrong enough to suspect something's wrong with exfat-nofuse's DIO. Write speed test code: int main(void) |
If you open an existing file (size 4GB, file open by O_CREAT|O_DIRECT|O_RDWR), test the write speed, DIO 343MB/S on exfat-linux, it is very good. But If you create a new file, or open with O_TRUNC, the DIO write speed is 160MB/s on exfat-linux. |
Exfat-linux cache IO has excellent write speed compared to Exfat-nofuse, thanks to your optimization . But direct IO is slow, with only half the write speed compared to exfat-nofuse.Exfat-linux would be perfect if this direct-IO slow problem were solved.
The text was updated successfully, but these errors were encountered: