[
https://issues.apache.org/jira/browse/HDDS-6457?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rakesh Radhakrishnan updated HDDS-6457:
---------------------------------------
Status: Patch Available (was: Open)
> Add freon command to run r/w mix workload and get lock metrics
> --------------------------------------------------------------
>
> Key: HDDS-6457
> URL: https://issues.apache.org/jira/browse/HDDS-6457
> Project: Apache Ozone
> Issue Type: Sub-task
> Components: freon
> Reporter: Rakesh Radhakrishnan
> Assignee: Tanvi Penumudy
> Priority: Major
> Labels: pull-request-available
>
> The idea is to run r/w mix workload and then print lock metric values.
> {+}Input Args{+}:
> PrefixPath : /vol-1/buck-1/dir1/dir2/dir3/
> FileCountForRead : 1000
> FileSize : 1KB
> totalThreadCount = 100
> readThreadPercentage : 90%
> numOfOperations = x times by each thread
> {code:java}
> Step-1) Create "FileCountForRead=1000" num of files under sub-path :
> /vol-1/buck-1/dir1/dir2/dir3/readPath/
> Step-2) Start read threads and perform ops:
> 90 concurrent read operations
> Each new Thread() #run \{
> for(1...50)
> o3fs#listStatus("/vol-1/buck-1/dir1/dir2/dir3/readPath/")
> }
> Step-3) Start write threads and perform ops:
> 10 concurrent write operations
> Each new Thread() #run \{
> for(1...50)
>
> o3fs#createFile("/vol-1/buck-1/dir1/dir2/dir3/writePath/file-random-keypath")
> }
> {code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]