Skip to content

Commit

Permalink
Add a sentence for machines with fewer than 8 cores.
Browse files Browse the repository at this point in the history
Something that came up in a bug report, where a user had 6.
  • Loading branch information
nnethercote authored and Mark-Simulacrum committed Nov 10, 2023
1 parent aecd476 commit 1f2c9fe
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions posts/2023-11-09-parallel-rustc.md
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,9 @@ quickly.

We recommend eight threads because this is the configuration we have tested the
most and it is known to give good results. Values lower than eight will see
smaller benefits. Values greater than eight will give diminishing returns and
may even give worse performance.
smaller benefits, but are appropriate if your hardware has fewer than eight
cores. Values greater than eight will give diminishing returns and may even
give worse performance.

If a 50% improvement seems low when going from one to eight threads, recall
from the explanation above that the front-end only accounts for part of compile
Expand Down

0 comments on commit 1f2c9fe

Please sign in to comment.