-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tenantrate: add "test" that reports IOPS estimations
This change adds a "test" facility which takes the description of a uniform workload (read percentage, read size, write size) and prints out an estimation of the sustained IOPS and burst IO. This will allow a better understanding of how changes to the settings or the mechanism translate into IOPS changes. Release note: None
- Loading branch information
1 parent
ea3c263
commit e0efca8
Showing
4 changed files
with
150 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
estimate_iops | ||
readpercentage: 100 | ||
readsize: 4096 | ||
---- | ||
Read-only workload (4.0 KiB reads): 128 sustained IOPS, 512 burst. | ||
|
||
estimate_iops | ||
readpercentage: 100 | ||
readsize: 65536 | ||
---- | ||
Read-only workload (64 KiB reads): 16 sustained IOPS, 256 burst. | ||
|
||
estimate_iops | ||
readpercentage: 100 | ||
readsize: 1048576 | ||
---- | ||
Read-only workload (1.0 MiB reads): 1.0 sustained IOPS, 16 burst. | ||
|
||
estimate_iops | ||
readpercentage: 0 | ||
writesize: 4096 | ||
---- | ||
Write-only workload (4.0 KiB writes): 128 sustained IOPS, 512 burst. | ||
|
||
estimate_iops | ||
readpercentage: 0 | ||
writesize: 65536 | ||
---- | ||
Write-only workload (64 KiB writes): 8.0 sustained IOPS, 128 burst. | ||
|
||
estimate_iops | ||
readpercentage: 0 | ||
writesize: 1048576 | ||
---- | ||
Write-only workload (1.0 MiB writes): 0.5 sustained IOPS, 8.0 burst. | ||
|
||
estimate_iops | ||
readpercentage: 50 | ||
readsize: 4096 | ||
writesize: 4096 | ||
---- | ||
Mixed workload (50% reads; 4.0 KiB reads; 4.0 KiB writes): 256 sustained IOPS, 1024 burst. | ||
|
||
estimate_iops | ||
readpercentage: 90 | ||
readsize: 4096 | ||
writesize: 4096 | ||
---- | ||
Mixed workload (90% reads; 4.0 KiB reads; 4.0 KiB writes): 142 sustained IOPS, 569 burst. |