mirror of
https://github.com/wassname/ray.git
synced 2026-08-20 12:40:44 +08:00
[xray] Evict tasks from the lineage cache (#2152)
This commit is contained in:
committed by
Robert Nishihara
parent
12de668ccb
commit
117107cb15
@@ -20,6 +20,8 @@ class RayConfig {
|
||||
|
||||
int64_t get_timeout_milliseconds() const { return get_timeout_milliseconds_; }
|
||||
|
||||
uint64_t max_lineage_size() const { return max_lineage_size_; }
|
||||
|
||||
int64_t worker_get_request_size() const { return worker_get_request_size_; }
|
||||
|
||||
int64_t worker_fetch_request_size() const {
|
||||
@@ -112,6 +114,7 @@ class RayConfig {
|
||||
get_timeout_milliseconds_(1000),
|
||||
worker_get_request_size_(10000),
|
||||
worker_fetch_request_size_(10000),
|
||||
max_lineage_size_(100),
|
||||
actor_max_dummy_objects_(1000),
|
||||
num_connect_attempts_(50),
|
||||
connect_timeout_milliseconds_(100),
|
||||
@@ -160,6 +163,11 @@ class RayConfig {
|
||||
int64_t worker_get_request_size_;
|
||||
int64_t worker_fetch_request_size_;
|
||||
|
||||
/// This is used to bound the size of the Raylet's lineage cache. This is
|
||||
/// the maximum uncommitted lineage size that any remote task in the cache
|
||||
/// can have before eviction will be attempted.
|
||||
uint64_t max_lineage_size_;
|
||||
|
||||
/// This is a temporary constant used by actors to determine how many dummy
|
||||
/// objects to store.
|
||||
int64_t actor_max_dummy_objects_;
|
||||
|
||||
Reference in New Issue
Block a user