Make IOPerDrive Configurable#7
Merged
harshavardhana merged 1 commit intominio:masterfrom Sep 18, 2023
Merged
Conversation
Member
|
A drive regardless of 1 thread or 4 threads should show overall performance to be the same with minor changes. Not to the extent of 1GiB/sec . This PR however is valid for other tools not here, dperf is designed to be run once and captured. IF concurrent dperf I/O cannot be performed on the drive then there is no way it can perform for other applications. That's why I see this to be problematic PR that can give wrong results. |
harshavardhana
requested changes
Sep 14, 2023
Signed-off-by: Zhou Ting <[email protected]>
harshavardhana
approved these changes
Sep 15, 2023
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
"ioperdrive" is fixed as 4 in code, but when there are multiple disks such as 12 disks in a server, the concurrent read result is abnormal.
Here is test result in Intel Xeon 8480+ with 12 pcs KIOXIA Corporation NVMe SSD Controller Cx6
./dperf -f 10GiB -i 4 /mnt/d{1..12} --verbose
┌──────────┬───────────┬───────────┬───┐
│ PATH │ READ │ WRITE │ │
│ /mnt/d10 │ 1.6 GiB/s │ 1.1 GiB/s │ ✓ │
│ /mnt/d5 │ 1.6 GiB/s │ 1.1 GiB/s │ ✓ │
│ /mnt/d1 │ 1.6 GiB/s │ 1.1 GiB/s │ ✓ │
│ /mnt/d6 │ 1.6 GiB/s │ 1.1 GiB/s │ ✓ │
│ /mnt/d7 │ 1.6 GiB/s │ 1.1 GiB/s │ ✓ │
│ /mnt/d9 │ 1.6 GiB/s │ 1.1 GiB/s │ ✓ │
│ /mnt/d2 │ 1.6 GiB/s │ 1.1 GiB/s │ ✓ │
│ /mnt/d11 │ 1.6 GiB/s │ 1.1 GiB/s │ ✓ │
│ /mnt/d3 │ 1.6 GiB/s │ 1.1 GiB/s │ ✓ │
│ /mnt/d4 │ 1.6 GiB/s │ 1.1 GiB/s │ ✓ │
│ /mnt/d8 │ 1.6 GiB/s │ 1.1 GiB/s │ ✓ │
│ /mnt/d12 │ 1.6 GiB/s │ 1.1 GiB/s │ ✓ │
└──────────┴───────────┴───────────┴───┘
┌───────────┬────────────┐
│ TotalREAD │ TotalWRITE │
│ 19 GiB/s │ 14 GiB/s │
└───────────┴────────────┘
./dperf -f 10GiB /mnt/d{1..12} --verbose
┌──────────┬───────────┬───────────┬───┐
│ PATH │ READ │ WRITE │ │
│ /mnt/d5 │ 2.1 GiB/s │ 1.1 GiB/s │ ✓ │
│ /mnt/d1 │ 2.0 GiB/s │ 1.1 GiB/s │ ✓ │
│ /mnt/d2 │ 2.0 GiB/s │ 1.1 GiB/s │ ✓ │
│ /mnt/d3 │ 2.0 GiB/s │ 1.1 GiB/s │ ✓ │
│ /mnt/d6 │ 2.0 GiB/s │ 1.1 GiB/s │ ✓ │
│ /mnt/d8 │ 2.0 GiB/s │ 1.1 GiB/s │ ✓ │
│ /mnt/d10 │ 2.0 GiB/s │ 1.1 GiB/s │ ✓ │
│ /mnt/d4 │ 2.0 GiB/s │ 1.1 GiB/s │ ✓ │
│ /mnt/d11 │ 2.0 GiB/s │ 1.1 GiB/s │ ✓ │
│ /mnt/d12 │ 2.0 GiB/s │ 1.1 GiB/s │ ✓ │
│ /mnt/d9 │ 2.0 GiB/s │ 1.1 GiB/s │ ✓ │
│ /mnt/d7 │ 2.0 GiB/s │ 1.1 GiB/s │ ✓ │
└──────────┴───────────┴───────────┴───┘
┌───────────┬────────────┐
│ TotalREAD │ TotalWRITE │
│ 24 GiB/s │ 13 GiB/s │
└───────────┴────────────┘
./dperf -f 10GiB -i 1 /mnt/d{1..12} --verbose
┌──────────┬───────────┬───────────┬───┐
│ PATH │ READ │ WRITE │ │
│ /mnt/d10 │ 3.0 GiB/s │ 1.1 GiB/s │ ✓ │
│ /mnt/d12 │ 2.9 GiB/s │ 1.1 GiB/s │ ✓ │
│ /mnt/d4 │ 2.9 GiB/s │ 1.1 GiB/s │ ✓ │
│ /mnt/d11 │ 2.8 GiB/s │ 1.1 GiB/s │ ✓ │
│ /mnt/d7 │ 2.8 GiB/s │ 1.1 GiB/s │ ✓ │
│ /mnt/d3 │ 2.8 GiB/s │ 1.1 GiB/s │ ✓ │
│ /mnt/d1 │ 2.8 GiB/s │ 1.0 GiB/s │ ✓ │
│ /mnt/d2 │ 2.8 GiB/s │ 1.1 GiB/s │ ✓ │
│ /mnt/d8 │ 2.8 GiB/s │ 1.1 GiB/s │ ✓ │
│ /mnt/d6 │ 2.7 GiB/s │ 1.1 GiB/s │ ✓ │
│ /mnt/d9 │ 2.7 GiB/s │ 1.1 GiB/s │ ✓ │
│ /mnt/d5 │ 2.7 GiB/s │ 1.1 GiB/s │ ✓ │
└──────────┴───────────┴───────────┴───┘
┌───────────┬────────────┐
│ TotalREAD │ TotalWRITE │
│ 34 GiB/s │ 13 GiB/s │
└───────────┴────────────┘