Changeset 04befc5e


Ignore:
Timestamp:
08/25/2024 06:49:01 PM (3 weeks ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
12.2, multilib, trunk, xry111/arm64, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.2, xry111/multilib
Children:
3eb188e, eae92372
Parents:
948cd14
Message:

aboutsbus: Add power profile info

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter04/aboutsbus.xml

    r948cd14 r04befc5e  
    3737  numbers can vary by as much as dozens of minutes in some cases.</para>
    3838
     39  <para>Before measuring the build time of any package (no matter Binutils
     40  pass 1 or a package of which the SBU is being measured), make sure a
     41  system power profile suitable to make the system running with the
     42  maximum performance (and the maximum power consumption) is selected.  Or
     43  the measured SBU value may be severly inaccurate because the system may be
     44  operated differently building Binutils pass 1 and the other package.
     45  Be aware that a significant inaccuracy can still show up even if the same
     46  profile (except one maximizing the performance) is used for both packages:
     47  the system may respond slower for <quote>saving the power</quote> building
     48  Binutils pass 1, because the system load seems only about 25% of the load
     49  building the other package (with <parameter>-j4</parameter>).</para>
     50
     51  <para>On most distros the power profile can be managed with either
     52  <command>power-profiles-daemon</command> or <command>tuned</command>.
     53  If the distro runs <command>power-profiles-daemon</command>, issue the
     54  <command>powerprofilesctl set performance</command> command to select
     55  the <literal>performance</literal> profile.  If the distro runs
     56  <command>tuned</command>, issue the <command>tuned-adm profile
     57  throughput-performance</command> command to select the
     58  <literal>throughput-performance</literal> profile.</para>
     59
     60  <para>Even if you are not measuring the SBU values, it's still better to
     61  select the power profile for maximum performance before building LFS, as
     62  doing so can (obviously) make the system faster to build LFS
     63  packages.</para>
     64
    3965  <note>
    4066    <para>When multiple processors are used in this way, the SBU units in the
     
    4874    times in Chapter 8 also include the time to run the regression tests for
    4975    the package unless specified otherwise.</para>
    50 
    5176  </note>
    5277
Note: See TracChangeset for help on using the changeset viewer.