Re: [PATCH 5/5] cpupowerutils: Introduce -b/-t --boost/--turbo cpufreq-info param

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Dominik Brodowski <linux@xxxxxxxxxxxxxxxxxxxx>
Date: Tue, Oct 05, 2010 at 10:52:32AM -0400

Hi Dominik,

> > > Prints out this by default (also works with --cpu X param):
> > >   Analyzing Boost Capabilities on CPU 0:
> > >   Supported: yes
> > >   Active: yes
> > 
> > I think it would be simpler if you dump the boosting information in
> > cpufreq-info, i.e. without an explicit --boost option or whatever.
> 
> Only works if you are root, AFAICS.

true, it depends on the /dev/cpu/<NUM>/msr permissions and those should
be root:root.

Ok then, we could concentrate the boosting in the cpufreq-set command
which should check for the calling user id being root or similar:

cpufreq-set --boost (on|off) - toggles boosting
cpufreq-set --boost - without an option could dump the current boosting setting.

This is much more intuitive IMHO.

-- 
Regards/Gruss,
Boris.

Advanced Micro Devices GmbH
Einsteinring 24, 85609 Dornach
General Managers: Alberto Bozzo, Andrew Bowd
Registration: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632
--
To unsubscribe from this list: send the line "unsubscribe cpufreq" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Devel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Forum]     [Linux SCSI]

  Powered by Linux