[PATCH v4 0/9] support mode option for dirtyrate calculation