[Bug 1672439] Re: No C-State Deeper than C3 utilized by Kaby Lake 7820HQ in Precision 5520

2017-04-27 Thread Kai-Heng Feng
@Carl, I burrowed a Precision 5520 and seems to be normal. Not sure what happened on your system... --- TLP 0.8 +++ Processor CPU Model = Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver=

[Bug 1672439] Re: No C-State Deeper than C3 utilized by Kaby Lake 7820HQ in Precision 5520

2017-04-24 Thread Kai-Heng Feng
It's at LP: #1674390. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1672439 Title: No C-State Deeper than C3 utilized by Kaby Lake 7820HQ in Precision 5520 To manage notifications about this bug

[Bug 1672439] Re: No C-State Deeper than C3 utilized by Kaby Lake 7820HQ in Precision 5520

2017-04-24 Thread Carl Mueller
@Kai-Feng. The other bug regarding p-state as disappeared (I cannot access it on Ubuntu bugs). This bug also appears to be fixed as p-state is now the default scaling driver. However tlp stat is showing unusual max/min cpufreq settings after kernel installation. Do these settings seem incorrect

[Bug 1672439] Re: No C-State Deeper than C3 utilized by Kaby Lake 7820HQ in Precision 5520

2017-04-24 Thread Carl Mueller
Kernel 4.4.75 appears to have fixed the problem for C states. Package | Core|CPU 0 CPU 4 POLL0.1%| POLL0.0%| POLL0.0%0.0 ms 0.0% 0.0 ms C1E-SKL 1.4%| C1E-SKL 2.9%| C1E-SKL 3.5%0.3 ms

[Bug 1672439] Re: No C-State Deeper than C3 utilized by Kaby Lake 7820HQ in Precision 5520

