-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Maximize txg size to improve throughput
Added dp_dirty_peak status to dsl_pool_t struct. It is used to track peaks of dp_dirty_total percisely. Following routine only applies to heavy work load when delay is kicked in. (Under light load, txg kick is triggered by zfs_dirty_data_sync_percent.) The desired txg size is derived from dp_dirty_peak. An optimized txg size should meet following criterias. 1. dp_dirty_peak should be able to fit 2 full txgs and 1 partial txg in order to fully utilize 3 stages of pipeline. 2. The size of txg should be as large as possible, to fully utilize each txg. Some other style fixes regarding code review. Signed-off-by: jxdking <[email protected]>
- Loading branch information
Showing
4 changed files
with
48 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters