forked from ray-project/ray
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split block and evict task (ray-project#8)
* blocktask and evict tasks separated * blocktasks when oom * command to replay the bug * Fix crash in raylet on duplicate object * Fixed bug in blocktasks. Did not block when block task called only * Merged blocktasks and evicttasks into a single callback and erased evict callback * get lowest pri, but obj does not have pri yet * debug logs to see where to put priority * log without compile error * commit for migration * working version. But still need testing * Blocktasks but 2 new problems emerged * added microbechmark * deadlock cases 1 and 2 induced by not spilling. 1 is when workers are stuck with producers and 2 is when consumers are dependent on multiple objects * polished debug messages * typo fix * removed scripts and included block, evict threshold triggered code * changed get_lowest_pri to prevent a potential seg fault * polished calling block_task callback * modified flags to bool for readability and added a screening to avoid calling taskblock callback twice * changed object_block callback function's arguments back to bool * fixed unchanged function argument for the blockTask callback * typo fix Co-authored-by: Stephanie Wang <swang@cs.berkeley.edu> Co-authored-by: Ubuntu <ubuntu@ip-172-31-62-69.us-west-2.compute.internal>
- Loading branch information
1 parent
d73b014
commit 7de7aff
Showing
23 changed files
with
362 additions
and
204 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.