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

NEW
Unassigned

Status

enhancement
a month ago
a month ago

People

(Reporter: xidorn, Unassigned)

Tracking

Trunk

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

a month ago

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%.

(Reporter)

Comment 1

a month ago

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.

You need to log in before you can comment on or make changes to this bug.