Skip to content

bump ramdisk to 1200MB#263

Merged
iliana merged 1 commit into
masterfrom
iliana/twelve-hundred-megabytes
Jul 21, 2026
Merged

bump ramdisk to 1200MB#263
iliana merged 1 commit into
masterfrom
iliana/twelve-hundred-megabytes

Conversation

@iliana

@iliana iliana commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

We are hitting the ramdisk size on oxidecomputer/omicron#10847. Rust 1.97 seems to have caused a significant increase in Rust binary size:

# rust 1.96.1
iliana@atrium ~/omicron $ du -sh out/switch-asic.tar.gz
471M    out/switch-asic.tar.gz
iliana@atrium ~/omicron $ du -sh target/release/sled-agent
57.4M   target/release/sled-agent

# rust 1.97.1
iliana@atrium ~/omicron $ du -sh out/switch-asic.tar.gz
513M    out/switch-asic.tar.gz
iliana@atrium ~/omicron $ du -sh target/release/sled-agent
63.7M   target/release/sled-agent

I would like to understand the root cause at some point -- it is perhaps related to the new symbol mangling scheme -- but regardless we are going to want to update the toolchain. The above checks account for a 50 MiB (compressed) increase and I know there's many more Rust binaries in the host OS image than that, so 1200 seems safe to account for wanting to do a mass-upgrade to 1.97.1 across what we ship.

@iliana
iliana requested a review from rmustacc July 17, 2026 20:13

@rmustacc rmustacc left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it really is important we understand what's going on. We can't always keep increasing in perpetuity. But I realize we don't have the cycles for that right now.

@iliana
iliana merged commit dc82ba5 into master Jul 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants