Re: Disabling CPU throttling on fedora22

2015-12-04 Thread Roberto Ragusa
On 11/27/2015 09:05 PM, Alex wrote:


> I've looked in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
> and all are set to "performance".
> 
> What is the procedure for disabling CPU throttling permanently?

Please note that, even if you configure everything for performance,
the throttling can still kick in if the CPU needs it (overheat,
overcurrent, ...).

The inevitable question would be: why do you want to push
the CPU to the max permanently for a _mail server_?
Definitely not a realtime data capture machine...

-- 
   Roberto Ragusamail at robertoragusa.it
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Disabling CPU throttling on fedora22

2015-12-03 Thread Rick Stevens

On 12/03/2015 12:26 PM, Alex wrote:

Hi,

On Mon, Nov 30, 2015 at 9:54 PM, Kevin Cummings
 wrote:

On 11/27/15 15:05, Alex wrote:

Hi,
I have a fedora22 SuperMicro system operating as a mail server that
has no need to have the CPU throttled. I'm having trouble figuring out
how to disable the throttling. There also doesn't appear to be any
recent threads discussing this previously.

It appears some are running at full speed while others are not:

# cat /proc/cpuinfo |grep Hz
model name  : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
cpu MHz : 1875.187
model name  : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
cpu MHz : 2188.687
model name  : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
cpu MHz : 2399.906
model name  : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
cpu MHz : 1475.812
model name  : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
cpu MHz : 2075.437
model name  : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
cpu MHz : 2340.750
model name  : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
cpu MHz : 1262.062
model name  : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
cpu MHz : 2111.812


My understanding of CPU throttling allows the CPUs to run at full speed
when they are busy, and to be throttled back when they are idle.

Are you sure that each CPU was engaged in doing work when you queried
their speeds?

It is designed to allow laptops to idle (and not generate as much heat)
when they don't have to.  It is *not* a permanent throttling back of the
CPUs denying you possible better computing speeds.  Instead it is
designed to have the CPUs (cores) generate less heat when they are not busy.

I have a CPU Frequency Scaling Monitor installed in a panel on my
laptop, and I can watch the CPU speeds change (increase and decrease)
with the workloads as processes come and go.


Thanks for the info. In the past, the system wasn't responsive enough
to adjust the CPU as load increased. It seems with recent processors,
the technology is a lot more sophisticated and no longer really
possible to control its speed.


It's possible. One way is to write a shell script as I did:

# cat /etc/rc.d/init.d/maxcpuspeed
#!/bin/bash
for TGT in `ls /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor`; do
echo "performance" >$TGT
done

Try running it first and see if it does what you want. If so, then make
the system run the script at boot time:

# systemctl enable maxcpuspeed.service

Sorta clunky, but it should work. I'm not sure which service forces
"powersave" in there, but disable it if you find it. It may be a
default in the kernel. Not sure. For servers, I use the above script.
For desktop use, I leave it alone.
--
- Rick Stevens, Systems Engineer, AllDigitalri...@alldigital.com -
- AIM/Skype: therps2ICQ: 226437340   Yahoo: origrps2 -
--
-   Vegetarian:  Old Indian word for "lousy hunter"  -
--
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Disabling CPU throttling on fedora22

2015-12-03 Thread Alex
Hi,

On Mon, Nov 30, 2015 at 9:54 PM, Kevin Cummings
 wrote:
> On 11/27/15 15:05, Alex wrote:
>> Hi,
>> I have a fedora22 SuperMicro system operating as a mail server that
>> has no need to have the CPU throttled. I'm having trouble figuring out
>> how to disable the throttling. There also doesn't appear to be any
>> recent threads discussing this previously.
>>
>> It appears some are running at full speed while others are not:
>>
>> # cat /proc/cpuinfo |grep Hz
>> model name  : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
>> cpu MHz : 1875.187
>> model name  : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
>> cpu MHz : 2188.687
>> model name  : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
>> cpu MHz : 2399.906
>> model name  : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
>> cpu MHz : 1475.812
>> model name  : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
>> cpu MHz : 2075.437
>> model name  : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
>> cpu MHz : 2340.750
>> model name  : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
>> cpu MHz : 1262.062
>> model name  : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
>> cpu MHz : 2111.812
>
> My understanding of CPU throttling allows the CPUs to run at full speed
> when they are busy, and to be throttled back when they are idle.
>
> Are you sure that each CPU was engaged in doing work when you queried
> their speeds?
>
> It is designed to allow laptops to idle (and not generate as much heat)
> when they don't have to.  It is *not* a permanent throttling back of the
> CPUs denying you possible better computing speeds.  Instead it is
> designed to have the CPUs (cores) generate less heat when they are not busy.
>
> I have a CPU Frequency Scaling Monitor installed in a panel on my
> laptop, and I can watch the CPU speeds change (increase and decrease)
> with the workloads as processes come and go.

