HDDS-6457. Add freon command to run r/w mix workload using FS#3266
Merged
rakeshadr merged 10 commits intoapache:masterfrom Apr 26, 2022
Merged
HDDS-6457. Add freon command to run r/w mix workload using FS#3266rakeshadr merged 10 commits intoapache:masterfrom
rakeshadr merged 10 commits intoapache:masterfrom
Conversation
hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/freon/OmBucketReadWriteOps.java
Outdated
Show resolved
Hide resolved
Co-authored-by: Jyotinder Singh <jyotindrsingh@gmail.com>
Contributor
Author
|
Hi @siddhantsangwan, @rakeshadr it would be great if you can review the patch, thanks! |
rakeshadr
reviewed
Apr 20, 2022
hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/freon/OmBucketReadWriteOps.java
Outdated
Show resolved
Hide resolved
adoroszlai
reviewed
Apr 20, 2022
hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/freon/OmBucketReadWriteFileOps.java
Outdated
Show resolved
Hide resolved
rakeshadr
approved these changes
Apr 21, 2022
Contributor
rakeshadr
left a comment
There was a problem hiding this comment.
+1 LGTM. Thanks @tanvipenumudy
Contributor
|
Thanks @adoroszlai @JyotinderSingh for the reviews! |
tanvipenumudy
added a commit
to tanvipenumudy/ozone
that referenced
this pull request
May 12, 2022
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.
What changes were proposed in this pull request?
To develop a new Ozone Freon tool command where one can configure or pass an argument to generate/run a synthetic read and write operation mix workload on a bucket and print the lock read/write waiting/held time metrics.
Step 1: Create
fileCountForRead(defaultValue = 1000) files under rootPath/readPath directoryStep 2: Start
readThreadCount(defaultValue = 90) concurrent read threadseach new Thread (() -> {
for(1...
numOfReadOperations(defaultValue = 50))fileSystem.listStatus(rootPath/readPath)
}
Step 3: Start
writeThreadCount(defaultValue = 10) concurrent write threadseach new Thread (() -> {
for(1...
numOfWriteOperations(defaultValue = 10))createFiles(rootPath/writePath/file-random-keypath)
}
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-6457
How was this patch tested?
Added integration tests.