-
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
[scheduler][6] Integrate ray with syncer. #23660
Merged
Merged
Changes from 80 commits
Commits
Show all changes
85 commits
Select commit
Hold shift + click to select a range
4f598da
up
fishbone e908415
up
fishbone a0388c2
format
fishbone d7de78a
integrate with raylet
fishbone f9187ce
format
fishbone 34be999
finish add and remove
fishbone 3e88774
integrate with gcs
fishbone c45efd4
fix it
fishbone dad1885
make raylet compile
fishbone 1e812bd
enable for testing
fishbone c2e715b
fix one issue
fishbone 5bee526
Merge remote-tracking branch 'upstream/master' into syncer-integration
fishbone e61e63f
fix
fishbone abc4579
format
fishbone c124f2f
fix test_basic_3.py
fishbone f2034b9
format
fishbone df968a7
up
fishbone 4219b1d
up
fishbone 42bd6d0
fix pg mini test
fishbone dd25eb6
format
fishbone 3be9361
add pg updates in raylet
fishbone 478987a
format and fix some cpp test
fishbone 8db538a
fix raylet
fishbone 6ec8542
Merge remote-tracking branch 'upstream/master' into syncer-integration
fishbone fd4b89a
obj memory and warning issue
fishbone 5903e2a
format
fishbone 617f296
fix gcs reconnect
fishbone fa612f1
format
fishbone 172fa7e
fix cpp issues
fishbone 57c3ecc
move gc to command channel
fishbone 6f3c6bd
fix gc
fishbone 94a4fad
format
fishbone fd5370d
Merge remote-tracking branch 'upstream/master' into syncer-integration
fishbone 2b813f4
revert one line
fishbone 2b5b1ff
update
fishbone 7a14e80
fix
fishbone e8daa87
add test case for ray syncer
fishbone fb49bd8
format
fishbone cbffd67
up
fishbone e73688e
add test
fishbone 25aae70
format
fishbone 8fe8e3e
up
fishbone 1503e10
update
fishbone a0e2d68
comments
fishbone 8f421c0
fix some
fishbone 63da674
format
fishbone 7d561fa
Merge remote-tracking branch 'upstream/master' into syncer-integration
fishbone 08c91b8
fix compiling and some comments
fishbone f07cf33
fix compiling
fishbone 91f2f93
format
fishbone 1984ea3
update
fishbone 575009a
update
fishbone 78e2432
update
fishbone 001c413
format
fishbone ff520ab
format
fishbone d0352fe
format
fishbone 4ea66a7
fix large test
fishbone 2e03a48
update
fishbone fb79b6c
format
fishbone 351c4bd
format
fishbone 16ccbba
fix comment
fishbone 7107aa1
format
fishbone 257219f
Merge remote-tracking branch 'upstream/master' into syncer-integration
fishbone 63991be
up
fishbone 86fb73d
fix ray syncer test
fishbone 0471f12
update
fishbone 234a7d6
update
fishbone 9110b3b
Merge remote-tracking branch 'upstream/master' into syncer-integration
fishbone 5701f83
up
fishbone d332986
fix
fishbone f836124
format
fishbone 189ae15
Merge remote-tracking branch 'upstream/master' into syncer-integration
fishbone c13a22c
revert serve
fishbone b66b907
revert state
fishbone d4bf660
Merge remote-tracking branch 'upstream/master' into syncer-integration
fishbone a11c98e
up
fishbone 4e6e81e
merge and fix
fishbone bf42239
fix comment
fishbone e185a34
fix comment
fishbone 263fcec
fix comment
fishbone d18834a
fix comments
fishbone 3825141
fix compiling failure
fishbone 77710ef
fix mis-merge
fishbone eba9fc0
fix mis-update
fishbone ff56f8b
fix a bad merge
fishbone File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -64,6 +64,10 @@ RAY_CONFIG(uint64_t, num_heartbeats_warning, 5) | |
|
||
/// The duration between reporting resources sent by the raylets. | ||
RAY_CONFIG(uint64_t, raylet_report_resources_period_milliseconds, 100) | ||
|
||
/// The duration between raylet check memory pressure and send gc request | ||
RAY_CONFIG(uint64_t, raylet_check_gc_period_milliseconds, 100) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Was this hardcoded before? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This was the same as |
||
|
||
/// For a raylet, if the last resource report was sent more than this many | ||
/// report periods ago, then a warning will be logged that the report | ||
/// handler is drifting. | ||
|
@@ -335,6 +339,9 @@ RAY_CONFIG(int32_t, gcs_rpc_server_reconnect_timeout_s, 60) | |
/// Minimum interval between reconnecting gcs rpc server when gcs server restarts. | ||
RAY_CONFIG(int32_t, minimum_gcs_reconnect_interval_milliseconds, 5000) | ||
|
||
/// Feature flag to use the ray syncer for resource synchronization | ||
RAY_CONFIG(bool, use_ray_syncer, false) | ||
|
||
/// The interval at which the gcs client will check if the address of gcs service has | ||
/// changed. When the address changed, we will resubscribe again. | ||
RAY_CONFIG(uint64_t, gcs_service_address_check_interval_milliseconds, 1000) | ||
|
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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Why not just supporting this from the syncer?
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.
I'd probably prefer another name instead of
ray_outbound_heartbeat_size_kb_sum