Re: Windows CPU power settings

2016-12-20 Thread Jim Blandy
On Fedora, that'd be the kernel-tools package, and the "cpupower
frequency-info" command, I think?


On Sat, Dec 17, 2016 at 11:04 PM, Bobby Holley 
wrote:

> It looks like there are similar (though not as bad) shenanigans on Linux.
>
> In a fresh Ubuntu install, there are two available frequency governors,
> "powersave" and "performance". The default is "powersave", which seems
> suboptimal on a Desktop Xeon. The intel_pstate driver doesn't support
> manually pegging the clock, but the "performance" governor seems generous
> enough that it probably doesn't matter.
>
> Installing cpufrequtils and then setting the governor in
> /etc/init.d/cpufrequtils to "performance" seemed to do the trick. You can
> get a live read on clock speeds with cpufreq-aperf, which should show all
> logical CPUs pegged to/near their max during a clobber build.
>
> Changing this seemed to take a clobber build from 8:45 to 8:30, though I
> didn't remeasure in powersave.
>
> HTH,
> bholley
>
> On Tue, Dec 13, 2016 at 6:31 AM, Ben Kelly  wrote:
>
> > On Mon, Dec 12, 2016 at 8:44 PM, Gregory Szorc  wrote:
> >
> > > The Windows 10 power settings appear to set the minimum CPU frequency
> at
> > 5%
> > > or 10% of maximum. When I cranked this up to 100%, artifact build time
> > > dropped from ~170s to ~77s and full build configure dropped from ~165s
> to
> > > ~97s!
> > >
> > > If you are a Windows user with Xeons in your desktop, you may want to
> > visit
> > > Control Panel -> Hardware and Sound -> Power Options -> Edit Plan
> > Settings
> > > -> Change advanced power settings -> Process power management ->
> Minimum
> > > processor state and crank that up and see what happens. Note: running
> > your
> > > CPU at 100% all the time may impact your power bill!
> > >
> >
> > FWIW, in my windows 10 Control Panel -> Hardware and Sound -> Power
> Options
> > I had 3 preset power profiles:
> >
> > * Balanced (default selected)
> > * Power Saver
> > * Performance
> >
> > The "Balanced" profile has the 5% minimum clock speed.  The "Performance"
> > profile set that to 100%.
> >
> > Ben
> > ___
> > dev-platform mailing list
> > dev-platform@lists.mozilla.org
> > https://lists.mozilla.org/listinfo/dev-platform
> >
> ___
> dev-platform mailing list
> dev-platform@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-platform
>
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Windows CPU power settings

2016-12-17 Thread Bobby Holley
It looks like there are similar (though not as bad) shenanigans on Linux.

In a fresh Ubuntu install, there are two available frequency governors,
"powersave" and "performance". The default is "powersave", which seems
suboptimal on a Desktop Xeon. The intel_pstate driver doesn't support
manually pegging the clock, but the "performance" governor seems generous
enough that it probably doesn't matter.

Installing cpufrequtils and then setting the governor in
/etc/init.d/cpufrequtils to "performance" seemed to do the trick. You can
get a live read on clock speeds with cpufreq-aperf, which should show all
logical CPUs pegged to/near their max during a clobber build.

Changing this seemed to take a clobber build from 8:45 to 8:30, though I
didn't remeasure in powersave.

HTH,
bholley

On Tue, Dec 13, 2016 at 6:31 AM, Ben Kelly  wrote:

> On Mon, Dec 12, 2016 at 8:44 PM, Gregory Szorc  wrote:
>
> > The Windows 10 power settings appear to set the minimum CPU frequency at
> 5%
> > or 10% of maximum. When I cranked this up to 100%, artifact build time
> > dropped from ~170s to ~77s and full build configure dropped from ~165s to
> > ~97s!
> >
> > If you are a Windows user with Xeons in your desktop, you may want to
> visit
> > Control Panel -> Hardware and Sound -> Power Options -> Edit Plan
> Settings
> > -> Change advanced power settings -> Process power management -> Minimum
> > processor state and crank that up and see what happens. Note: running
> your
> > CPU at 100% all the time may impact your power bill!
> >
>
> FWIW, in my windows 10 Control Panel -> Hardware and Sound -> Power Options
> I had 3 preset power profiles:
>
> * Balanced (default selected)
> * Power Saver
> * Performance
>
> The "Balanced" profile has the 5% minimum clock speed.  The "Performance"
> profile set that to 100%.
>
> Ben
> ___
> dev-platform mailing list
> dev-platform@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-platform
>
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Windows CPU power settings

2016-12-13 Thread Ben Kelly
On Mon, Dec 12, 2016 at 8:44 PM, Gregory Szorc  wrote:

> The Windows 10 power settings appear to set the minimum CPU frequency at 5%
> or 10% of maximum. When I cranked this up to 100%, artifact build time
> dropped from ~170s to ~77s and full build configure dropped from ~165s to
> ~97s!
>
> If you are a Windows user with Xeons in your desktop, you may want to visit
> Control Panel -> Hardware and Sound -> Power Options -> Edit Plan Settings
> -> Change advanced power settings -> Process power management -> Minimum
> processor state and crank that up and see what happens. Note: running your
> CPU at 100% all the time may impact your power bill!
>

FWIW, in my windows 10 Control Panel -> Hardware and Sound -> Power Options
I had 3 preset power profiles:

* Balanced (default selected)
* Power Saver
* Performance

The "Balanced" profile has the 5% minimum clock speed.  The "Performance"
profile set that to 100%.

Ben
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform