Open Bug 1533988 Opened 5 years ago Updated 2 years ago

Doesn't take up all CPUs when I'm building on GCP

Categories

(Firefox Build System :: General, enhancement)

enhancement

Tracking

(Not tracked)

People

(Reporter: xidorn, Unassigned)

Details

I created an Linux instance with 8 vCPUs and 7.2GB memory (n1-highcpu-8) on Google Cloud Platform to test building Firefox.

Although there are 8 CPUs, the build system seems to only spawn 6 processes in building. Because of that, the CPU utilization is pretty low on monitoring board, which shows only 75%.

It seems that after building for ~10min, it starts to take all the CPUs. From top's data, I guess this might be related to rustc or cargo, because at beginning there were 3 rustcs and 3 clangs, but now (that it takes up all 8 CPUs) there are 7 clangs and 1 rustc.

There's a patch linked in the cargo issue, Xidorn, you may want to give it a try.

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.