-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
Use one memory mapped file for plasma #3871
Use one memory mapped file for plasma #3871
Conversation
Test PASSed. |
Test FAILed. |
Because we are updating Arrow, this should also fix #3846. |
Using a single mmap'ed file should help with shared memory usage. |
695c026
to
a9f32b1
Compare
a9f32b1
to
c03992f
Compare
Test FAILed. |
Test FAILed. |
@raulchen @guoyuhong Can you have a look at the Java failure? Could it be related to apache/arrow#3306, does the Java API need to be changed to incorporate that PR? |
Test PASSed. |
Doesn't seem to be related with that PR. I'll try to test it locally in a bit. |
@raulchen I cannot repro it in my mac. I can repro it in my linux system. It may be caused by the PR mentioned by @pcmoritz .
Maybe |
@pcmoritz In my local Mac or Linux I still found there is a java building failure which can be fixed by this PR: apache/arrow#2738 . I will reopen this PR. Could you please help to merge it? This PR will fix the ray-java building error showed in following picture. |
@guoyuhong Thanks for looking into this! Do you have an idea what the right fix is? This is very high priority since there is a number of bugs that are blocked on being able to upgrade arrow. |
Great, thanks a lot! I'll try to get this PR merged tomorrow then :) |
Test PASSed. |
Test PASSed. |
Test PASSed. |
Test PASSed. |
Test FAILed. |
Jenkins retest this please |
Test FAILed. |
Test FAILed. |
Jenkins retest this please |
Test FAILed. |
Jenkins retest this please |
Test FAILed. |
Jenkins retest this please |
Test FAILed. |
Test FAILed. |
Test FAILed. |
Test FAILed. |
Jenkins retest this please |
Test FAILed. |
Test FAILed. |
Test FAILed. |
Test PASSed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All tests passed. Thanks for your effort!
@@ -197,7 +197,7 @@ def g(x): | |||
def ray_start_reconstruction(request): | |||
num_nodes = request.param | |||
|
|||
plasma_store_memory = 10**9 | |||
plasma_store_memory = int(0.5 * 10**9) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change was needed because the space calculations in plasma are now done slightly differently (there can now be a discrepancy between the plasma store memory and the size of the memory mapped files, in practice I have seen < 10%).
This change is to be on the safe side to prevent flakiness. With 0.8 here I was still seeing test_simple and test_recursive in stress_tests.py failing occasionally.
Let's hold off on merging this until after the 0.6.3 release (which should be soon). |
Trying the change in apache/arrow#3490