Speedup frostfs-cli object nodes #1164

Closed
opened 2024-06-06 12:22:02 +00:00 by fyrchik · 1 comment
Owner

EC 3.1, complex object, 2 parts, local dev-env

$ time frostfs-cli object nodes -w ./wallets/wallet.json -r s01.frostfs.devenv:8080 --cid hTtAvicteAV8yA68uxrNTFci8TUq3xgk6mXuKUqcwKL --oid 8B3VsBcGPGkaAUgFtTjimyGPQjr8hhUxvcQCGGqTFVpC
Enter password >
Object 8B3VsBcGPGkaAUgFtTjimyGPQjr8hhUxvcQCGGqTFVpC stores payload in 8 data objects:
...
________________________________________________________
Executed in   16.24 secs      fish           external
   usr time  323.95 millis  216.00 micros  323.74 millis
   sys time   27.67 millis   19.00 micros   27.65 millis

Let's see if we can make it faster. One obvious option is to parallelize queries for different parts.
Let's also see the trace with --trace-id flag.

EC 3.1, complex object, 2 parts, local dev-env ``` $ time frostfs-cli object nodes -w ./wallets/wallet.json -r s01.frostfs.devenv:8080 --cid hTtAvicteAV8yA68uxrNTFci8TUq3xgk6mXuKUqcwKL --oid 8B3VsBcGPGkaAUgFtTjimyGPQjr8hhUxvcQCGGqTFVpC Enter password > Object 8B3VsBcGPGkaAUgFtTjimyGPQjr8hhUxvcQCGGqTFVpC stores payload in 8 data objects: ... ________________________________________________________ Executed in 16.24 secs fish external usr time 323.95 millis 216.00 micros 323.74 millis sys time 27.67 millis 19.00 micros 27.65 millis ``` Let's see if we can make it faster. One obvious option is to parallelize queries for different parts. Let's also see the trace with `--trace-id` flag.
fyrchik added the
frostfs-cli
label 2024-06-06 12:22:23 +00:00
fyrchik added this to the vNext milestone 2024-06-06 12:22:25 +00:00
dstepanov-yadro self-assigned this 2024-06-07 07:39:14 +00:00

Done

Done
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-node#1164
No description provided.