2017-04-24 Thread Launchpad Bug Tracker
This bug was fixed in the package linux - 4.4.0-75.96 --- linux (4.4.0-75.96) xenial; urgency=low * linux: 4.4.0-75.96 -proposed tracker (LP: #1684441) * [Hyper-V] hv: util: move waiting for release to hv_utils_transport itself (LP: #1682561) - Drivers: hv: util: move

[Bug 1672439] Re: No C-State Deeper than C3 utilized by Kaby Lake 7820HQ in Precision 5520

2017-04-14 Thread Kai-Heng Feng
** Tags removed: verification-needed-xenial ** Tags added: verification-done-xenial -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1672439 Title: No C-State Deeper than C3 utilized by Kaby Lake

[Bug 1672439] Re: No C-State Deeper than C3 utilized by Kaby Lake 7820HQ in Precision 5520

2017-04-13 Thread Kleber Sacilotto de Souza
This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed- xenial' to 'verification-done-xenial'. If the problem still exists, change the tag

[Bug 1672439] Re: No C-State Deeper than C3 utilized by Kaby Lake 7820HQ in Precision 5520

2017-04-11 Thread Kai-Heng Feng
It's ok ;) The new kernel in xenial-proposed should fix 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/1672439 Title: No C-State Deeper than C3 utilized by Kaby Lake 7820HQ in Precision

[Bug 1672439] Re: No C-State Deeper than C3 utilized by Kaby Lake 7820HQ in Precision 5520

2017-04-04 Thread Carl Mueller
Sorry to be so persistent but Intel has posted a warning about not using lower power states. See page 64 of this data sheet: http://www.intel.com/content/www/us/en/processors/core/6th-gen-core- family-mobile-u-y-processor-lines-datasheet-vol-1.html -- You received this bug notification because

[Bug 1672439] Re: No C-State Deeper than C3 utilized by Kaby Lake 7820HQ in Precision 5520

2017-04-04 Thread Carl Mueller
@Kai-Heng Feng, the fix is not showing up in 4.4.0-72 carl@carl-5520:~$ uname -a Linux carl-5520 4.4.0-72-generic #93-Ubuntu SMP Fri Mar 31 14:07:41 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux carl@carl-5520:~$ sudo powertop Package | Core|CPU 0 CPU 4

[Bug 1672439] Re: No C-State Deeper than C3 utilized by Kaby Lake 7820HQ in Precision 5520

2017-03-30 Thread Carl Mueller
Fix not showing in 4.4.0-71 either. Just FYI in case it was intended. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1672439 Title: No C-State Deeper than C3 utilized by Kaby Lake 7820HQ in

[Bug 1672439] Re: No C-State Deeper than C3 utilized by Kaby Lake 7820HQ in Precision 5520

2017-03-27 Thread Carl Mueller
Fix not showing up in 4.4.0-70. Not sure if it was intended for this release. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1672439 Title: No C-State Deeper than C3 utilized by Kaby Lake 7820HQ in

[Bug 1672439] Re: No C-State Deeper than C3 utilized by Kaby Lake 7820HQ in Precision 5520

2017-03-23 Thread Brad Figg
** Changed in: linux (Ubuntu Xenial) Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1672439 Title: No C-State Deeper than C3 utilized by Kaby Lake 7820HQ

[Bug 1672439] Re: No C-State Deeper than C3 utilized by Kaby Lake 7820HQ in Precision 5520

2017-03-20 Thread Carl Mueller
Kai-Heng, It has been filed: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1674390 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1672439 Title: No C-State Deeper than C3 utilized by Kaby

[Bug 1672439] Re: No C-State Deeper than C3 utilized by Kaby Lake 7820HQ in Precision 5520

2017-03-19 Thread Kai-Heng Feng
You are right. Can you file another bug report? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1672439 Title: No C-State Deeper than C3 utilized by Kaby Lake 7820HQ in Precision 5520 To manage

[Bug 1672439] Re: No C-State Deeper than C3 utilized by Kaby Lake 7820HQ in Precision 5520

2017-03-18 Thread Carl Mueller
Kai-Heng Feng, I also noticed that by default the scaling driver used is acpi-cpufreq and not p-state. I've read that p-state is favorable for kernels >= 4.4. Is this something that is up to the user to decide or should this be considered an incorrect default? analyzing CPU 0: driver:

[Bug 1672439] Re: No C-State Deeper than C3 utilized by Kaby Lake 7820HQ in Precision 5520

2017-03-15 Thread Kai-Heng Feng
You should remove the custom kernel and use the official Ubuntu kernel. The deeper C state patch should be included soon. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1672439 Title: No C-State

[Bug 1672439] Re: No C-State Deeper than C3 utilized by Kaby Lake 7820HQ in Precision 5520

2017-03-15 Thread Carl Mueller
Excuse my ignorance, but does that mean I should continue to use your 4.4.0-68 kernel and as Canonical releases kernel updates, I should naturally phase into the regular update stream again? Or should I revert to the newest updated (4.4.0-67) and remove your custom kernel? Thanks! -- You

[Bug 1672439] Re: No C-State Deeper than C3 utilized by Kaby Lake 7820HQ in Precision 5520

2017-03-15 Thread Kai-Heng Feng
It should be included in version >= 4.4.0-68. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1672439 Title: No C-State Deeper than C3 utilized by Kaby Lake 7820HQ in Precision 5520 To manage

[Bug 1672439] Re: No C-State Deeper than C3 utilized by Kaby Lake 7820HQ in Precision 5520

2017-03-15 Thread Carl Mueller
@Kai-Heng Feng, I am not sure if this patch was intended for 4.4.0-67 (which recently was updated via Software Updater) but that kernel version reverted my CPU behavior back to only using C3 states and nothing deeper. Just FYI. -- You received this bug notification because you are a member of

[Bug 1672439] Re: No C-State Deeper than C3 utilized by Kaby Lake 7820HQ in Precision 5520

2017-03-14 Thread Kai-Heng Feng
** Changed in: linux (Ubuntu Xenial) Status: Incomplete => In Progress ** Changed in: linux (Ubuntu Xenial) Assignee: (unassigned) => Kai-Heng Feng (kaihengfeng) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1672439] Re: No C-State Deeper than C3 utilized by Kaby Lake 7820HQ in Precision 5520

2017-03-14 Thread Carl Mueller
Kai-Feng, you were right about Powertop. I am a big fan of presuming th worst. For some reason, my trackpad stopped tracking (I could click but no movement). However upon restart it seems to be fully restored and operational. -- You received this bug notification because you are a member of

