From 1f2c9fe1a63dc8fc2e845139a3f218d2f33fa042 Mon Sep 17 00:00:00 2001 From: Nicholas Nethercote Date: Fri, 10 Nov 2023 10:11:14 +1100 Subject: [PATCH] Add a sentence for machines with fewer than 8 cores. Something that came up in a bug report, where a user had 6. --- posts/2023-11-09-parallel-rustc.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/posts/2023-11-09-parallel-rustc.md b/posts/2023-11-09-parallel-rustc.md index 74e7c2d88..58b1d2e64 100644 --- a/posts/2023-11-09-parallel-rustc.md +++ b/posts/2023-11-09-parallel-rustc.md @@ -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