[bootlin/training-materials updates] master: Kernel compiling: add details in "parallel-make-benefits" diagram (79e5e834)

Michael Opdenacker michael.opdenacker at bootlin.com
Wed Nov 24 11:53:30 CET 2021


Repository : https://github.com/bootlin/training-materials
On branch  : master
Link       : https://github.com/bootlin/training-materials/commit/79e5e83413e7c9e89a4d80f0aeee99edafa3bf46

>---------------------------------------------------------------

commit 79e5e83413e7c9e89a4d80f0aeee99edafa3bf46
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date:   Wed Nov 24 11:53:30 2021 +0100

    Kernel compiling: add details in "parallel-make-benefits" diagram
    
    Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>


>---------------------------------------------------------------

79e5e83413e7c9e89a4d80f0aeee99edafa3bf46
 .../parallel-make-benefits.svg                     | 102 +++++++++++++++------
 1 file changed, 73 insertions(+), 29 deletions(-)

diff --git a/slides/sysdev-kernel-building/parallel-make-benefits.svg b/slides/sysdev-kernel-building/parallel-make-benefits.svg
index 7171b605..16cb1c6f 100644
--- a/slides/sysdev-kernel-building/parallel-make-benefits.svg
+++ b/slides/sysdev-kernel-building/parallel-make-benefits.svg
@@ -1,20 +1,20 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
 <svg
-   xmlns:dc="http://purl.org/dc/elements/1.1/"
-   xmlns:cc="http://creativecommons.org/ns#"
-   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
-   xmlns:svg="http://www.w3.org/2000/svg"
-   xmlns="http://www.w3.org/2000/svg"
-   xmlns:xlink="http://www.w3.org/1999/xlink"
-   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
-   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
    width="161.81667mm"
    height="205.46936mm"
    viewBox="0 0 161.81667 205.46936"
    version="1.1"
    id="svg8"
    sodipodi:docname="parallel-make-benefits.svg"
-   inkscape:version="1.0.1 (0767f8302a, 2020-10-17)">
+   inkscape:version="1.1.1 (eb90963e84, 2021-10-02)"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns:xlink="http://www.w3.org/1999/xlink"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:svg="http://www.w3.org/2000/svg"
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+   xmlns:cc="http://creativecommons.org/ns#"
+   xmlns:dc="http://purl.org/dc/elements/1.1/">
   <defs
      id="defs2" />
   <sodipodi:namedview
@@ -25,8 +25,8 @@
      inkscape:pageopacity="0.0"
      inkscape:pageshadow="2"
      inkscape:zoom="0.98994949"
-     inkscape:cx="304.62939"
-     inkscape:cy="379.32878"
+     inkscape:cx="304.56099"
+     inkscape:cy="379.81736"
      inkscape:document-units="mm"
      inkscape:current-layer="layer1"
      inkscape:document-rotation="0"
@@ -40,7 +40,9 @@
      lock-margins="true"
      fit-margin-left="10"
      fit-margin-right="10"
-     fit-margin-bottom="10" />
+     fit-margin-bottom="10"
+     inkscape:pagecheckerboard="0"
+     showguides="false" />
   <metadata
      id="metadata5">
     <rdf:RDF>
@@ -49,7 +51,6 @@
         <dc:format>image/svg+xml</dc:format>
         <dc:type
            rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
-        <dc:title />
       </cc:Work>
     </rdf:RDF>
   </metadata>
@@ -91,77 +92,120 @@
        xml:space="preserve"
        style="font-weight:bold;font-size:5.40476px;line-height:125%;font-family:'Nimbus Roman';-inkscape-font-specification:'Nimbus Roman, Bold';letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;fill:none;stroke:#000000;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
        x="35.162483"
-       y="108.49178"
+       y="121.24368"
        id="text840-9-2"
        transform="scale(1.0040835,0.99593311)"><tspan
          sodipodi:role="line"
          id="tspan838-6-1"
          x="35.162483"
-         y="108.49178"
+         y="121.24368"
          style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.58611px;font-family:'Nimbus Sans L';-inkscape-font-specification:'Nimbus Sans L';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264583px">Tests on Linux 5.11 on arm</tspan><tspan
          sodipodi:role="line"
          x="35.162483"
-         y="115.48781"
+         y="128.2397"
          style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.58611px;font-family:'Nimbus Roman';-inkscape-font-specification:'Nimbus Roman, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264583px"
          id="tspan959"><tspan
            style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.58611px;font-family:'Nimbus Mono L';-inkscape-font-specification:'Nimbus Mono L'"
            id="tspan963">gnome-system-monitor</tspan><tspan
            style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.58611px;font-family:'Nimbus Roman L';-inkscape-font-specification:'Nimbus Roman L'"
-           id="tspan849"> showing the load of the 4 CPUs</tspan></tspan><tspan
+           id="tspan849"> Showing the load of a system with 4 threads / 2 CPUs</tspan></tspan><tspan
          sodipodi:role="line"
          x="35.162483"
-         y="122.64178"
+         y="135.39368"
          style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.58611px;font-family:'Nimbus Mono L';-inkscape-font-specification:'Nimbus Mono L';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264583px"
          id="tspan888">make allnoconfig <tspan
    style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.58611px;font-family:'Nimbus Sans L';-inkscape-font-specification:'Nimbus Sans L'"
    id="tspan961">configuration</tspan></tspan><tspan
          sodipodi:role="line"
          x="35.162483"
-         y="129.39774"
+         y="142.14963"
          style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:5.40476px;font-family:'Nimbus Mono L';-inkscape-font-specification:'Nimbus Mono L';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264583px"
          id="tspan957" /></text>
