kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #135424
[Bug 1188647] Re: Please change intel_pstate default to disable
@Phillip: I would like to get to the root of your issue, but I don't
know that this is the place to do it.
What is your processor? Mine is: Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz
What kernel version do you run? I am running 4.3RC1 with a modified intel_pstate driver.
If I start a CPU burning process on CPU 7 I get:
doug@s15:~/temp$ grep MHz /proc/cpuinfo
cpu MHz : 3699.757
cpu MHz : 3627.640
cpu MHz : 3684.351
cpu MHz : 3800.429
cpu MHz : 3524.710
cpu MHz : 3522.187
cpu MHz : 3540.250
cpu MHz : 3799.898
Then if I set an upper limit:
echo "75" | sudo tee /sys/devices/system/cpu/intel_pstate/max_perf_pct
I get:
doug@s15:~/temp$ grep MHz /proc/cpuinfo
cpu MHz : 2799.953
cpu MHz : 2799.953
cpu MHz : 2799.953
cpu MHz : 2799.953
cpu MHz : 2853.078
cpu MHz : 2799.953
cpu MHz : 2799.953
cpu MHz : 2799.953
as expected.
As a sanity check, my CPU prints a time message occasionally, so we would expect it to have a bigger gap between prints now:
doug@s15:~/c$ taskset -c 7 ./test1
Elapsed: 174.06 s. Delta: 174.06 s. Ave (10): 17.41 s. user cpu: 173.88 s. sys cpu: 0.06 s.
Elapsed: 348.04 s. Delta: 173.98 s. Ave (10): 34.80 s. user cpu: 347.74 s. sys cpu: 0.06 s.
Elapsed: 557.31 s. Delta: 209.27 s. Ave (10): 55.73 s. user cpu: 556.88 s. sys cpu: 0.06 s.
Elapsed: 792.06 s. Delta: 234.75 s. Ave (10): 79.21 s. user cpu: 791.47 s. sys cpu: 0.07 s.
174 / 235 = 74%
--
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/1188647
Title:
Please change intel_pstate default to disable
Status in linux package in Ubuntu:
Fix Released
Bug description:
3.9 introduced a new default governor on SandyBridge CPUs called
INTEL_PSTATE which, when built in and enabled (the default), removes
all other governors (like our usual default, ondemand). 3.10 extended
this to Ivybridge generation CPUs.
In theory, this isn't an awful thing, as the new Intel pstate governor
should be higher performance and give better power savings. In
theory.
In practice, it drives my CPUs to max frequency nearly constantly,
spins my fans like mad and, somehow, does all of this while also
eating enough CPU time in kernel threads to make my machine choppy,
unresponsive, and unable to do simple things like play videos when I
get off work.
Therefore, I propose that we, for now, toggle intel_pstate to disable
by default (I am using intel_pstate=disable on my command line right
now, with great success), so it's still built in, and people can play
with it, but it's off by default.
ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: linux-image-3.9.0-4-generic 3.9.0-4.9
ProcVersionSignature: Ubuntu 3.9.0-4.9-generic 3.9.4
Uname: Linux 3.9.0-4-generic x86_64
ApportVersion: 2.10.2-0ubuntu1
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC0: adconrad 2574 F.... pulseaudio
CurrentDmesg:
[ 30.633035] init: plymouth-stop pre-start process (2079) terminated with status 1
[ 36.086916] br0: port 1(eth0) entered forwarding state
Date: Fri Jun 7 08:48:56 2013
HibernationDevice: RESUME=UUID=73040efa-baec-458a-8307-3bca07b26c3c
InstallationDate: Installed on 2012-12-09 (179 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Alpha amd64 (20121209)
MachineType: LENOVO 4173LPB
MarkForUpload: True
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.9.0-4-generic root=UUID=2222aad5-ef31-4428-973f-71740fc7cb6a ro intel_pstate=disable quiet splash vt.handoff=7
RelatedPackageVersions:
linux-restricted-modules-3.9.0-4-generic N/A
linux-backports-modules-3.9.0-4-generic N/A
linux-firmware 1.109
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 09/13/2012
dmi.bios.vendor: LENOVO
dmi.bios.version: 8CET55WW (1.35 )
dmi.board.asset.tag: Not Available
dmi.board.name: 4173LPB
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvr8CET55WW(1.35):bd09/13/2012:svnLENOVO:pn4173LPB:pvrThinkPadT420s:rvnLENOVO:rn4173LPB:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 4173LPB
dmi.product.version: ThinkPad T420s
dmi.sys.vendor: LENOVO
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1188647/+subscriptions