Repository navigation
fix(developer-rust): size the build slice by where Rust builds run - #133
Merged
Merged
Conversation
A host sending Rust builds elsewhere reserved a third of its RAM for local builds that never ran. agents.slice gets what is left. On a 30 GiB host, Claude sessions shared 11 GiB. Subagents could not start. - rust_build_role (auto, local, client, target) sets the build slice. In auto, this host is a client if `hyperi-ai config get remote.host` names a host. - A client gets a fixed 4 GiB build slice for rust-analyzer. agents.slice gets the rest. A target gets 50 and 60 percent of RAM. local keeps 27 and 33 percent. - The hyperi-build-slice command (show, raise <size>, reset) changes the memory split live. raise takes memory from agents.slice and gives it to builds. - raise rejects a split that leaves sessions less than their memory use plus 1 GiB. On a 30 GiB client the build slice goes from 10 GiB to 4 GiB and agents.slice from 11.3 GiB to 17.3 GiB.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
A host sending Rust builds elsewhere reserved a third of its RAM for local builds that never ran. agents.slice gets what is left. On a 30 GiB host, Claude sessions shared 11 GiB. Subagents could not start.
hyperi-ai config get remote.hostnames a host.On a 30 GiB client the build slice goes from 10 GiB to 4 GiB and agents.slice from 11.3 GiB to 17.3 GiB.