Uh oh!
There was an error while loading. Please reload this page.
Parallel frontend by default - #146237
Conversation
rustbot
commented
Sep 5, 2025
rustbot has assigned @petrochenkov. Use |
lqd
commented
Sep 5, 2025
@bors try |
…try> Test out parallel frontend via crater
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
bjorn3
commented
Sep 5, 2025
@bors try spurious failure |
Unknown argument "spurious". Run |
bjorn3
commented
Sep 5, 2025
Never mind, that was PR CI, not the try job. |
petrochenkov
commented
Sep 5, 2025
@craterbot build-and-test |
craterbot
commented
Sep 5, 2025
🚨 Error: failed to parse the command 🆘 If you have any trouble with Crater please ask in t-infra on Zulip |
petrochenkov
commented
Sep 5, 2025
@craterbot run mode=build-and-test |
craterbot
commented
Sep 5, 2025
👌 Experiment ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more |
craterbot
commented
Sep 10, 2025
🚧 Experiment ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more |
craterbot
commented
Sep 11, 2025
🎉 Experiment
Footnotes
|
34fd685 to
77f6c01CompareOOM build failures increasing from 4.5% to 13.5% is concerning if we will have more that one thread enabled by default one day. I hypothesized in the zulip thread it comes from increased RAM consumption during parallel compilation. I guess if we set threads to num_cpus (which is our eventual goal) this problem would become less noticeable. So I have reverted to this behavior to see what happens now. @craterbot run mode=build-only crates=https://crater-reports.s3.amazonaws.com/pr-146237/retry-regressed-list.txt |
craterbot
commented
Sep 18, 2025
🔒 Error: you're not allowed to interact with this bot. 🔑 If you are a member of a Rust team and need access, please update rust-lang/team to grant your team or yourself access to the |
SparrowLii
commented
Sep 28, 2025
@bors try |
This comment has been minimized.
This comment has been minimized.
…try> Test out parallel frontend via crater
SparrowLii
commented
Sep 29, 2025
@craterbot run mode=build-only crates=https://crater-reports.s3.amazonaws.com/pr-146237/retry-regressed-list.txt |
craterbot
commented
Sep 29, 2025
👌 Experiment ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more |
SparrowLii
commented
Sep 29, 2025
@craterbot p=1 |
craterbot
commented
Sep 29, 2025
📝 Configuration of the ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more |
craterbot
commented
Sep 29, 2025
🚧 Experiment ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more |
craterbot
commented
Sep 30, 2025
🎉 Experiment
Footnotes
|
SpriteOvO
commented
Feb 13, 2026
Hi, ping from triage team. This PR has been inactive for a while. What's the status of this PR now? Thanks. |
I plan to rerun crater to see if I am right about zero regressions after #149849 is merged and other small stuff is done. See #t-compiler/parallel-rustc > Steps to enable/stabilize multi-threaded rustc front-end @ 💬 |
This comment has been minimized.
This comment has been minimized.
77f6c01 to
090cd7cComparerustbot
commented
Apr 27, 2026
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
zetanumbers
commented
Apr 27, 2026
This is it. Let's merge this PR and get over with it. |
rust-log-analyzer
commented
Apr 27, 2026
The job Click to see the possible cause of the failure (guessed by this bot) |
☔ The latest upstream changes (presumably #156290) made this pull request unmergeable. Please resolve the merge conflicts. |
petrochenkov
commented
Jun 29, 2026
This PR was originally used for a crater run with enabled parallel frontend. |
View all comments
I would like to help push progress on parallel compiler. I think it will be necessary at some point to test compiler in its multi-threaded mode (we already "have" parallel compiler but it is single-threaded by default) via crater. It would allow us to diagnose new issues, measure impact on the ecosystem and estimate amount of remaining work.
I have modified compiler to use
"num_cpus" number of8 threads by default. But I am not sure if there's better value for the cloud environment, so please tell if there is one. I am also not aware of any other nuances of cloud computing, but @Mark-Simulacrum on zulip have confirmed it should be fine.I believe
build-and-testcrater mode should provide us with more useful information than the other modes, but if necessary you can scale it down to justbuild only.Related zulip thread: #t-compiler/parallel-rustc > Run crater with `-Zthreads=$NUM_CPUS` set
EDIT: Switched from num_cpus to 8 threads