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