I suggest inserting an additional item in https://developer.palemoon.org/build/linux/
"Basic Dependencies" to clarify the optimum makeopts jobs number.
========================================================================
* mk_add_options MOZ_MAKE_FLAGS="-jN"
where N should be the LOWER of the two following constraints
1) The number of logical CPUs (including hyperthreads) on your system
2) One half of the number of gigabytes in the "MemAvailable:" line in /proc/meminfo. This will vary from machine to machine, and even on the same machine, depending on whether or not a GUI is running, and if you're running a "heavy desktop". Note: the output from /proc/meminfo is in kilobytes. It can be re-formatted to more readable output with the command...
</proc/meminfo numfmt --field 2 --from-unit=Ki --to=iec | sed "s/ kB//g"
========================================================================
My documentation sources...
1) https://wiki.gentoo.org/wiki/MAKEOPTS
2) man proc_meminfo
MemAvailable %lu (since Linux 3.14)
An estimate of how much memory is available for starting new applications, without swapping.
Suggestion for clarification of makeopts in linux build instructions
Forum rules
Please keep everything here strictly on-topic.
This board is meant for Pale Moon source code development related subjects only like code snippets, patches, specific bugs, git, the repositories, etc.
This is not for tech support! Please do not post tech support questions in the "Development" board!
Please make sure not to use this board for support questions. Please post issues with specific websites, extensions, etc. in the relevant boards for those topics.
Please keep things on-topic as this forum will be used for reference for Pale Moon development. Expect topics that aren't relevant as such to be moved or deleted.
Please keep everything here strictly on-topic.
This board is meant for Pale Moon source code development related subjects only like code snippets, patches, specific bugs, git, the repositories, etc.
This is not for tech support! Please do not post tech support questions in the "Development" board!
Please make sure not to use this board for support questions. Please post issues with specific websites, extensions, etc. in the relevant boards for those topics.
Please keep things on-topic as this forum will be used for reference for Pale Moon development. Expect topics that aren't relevant as such to be moved or deleted.
-
- Astronaut
- Posts: 701
- Joined: 2015-07-30, 20:29
- Location: Vaughan, ON, Canada
Suggestion for clarification of makeopts in linux build instructions
There are 2 kinds of people in this world...
1) Those who can extrapolate from incomplete data
1) Those who can extrapolate from incomplete data