greenwich opened a new pull request, #10529:
URL: https://github.com/apache/ozone/pull/10529

   ## What changes were proposed in this pull request?
   HDDS-15586 Add freon command to read a user-supplied list of existing keys
   
   There is no freon command that points at an arbitrary, heterogeneous set of 
existing keys (a real dataset already in a bucket) and measures read 
throughput. This is needed for read-path
   performance and capacity/scaling work, where freshly generated uniform keys 
are page-cache-hot and not representative of production data.
   
   Add a freon subcommand OzoneClientKeyListReader (ocklr) that:
   - `takes --key-file <path> `— a local file with one key name per line; blank 
lines and # comments ignored;
   - reuses `BaseFreonGenerator` — a warm shared `OzoneClient`, `-t` threads, 
`-n` total reads (task i reads keys[i % keys.size()], so -n loops the list), 
DropWizard timer;
   - per read calls `bucket.readKey(key)`, drains the stream into a fixed 
buffer and counts bytes (no content/digest assumptions); reports the key-read 
timer plus an aggregate bytes/wall-time
   MB/s line.
   
   
   ## What is the link to the Apache JIRA
   https://issues.apache.org/jira/browse/HDDS-15586
   
   
   ## How was this patch tested?
   
   Unit-tests are commited too.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to