Question i7-11800H vs 5800X3D for GCC

Omroth

Prominent
Nov 26, 2022
6
0
510
Hey guys. First post. Sorry if this isn't an appropriate place.

I'm finding my laptop's i7-11800H runs a heavy GCC compilation task faster than my 5800X3D desktop - is that what you'd expect?
 
Based on GCC benchmarking -- https://openbenchmarking.org/test/pts/build-gcc&eval=e5cdf34b65dc7457bed0ae825d4643335b220fdf
The 5800X should be faster (860 second benchmark vs 932 seconds).
You have to look at memory, and storage also.
I guess the question here is if compiling can cut the whole workload into as many parts as it wants, or if it can only cut the workloads on subroutines/modules or whatever they call them nowadays.
Big projects like gcc or browsers will have enough parts to keep many cores working during compiling while a simpler project might have fewer parts and would only be able to feed fewer cores.
 
I guess the question here is if compiling can cut the whole workload into as many parts as it wants, or if it can only cut the workloads on subroutines/modules or whatever they call them nowadays.
Big projects like gcc or browsers will have enough parts to keep many cores working during compiling while a simpler project might have fewer parts and would only be able to feed fewer cores.
Make files, and compiler options can make a big difference. Even the organization of source files can impact the amount of parallelization that can happen.