Skip to content

Conversation

@symious
Copy link
Contributor

@symious symious commented Nov 28, 2025

What changes were proposed in this pull request?

Details can be found in https://issues.apache.org/jira/browse/RATIS-2129.

The idea is to eliminate the impact of locks to the performance of writing.

The outcome is good. Please check the following table. (CPS: calls/s)

CPS 1 CPS 2 Mean CPS
Without Patch 293 288 290.5
With Patch 382 378 380

Test running with the following command:

ozone freon dfsg -s1MB --prefix beg0i3ghm2 --path o3fs://bucket1.vol1.dev/freon -n200000 -t50 

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/RATIS-2129

How was this patch tested?

Ozone Freon test.

@symious
Copy link
Contributor Author

symious commented Nov 28, 2025

@szetszwo Could you help to review this PR?

@szetszwo
Copy link
Contributor

@symious , this implementation seems to have some bugs. @jojochuang found some failures were observed under stress tests. We need to rework the code.

@symious
Copy link
Contributor Author

symious commented Nov 29, 2025

@szetszwo Thank you for the review. Yes, the first commit is your original PR. The second commit is for the fix.

@szetszwo
Copy link
Contributor

szetszwo commented Nov 30, 2025

... The second commit is for the fix.
@symious , thanks for fixing the bugs.

ozone freon dfsg -s1MB --prefix beg0i3ghm2 --path o3fs://bucket1.vol1.dev/freon -n200000 -t50

Could you try testing more files (say 1m or 10m) with smaller size(say 1KB) ?

BTW, does the Ozone Freon test verify the data?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants