Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Inconsistent `MAKEOPTS` information on Handbook and Wiki
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
lucatrv
n00b
n00b


Joined: 10 Mar 2019
Posts: 2

PostPosted: Mon Mar 11, 2019 12:10 am    Post subject: Inconsistent `MAKEOPTS` information on Handbook and Wiki Reply with quote

The "Installing the Gentoo installation files" chapter of the Handbook https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Stage#MAKEOPTS states about `MAKEOPTS`:
Quote:
A good choice is the number of CPUs (or CPU cores) in the system plus one, but this guideline isn't always perfect.


The "/etc/portage/make.conf" Wiki article https://wiki.gentoo.org/wiki//etc/portage/make.conf#MAKEOPTS states:
Quote:
A widely used rule of thumb for N is to take the number of available logical CPU cores. A physical CPU core employing a X-way SMT technique (eg. Hyper-Threading or SMT2) counts as X logical cores.


The "MAKEOPTS" Wiki article https://wiki.gentoo.org/wiki/MAKEOPTS states:
Quote:
The recommended value is the number of logical processors in the CPU. [...] Another item to consider is RAM usage. Recent gcc versions have been known to take 1 GB to 1.5 GB of RAM per job. If the system has the 8 logical CPUs from the previous example, but only 4 GB RAM, the MAKEOPTS value should be lowered to -j3. This is so that the system has RAM to run the basics as well as compile without hitting swap very often slowing things down.


IMHO the Handbook chapter should be updated, to include current recommendations about logical processors and memory usage.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 42596
Location: 56N 3W

PostPosted: Mon Mar 11, 2019 12:33 am    Post subject: Reply with quote

lucatrv,

Welcome to Gentoo.

The handbook is protected on the Wiki, so you can't update it yourself.
You can make an entry in the talk page, then the wiki will email the people who can change the handbook.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum