← Back to team overview

kernel-packages team mailing list archive

[Bug 1264346] Re: machine very slow with ondemand governor

 

Running frequency_governors_test sheds some light on this bug because it
exposes this error:

ERROR    On demand performance vs maximum of 380.0% is not within 10.0%
margin

# /usr/lib/checkbox/bin/frequency_governors_test
2013-12-26 18:15:54 INFO     System Capabilites:
2013-12-26 18:15:54 INFO     -------------------------------------------------
2013-12-26 18:15:54 INFO     System has 4 cpus
2013-12-26 18:15:54 INFO     Supported CPU Frequencies: 
2013-12-26 18:15:54 INFO         2801 MHz
2013-12-26 18:15:54 INFO         2800 MHz
2013-12-26 18:15:54 INFO         2600 MHz
2013-12-26 18:15:54 INFO         2400 MHz
2013-12-26 18:15:54 INFO         2200 MHz
2013-12-26 18:15:54 INFO         2000 MHz
2013-12-26 18:15:54 INFO         1800 MHz
2013-12-26 18:15:54 INFO         1600 MHz
2013-12-26 18:15:54 INFO         1400 MHz
2013-12-26 18:15:54 INFO         1200 MHz
2013-12-26 18:15:54 INFO         1000 MHz
2013-12-26 18:15:54 INFO         800 MHz
2013-12-26 18:15:54 INFO     Supported Governors: 
2013-12-26 18:15:54 INFO         conservative
2013-12-26 18:15:54 INFO         ondemand
2013-12-26 18:15:54 INFO         userspace
2013-12-26 18:15:54 INFO         powersave
2013-12-26 18:15:54 INFO         performance
2013-12-26 18:15:54 INFO     Current governors:
2013-12-26 18:15:54 INFO         cpu0: conservative
2013-12-26 18:15:54 INFO         cpu1: conservative
2013-12-26 18:15:54 INFO         cpu2: conservative
2013-12-26 18:15:54 INFO         cpu3: conservative
2013-12-26 18:15:54 INFO     Beginning Frequency Governors Testing
2013-12-26 18:15:54 INFO     Userspace Governor Test:
2013-12-26 18:15:54 INFO     -------------------------------------------------
2013-12-26 18:15:54 INFO     Setting governor to userspace
2013-12-26 18:16:25 INFO     Setting CPU frequency to 800 MHz
2013-12-26 18:16:25 INFO     Running CPU load test...
2013-12-26 18:16:25 INFO     pid 4613's current affinity list: 0-3
2013-12-26 18:16:25 INFO     pid 4613's new affinity list: 0
2013-12-26 18:16:25 INFO     Minimum frequency load test time: 0.23
2013-12-26 18:16:25 INFO     Setting CPU frequency to 2801 MHz
2013-12-26 18:16:25 INFO     Running CPU load test...
2013-12-26 18:16:25 INFO     pid 4613's current affinity list: 0
2013-12-26 18:16:25 INFO     pid 4613's new affinity list: 0
2013-12-26 18:16:25 INFO     Maximum frequency load test time: 0.05
2013-12-26 18:16:25 INFO     Found ida flag, increasing expected speedup by 8.0%
2013-12-26 18:16:25 INFO     CPU Frequency Speed Up: 3.81
2013-12-26 18:16:25 INFO     Measured Speed Up: 4.60
2013-12-26 18:16:25 INFO     Percentage Difference 20.9%
2013-12-26 18:16:25 ERROR    Measured speedup vs expected speedup is 20.9% and is not within 10.0% margin.
2013-12-26 18:16:25 INFO     On Demand Governor Test:
2013-12-26 18:16:25 INFO     -------------------------------------------------
2013-12-26 18:16:25 INFO     Setting governor to ondemand
2013-12-26 18:16:25 INFO     Waiting 5 seconds...
2013-12-26 18:16:30 INFO     Done.
2013-12-26 18:16:30 INFO     Running CPU load test...
2013-12-26 18:16:30 INFO     pid 4613's current affinity list: 0
2013-12-26 18:16:30 INFO     pid 4613's new affinity list: 0
2013-12-26 18:16:31 INFO     On Demand load test time: 0.24
2013-12-26 18:16:31 INFO     Percentage Difference vs. maximum frequency: 380.0%
2013-12-26 18:16:31 ERROR    On demand performance vs maximum of 380.0% is not within 10.0% margin
2013-12-26 18:16:31 INFO     Waiting 5 seconds...
2013-12-26 18:16:36 INFO     Done.
2013-12-26 18:16:36 INFO     Performance Governor Test:
2013-12-26 18:16:36 INFO     -------------------------------------------------
2013-12-26 18:16:36 INFO     Setting governor to performance
2013-12-26 18:16:36 INFO     Running CPU load test...
2013-12-26 18:16:36 INFO     pid 4613's current affinity list: 0
2013-12-26 18:16:36 INFO     pid 4613's new affinity list: 0
2013-12-26 18:16:36 INFO     Performance load test time: 0.05
2013-12-26 18:16:36 INFO     Percentage Difference vs. maximum frequency: 0.0%
2013-12-26 18:16:36 INFO     Conservative Governor Test:
2013-12-26 18:16:36 INFO     -------------------------------------------------
2013-12-26 18:16:36 INFO     Setting governor to conservative
2013-12-26 18:16:36 INFO     Waiting 10 seconds...
2013-12-26 18:16:46 INFO     Done.
2013-12-26 18:16:46 INFO     Running CPU load test...
2013-12-26 18:16:46 INFO     pid 4613's current affinity list: 0
2013-12-26 18:16:46 INFO     pid 4613's new affinity list: 0
2013-12-26 18:16:47 ERROR    Could not repeat load test times within 5.0%
2013-12-26 18:16:47 ERROR    No Conservative load test time available.
2013-12-26 18:16:47 ERROR    Not enough timing data to calculate speed differences.
2013-12-26 18:16:47 INFO     Restoring original governor to conservative