[Bug 1672439] Re: No C-State Deeper than C3 utilized by Kaby Lake 7820HQ in Precision 5520

2017-03-14 Thread Kai-Heng Feng
Thanks for your test! I'll backport this patch to Ubuntu Xenial's kernel. >From the log, I think your machine is preloaded with Ubuntu, right? It should come with TLP installed. TLP only enables runtime PM when power cord is unplugged, those "bad" should become "good" once the laptop run on

[Bug 1672439] Re: No C-State Deeper than C3 utilized by Kaby Lake 7820HQ in Precision 5520

2017-03-14 Thread Carl Mueller
Autotune with powertop works fine. No interference. Still showing heavy usage of C10 state when idling :) :) I think this is a worthy path to incorporate for us 5520 users. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1672439] Re: No C-State Deeper than C3 utilized by Kaby Lake 7820HQ in Precision 5520

2017-03-14 Thread Carl Mueller
However, I notcied powertop is now not automatically choosing to adjust many of the bad parameters to good (not sure if that is related...). Most of the PCI devices are not set to Bad when previously they were automatically at Good. Bad Enable SATA link power management for host0

[Bug 1672439] Re: No C-State Deeper than C3 utilized by Kaby Lake 7820HQ in Precision 5520

2017-03-14 Thread Carl Mueller
Also trying to run turbostat: sudo turbostat --debug WARNING: turbostat not found for kernel 4.4.0-68 You may need to install the following packages for this specific kernel: linux-tools-4.4.0-68-generic linux-cloud-tools-4.4.0-68-generic You may also want to install one of the

[Bug 1672439] Re: No C-State Deeper than C3 utilized by Kaby Lake 7820HQ in Precision 5520

2017-03-14 Thread Carl Mueller
Okay. Right away I notice a difference with the program i7z: Cpu speed from cpuinfo 2875.00Mhz cpuinfo might be wrong if cpufreq is enabled. To guess correctly try estimating via tsc Linux's inbuilt cpu_khz code emulated now True Frequency (without accounting Turbo) 2895 MHz CPU Multiplier 29x

[Bug 1672439] Re: No C-State Deeper than C3 utilized by Kaby Lake 7820HQ in Precision 5520

2017-03-14 Thread Carl Mueller
sudo powertop (idel stats) Package | Core|CPU 0 CPU 4 POLL0.0%| POLL0.0%| POLL0.0%0.0 ms 0.1% 3.1 ms C1E-SKL 0.5%| C1E-SKL 0.2%| C1E-SKL 0.4%0.6 ms 0.0% 0.1 ms C3-SKL 0.2%

[Bug 1672439] Re: No C-State Deeper than C3 utilized by Kaby Lake 7820HQ in Precision 5520

2017-03-14 Thread Carl Mueller
Just an FYI, I do see this warning every time I've tried to build a kernel on my 5520. Not sure if this is an issue. : Unable to find an initial ram disk that I know how to handle. Will not try to make an initrd. -- You received this bug notification because you are a member of Ubuntu Bugs,

[Bug 1672439] Re: No C-State Deeper than C3 utilized by Kaby Lake 7820HQ in Precision 5520

2017-03-14 Thread Carl Mueller
Should I install all four .deb packages in the link you provided? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1672439 Title: No C-State Deeper than C3 utilized by Kaby Lake 7820HQ in Precision

[Bug 1672439] Re: No C-State Deeper than C3 utilized by Kaby Lake 7820HQ in Precision 5520

2017-03-14 Thread Carl Mueller
Okay. I'll try it out. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1672439 Title: No C-State Deeper than C3 utilized by Kaby Lake 7820HQ in Precision 5520 To manage notifications about this

[Bug 1672439] Re: No C-State Deeper than C3 utilized by Kaby Lake 7820HQ in Precision 5520

2017-03-14 Thread Kai-Heng Feng
No, that's why I built a slightly newer kernel, 4.4.0-68, so it won't mess with the current release kernel, 4.4.0-66. It's okay if don't want to test it, I already tested it on Precision 5520 at my hand. The problem lies here is, 5520 has several different configs, I want to make sure the patch

