| Newsgroups |
gmane.linux.lfs.automated |
| Message-ID |
<[email protected]> |
On Tue, 2023-01-31 at 16:00 -0600, Bruce Dubbs wrote:
> On 1/31/23 15:18, Ken Moffat ([email protected] via alfs-discuss Mailing
> List)
> wrote:
> > On Tue, Jan 31, 2023 at 07:01:52PM +0100, Pierre Labastie wrote:
> > > On Tue, 2023-01-31 at 17:26 +0100, Dragan wrote:
> > > > I've successfully build r11.2-297.
> > > >
> > > > Log attached.
> > > >
> > > > Dragan
> > >
> > > Hmmm, weird that you need 130 sec to build binutils pass 1 at -j16. It's
> > > around
> > > 30 sec for me... Have you had a look at the cpuidle governor for your
> > > kernel?
> > >
> > > Pierre
> > > PS: By tweaking the cpuidle governor, I could decrease the SBU at -j1 from
> > > 130
> > > to 80 seconds...
> >
> > For information, on my Ryzen 4750G a -j1 build of binutils from
> > r11.2-296 on a host system running r11.2-150 took 103.999 seconds.
> > Building binutils pass 1 on the completed system took 127.307
> > seconds.
> >
> > In each case the host system, but not binutils pass 1, had some
> > optimzations and hardening, and both were running a 6.1.8 kernel.
> >
> > You guys with your your souped-up hardware ;-)
>
> I just did a fresh build this morning. For me, my binutils-pass1 was also 104
> seconds at -j1. However at -j22, -pass2 was 34 seconds.
>
> I do not normally change the cpufreq governor or scaling_governor. The
> scaling_governor is currently set to 'userspace'.
>
> Ryzen 9 3900X
>
Intel processors have this 'intel_pstate' scaling governor, which uses directly
hardware monitoring to set the state. It is quite different from other
governors, so I'd recommend reading /usr/share/doc/linux-<version>/admin-
guide/pm/intel_pstate.rst, which has a reference to the other governors if you
want to get the whole picture. I think (not totally sure) I had to change the
CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE kernel config option to get acceptable
performance on my intel 12900.
Pierre
--
http://lists.linuxfromscratch.org/sympa/info/alfs-discuss
Unsubscribe: See the above information page