Make it possible to config running build in a lower scheduling priority (higher nice value)
Categories
(Firefox Build System :: General, enhancement, P3)
Tracking
(Not tracked)
People
(Reporter: xidorn, Unassigned)
Details
(Keywords: in-triage)
The build takes lots of CPU resources, and some systems may not have optimized very well for this case, causing other programs to behave in a weird way.
It's currently possible to lower its priority via using nice ./mach build (or in my case I usually do nice -n 5 ./mach build), but sometimes I forget to add that and have to interrupt the build and run it again.
It would probably be nice if there is an option I can put into my mozconfig file, so that it always lowers the priority without needing to manually use nice in the command line.
| Reporter | ||
Comment 1•6 years ago
|
||
I just learned that this is basically meaningless in a modern Linux system with autogrouping enabled, in which case the nice value doesn't affect the priority of the processes on the system level, only that in the session (under same terminal), which is... just all the building processes.
Description
•