" 1. write() does disk read when needed. To avoid this issue you need to append a file, not overwrite. Or use OS page aligned writes.   2. write() may be blocked for "stable page writes". To avoid this issue you need to use newer Linux kernel supporting disabling stable page writes. "

yassyass のブックマーク 2014/03/11 16:01

その他

このブックマークにはスターがありません。
最初のスターをつけてみよう!

Why buffered writes are sometimes stalled

    Many people think buffered write (write()/pwrite()) is fast because it does not do disk access. But this is not always true. Buffered write sometimes does disk access by itself, or waits for some d...

    \ コメントが サクサク読める アプリです /

    • App Storeからダウンロード
    • Google Playで手に入れよう