Changeset 37e35d2 for chapter04/aboutsbus.xml
- Timestamp:
- 06/29/2020 07:55:01 AM (4 years ago)
- Branches:
- multilib-10.1
- Children:
- c4804e8
- Parents:
- d4fdde6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter04/aboutsbus.xml
rd4fdde6 r37e35d2 21 21 22 22 <para>The SBU measure works as follows. The first package to be compiled 23 from this book is Binutils in <xref linkend="chapter-temporary-tools"/>. The23 from this book is binutils in <xref linkend="chapter-cross-tools"/>. The 24 24 time it takes to compile this package is what will be referred to as the 25 25 Standard Build Unit or SBU. All other compile times will be expressed relative … … 28 28 <para>For example, consider a package whose compilation time is 4.5 29 29 SBUs. This means that if a system took 10 minutes to compile and 30 install the first pass of Binutils, it will take30 install the first pass of binutils, it will take 31 31 <emphasis>approximately</emphasis> 45 minutes to build this example package. 32 Fortunately, most build times are shorter than the one for Binutils.</para>32 Fortunately, most build times are shorter than the one for binutils.</para> 33 33 34 34 <para>In general, SBUs are not entirely accurate because they depend on many … … 42 42 make" by either setting an environment variable or telling the 43 43 <command>make</command> program how many processors are available. For 44 instance, a Core2Duo can support twosimultaneous processes with:</para>44 instance, an Intel i5-6500 CPU can support four simultaneous processes with:</para> 45 45 46 <screen role="nodump"><userinput>export MAKEFLAGS='-j 2'</userinput></screen>46 <screen role="nodump"><userinput>export MAKEFLAGS='-j4'</userinput></screen> 47 47 48 48 <para>or just building with:</para> 49 49 50 <screen role="nodump"><userinput>make -j 2</userinput></screen>50 <screen role="nodump"><userinput>make -j4</userinput></screen> 51 51 52 52 <para>When multiple processors are used in this way, the SBU units in the
Note:
See TracChangeset
for help on using the changeset viewer.