Skip to content

HDDS-6457. Add freon command to run r/w mix workload using FS#3266

Merged
rakeshadr merged 10 commits intoapache:masterfrom
tanvipenumudy:HDDS-6457
Apr 26, 2022
Merged

HDDS-6457. Add freon command to run r/w mix workload using FS#3266
rakeshadr merged 10 commits intoapache:masterfrom
tanvipenumudy:HDDS-6457

Conversation

@tanvipenumudy
Copy link
Contributor

@tanvipenumudy tanvipenumudy commented Apr 1, 2022

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 directory
Step 2: Start readThreadCount (defaultValue = 90) concurrent read threads
 each new Thread (() -> {
  for(1...numOfReadOperations (defaultValue = 50))
   fileSystem.listStatus(rootPath/readPath)
 }
Step 3: Start writeThreadCount (defaultValue = 10) concurrent write threads
 each 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.

tanvipenumudy and others added 3 commits April 3, 2022 11:26
Co-authored-by: Jyotinder Singh <jyotindrsingh@gmail.com>
@tanvipenumudy
Copy link
Contributor Author

Hi @siddhantsangwan, @rakeshadr it would be great if you can review the patch, thanks!

Copy link
Contributor

@rakeshadr rakeshadr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 LGTM. Thanks @tanvipenumudy

@rakeshadr
Copy link
Contributor

Thanks @adoroszlai @JyotinderSingh for the reviews!

@rakeshadr rakeshadr changed the title HDDS-6457. Add freon command to run r/w mix workload and get lock metrics HDDS-6457. Add freon command to run r/w mix workload using FS Apr 26, 2022
@rakeshadr rakeshadr merged commit db778fc into apache:master Apr 26, 2022
tanvipenumudy added a commit to tanvipenumudy/ozone that referenced this pull request May 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants