[Kernel-packages] [Bug 1797802] Re: Erratic behavior of CPU frequency control under load

2018-11-15 Thread dimahetman
This is of course ridiculous, but I have an inverse problem I have a big
problem with thermal throttling In topic #1598394.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1797802

Title:
  Erratic behavior of CPU frequency control under load

Status in linux package in Ubuntu:
  Triaged

Bug description:
  I noticed that sometimes my Ubuntu 18.10 system feels sluggish. The
  other times everything works fine. I don't know what triggers this
  weird state. Suspend / resume? Maybe.

  At first I thought this was maybe just a "perception issue", but then
  when the sluggishness happened again, I fired up i7z and it looks that
  CPU frequency almost never got over ~1600 MHz, But my CPU is perfectly
  capable of going up to 4000 MHz!

  I tried to fix it by setting 
  echo 80 > /sys/devices/system/cpu/intel_pstate/min_perf_pct
  echo 80 > /sys/devices/system/cpu/intel_pstate/max_perf_pct

  I hoped I would force the CPU into almost max performance state this
  way. And indeed, once I ran these commands, i7z showed steady 3100+
  MHz on all cores.

  Then something weird happened - when I run some mild load on the CPU,
  like just starting the IDE, during the startup the frequency **
  dropped back to about 800-1600 MHz ** and returned to 3100 MHz after
  the load was gone (IDE loaded).

  The CPU core temperatures shown by sensors / i7z are ok and typically
  at about 40-50 C when this slowdown happens, so this doesn't look like
  thermal throttling.

  Any ideas?

  ProblemType: Bug
  DistroRelease: Ubuntu 18.10
  Package: linux-image-4.18.0-10-generic 4.18.0-10.11
  ProcVersionSignature: Ubuntu 4.18.0-10.11-generic 4.18.12
  Uname: Linux 4.18.0-10-generic x86_64
  ApportVersion: 2.20.10-0ubuntu13
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  pkolaczk   3281 F pulseaudio
   /dev/snd/pcmC0D0c:   pkolaczk   3281 F...m pulseaudio
  CurrentDesktop: ubuntu:GNOME
  Date: Sun Oct 14 22:16:50 2018
  DistributionChannelDescriptor:
   # This is a distribution channel descriptor
   # For more information see 
http://wiki.ubuntu.com/DistributionChannelDescriptor
   canonical-oem-somerville-xenial-amd64-20160624-2
  HibernationDevice: RESUME=UUID=4836842e-0116-43c4-98b4-7a56427f81f1
  InstallationDate: Installed on 2017-04-12 (549 days ago)
  InstallationMedia: Ubuntu 16.04 "Xenial" - Build amd64 LIVE Binary 
20160624-10:47
  MachineType: Dell Inc. Precision 5520
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=pl_PL.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.18.0-10-generic 
root=UUID=7f76b1f0-8fef-41cc-86a2-99e554cb4d40 ro acpi_rev_override quiet 
splash iwlwifi.power_save=1 crashkernel=384M-:128M crashkernel=384M-:128M 
vt.handoff=1
  RelatedPackageVersions:
   linux-restricted-modules-4.18.0-10-generic N/A
   linux-backports-modules-4.18.0-10-generic  N/A
   linux-firmware 1.175
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 07/24/2018
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 1.11.0
  dmi.board.name: 06X96V
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 10
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvr1.11.0:bd07/24/2018:svnDellInc.:pnPrecision5520:pvr:rvnDellInc.:rn06X96V:rvrA00:cvnDellInc.:ct10:cvr:
  dmi.product.family: Precision
  dmi.product.name: Precision 5520
  dmi.product.sku: 07BF
  dmi.sys.vendor: Dell Inc.

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1598394] Re: intel_pstate has too aggressive frequency selection

