-
Notifications
You must be signed in to change notification settings - Fork 141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Improvement] better default shuffle server configuration #642
Comments
cc @jerqi, WDYT? would you like to refine this settings? |
OK |
I think this config as a ratio value will be better, the current concrete disk capacity is not flexible especially for heterogeneous storage. @advancedxy |
:+1. Sound good to me. But the fixed capacity has its own use cases, I will not remove this configuration, rather add a ratio configuration then use it preferably. |
### What changes were proposed in this pull request? 1. `rss.server.buffer.capacity` uses JVM heap size * ratio(0.6) by default 2. `rss.server.read.buffer.capacity` uses JVM heap size * ratio(0.2) by default 3. `rss.server.disk.capacity` uses disk space * ratio(0.9) by default ### Why are the changes needed? Fix: #642 ### Does this PR introduce _any_ user-facing change? Yes. Three new configurations are introduced, users can specify ratio values for buffer, read buffer and disk capacity ### How was this patch tested? New UTs.
…pache#662) ### What changes were proposed in this pull request? 1. `rss.server.buffer.capacity` uses JVM heap size * ratio(0.6) by default 2. `rss.server.read.buffer.capacity` uses JVM heap size * ratio(0.2) by default 3. `rss.server.disk.capacity` uses disk space * ratio(0.9) by default ### Why are the changes needed? Fix: apache#642 ### Does this PR introduce _any_ user-facing change? Yes. Three new configurations are introduced, users can specify ratio values for buffer, read buffer and disk capacity ### How was this patch tested? New UTs.
…pache#662) ### What changes were proposed in this pull request? 1. `rss.server.buffer.capacity` uses JVM heap size * ratio(0.6) by default 2. `rss.server.read.buffer.capacity` uses JVM heap size * ratio(0.2) by default 3. `rss.server.disk.capacity` uses disk space * ratio(0.9) by default ### Why are the changes needed? Fix: apache#642 ### Does this PR introduce _any_ user-facing change? Yes. Three new configurations are introduced, users can specify ratio values for buffer, read buffer and disk capacity ### How was this patch tested? New UTs.
Code of Conduct
Search before asking
What would you like to be improved?
rss.server.buffer.capacity
could have a default settings,JVM MaxHeapSize
* some factorrss.server.read.buffer.capacity
is similar withrss.server.buffer.capacity
Otherwise, once the max heap size of shuffle server is changed, users/admins have to reconfigure these two buffer settings.
rss.server.disk.capacity
is -1(by default), shuffle server uses the total space of one disk, which seems operation unfriendly. Shuffle server should reserve some partition of disk space and not use all the disks, such as at most 95% the capacity.How should we improve?
No response
Are you willing to submit PR?
The text was updated successfully, but these errors were encountered: