Uh oh!
There was an error while loading. Please reload this page.
HDDS-7908. Support OM Metadata operation Generator in Ozone freon - #4251
Conversation
The command output example [root@centos root]$ ozone freon ommg --operation MIXED --ops CREATE_FILE,LOOKUP_FILE,LIST_STATUS --opsnum 5,4,1 -t 10s -n 1000 --runtime 5 --timebase --verbose
100.00% |██████████████████████████████████| 5/5 Time: 0:00:05| CREATE_FILE: rate 76 max 88 LIST_STATUS: rate 3 max 12 LOOKUP_FILE: rate 453 max 843
2/7/23 1:15:14 PM ==============================================================
-- Timers ----------------------------------------------------------------------
CREATE_FILE
count = 265
mean rate = 57.17 calls/second
1-minute rate = 0.00 calls/second
5-minute rate = 0.00 calls/second
15-minute rate = 0.00 calls/second
min = 1.16 milliseconds
max = 710.05 milliseconds
mean = 73.13 milliseconds
stddev = 138.07 milliseconds
median = 5.29 milliseconds
75% <= 9.02 milliseconds
95% <= 299.71 milliseconds
98% <= 307.26 milliseconds
99% <= 709.11 milliseconds
99.9% <= 710.05 milliseconds
LIST_STATUS
count = 22
mean rate = 4.29 calls/second
1-minute rate = 4.40 calls/second
5-minute rate = 4.40 calls/second
15-minute rate = 4.40 calls/second
min = 270.81 milliseconds
max = 487.88 milliseconds
mean = 383.47 milliseconds
stddev = 94.26 milliseconds
median = 327.36 milliseconds
75% <= 484.02 milliseconds
95% <= 487.43 milliseconds
98% <= 487.88 milliseconds
99% <= 487.88 milliseconds
99.9% <= 487.88 milliseconds
LOOKUP_FILE
count = 2308
mean rate = 497.17 calls/second
1-minute rate = 0.00 calls/second
5-minute rate = 0.00 calls/second
15-minute rate = 0.00 calls/second
min = 0.33 milliseconds
max = 298.57 milliseconds
mean = 8.25 milliseconds
stddev = 44.11 milliseconds
median = 0.66 milliseconds
75% <= 0.85 milliseconds
95% <= 1.70 milliseconds
98% <= 252.02 milliseconds
99% <= 266.08 milliseconds
99.9% <= 298.50 milliseconds
Total execution time (sec): 6
Failures: 0
Successful executions: 2595
Option:
--number-of-tests=1000
--threads=10
--timebase=true
--runtime=5
--fail-at-end=false
--prefix=tfae0qxzwe
--verbose=true
--volume=vol1
--bucket=bucket1
--size=0
--buffer=4096
--batch-size=1000
--random=false
--operation=LOOKUP_FILE
--ops=CREATE_FILE,LOOKUP_FILE,LIST_STATUS
--opsnum=5,4,1
--ophelp=false
--om-service-id=null
--help=false
--version=false |
xichen01
commented
Feb 7, 2023
There are some features in this PR, should I split these into multiple PRs, the review will be easier.
another PR:
|
jojochuang
commented
Feb 7, 2023
No this is okay. I'll review. Thanks. In any case, I think this is nice too to have. Being able to generate random-like workloads is great. cc: @DaveTeng0 |
By default, this is the operation of pure metadata in the process of reading and writing In this freon sub command, the MIXED operation is possible, such as we can test: |
adoroszlai
left a comment
There was a problem hiding this comment.
Thanks @xichen01 for the patch. I'll need to take another look at OmMetadataGenerator, but here is my first round of review for the existing Freon parts.
Uh oh!
There was an error while loading. Please reload this page.
| public long getThreadSequenceId() { | ||
| return threadSequenceId.get(); |
There was a problem hiding this comment.
Please add javadoc comment explaining purpose of this new sequence ID.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
…in non-interactive environment
| * Get current Thread sequence ID. | ||
| * @return Current Thread sequence ID |
There was a problem hiding this comment.
Thanks for adding the comment, but I still don't think it's clear right away what it is used for. The doc just repeats the method name.
adoroszlai
commented
Feb 28, 2023
Got this for |
xichen01
commented
Mar 1, 2023
This has been fixed Those command can normally execution |
adoroszlai
commented
Apr 12, 2023
@duongkame@jojochuang please review |
adoroszlai
commented
Apr 17, 2023
Thanks @xichen01 for the patch, @jojochuang for the review. |
* master: (440 commits) HDDS-8445. Move PlacementPolicy back to SCM (apache#4588) HDDS-8335. ReplicationManager: EC Mis and Under replication handlers should handle overloaded exceptions (apache#4593) HDDS-8355. Intermittent failure in TestOMRatisSnapshots#testInstallSnapshot (apache#4592) HDDS-8444. Increase timeout of CI build (apache#4586) HDDS-8446. Selective checks: handle change in ci.yaml (apache#4587) HDDS-8440. Ozone Manager crashed with ClassCastException when deleting FSO bucket. (apache#4582) HDDS-7309. Enable by default GRPC between S3G and OM (apache#3820) HDDS-8458. Mark TestBlockDeletion#testBlockDeletion as flaky HDDS-8385. Ozone can't process snapshot when service UID > 2097151 (apache#4580) HDDS-8424: Preserve legacy bucket getKeyInfo behavior (apache#4576) HDDS-8453. Mark TestDirectoryDeletingServiceWithFSO#testDirDeletedTableCleanUpForSnapshot as flaky HDDS-8137. [Snapshot] SnapDiff to use tombstone entries in SST files (apache#4376) HDDS-8270. Measure checkAccess latency for Ozone objects (apache#4467) HDDS-8109. Seperate Ratis and EC MisReplication Handling (apache#4577) HDDS-8429. Checkpoint is not closed properly in OMDBCheckpointServlet (apache#4575) HDDS-8253. Set ozone.metadata.dirs to temporary dir if not defined in S3 Gateway (apache#4455) HDDS-8400. Expose rocksdb last sequence number through metrics (apache#4557) HDDS-8333. ReplicationManager: Allow partial EC reconstruction if insufficient nodes available (apache#4579) HDDS-8147. Introduce latency metrics for S3 Gateway operations (apache#4383) HDDS-7908. Support OM Metadata operation Generator in `Ozone freon` (apache#4251) ...
What changes were proposed in this pull request?
Ozone freonOzone freonruns for a specified duration of time.GIF:
a MIXED operation, include CREATE_FILE and LOOKUP_FILE and LIST_STATUS, test duration time is 10s
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-7908
How was this patch tested?