16
Help us understand the problem. What are the problem?

More than 5 years have passed since last update.

posted at

updated at

syncコマンドの進捗を確認

確認コマンド
watch grep -e Dirty: -e Writeback: /proc/meminfo

Dirty: 2000 kB
Writeback: 487844 kB

Writeback が 0 になったらsync完了

解説

書き込み処理はいったんメモリにdirtyメモリとして保存されて
vm.dirty_background_ratioの割合を超えるか
vm.dirty_expire_centisecsの時間が経過すると
pdflushが実行されてwrite back処理によって物理ディスクに書き込まれる

書き込み処理が終わる前に次のpdflushが実行されても
前回の書き込みが終了するまでは待たなければいけない。(I/O wait)

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Sign upLogin
16
Help us understand the problem. What are the problem?