[Bug 1672439] Re: No C-State Deeper than C3 utilized by Kaby Lake 7820HQ in Precision 5520

2017-03-14 Thread Carl Mueller
@Kai-Heng Feng, What are the odds of this backport patch being included with the next update from Canonical for 16.04. Since your recommended kernel is 4.4.0-68 do you think it will arrive as part of the regular release schedule? I can report if the patch worked when it arrives. As much as I love

[Bug 1672439] Re: No C-State Deeper than C3 utilized by Kaby Lake 7820HQ in Precision 5520

2017-03-14 Thread Kai-Heng Feng
I tested on an KBL laptop and it did have the issue. Backport a patch can make the machine idle to C10. commit 3ce093d4de753d6c92cc09366e29d0618a62f542 Author: Len Brown Date: Wed Apr 6 17:00:59 2016 -0400 intel_idle: Add KBL support KBL is similar to SKL

[Bug 1672439] Re: No C-State Deeper than C3 utilized by Kaby Lake 7820HQ in Precision 5520

2017-03-13 Thread Joseph Salisbury
Did this issue start happening after an update/upgrade? Was there a prior kernel version where you were not having this particular problem? Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v4.11

[Bug 1672439] Re: No C-State Deeper than C3 utilized by Kaby Lake 7820HQ in Precision 5520

2017-03-13 Thread Carl Mueller
~$ sudo i7z sudo i7z i7z DEBUG: i7z version: svn-r93-(27-MAY-2013) i7z DEBUG: Found Intel Processor i7z DEBUG:Stepping 9 i7z DEBUG:Model e i7z DEBUG:Family 6 i7z DEBUG:Processor Type 0 i7z DEBUG:Extended Model 9 i7z DEBUG: msr = Model Specific Register i7z DEBUG: Unknown

[Bug 1672439] Re: No C-State Deeper than C3 utilized by Kaby Lake 7820HQ in Precision 5520

2017-03-13 Thread Carl Mueller
Let me know what other information I could supply. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1672439 Title: No C-State Deeper than C3 utilized by Kaby Lake 7820HQ in Precision 5520 To manage

[Bug 1672439] Re: No C-State Deeper than C3 utilized by Kaby Lake 7820HQ in Precision 5520

2017-03-13 Thread Carl Mueller
Installed: intel-microcode_3.20161104.1~deb8u1~bpo7+1_amd6 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1672439 Title: No C-State Deeper than C3 utilized by Kaby Lake 7820HQ in Precision 5520

[Bug 1672439] Re: No C-State Deeper than C3 utilized by Kaby Lake 7820HQ in Precision 5520

2017-03-13 Thread Carl Mueller
~$ dmesg |grep idle [0.00] clocksource: refined-jiffies: mask: 0x max_cycles: 0x, max_idle_ns: 7645519600211568 ns [0.00] clocksource: hpet: mask: 0x max_cycles: 0x, max_idle_ns: 79635855245 ns [0.044934] process: using mwait in idle threads [

[Bug 1672439] Re: No C-State Deeper than C3 utilized by Kaby Lake 7820HQ in Precision 5520

2017-03-13 Thread Carl Mueller
~$ sudo powertop (Idle Stats tab) Package | Core|CPU 0 CPU 4 POLL0.0%| POLL0.0%| POLL0.0%0.0 ms 0.0% 0.0 ms C1 0.8%| C1 0.3%| C1 0.3%0.2 ms 0.4% 0.6 ms C2

[Bug 1672439] Re: No C-State Deeper than C3 utilized by Kaby Lake 7820HQ in Precision 5520

2017-03-13 Thread Carl Mueller
~$ sudo turbostat cpu0: Guessing tjMax 100 C, Please use -T to specify CPU Avg_MHz Busy% Bzy_MHz TSC_MHz - 1006.6315002904 0 1097.2715002904 4 805.3315012904 1 1338.8514982904 5 93

[Bug 1672439] Re: No C-State Deeper than C3 utilized by Kaby Lake 7820HQ in Precision 5520

2017-03-13 Thread Carl Mueller
cat /sys/module/intel_idle/parameters/max_cstate ~$ cat /sys/module/intel_idle/parameters/max_cstate 9 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1672439 Title: No C-State Deeper than C3