[Bug 1233479] Re: ondemand cpufreq governor does not scale CPU freq on Sandybridge

2013-10-27 Thread Christopher M. Penalver
Rocko, as per
http://www.dell.com/support/troubleshooting/us/en/19/Product/xps-l502x
an update is available for your BIOS (A12). If you update to this
following https://help.ubuntu.com/community/BiosUpdate , does it change
anything?

If not, could you please both specify what happened, and provide the output of 
the following terminal command:
sudo dmidecode -s bios-version  sudo dmidecode -s bios-release-date

Please note your current BIOS is already in the Bug Description, so
posting this on the old BIOS would not be helpful.

For more on BIOS updates and linux, please see
https://help.ubuntu.com/community/ReportingBugs#Bug_reporting_etiquette
.

Thank you for your understanding.

** Tags added: bios-outdated-a12

** Changed in: linux (Ubuntu)
   Status: Confirmed = Incomplete

** Summary changed:

- ondemand cpufreq governor does not scale CPU freq on Sandybridge
+ [Dell XPS 15 L502X] On demand cpufreq governor does not scale CPU freq

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1233479

Title:
  [Dell XPS 15 L502X] On demand cpufreq governor does not scale CPU freq

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1233479/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1233479] Re: ondemand cpufreq governor does not scale CPU freq on Sandybridge

2013-10-03 Thread Arup
Intel pstate needs to be activated as it does a far better job of
managing CPU power especially in quad and octo core CPU like 3rd and 4th
gen i7. The turbo is handled far better than cpu-freq. Best of all with
Intel Thermal Daemon the temperature issue is non existent even under
full load. Now the behavior is same as a Windows machine. Even power
consumption with TLP installed is same as Windows. Ubuntu needs to
activate the pstate driver in 3.11 for 13.10 and it would be a good idea
to patch LTS 3.80 kernel with this driver if possible. Also Intel
Thermal Daemon needs a PPA at least. Currently it has be be compiled in,
its a must for maintaining heat in i7 IVB and Haswell for laptops as
well as power efficiency.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1233479

Title:
  ondemand cpufreq governor does not scale CPU freq on Sandybridge

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1233479/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1233479] Re: ondemand cpufreq governor does not scale CPU freq on Sandybridge

2013-10-01 Thread Joseph Salisbury
Would it be possible for you to test the latest upstream kernel? Refer
to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest
v3.12 kernel[0].

If this bug is fixed in the mainline kernel, please add the following
tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag:
'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, 
please add the tag: 'kernel-unable-to-test-upstream'.
Once testing of the upstream kernel is complete, please mark this bug as 
Confirmed.


Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.12-rc3-saucy/

** Tags added: kernel-da-key

** Changed in: linux (Ubuntu)
   Importance: Undecided = Medium

** Changed in: linux (Ubuntu)
   Status: Confirmed = Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1233479

Title:
  ondemand cpufreq governor does not scale CPU freq on Sandybridge

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1233479/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1233479] Re: ondemand cpufreq governor does not scale CPU freq on Sandybridge

2013-10-01 Thread Rocko
No, 3.12-rc3 with acpi-cpufreq/ondemand doesn't have a problem switching
frequencies. I booted with intel_pstate=disabled just to be absolutely
sure. Although the files in  /sys/devices/system/cpu/cpu0/cpufreq
indicate that acpi-cpufreq is being used, turbostat's output make it
look like intel_pstate is running (those aren't frequencies that acpi-
cpufreq advertises!):

cor CPU%c0  GHz  TSC SMI%c1%c3%c6%c7 CTMP PTMP   %pc2   
%pc3   %pc6   %pc7  Pkg_W  Cor_W GFX_W
  2.50 2.31 2.00   0   8.88   0.02   0.00  88.60   58   58   1.71   
0.02   2.35  70.59   9.39   3.61  0.39
  0   0   1.28 2.12 2.00   1   9.94   0.01   0.00  88.77   58   58   1.71   
0.02   2.35  70.60   9.39   3.61  0.39
  0   1   8.13 2.63 2.00   1   3.10
  1   2   2.08 1.89 2.00   1  16.41   0.01   0.00  81.51   58
  1   3   1.25 2.15 2.00   1  17.24
  2   4   2.24 2.16 2.00   1   6.11   0.03   0.00  91.62   58
  2   5   1.05 2.42 2.00   1   7.30
  3   6   2.41 2.09 2.00   1   5.03   0.04   0.00  92.52   58
  3   7   1.53 1.93 2.00   1   5.91

As I stated in the original description, running Saucy under 3.12-rc3
has a different problem from 3.11 - instead of being stuck at a
particular (low) frequency, it tends to run the cpus at high
frequencies. The power usage on my laptop with 3.11 using intel pstate
is around 18W - with 3.12 it is around 35W. I suspect that this is
compiz's fault, though - 'top' shows that it jumps between 20% and 250%
cpu running under 3.12-rc3. Moving windows around is noticeably
'jerkier' under 3.12-rc3, and this is when I see the highest cpu usage
from compiz.

** Tags added: kernel-fixed-upstream

