feat: configurable iOS jetsam memory limits#81
Open
cjchanh wants to merge 1 commit intoevilsocket:mainfrom
Open
feat: configurable iOS jetsam memory limits#81cjchanh wants to merge 1 commit intoevilsocket:mainfrom
cjchanh wants to merge 1 commit intoevilsocket:mainfrom
Conversation
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.
What changed
CAKE_MOBILE_LAYER_BUDGET_MBandCAKE_MOBILE_RESERVE_PCTWhy
Cake currently hardcodes a 1536 MiB mobile layer budget. That is safe as a default, but it makes the iOS worker memory policy inflexible for devices and deployment modes that can safely use a different budget.
This change keeps the current defaults intact and only adds configuration for the iPhone/iPad path.
Impact
Validation
RUSTC_WRAPPER="" cargo test -p cake-core --lib --test unitRUSTC_WRAPPER="" cargo clippy -p cake-core -p cake-cli --features metal -- -D warningsRUSTC_WRAPPER="" cargo build --release --features metal:shared:compileKotlinMetadata,:shared:compileKotlinIosArm64,:shared:compileKotlinIosSimulatorArm64Notes
scripts/deploy-ios.shand broader mobile telemetry/UI work were intentionally left out of this PR.