[PATCH v3 0/7] support mode option for dirtyrate calculation