-- 
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/1264346

Title:
  machine very slow with ondemand governor

Status in “linux” package in Ubuntu:
  New

Bug description:
  On my laptop with this CPU:

  model name      : Intel(R) Core(TM) i7-2640M CPU @ 2.80GHz

  I am using the ondemand governor:

  $ cat /sys/devices/system/cpu/c*/cpufreq/scaling_governor 
  ondemand
  ondemand
  ondemand
  ondemand

  and the system is very slow to answer some inputs:
   - the text output pauses for several seconds while I am typing this text
   - trying to scroll a firefox window takes several seconds
   - switching tabs in firefox takes several seconds
   - ...

  Setting the governor to "performance" fixes this problem.

  Note that this bug does not reveal itself immediately after boot.  It
  takes a suspend/resume to show up.

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: linux-image-3.11.0-15-generic 3.11.0-15.23
  ProcVersionSignature: Ubuntu 3.11.0-15.23-generic 3.11.10
  Uname: Linux 3.11.0-15-generic x86_64
  NonfreeKernelModules: wl
  ApportVersion: 2.12.5-0ubuntu2.2
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  bonnaudl   2373 F.... pulseaudio
  Date: Thu Dec 26 18:17:23 2013
  EcryptfsInUse: Yes
  HibernationDevice: RESUME=UUID=cf81afe7-8427-45fa-9149-c11d060a5a26
  InstallationDate: Installed on 2013-04-27 (243 days ago)
  InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
  MachineType: Dell Inc. Latitude E6520
  MarkForUpload: True
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.11.0-15-generic root=UUID=749a9901-bdd3-4b5f-b80e-69414667e058 ro quiet splash vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-3.11.0-15-generic N/A
   linux-backports-modules-3.11.0-15-generic  N/A
   linux-firmware                             1.116
  SourcePackage: linux
  UpgradeStatus: Upgraded to saucy on 2013-10-01 (86 days ago)
  dmi.bios.date: 02/28/2012
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A12
  dmi.board.name: 0NVF5K
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A01
  dmi.chassis.type: 9
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: dmi:bvnDellInc.:bvrA12:bd02/28/2012:svnDellInc.:pnLatitudeE6520:pvr01:rvnDellInc.:rn0NVF5K:rvrA01:cvnDellInc.:ct9:cvr:
  dmi.product.name: Latitude E6520
  dmi.product.version: 01
  dmi.sys.vendor: Dell Inc.

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


References