Skip to contentSkip to conversation

README: Add build speed up tip in BUILD section.

PATCH In review Davidlohr Bueso 2 participants 2 messages Jun 13, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 README: Add build speed up tip in BUILD section.

Hi,

IMHO the README file could benefit from GNU make's -j[N] option in BUILD section, as a general tip for users.

Not entirely sure who deals with this file, so sending to Linus.

Thanks.

---
 README |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
README +5 -0
index 737838f..fda7d52 100644
@@ -154,6 +154,11 @@ BUILD directory for the kernel:
    Please note: If the 'O=output/dir' option is used then it must be
    used for all invocations of make.
 
+   Depending on the system and configuration, building the kernel can
+   take some time. To speed things up you can use GNU make's -j[N] option
+   to specify the number of jobs to run simultaneously. The N value should
+   be twice the amount of the machine's CPUs.  
+
 CONFIGURING the kernel:
 
    Do not skip this step even if you are only upgrading one minor
Signature · 1 line
1.7.0.4
#1 lore raw
Quoted 18 lines · Davidlohr Bueso

Hi,

IMHO the README file could benefit from GNU make's -j[N] option in BUILD section, as a general tip for users.

Not entirely sure who deals with this file, so sending to Linus.

Thanks.

---
  README |    5 +++++
  1 files changed, 5 insertions(+), 0 deletions(-)
README +0 -0
index 737838f..fda7d52 100644

README BUILD directory for the kernel: · line 160

Quoted 7 lines
README +4 -0
@@ -154,6 +154,11 @@ BUILD directory for the kernel:
     Please note: If the 'O=output/dir' option is used then it must be
     used for all invocations of make.
 
+   Depending on the system and configuration, building the kernel can
+   take some time. To speed things up you can use GNU make's -j[N] option
+   to specify the number of jobs to run simultaneously. The N value should
+   be twice the amount of the machine's CPUs.

I thought not CPUs but cores.

Signature · 5 lines
Janusz Korwin-Mikke:
"Idiota z dyplomem to taki sam idiota,
jak przedtem - tylko z pretensjami."
NP: Jeff Beck - Hip-Notica
NB: 2.6.35-rc3