Re: CPU scaling problems

2012-11-16 Thread Francesco Mazzoli
Well, I have looked at your config and read this http://www.pantz.org/software/cpufreq/usingcpufreqonlinux.html and I don't seem to have `/sys/devices/system/cpu/*/cpufreq/conservative/freq_step', even if the conservative governor is loaded. Any ideas on what might cause this? Francesco -- To

Re: CPU scaling problems

2012-11-16 Thread Francesco Mazzoli
At Thu, 15 Nov 2012 21:50:05 +, Francesco Mazzoli wrote: At Thu, 15 Nov 2012 19:40:07 -0200, Henrique de Moraes Holschuh wrote: On Thu, 15 Nov 2012, Francesco Mazzoli wrote: At Thu, 15 Nov 2012 18:17:18 -0200, Henrique de Moraes Holschuh wrote: That said, Linux coordinates

Re: CPU scaling problems

2012-11-16 Thread Adrian Fita
On 16/11/12 11:02, Francesco Mazzoli wrote: Well, I have looked at your config and read this http://www.pantz.org/software/cpufreq/usingcpufreqonlinux.html and I don't seem to have `/sys/devices/system/cpu/*/cpufreq/conservative/freq_step', even if the conservative governor is loaded. Any

Re: CPU scaling problems

2012-11-16 Thread Francesco Mazzoli
At Fri, 16 Nov 2012 20:54:33 +0200, Adrian Fita wrote: I don't have freq_step in that path either. Instead, I have it in /sys/devices/system/cpu/cpufreq/conservative/freq_step . That document is kinda' old and some info from there might be outdated or things might have been moved around (find

RE: CPU scaling problems

2012-11-15 Thread Mark Allums
Francesco wrote: I have installed Debian testing on a X1 Carbon, processor i5-3427U. My problem is the following: when the `ondemand' governor is active, the processor clock never scales up, it always stays at 800Mhz. The situation changes when using the `conservative' or the `performance'

RE: CPU scaling problems

2012-11-15 Thread Mark Allums
-Original Message- From: Mark Allums [mailto:m...@allums.com] Sent: Thursday, November 15, 2012 12:34 PM To: 'debian-user@lists.debian.org' Subject: RE: CPU scaling problems Francesco wrote: I have installed Debian testing on a X1 Carbon, processor i5-3427U. My problem

Re: CPU scaling problems

2012-11-15 Thread Neal Murphy
On Thursday, November 15, 2012 01:34:11 PM Mark Allums wrote: Francesco wrote: I have installed Debian testing on a X1 Carbon, processor i5-3427U. My problem is the following: when the `ondemand' governor is active, the processor clock never scales up, it always stays at 800Mhz. The

Re: CPU scaling problems

2012-11-15 Thread Francesco Mazzoli
Hi Mark, At Thu, 15 Nov 2012 12:36:48 -0600, Mark Allums wrote: Sorry, I should have said, Have you tried *another* monitor tool besides 'stress'? `stress' is not a monitor tool, it just spawns processes doing `sqrt' in a loop or something like that. I also tried with `openssl speed' and a

Re: CPU scaling problems

2012-11-15 Thread Henrique de Moraes Holschuh
On Thu, 15 Nov 2012, Neal Murphy wrote: At a guess, I would assume a configuration problem. Or no problem. Is your machine sluggish or unresponsive? How do you know it stays at 800 MHz? What tool do you use to monitor it? Maybe your monitor is wrong. I am not sure how to troubleshoot

Re: CPU scaling problems

2012-11-15 Thread Klistvud
Dne, 15. 11. 2012 03:54:31 je Francesco Mazzoli napisal(a): Does anybody have any idea on how to troubleshoot such a problem? I suspect that the problem is either in the kernel or in some other software which is regulating the scaling. Just an idea. Have you tried explicitly running

Re: CPU scaling problems

2012-11-15 Thread Francesco Mazzoli
At Thu, 15 Nov 2012 18:17:18 -0200, Henrique de Moraes Holschuh wrote: That said, Linux coordinates with the platform through ACPI. If the BIOS is tuned for maximum battery life, it will interfere with Linux cpufreq. This is a good hint - there is something in the BIOS as I mentioned. So you

Re: CPU scaling problems

2012-11-15 Thread Francesco Mazzoli
At Thu, 15 Nov 2012 21:29:18 +0100, Klistvud wrote: Just an idea. Have you tried explicitly running 'cpufreq-set -g ondemand' and then checking your currently active governor with 'cpufreq-info'? Yes. AFAIK, the ondemand governor has been deprecated/abandoned/superseded/whatever for specific

Re: CPU scaling problems

2012-11-15 Thread Francesco Mazzoli
At Thu, 15 Nov 2012 19:40:07 -0200, Henrique de Moraes Holschuh wrote: On Thu, 15 Nov 2012, Francesco Mazzoli wrote: At Thu, 15 Nov 2012 18:17:18 -0200, Henrique de Moraes Holschuh wrote: That said, Linux coordinates with the platform through ACPI. If the BIOS is tuned for

Re: CPU scaling problems

2012-11-15 Thread Adrian Fita
On 15/11/12 21:06, Francesco Mazzoli wrote: With `conservative' or `performance' the CPU scales up correctly (well, with performance it is always scaled up). With `ondemand' it doesn't. This has noticeable consequences: compiling is slow, flash videos are sluggish. So I do have a problem.

Re: CPU scaling problems

2012-11-15 Thread Francesco Mazzoli
At Fri, 16 Nov 2012 00:16:22 +0200, Adrian Fita wrote: Actually I use 'conservative' over the 'ondemand' governor. It can be tweaked to react more quickly, close to the speed of 'ondemand', but it has the nice feature of providing a cool-down period during which if some task comes along and

CPU scaling problems

2012-11-14 Thread Francesco Mazzoli
Hi, I have installed Debian testing on a X1 Carbon, processor i5-3427U. My problem is the following: when the `ondemand' governor is active, the processor clock never scales up, it always stays at 800Mhz. The situation changes when using the `conservative' or the `performance' governors. More