[Bug 1480349] Re: Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 & E5-1650 v3

2016-01-29 Thread Colin Ian King
** Description changed:

- When I boot with this installed frequency scaling is no longer behaving
- as expected.
+ SRU Justification Wily
+ 
+ CPU scaling on a class of Intel CPUs is not functioning correctly,
+ causing the CPU to be throttled back to the lowest CPU frequency
+ 
+ [FIX]
+ Upstream cherry picks, as recommended by Intel
+ f4e316ef4d8d8c9a558ef5bfa74e25303c46a985 ("Add white list of the cpu ids")
+ 18d1574230c6b9b4e8876c0b6739c074a24205e6 ("Move parser init to thd_engine")
+ 6749427098434ccad81fa8c5f2a3e102fc1644f7 ("Remove wild card for loading")
+ ba4fe1e7bb77d09530544cda860fba559603ec83 ("Error recovery when sysfs attrib 
read fails")
+ 
+ Plus 4 changes to allow clean and simpler patching of the above 4 fix to
+ reduce the risk of breaking thermald with a complex backport:
+ 
+ Remove trailing ':' from THD engine failure message
+ Remove !! from "No coretemp sysfs found"
+ Add new option for config file
+ Support target state
+ 
+ Essentially we now have a white list of valid CPUs to run thermald on,
+ so we can exclude the issues on a wider class of CPUs.
+ 
+ [TEST CASE]
+ With the buggy thermald, CPU is pegged at the lowest CPU frequency.  With the 
fixed thermald, CPU scaling now works.
+ 
+ 
+ --
+ 
+ 
+ When I boot with this installed frequency scaling is no longer behaving as 
expected.
  
  It seems that with this installed, the OS loses control of the scaling.
  
  It seems that scaling is performed, though. And very much to the purpose
  of power saving.
  
  Performance is terrible because of this. And I do mean terrible.
  
  The default governor is powersave.
  
  Setting the governor to performance (yes, on all cores) doesn't seem to
  change to scaling behavior. The frequency doesn't pass 800MHz.
  
  I would like to use Intel's microcode updates, but I have to have my CPU
  running at the speed for which it costs so damn much.
  
  Any suggestions?
  
  ProblemType: Bug
  DistroRelease: Ubuntu 15.10
  Package: intel-microcode 3.20150121.1
  ProcVersionSignature: Ubuntu 4.1.0-2.2-generic 4.1.3
  Uname: Linux 4.1.0-2-generic x86_64
  ApportVersion: 2.18-0ubuntu5
  Architecture: amd64
  CurrentDesktop: XFCE
  Date: Fri Jul 31 17:56:39 2015
  InstallationDate: Installed on 2010-10-12 (1753 days ago)
  InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
  SourcePackage: intel-microcode
  UpgradeStatus: Upgraded to wily on 2014-11-11 (262 days ago)

** Description changed:

  SRU Justification Wily
  
  CPU scaling on a class of Intel CPUs is not functioning correctly,
  causing the CPU to be throttled back to the lowest CPU frequency
  
  [FIX]
  Upstream cherry picks, as recommended by Intel
  f4e316ef4d8d8c9a558ef5bfa74e25303c46a985 ("Add white list of the cpu ids")
  18d1574230c6b9b4e8876c0b6739c074a24205e6 ("Move parser init to thd_engine")
  6749427098434ccad81fa8c5f2a3e102fc1644f7 ("Remove wild card for loading")
  ba4fe1e7bb77d09530544cda860fba559603ec83 ("Error recovery when sysfs attrib 
read fails")
  
  Plus 4 changes to allow clean and simpler patching of the above 4 fix to
  reduce the risk of breaking thermald with a complex backport:
  
  Remove trailing ':' from THD engine failure message
  Remove !! from "No coretemp sysfs found"
  Add new option for config file
  Support target state
  
  Essentially we now have a white list of valid CPUs to run thermald on,
  so we can exclude the issues on a wider class of CPUs.
  
  [TEST CASE]
  With the buggy thermald, CPU is pegged at the lowest CPU frequency.  With the 
fixed thermald, CPU scaling now works.
  
- 
  --
  
- 
- When I boot with this installed frequency scaling is no longer behaving as 
expected.
+ When I boot with this installed frequency scaling is no longer behaving
+ as expected.
  
  It seems that with this installed, the OS loses control of the scaling.
  
  It seems that scaling is performed, though. And very much to the purpose
  of power saving.
  
  Performance is terrible because of this. And I do mean terrible.
  
  The default governor is powersave.
  
  Setting the governor to performance (yes, on all cores) doesn't seem to
  change to scaling behavior. The frequency doesn't pass 800MHz.
  
  I would like to use Intel's microcode updates, but I have to have my CPU
  running at the speed for which it costs so damn much.
  
  Any suggestions?
  
  ProblemType: Bug
  DistroRelease: Ubuntu 15.10
  Package: intel-microcode 3.20150121.1
  ProcVersionSignature: Ubuntu 4.1.0-2.2-generic 4.1.3
  Uname: Linux 4.1.0-2-generic x86_64
  ApportVersion: 2.18-0ubuntu5
  Architecture: amd64
  CurrentDesktop: XFCE
  Date: Fri Jul 31 17:56:39 2015
  InstallationDate: Installed on 2010-10-12 (1753 days ago)
  InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
  SourcePackage: intel-microcode
  UpgradeStatus: 

[Bug 1480349] Re: Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 & E5-1650 v3

2016-01-29 Thread Colin Ian King
debdiff:
http://launchpadlibrarian.net/235642871/thermald_1.4.3-5_1.4.3-5ubuntu1.diff.gz

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

Title:
  Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 &
  E5-1650 v3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/intel-microcode/+bug/1480349/+subscriptions

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

[Bug 1480349] Re: Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 & E5-1650 v3

2016-01-29 Thread Colin Ian King
debdiff attached

** Patch added: "debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/intel-microcode/+bug/1480349/+attachment/4559107/+files/thermald_1.4.3-5_1.4.3-5ubuntu1.diff

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

Title:
  Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 &
  E5-1650 v3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/intel-microcode/+bug/1480349/+subscriptions

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

[Bug 1480349] Re: Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 & E5-1650 v3

2016-01-29 Thread Colin Ian King
** Also affects: thermald (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: thermald (Ubuntu)
   Importance: Undecided => High

** Changed in: thermald (Ubuntu)
 Assignee: (unassigned) => Colin Ian King (colin-king)

** Changed in: thermald (Ubuntu)
Milestone: None => xenial-updates

** Also affects: intel-microcode (Ubuntu Xenial)
   Importance: High
 Assignee: Colin Ian King (colin-king)
   Status: In Progress

** Also affects: thermald (Ubuntu Xenial)
   Importance: High
 Assignee: Colin Ian King (colin-king)
   Status: New

** Also affects: intel-microcode (Ubuntu Wily)
   Importance: Undecided
   Status: New

** Also affects: thermald (Ubuntu Wily)
   Importance: Undecided
   Status: New

** Changed in: thermald (Ubuntu Wily)
Milestone: None => wily-updates

** Changed in: thermald (Ubuntu Wily)
 Assignee: (unassigned) => Colin Ian King (colin-king)

** Changed in: thermald (Ubuntu Wily)
   Importance: Undecided => High

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

Title:
  Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 &
  E5-1650 v3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/intel-microcode/+bug/1480349/+subscriptions

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

[Bug 1480349] Re: Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 & E5-1650 v3

2016-01-29 Thread Launchpad Bug Tracker
This bug was fixed in the package thermald - 1.4.3-6

---
thermald (1.4.3-6) unstable; urgency=medium

  * Fix frequency scaling issue on specific Intel CPUs (LP: #1480349)
- roll earlier patches that allow us to cleanly patch the issue
- Error recovery when sysfs attrib read fails
- Remove wild card for loading
- Move parser init to thd_engine
- Add white list of the cpu ids

 -- Colin King   Tue, 26 Jan 2016 10:15:11
+

** Changed in: thermald (Ubuntu Xenial)
   Status: New => Fix Released

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

Title:
  Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 &
  E5-1650 v3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/intel-microcode/+bug/1480349/+subscriptions

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

[Bug 1480349] Re: Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 & E5-1650 v3

2016-01-27 Thread Srinivas Pandruvada
@Colin
I want to see if there is a race condition, by changing runlevel to 5 without 
any other change. What do we need to change in systemd service file?

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

Title:
  Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 &
  E5-1650 v3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/intel-microcode/+bug/1480349/+subscriptions

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

[Bug 1480349] Re: Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 & E5-1650 v3

2016-01-27 Thread Colin Ian King
@Srinivas,

systemd uses targets which serve a similar purpose as runlevels, to
change this on a running system one uses sysemctl

1. To list different target types use:

systemctl list-units --type=target

multi-user.target  is equivalent to run level 3
graphical.target is equivalent to run level 5

2. Edit the thermald service config:

/lib/systemd/system/thermald.service

and set WantedBy=graphical.target

run:

sudo systemctl enable thermald.service

and this will setup the symlinks to enable this service on the
graphical.target target level

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

Title:
  Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 &
  E5-1650 v3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/intel-microcode/+bug/1480349/+subscriptions

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

[Bug 1480349] Re: Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 & E5-1650 v3

2016-01-26 Thread Colin Ian King
I've uploaded a patched version of thermald that includes 4 fixes from
Srinivas and also modifies thermald to only start on runlevel 5.

Packages for wily and xenial can be found in ppa:colin-
king/thermald-1480349  - please install and test to see if it fixes the
issues

sudo add-apt-repository ppa:colin-king/thermald-1480349
sudo apt-get update && sudo apt-get dist-upgrade

** Changed in: intel-microcode (Ubuntu)
   Status: Confirmed => In Progress

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

Title:
  Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 &
  E5-1650 v3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/intel-microcode/+bug/1480349/+subscriptions

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

[Bug 1480349] Re: Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 & E5-1650 v3

2016-01-26 Thread Chris J Arges
I just tested the version of thermald in the PPA and my now computer is
functioning as expected.

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

Title:
  Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 &
  E5-1650 v3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/intel-microcode/+bug/1480349/+subscriptions

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

[Bug 1480349] Re: Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 & E5-1650 v3

2016-01-26 Thread Colin Ian King
Hi folks, I'd appreciate some more testing on this before I proceed any
further with the fixes.  If one can test the packages in my ppa (see
comment #60) and let me know:

release (wily or xenial)
passed or failed.

Thanks.

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

Title:
  Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 &
  E5-1650 v3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/intel-microcode/+bug/1480349/+subscriptions

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

[Bug 1480349] Re: Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 & E5-1650 v3

2016-01-26 Thread Srinivas Pandruvada
I up still not sure about the root cause. Can anybody help on collecting 
startup logs (journalctl -b)?
Can we just change runlevel to 5 and see if the problem is fixed.If there is a 
race condition in loading then this should address this.
@Colin, What changes are required to run at run level 5? and also we should 
start with --loglevel=debug for test in thermald.service.

I was asked provide root cause analysis as this issue moved up in chains
for attention.

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

Title:
  Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 &
  E5-1650 v3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/intel-microcode/+bug/1480349/+subscriptions

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

[Bug 1480349] Re: Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 & E5-1650 v3

2016-01-26 Thread Colin Ian King
@Srinivas,

I changed the run level to 5 in this updated package, so it should do
this automatically when the update is installed.

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

Title:
  Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 &
  E5-1650 v3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/intel-microcode/+bug/1480349/+subscriptions

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

[Bug 1480349] Re: Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 & E5-1650 v3

2016-01-25 Thread Henrique de Moraes Holschuh
I wonder if these MSRs are set to the same contents in *all* cores?

Anyway,  please look at this:

http://article.gmane.org/gmane.linux.power-
management.general/70615/match=msr_ia32_energy_perf_bias

"The assumption that BIOSes never want to have this register being set to
full performance (zero) is wrong.

While wrongly overruling this BIOS setting and set it to from performance
to normal did not hurt that much, because nobody really knew the effects inside
Intel processors.

But with Broadwell-EP processor (E5-2687W v4) the CPU will not enter turbo modes
if this value is not set to performance."

Now, it says "Broadwell-EP E5-2687W v4" in the commit text, but there is
no such a beast in Intel ARK, so it might well be the Haswell E5-2687W
v3.  And even if the commit text is indeed correct, it is likely worth a
try to check the behavior of MSR_IA32_ENERGY_PERF_BIAS in the new
Haswell microcode...

So, maybe you could try to set MSR_IA32_ENERGY_PERF_BIAS to zero on all
cores (maybe using the x86_energy_perf_policy utility, it is in the
Linux kernel source tree, at "tools/power/x86/x86_energy_perf_policy"),
and check if that fixes the issue as well?

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

Title:
  Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 &
  E5-1650 v3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/intel-microcode/+bug/1480349/+subscriptions

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

[Bug 1480349] Re: Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 & E5-1650 v3

2016-01-25 Thread Shahar Or
@hmh, does this require compiling a kernel? Last time I did that was
some 8 years ago, on Debian.

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

Title:
  Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 &
  E5-1650 v3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/intel-microcode/+bug/1480349/+subscriptions

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

[Bug 1480349] Re: Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 & E5-1650 v3

2016-01-25 Thread Srinivas Pandruvada
Very strange. From the logs thermald didn't take any action. Then also the 
problem seems to be fixed. 
Can you let thermald run for few minutes in the same way and collect logs?

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

Title:
  Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 &
  E5-1650 v3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/intel-microcode/+bug/1480349/+subscriptions

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

[Bug 1480349] Re: Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 & E5-1650 v3

2016-01-25 Thread Henrique de Moraes Holschuh
oh, you *do* need a kernel source tarball, or a fresh clone from git if
you want to compile the tool.

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

Title:
  Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 &
  E5-1650 v3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/intel-microcode/+bug/1480349/+subscriptions

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

[Bug 1480349] Re: Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 & E5-1650 v3

2016-01-25 Thread Henrique de Moraes Holschuh
No, I think you can just go to that directory and type Make.

You can also use wrmsr (make sure to write to *all* cores).

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

Title:
  Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 &
  E5-1650 v3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/intel-microcode/+bug/1480349/+subscriptions

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

[Bug 1480349] Re: Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 & E5-1650 v3

2016-01-25 Thread Chris J Arges
I am also affected on my haswell-ep i7-5820k desktop. After disabling
thermald performance is back to normal.

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

Title:
  Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 &
  E5-1650 v3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/intel-microcode/+bug/1480349/+subscriptions

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

[Bug 1480349] Re: Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 & E5-1650 v3

2016-01-25 Thread Srinivas Pandruvada
I think it has to do with the starting of thermald  too early while driver 
modules are not ready.
@Chris:
Can you attach thermald logs (when started by systemd) and also by disabling 
and started by command line?

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

Title:
  Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 &
  E5-1650 v3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/intel-microcode/+bug/1480349/+subscriptions

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

[Bug 1480349] Re: Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 & E5-1650 v3

2016-01-25 Thread Srinivas Pandruvada
Currently systemd runlevels are [2345], can we try just [5]
In the systemd service file. thermald.conf

change 
start on runlevel [2345] and started dbus
to
start on runlevel [5] and started dbus

If thermald is loading too early, then this will delay till run level 5.

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

Title:
  Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 &
  E5-1650 v3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/intel-microcode/+bug/1480349/+subscriptions

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

[Bug 1480349] Re: Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 & E5-1650 v3

2016-01-25 Thread Shahar Or
@hmh, `$ sudo rdmsr 0x1b0` returned `7`.

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

Title:
  Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 &
  E5-1650 v3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/intel-microcode/+bug/1480349/+subscriptions

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

[Bug 1480349] Re: Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 & E5-1650 v3

2016-01-24 Thread Shahar Or
I've:

1. Installed `intel-microcode`
2. Rebooted

I did this to make sure that the problem still exists. And it did. Then
I:

3. `sudo systemctl disable thermald`
4. Rebooted

Frequency scaling seems fine. Hooray!

Attached is output of commands requested in #47.

** Attachment added: "output of commands requested in #47"
   
https://bugs.launchpad.net/ubuntu/+source/intel-microcode/+bug/1480349/+attachment/4555873/+files/typescript

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

Title:
  Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 &
  E5-1650 v3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/intel-microcode/+bug/1480349/+subscriptions

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

[Bug 1480349] Re: Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 & E5-1650 v3

2016-01-24 Thread Shahar Or
Would testing with 15.10 help or have we figured this out?

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

Title:
  Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 &
  E5-1650 v3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/intel-microcode/+bug/1480349/+subscriptions

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

[Bug 1480349] Re: Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 & E5-1650 v3

2016-01-24 Thread Henrique de Moraes Holschuh
Can you also check MSR_IA32_ENERGY_PERF_BIAS  (MSR 0x1b0) ?

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

Title:
  Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 &
  E5-1650 v3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/intel-microcode/+bug/1480349/+subscriptions

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

[Bug 1480349] Re: Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 & E5-1650 v3

2016-01-22 Thread Philipp Kern
FWIW, regarding platform commonality: We saw this after pushing the
microcode update on two HP z440 workstations, one in Munich and one in
Tokyo. Specifically both were E5-1650 v3.

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

Title:
  Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 &
  E5-1650 v3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/intel-microcode/+bug/1480349/+subscriptions

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

[Bug 1480349] Re: Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 & E5-1650 v3

2016-01-22 Thread Srinivas Pandruvada
@Shahar
Also if #43 solves your issue, can you do following steps
cd /sys/class/powercap
grep -r . *
cd /sys/class/thermal
grep -r . *
cd /sys/class/hwmon
grep -r . *

sudo ./thermald --no-daemon --loglevel=debug



I am thinking a combination of factors is causing this issue. First of all this 
is a server platform, no need to run thermald (thermald doesn't take care about 
of multiple packages and not tested on Xeons).

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

Title:
  Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 &
  E5-1650 v3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/intel-microcode/+bug/1480349/+subscriptions

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

Re: [Bug 1480349] Re: Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 & E5-1650 v3

2016-01-21 Thread Henrique de Moraes Holschuh
On Thu, Jan 21, 2016, at 03:18, Doug Smythies wrote:
> @Philipp: The way I read them, your comment #35 and your comment #27
> contradict each other.
> 
> @Xiong: The way I read all of this stuff, it has not been proven that
> the issue is in the microcode itself. However, the work done by Sharar
> in earlier postings, in my opinion, narrows it down to either the
> microcode itself or some loading issue when it is updated during boot.

To me, so far it looks like the issue is caused by a three-way
interaction: microcode - kernel - platform/BIOS.

There are several users of Xeon E5v3 with up-to-date microcode (0x36)
that do not observe the issue.  Since not every box with the same
processor, microcode and kernel (but not the same *mainboard*) suffers
the issue, there's a platform component that is required to trigger the
issue.  Maybe the firmware is not doing everything it should, or the
Linux driver is not doing everything it should: the microcode update
might not be the root cause.

> I had an idea to use "iucode_tool" to further isolate the issue, by
> going back and forth between microcodes, but now I see that one can not
> downgrade the microcode on the fly, it only works for upgrading. So now

That's untested, unspecified, unsupported territory.  Avoid it unless
someone @intel that knows better tells you to do it: just because a
microcode downgrade looks like it worked fine doesn't mean it did, after
all...  Especially since the issue in this bug report might well be
related to insufficient new-state sanitization after a microcode update,
so downgrading the microcode might invalidate the testing entirely...

It is much better to start from the microcode that works (in the BIOS),
and test if you can still reproduce the issue with normal microcode
updates (i.e. no downgrading).

> I am thinking maybe it would be possible to make the same microcode with
> a newer version number to "trick" the system into loading it. I.E. if
> upgrading to the fake "newer" microcode during boot also caused issues,
> then the root issue would be the load procedure.

Yes, it is possible. That's the main component of an Intel microcode
downgrade attack, which works pretty much everywhere (and not just in
Linux).

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique de Moraes Holschuh 

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

Title:
  Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 &
  E5-1650 v3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/intel-microcode/+bug/1480349/+subscriptions

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

[Bug 1480349] Re: Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 & E5-1650 v3

2016-01-21 Thread Srinivas Pandruvada
ALthough it was tried before:
"
Shahar Or (mightyiam) wrote on 2015-07-31:
`$ sudo systemctl stop thermald` doesn't seem to change it.

"
Can we try by deleting the service to avoid any throttling might have occurred 
during boot? 
This is a Xeon server, don't need thermald.

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

Title:
  Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 &
  E5-1650 v3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/intel-microcode/+bug/1480349/+subscriptions

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

[Bug 1480349] Re: Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 & E5-1650 v3

2016-01-21 Thread Shahar Or
@Intel, my affected system is up for sale if you want it.

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

Title:
  Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 &
  E5-1650 v3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/intel-microcode/+bug/1480349/+subscriptions

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

[Bug 1480349] Re: Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 & E5-1650 v3

2016-01-21 Thread Shahar Or
@srinivas-pandruvada

If I understand you correctly, the steps are:

1. Install the intel-microcode package
2. `sudo systemctl disable thermald`
3. Reboot
4. See whether frequency scaling is broken

Is this correct?

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

Title:
  Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 &
  E5-1650 v3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/intel-microcode/+bug/1480349/+subscriptions

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

[Bug 1480349] Re: Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 & E5-1650 v3

2016-01-21 Thread Doug Smythies
>> However, the work done by Sharar
>> in earlier postings, in my opinion, narrows it down to either the
>> microcode itself or some loading issue when it is updated during boot.

> Henrique de Moraes Holschuh wrote:
> To me, so far it looks like the issue is caused by a three-way
> interaction: microcode - kernel - platform/BIOS.

I agree, and was not clear. I meant everything related to the actual upgrade. 
Issues with re-initializing after suspend, and maybe in this case, after 
microcode upgrade are why I have started to follow this bug report.
And along those lines, and further to my post #28 and #30, I have been 
wondering if the CPU frequencies could be unstuck by clearing all the logged 
bits. Perhaps they got set inadvertently during the microcode upgrade, and not 
cleared as part of post upgrade re-initialization. Even though that wouldn't 
explain the currently active bits, it might be worth a try (as su).

wrmsr 0x690 0x00
wrmsr 0x6B0 0x00
wrmsr 0x6B1 0x00
wrmsr 0x1B1 0x00
wrmsr -a 0x19c 0x00
wrmsr -a 0x19a 0x00

I may have forgotten one or more registers. The msr-tools package is required 
and "modprobe msr" (as su) is needed before those commands.
 
We should look for any platform/BIOS commonality between the suffers of this 
issue (if the current Srinivas test doesn't work, that is).

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

Title:
  Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 &
  E5-1650 v3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/intel-microcode/+bug/1480349/+subscriptions

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

[Bug 1480349] Re: Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 & E5-1650 v3

2016-01-21 Thread Srinivas Pandruvada
@Shahar
I thought you already have a system with upgraded microcode. If this is not too 
much trouble. then please try the steps you outlined in #43 (previous comment).
I am still not clear is that
- For the same kernel version  and ubuntu 15.10, if you just upgrade 
micro-code, does it breaks frequency scaling (Nothing else changed)?

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

Title:
  Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 &
  E5-1650 v3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/intel-microcode/+bug/1480349/+subscriptions

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

[Bug 1480349] Re: Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 & E5-1650 v3

2016-01-21 Thread Shahar Or
Thanks for all of the churn on this. Please tell me if I can help in any
way.

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

Title:
  Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 &
  E5-1650 v3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/intel-microcode/+bug/1480349/+subscriptions

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

[Bug 1480349] Re: Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 & E5-1650 v3

2016-01-21 Thread Srinivas Pandruvada
Hi Shahar,  
Can you quickly try steps suggested in #38? You can do "sudo systemctl disable 
thermald" and then reboot.

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

Title:
  Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 &
  E5-1650 v3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/intel-microcode/+bug/1480349/+subscriptions

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

[Bug 1480349] Re: Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 & E5-1650 v3

2016-01-21 Thread Keve Gabbert
FYI - Intel is trying to reproduce and debug this issue in the US.

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

Title:
  Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 &
  E5-1650 v3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/intel-microcode/+bug/1480349/+subscriptions

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

[Bug 1480349] Re: Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 & E5-1650 v3

2016-01-20 Thread Doug Smythies
@Philipp: The way I read them, your comment #35 and your comment #27
contradict each other.

@Xiong: The way I read all of this stuff, it has not been proven that
the issue is in the microcode itself. However, the work done by Sharar
in earlier postings, in my opinion, narrows it down to either the
microcode itself or some loading issue when it is updated during boot.

I had an idea to use "iucode_tool" to further isolate the issue, by
going back and forth between microcodes, but now I see that one can not
downgrade the microcode on the fly, it only works for upgrading. So now
I am thinking maybe it would be possible to make the same microcode with
a newer version number to "trick" the system into loading it. I.E. if
upgrading to the fake "newer" microcode during boot also caused issues,
then the root issue would be the load procedure.

By the way, I don't have Xeon processor, I'm just trying to help with
this bug report.

>From all that I have been reading today, microcode 29 should be O.K., but 
>wasn't for Sharar.
See also: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=776431


** Bug watch added: Debian Bug tracker #776431
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=776431

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

Title:
  Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 &
  E5-1650 v3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/intel-microcode/+bug/1480349/+subscriptions

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

[Bug 1480349] Re: Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 & E5-1650 v3

2016-01-20 Thread Philipp Kern
0x2b is known good for me, 0x36 known bad.

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

Title:
  Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 &
  E5-1650 v3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/intel-microcode/+bug/1480349/+subscriptions

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

[Bug 1480349] Re: Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 & E5-1650 v3

2016-01-19 Thread Colin Ian King
For users with this problem on E5-1650 v3, Intel requested the
model:stepping info  from /proc/cpuinfo, so please paste the
/proc/cpuinfo into the bug report. Thanks.

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

Title:
  Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 &
  E5-1650 v3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/intel-microcode/+bug/1480349/+subscriptions

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

[Bug 1480349] Re: Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 & E5-1650 v3

2016-01-19 Thread Doug Smythies
@Colin: Gabor (from the duplicate) and Shahar (from the turbostat
postings) both have: family : 6 ; model : 63 ; stepping : 2 also.

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

Title:
  Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 &
  E5-1650 v3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/intel-microcode/+bug/1480349/+subscriptions

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

[Bug 1480349] Re: Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 & E5-1650 v3

2016-01-19 Thread Philipp Kern
processor   : 11
vendor_id   : GenuineIntel
cpu family  : 6
model   : 63
model name  : Intel(R) Xeon(R) CPU E5-1650 v3 @ 3.50GHz
stepping: 2
microcode   : 0x2b
cpu MHz : 1233.339
cache size  : 15360 KB
physical id : 0
siblings: 12
core id : 5
cpu cores   : 6
apicid  : 11
initial apicid  : 11
fpu : yes
fpu_exception   : yes
cpuid level : 15
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov 
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb 
rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology 
nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est 
tm2 ssse3 fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt 
tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm ida arat epb pln pts 
dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep 
bmi2 erms invpcid cqm xsaveopt cqm_llc cqm_occup_llc
bugs:
bogomips: 6983.44
clflush size: 64
cache_alignment : 64
address sizes   : 46 bits physical, 48 bits virtual
power management:

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

Title:
  Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 &
  E5-1650 v3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/intel-microcode/+bug/1480349/+subscriptions

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

[Bug 1480349] Re: Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 & E5-1650 v3

2016-01-19 Thread XiongZhang
@Philipp & @Doug: 
I couldn't reproduce your issue on my E5-2697 v3 platform with 0x2B and 0x36 
microcode in Ubuntu 16.04. E5-2697 v3 has the same F/M/S with the affected 
processor E5-1650 v3 and E5-2687W v3.

Could you tell me what's your conclusion that it is a microcode regression or  
upstream kernel regression ?   From comment#27, it seems a kernel regression, 
but the title and some comments  always point to microcode regression.
Could you reproduce it with 16.04 ?

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

Title:
  Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 &
  E5-1650 v3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/intel-microcode/+bug/1480349/+subscriptions

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

[Bug 1480349] Re: Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 & E5-1650 v3

2016-01-16 Thread Philipp Kern
I could try briefly next week, but from what I recall from my December
attempts setting intel_pstate=0 on the kernel's cmdline did *not* help.
I saw a different frequency in cpuinfo (1.2 GHz), but the machine was
still incredibly slow.

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

Title:
  Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 &
  E5-1650 v3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/intel-microcode/+bug/1480349/+subscriptions

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

[Bug 1480349] Re: Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 & E5-1650 v3

2016-01-16 Thread Doug Smythies
When using the acpi-cpufreq driver, "/proc/cpuinfo" shows the frequency that is 
being asked for, not the frequency one actually gets.
One has to use turbostat to know for sure.

For whatever reason, and as mentioned in my previous post, the posted
turbostat output is saying that excessive power has caused the slow
down. Both the CORE_PERF_LIMIT_REASONS and the IA32_PACKAGE_THERM_STATUS
and all of the IA32_THERM_STATUS MSRs are saying this.

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

Title:
  Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 &
  E5-1650 v3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/intel-microcode/+bug/1480349/+subscriptions

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

[Bug 1480349] Re: Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 & E5-1650 v3

2016-01-15 Thread Philipp Kern
So for E5-1650 v3 specifically:

0x2b works (microcode in trusty). 0x36 works with 3.13, but not with
either 3.19 nor 4.3. (Pointing at intel_pstate, I think.)

** Changed in: intel-microcode (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/1480349

Title:
  Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 &
  E5-1650 v3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/intel-microcode/+bug/1480349/+subscriptions

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

[Bug 1480349] Re: Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 & E5-1650 v3

2016-01-15 Thread Doug Smythies
As Kristen mentions in post 18, the CORE_PERF_LIMIT_REASONS MSR is
saying that the frequency is reduced below the operating system request
due to PBM (Power Budget Management) limit. It seems odd that in such a
reduced power consumption state the bit is still asserted.

Note that whenever the actual clock is below what has been asked for,
the intel_pstate driver will drive down and ask for the lowest pstate,
regardless of load. This is fundamental to the current control
algorithm. The acpi-cpufreq frequency scaling driver doesn't have this
problem, conceivably somewhat masking this issue. (not sure in this
case. I.E. I am not sure if the frequency is locked at  37.5% of the
minimum pstate regardless, or 37.5% of requested pstate. The performance
mode test mentioned in the description would tend to indicate the
former. One way to test is to force the use of the acpi-cpufreq driver
by disabling the intel_pstate driver).

Myself, I would keep track of both what is being asked for and what the
processor is actually giving. Example (on an older i7):

What is being asked for (the system is idle and min freq is 1.6 GHz):
# rdmsr --bitfield 15:8 -d -a 0x199
16
16
16
16
16
16
16
16

What the processor is actually giving (pstate 24 What? (I created a known issue 
for dramatic effect)):
# rdmsr --bitfield 15:8 -d -a 0x198
24
24
24
24
24
24
24
24

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

Title:
  Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 &
  E5-1650 v3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/intel-microcode/+bug/1480349/+subscriptions

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

[Bug 1480349] Re: Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 & E5-1650 v3

2015-11-14 Thread Shahar Or
Thank you for letting me know of the update, Colin. I've upgraded to
Xenial and installed intel-microcode (3.20151106.1) and seemingly no
change on this issue.

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

Title:
  Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 &
  E5-1650 v3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/intel-microcode/+bug/1480349/+subscriptions

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

[Bug 1480349] Re: Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 & E5-1650 v3

2015-11-10 Thread Colin Ian King
** Summary changed:

- Breaks frequency scaling in Xeon® E5-2687W v3 & E5-1650 v3
+ Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 & E5-1650 v3

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

Title:
  Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 &
  E5-1650 v3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/intel-microcode/+bug/1480349/+subscriptions

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

[Bug 1480349] Re: Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 & E5-1650 v3

2015-11-10 Thread Colin Ian King
intel-microcode (3.20151106.1) was recently sync'd into Ubuntu Xenial,
see: http://packages.ubuntu.com/xenial/intel-microcode

It may be worth checking to see if this resolves the issues for you.


** Changed in: intel-microcode (Ubuntu)
   Status: In Progress => Incomplete

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

Title:
  Intel Microcode Breaks frequency scaling in Xeon® E5-2687W v3 &
  E5-1650 v3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/intel-microcode/+bug/1480349/+subscriptions

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