Thanks for the info. In the past, the system wasn't responsive enough
to adjust the CPU as load increased. It seems with recent processors,
the technology is a lot more sophisticated and no longer really
possible to control its speed.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Disabling CPU throttling on fedora22

2015-11-30 Thread Kevin Cummings
On 11/27/15 15:05, Alex wrote:
> Hi,
> I have a fedora22 SuperMicro system operating as a mail server that
> has no need to have the CPU throttled. I'm having trouble figuring out
> how to disable the throttling. There also doesn't appear to be any
> recent threads discussing this previously.
> 
> It appears some are running at full speed while others are not:
> 
> # cat /proc/cpuinfo |grep Hz
> model name  : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
> cpu MHz : 1875.187
> model name  : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
> cpu MHz : 2188.687
> model name  : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
> cpu MHz : 2399.906
> model name  : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
> cpu MHz : 1475.812
> model name  : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
> cpu MHz : 2075.437
> model name  : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
> cpu MHz : 2340.750
> model name  : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
> cpu MHz : 1262.062
> model name  : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
> cpu MHz : 2111.812

My understanding of CPU throttling allows the CPUs to run at full speed
when they are busy, and to be throttled back when they are idle.

Are you sure that each CPU was engaged in doing work when you queried
their speeds?

It is designed to allow laptops to idle (and not generate as much heat)
when they don't have to.  It is *not* a permanent throttling back of the
CPUs denying you possible better computing speeds.  Instead it is
designed to have the CPUs (cores) generate less heat when they are not busy.

I have a CPU Frequency Scaling Monitor installed in a panel on my
laptop, and I can watch the CPU speeds change (increase and decrease)
with the workloads as processes come and go.

> I've searched for the programs I've used in the past, including
> cpuspeed and cpufreq-* but they appear to no longer exist.
> 
> I've looked in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
> and all are set to "performance".
> 
> What is the procedure for disabling CPU throttling permanently?
> 
> Thanks,
> Alex
> 

-- 
Kevin J. Cummings
kjch...@verizon.net
cummi...@kjchome.homeip.net
cummi...@kjc386.framingham.ma.us
Registered Linux User #1232 (http://www.linuxcounter.net/)
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Disabling CPU throttling on fedora22

2015-11-29 Thread Doug H.
On Fri, 2015-11-27 at 22:02 -0500, Alex wrote:
> Hi,
> 
> > On one of my machines:
> > 
> > # cat /proc/cpuinfo | grep Hz
> > model name  : Intel(R) Core(TM) i5 CPU   M 560  @ 2.67GHz
> > cpu MHz : 2667.000
> > model name  : Intel(R) Core(TM) i5 CPU   M 560  @ 2.67GHz
> > cpu MHz : 2667.000
> > model name  : Intel(R) Core(TM) i5 CPU   M 560  @ 2.67GHz
> > cpu MHz : 2667.000
> > model name  : Intel(R) Core(TM) i5 CPU   M 560  @ 2.67GHz
> > cpu MHz : 2667.000
> > 
> > Notice there is no throttling.
> > 
> > I have the following entry in a file that is executed when system
> > comes up:
> > 
> > /bin/cpupower --cpu all frequency-set -g performance 2.67G
> 
> What package does that belong to? I'm unable to find it and don't
> have
> it on my system.

I was wondering that also, here is what I found (only showing the
helpful part, not my flailing about to find it):


 >sudo dnf whatprovides "*bin/cpupower"
kernel-tools-4.2.3-300.fc23.x86_64 : Assortment of tools for the Linux
kernel
Repo: fedora

kernel-tools-4.2.6-301.fc23.x86_64 : Assortment of tools for the Linux
kernel
Repo: updates


 >sudo dnf info kernel-tools
Last metadata expiration check performed 2:44:29 ago on Sun Nov 29
04:24:02 2015.
Available Packages
Name: kernel-tools
Arch: x86_64
Epoch   : 0
Version : 4.2.6
Release : 301.fc23
Size: 134 k
Repo: updates
Summary : Assortment of tools for the Linux kernel
URL : http://www.kernel.org/
License : GPLv2
Description : This package contains the tools/ directory from the
kernel source
: and the supporting documentation.

 >sudo dnf install kernel-tools
[snip]


Reading the man page now.


-- 
Doug H.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Disabling CPU throttling on fedora22

2015-11-27 Thread Alex
Hi,

