You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/04/01 21:48:00 UTC
[jira] [Updated] (HDDS-6457) Add freon command to run r/w mix workload and get lock metrics
[ https://issues.apache.org/jira/browse/HDDS-6457?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated HDDS-6457:
---------------------------------
Labels: pull-request-available (was: )
> 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: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org