+    <text
+       xml:space="preserve"
+       style="font-weight:bold;font-size:5.40476px;line-height:125%;font-family:'Nimbus Roman';-inkscape-font-specification:'Nimbus Roman, Bold';letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;fill:none;stroke:#000000;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+       x="35.592216"
+       y="107.26135"
+       id="text840-9-2-99"
+       transform="scale(1.0040835,0.99593311)"><tspan
+         sodipodi:role="line"
+         id="tspan838-6-1-1"
+         x="35.592216"
+         y="107.26135"
+         style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.58611px;font-family:'Nimbus Sans L';-inkscape-font-specification:'Nimbus Sans L';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264583px">Tests on Linux 5.11 on arm</tspan><tspan
+         sodipodi:role="line"
+         x="35.592216"
+         y="114.5323"
+         style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:5.64444px;font-family:'Nimbus Roman';-inkscape-font-specification:'Nimbus Roman, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264583px"
+         id="tspan959-4"><tspan
+           style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:5.64444px;font-family:'Nimbus Mono L';-inkscape-font-specification:'Nimbus Mono L'"
+           id="tspan963-9">gnome-system-monitorBe</tspan><tspan
+           style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:5.64444px;font-family:'Nimbus Roman L';-inkscape-font-specification:'Nimbus Roman L'"
+           id="tspan849-1">Benefits of parallel compile jobs (make -j<n>)</tspan></tspan><tspan
+         sodipodi:role="line"
+         x="35.592216"
+         y="121.5743"
+         style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.58611px;font-family:'Nimbus Mono L';-inkscape-font-specification:'Nimbus Mono L';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264583px"
+         id="tspan888-0">make allnoconfig <tspan
+   style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.58611px;font-family:'Nimbus Sans L';-inkscape-font-specification:'Nimbus Sans L'"
+   id="tspan961-7">configuration</tspan></tspan><tspan
+         sodipodi:role="line"
+         x="35.592216"
+         y="128.33025"
+         style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:5.40476px;font-family:'Nimbus Mono L';-inkscape-font-specification:'Nimbus Mono L';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264583px"
+         id="tspan957-5" /></text>
     <text
        xml:space="preserve"
        style="font-weight:bold;font-size:5.40475px;line-height:125%;font-family:'Nimbus Roman';-inkscape-font-specification:'Nimbus Roman, Bold';letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;fill:none;stroke:#000000;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
        x="35.162483"
-       y="200.66605"
+       y="190.57085"
        id="text840-9-2-9"
        transform="scale(1.0040835,0.9959331)"><tspan
          sodipodi:role="line"
          id="tspan838-6-1-0"
          x="35.162483"
-         y="200.66605"
+         y="190.57085"
          style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.58611px;font-family:'Nimbus Mono L';-inkscape-font-specification:'Nimbus Mono L';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264583px">make</tspan><tspan
          sodipodi:role="line"
          x="35.162483"
-         y="207.66206"
+         y="197.56686"
+         style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.58611px;font-family:'Nimbus Roman Sans L';-inkscape-font-specification:'Nimbus Roman Sans L';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264583px"
+         id="tspan931">Command: make</tspan><tspan
+         sodipodi:role="line"
+         x="35.162483"
+         y="204.56288"
          style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.58611px;font-family:'Nimbus Roman Sans L';-inkscape-font-specification:'Nimbus Roman Sans L';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264583px"
-         id="tspan931">total time: 129 s</tspan><tspan
+         id="tspan4748">Total time: 129 s</tspan><tspan
          sodipodi:role="line"
          x="35.162483"
-         y="214.418"
+         y="211.31882"
          style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:5.40475px;font-family:'Nimbus Roman';-inkscape-font-specification:'Nimbus Roman, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264583px"
          id="tspan888-5" /></text>
     <text
        xml:space="preserve"
        style="font-weight:bold;font-size:5.40475px;line-height:125%;font-family:'Nimbus Roman';-inkscape-font-specification:'Nimbus Roman, Bold';letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;fill:none;stroke:#000000;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
        x="35.162483"
-       y="269.4664"
+       y="257.24554"
        id="text840-9-2-9-6"
        transform="scale(1.0040835,0.9959331)"><tspan
          sodipodi:role="line"
          id="tspan838-6-1-0-7"
          x="35.162483"
-         y="269.4664"
+         y="257.24554"
          style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.58611px;font-family:'Nimbus Mono L';-inkscape-font-specification:'Nimbus Mono L';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264583px">make -j8</tspan><tspan
          sodipodi:role="line"
          x="35.162483"
-         y="276.4624"
+         y="264.24155"
+         style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.58611px;font-family:'Nimbus Roman Sans L';-inkscape-font-specification:'Nimbus Roman Sans L';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264583px"
+         id="tspan931-7">Command: make -j8</tspan><tspan
+         sodipodi:role="line"
+         x="35.162483"
+         y="271.23758"
          style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.58611px;font-family:'Nimbus Roman Sans L';-inkscape-font-specification:'Nimbus Roman Sans L';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264583px"
-         id="tspan931-7">total time: 67 s</tspan><tspan
+         id="tspan13896">Total time: 67 s</tspan><tspan
          sodipodi:role="line"
          x="35.162483"
-         y="283.21835"
+         y="277.9935"
          style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:5.40475px;font-family:'Nimbus Roman';-inkscape-font-specification:'Nimbus Roman, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264583px"
          id="tspan888-5-4" /></text>
   </g>




More information about the training-materials-updates mailing list