2018-11-15 Thread dimahetman
I recently bought a new Lenovo IdeaPad 520-15IKB 81BF005JRK laptop and 
installed Ubuntu (18.10 downloaded a few days ago, during install, updates were 
installed). But I cannot work with it as immediately after turning on the 
laptop, the processor (i8520u) on all cores operates at maximum frequencies 
(over 3 GHz) and goes into hard trotting with pauses of 20-30 seconds. I have 
some time open the console, but I can not execute any command. It's owful.
I cann't install cpufrequtils, cpupower  or  other software

 I tried to boot from a live-usb (there are no such problems) and edit 
/boot/config-* :
#CONFIG_CPU_FREQ_GOV_PERFORMANCE
CONFIG_CPU_FREQ_GOV_POWERSAVE=y

the governor was established to POWERSAVE but the laptop still works at the 
maximum frequency.
may be I can Add `intel_pstate=disable` to `GRUB_CMDLINE_LINUX_DEFAULT` in 
/etc/default/grub 
but I don't know how update-grub at GPT UEFI partition.

It even sometimes seems to me that with each new start in such a boost
it slows down more and more, I'm afraid, as it were, that it does not
kill the processor on a new computer. After the first installation, I
didn’t immediately notice trotting and left the computer for the night.
And now it's just not possible to work with him

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1598394

Title:
  intel_pstate has too aggressive frequency selection

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I was recently upgrading from Ubuntu Gnome 15.10 to 16.04 on my
  ThinkPad. Before the frequency-scaling chose the minimum possible
  frequency when the system was on low load. Now, when I allow the CPU
  to choose anything between the lowest and highest possible frequency,
  it sticks to the highest frequency for 90% of time and only
  occasionally drops to the low frequency.

  I can confirm (htop) that my system load is practically zero. Also the
  CPU Power Manager Applet from Gnome Shell works well, because I can
  force low frequency by reducing the maximum allowed frequency and can
  also switch off Turbo Boost.

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: linux-generic 4.4.0.28.30
  ProcVersionSignature: Ubuntu 4.4.0-28.47-generic 4.4.13
  Uname: Linux 4.4.0-28-generic x86_64
  ApportVersion: 2.20.1-0ubuntu2.1
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  timeshifter   1768 F pulseaudio
   /dev/snd/controlC1:  timeshifter   1768 F pulseaudio
  CurrentDesktop: GNOME
  Date: Sat Jul  2 12:11:42 2016
  EcryptfsInUse: Yes
  HibernationDevice: RESUME=UUID=87cca434-274f-4464-9598-97fd7a1338fe
  InstallationDate: Installed on 2016-03-19 (104 days ago)
  InstallationMedia: Ubuntu-GNOME 15.10 "Wily Werewolf" - Release amd64 
(20151021)
  MachineType: LENOVO 20C0003SFR
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=de_DE.UTF-8
   SHELL=/usr/bin/zsh
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-28-generic 
root=UUID=e52c99ea-9646-4e8a-b8ad-c47b175ac5a3 ro quiet splash vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-4.4.0-28-generic N/A
   linux-backports-modules-4.4.0-28-generic  N/A
   linux-firmware1.157.1
  SourcePackage: linux
  UpgradeStatus: Upgraded to xenial on 2016-07-02 (0 days ago)
  dmi.bios.date: 11/07/2014
  dmi.bios.vendor: LENOVO
  dmi.bios.version: B0ET24WW (1.11 )
  dmi.board.asset.tag: Not Available
  dmi.board.name: 20C0003SFR
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0E50510 WIN
  dmi.chassis.asset.tag: No Asset Information
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Not Available
  dmi.modalias: 
dmi:bvnLENOVO:bvrB0ET24WW(1.11):bd11/07/2014:svnLENOVO:pn20C0003SFR:pvrThinkPadS1Yoga:rvnLENOVO:rn20C0003SFR:rvrSDK0E50510WIN:cvnLENOVO:ct10:cvrNotAvailable:
  dmi.product.name: 20C0003SFR
  dmi.product.version: ThinkPad S1 Yoga
  dmi.sys.vendor: LENOVO

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp