Explanation/information sought: Windows write I/O performance with “fsync” (FlushFileBuffers)

拟墨画扇 提交于 2019-12-01 04:52:43
hyc

You're seeing an exponential decrease in speed on the sync runs because these aren't purely sequential workloads as you believe. Since you're starting with a new file each time, your writes are growing the file and the metadata needs to be updated in the filesystem. That requires multiple seeks, and as the file grows the seeks from the end of the file to the metadata take longer and longer. I also posted this on your other question by mistake, see the full answer there: https://stackoverflow.com/a/18429712/894520

Try turning off disk caching and repost?

Otherwise these metrics are nonsense (Fsync and write through may not actually hit disk). Windows by default enables disk caching and controller caching..

Greg

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!