> On one of my machines:
>
> # cat /proc/cpuinfo | grep Hz
> model name  : Intel(R) Core(TM) i5 CPU   M 560  @ 2.67GHz
> cpu MHz : 2667.000
> model name  : Intel(R) Core(TM) i5 CPU   M 560  @ 2.67GHz
> cpu MHz : 2667.000
> model name  : Intel(R) Core(TM) i5 CPU   M 560  @ 2.67GHz
> cpu MHz : 2667.000
> model name  : Intel(R) Core(TM) i5 CPU   M 560  @ 2.67GHz
> cpu MHz : 2667.000
>
> Notice there is no throttling.
>
> I have the following entry in a file that is executed when system comes up:
>
> /bin/cpupower --cpu all frequency-set -g performance 2.67G

What package does that belong to? I'm unable to find it and don't have
it on my system.

> Is there a kernel thread running called: acpi_thermal_pm ?

Yes, there is. Could this be a module? Hmm.. I see this one:

# lsmod|grep therm
x86_pkg_temp_thermal16384  0

Now just to figure out how/why it's loaded in order to disable it...

Thanks,
Alex
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Disabling CPU throttling on fedora22

2015-11-27 Thread jd1008



On 11/27/2015 01:05 PM, Alex wrote:

Hi,
I have a fedora22 SuperMicro system operating as a mail server that
has no need to have the CPU throttled. I'm having trouble figuring out
how to disable the throttling. There also doesn't appear to be any
recent threads discussing this previously.

It appears some are running at full speed while others are not:

# cat /proc/cpuinfo |grep Hz
model name  : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
cpu MHz : 1875.187
model name  : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
cpu MHz : 2188.687
model name  : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
cpu MHz : 2399.906
model name  : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
cpu MHz : 1475.812
model name  : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
cpu MHz : 2075.437
model name  : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
cpu MHz : 2340.750
model name  : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
cpu MHz : 1262.062
model name  : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
cpu MHz : 2111.812

I've searched for the programs I've used in the past, including
cpuspeed and cpufreq-* but they appear to no longer exist.

I've looked in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
and all are set to "performance".

What is the procedure for disabling CPU throttling permanently?

Thanks,
Alex

On one of my machines:

# cat /proc/cpuinfo | grep Hz
model name  : Intel(R) Core(TM) i5 CPU   M 560  @ 2.67GHz
cpu MHz : 2667.000
model name  : Intel(R) Core(TM) i5 CPU   M 560  @ 2.67GHz
cpu MHz : 2667.000
model name  : Intel(R) Core(TM) i5 CPU   M 560  @ 2.67GHz
cpu MHz : 2667.000
model name  : Intel(R) Core(TM) i5 CPU   M 560  @ 2.67GHz
cpu MHz : 2667.000

Notice there is no throttling.

I have the following entry in a file that is executed when system comes up:

/bin/cpupower --cpu all frequency-set -g performance 2.67G

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Disabling CPU throttling on fedora22

2015-11-27 Thread jd1008



On 11/27/2015 01:05 PM, Alex wrote:

Hi,
I have a fedora22 SuperMicro system operating as a mail server that
has no need to have the CPU throttled. I'm having trouble figuring out
how to disable the throttling. There also doesn't appear to be any
recent threads discussing this previously.

It appears some are running at full speed while others are not:

# cat /proc/cpuinfo |grep Hz
model name  : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
cpu MHz : 1875.187
model name  : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
cpu MHz : 2188.687
model name  : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
cpu MHz : 2399.906
model name  : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
cpu MHz : 1475.812
model name  : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
cpu MHz : 2075.437
model name  : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
cpu MHz : 2340.750
model name  : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
cpu MHz : 1262.062
model name  : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
cpu MHz : 2111.812

I've searched for the programs I've used in the past, including
cpuspeed and cpufreq-* but they appear to no longer exist.

I've looked in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
and all are set to "performance".

What is the procedure for disabling CPU throttling permanently?

Thanks,
Alex

I thought it is related to PM (power management) deamon.
Is there a kernel thread running called: acpi_thermal_pm ?
Run ps to see.

Since it is a kernel thread, I assume it is not under user control.


--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Disabling CPU throttling on fedora22

2015-11-27 Thread Alex
Hi,
I have a fedora22 SuperMicro system operating as a mail server that
has no need to have the CPU throttled. I'm having trouble figuring out
how to disable the throttling. There also doesn't appear to be any
recent threads discussing this previously.

It appears some are running at full speed while others are not:

# cat /proc/cpuinfo |grep Hz
model name  : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
cpu MHz : 1875.187
model name  : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
cpu MHz : 2188.687
model name  : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
cpu MHz : 2399.906
model name  : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
cpu MHz : 1475.812
model name  : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
cpu MHz : 2075.437
model name  : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
cpu MHz : 2340.750
model name  : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
cpu MHz : 1262.062
model name  : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
cpu MHz : 2111.812

I've searched for the programs I've used in the past, including
cpuspeed and cpufreq-* but they appear to no longer exist.

I've looked in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
and all are set to "performance".

What is the procedure for disabling CPU throttling permanently?

Thanks,
Alex
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org