** Changed in: linux (Ubuntu)
   Status: Incomplete = Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1233479

Title:
  ondemand cpufreq governor does not scale CPU freq on Sandybridge

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1233479/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1233479] Re: ondemand cpufreq governor does not scale CPU freq on Sandybridge

2013-10-01 Thread Rocko
I've tagged it kernel-fixed-upstreamm as requested, although from the
frequencies that turbostat is showing I'm not entirely convinced that
the acpi-cpufreq driver is being used in the upstream kernel.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1233479

Title:
  ondemand cpufreq governor does not scale CPU freq on Sandybridge

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1233479/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1233479] Re: ondemand cpufreq governor does not scale CPU freq on Sandybridge

2013-10-01 Thread Doug Smythies
Please know when using the acpi-cpufreq driver what is shown in various
places for CPU frequency can be wrong. The only way to know the actual
CPU frequencies is via turbostat, as you are doing.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1233479

Title:
  ondemand cpufreq governor does not scale CPU freq on Sandybridge

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1233479/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1233479] Re: ondemand cpufreq governor does not scale CPU freq on Sandybridge

2013-10-01 Thread Doug Smythies
By the way, ondemand mode using the acpi-cpufreq driver is working fine
on my computer with a 3.11 kernel.

doug@s15:~/temp$ uname -a
Linux s15 3.11.2-031102-generic #201309262136 SMP Fri Sep 27 01:37:33 UTC 2013 
x86_64 x86_64 x86_64 GNU/Linux

doug@s15:~/temp$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver
acpi-cpufreq

doug@s15:~/temp$ cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
ondemand
ondemand
ondemand
ondemand
ondemand
ondemand
ondemand
ondemand

I have a full load task running on CPU 7:

doug@s15:~/temp$ sudo ./turbostat
 cr CPU%c0  GHz  TSC%c1%c3%c6%c7  %pc2  %pc3  %pc6  %pc7
  12.51 3.81 3.41  13.03   0.00  74.46   0.00  0.00  0.00  0.00  0.00
   0   0   0.02 3.67 3.41   0.32   0.01  99.66   0.00  0.00  0.00  0.00  0.00
   0   4   0.02 3.59 3.41   0.32   0.01  99.66   0.00  0.00  0.00  0.00  0.00
   1   1   0.01 3.66 3.41   0.95   0.00  99.05   0.00  0.00  0.00  0.00  0.00
   1   5   0.00 3.68 3.41   0.95   0.00  99.05   0.00  0.00  0.00  0.00  0.00
   2   2   0.07 3.70 3.41   0.79   0.00  99.14   0.00  0.00  0.00  0.00  0.00
   2   6   0.00 3.64 3.41   0.86   0.00  99.14   0.00  0.00  0.00  0.00  0.00
   3   3   0.00 3.68 3.41 100.00   0.00   0.00   0.00  0.00  0.00  0.00  0.00
   3   7  99.97 3.81 3.41   0.03   0.00   0.00   0.00  0.00  0.00  0.00  0.00

CPU: Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1233479

Title:
  ondemand cpufreq governor does not scale CPU freq on Sandybridge

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1233479/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1233479] Re: ondemand cpufreq governor does not scale CPU freq on Sandybridge

2013-10-01 Thread Rocko
Out of interest, why are all your cores running over 3.5GHz when you've
only loaded CPU 7? When acpi-cpufreq/ondemand was working properly on my
system, it would have had seven cores running near the minimum (0.8 GHz)
and the loaded one running at turbo.

Has anything been patched in the ondemand governor for Ubuntu's 3.11
kernel? Since I can manually change the CPU frequencies, it might be
that acpi-cpufreq has no issues, but the ondemand governor isn't
detecting the increase in load on my system. And it looks like the
problem doesn't carry across to the 'vanilla' 3.12.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1233479

Title:
  ondemand cpufreq governor does not scale CPU freq on Sandybridge

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1233479/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1233479] Re: ondemand cpufreq governor does not scale CPU freq on Sandybridge

2013-10-01 Thread Doug Smythies
All active cores share the same frequency. This is one of the misleading
things about the acpi-cpufreq driver, it tends to show target
frequencies not actual frequencies.

See also the Intel 2nd gen core desktop vol 1 datasheet - Chapter 4
Power Management - Section 4.2 Processor Core Power Management - Sub-
section 1 Enhanced Intel SpeedStep Technology - Bullet point 2 - 3rd
sub-list entry (page 46 of the html or pdf):

All active processor cores share the same frequency and voltage. In a
multicore processor, the highest frequency P-state requested amongst all
active cores is selected. 

ref:  http://www.intel.com/content/www/us/en/processors/core/2nd-gen-
core-desktop-vol-1-datasheet.html

I do not know if anything was patched for Ubuntu's 3.11 kernel. I tested
many, but not all, of the 3.11RC series, both Ubuntu and from
kernel.org, but I was mainly working with the intel_pstate driver, and
only using the acpi-cpufreq driver for comparative tests.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1233479

Title:
  ondemand cpufreq governor does not scale CPU freq on Sandybridge

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1233479/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs