Hi,
and thanks for the input!
I now (re)understand the reason to compiling the kernel, the userland and
Xenocara in a single-thread fashion is obviously the correct way, at least when
it comes to doing things properly, minimizing the potential for anything
breaking down.
That said, I personally have no problem at least trying to build using several
cores -- the speed gain is so big, that if anything goes wrong, I'll just redo.
Generally speaking, it does seem that in most cases everything works out just
fine.
For those who like the numbers, here are some stats from one of my full iron
servers with four cores, 8 GB RAM and hardware RAID using traditional SATA hard
drives.
============== Kernel build process duration, with single core (-j 1):
==============
********************** Starting kernel compilation @ Sat Nov 3 05:14:24 UTC
2018
*************** make obj @ Sat Nov 3 05:14:24 UTC 2018
*************** make config @ Sat Nov 3 05:14:24 UTC 2018
*************** make -j 1 @ Sat Nov 3 05:14:25 UTC 2018
*************** make install @ Sat Nov 3 05:24:55 UTC 2018
********************** Finished compiling kernel @ Sat Nov 3 05:25:19 UTC 2018
********************************************************************************
-- Duration (with single core): 0 h 11 min
============== Kernel build process duration, with four cores (-j 4):
==============
********************** Starting kernel compilation @ Sat Nov 3 02:12:34 UTC
2018
*************** make obj @ Sat Nov 3 02:12:34 UTC 2018
*************** make config @ Sat Nov 3 02:12:34 UTC 2018
*************** make -j 4 @ Sat Nov 3 02:12:34 UTC 2018
*************** make install @ Sat Nov 3 02:15:58 UTC 2018
********************** Finished compiling kernel @ Sat Nov 3 02:16:24 UTC 2018
********************************************************************************
-- Duration (with four cores): 0 h 04 min
============== Userland build process duration, with single core (-j 1):
==============
********************** Starting userland compilation @ Sat Nov 3 05:25:19 UTC
2018
*************** make obj @ Sat Nov 3 05:25:19 UTC 2018
*************** make -j 1 build @ Sat Nov 3 05:26:12 UTC 2018
********************** Finished compiling userland @ Sat Nov 3 10:07:34 UTC
2018
********************************************************************************
-- Duration (with one core): 4 h 43 min
============== Userland build process duration, with four cores (-j 4):
==============
********************** Starting userland compilation @ Sat Nov 3 02:16:24 UTC
2018
*************** make obj @ Sat Nov 3 02:16:24 UTC 2018
*************** make -j 4 build @ Sat Nov 3 02:17:17 UTC 2018
********************** Finished compiling userland @ Sat Nov 3 04:24:03 UTC
2018
********************************************************************************
-- Duration (with four cores): 2 h 08 min
============== Xenocara build process duration, with single core (-j 1):
==============
********************** Starting Xenocara compilation @ Sat Nov 3 10:07:34 UTC
2018
*************** make bootstrap @ Sat Nov 3 10:07:34 UTC 2018
*************** make obj @ Sat Nov 3 10:07:35 UTC 2018
************** make -j 1 build @ Sat Nov 3 10:07:44 UTC 2018
********************** Finished compiling Xenocara @ Sat Nov 3 11:11:42 UTC
2018
********************************************************************************
-- Duration (with one core): 1 h 04 min
============== Xenocara build process duration, with four cores (-j 4):
==============
********************** Starting Xenocara compilation @ Sat Nov 3 04:24:03 UTC
2018
*************** make bootstrap @ Sat Nov 3 04:24:03 UTC 2018
*************** make obj @ Sat Nov 3 04:24:04 UTC 2018
************** make -j 4 build @ Sat Nov 3 04:24:13 UTC 2018
********************** Finished compiling Xenocara @ Sat Nov 3 04:59:13 UTC
2018
********************************************************************************
-- Duration (with four cores): 0 h 35 min
- Jyri
--
+358-404-177133 (24/7)
[email protected]