You are not logged in.

#1 2013-09-28 15:26:30

beetlejuice7
Member
Registered: 2012-02-28
Posts: 49

High power consumption after update

I recently updated all my packages (it had been a few weeks since I had done this last) and I've noticed my power consumption has jumped dramatically.  Before I would average around 13.0W and now the baseline seems to be about 18.5W.  I use laptop-mode-tools.

I'm happy to post the output of any command but didn't want to spam as I'm not sure what would be valuable.

I have looked at powertop, but without being able to compare to the past I'm not sure how to diagnose this.  Any suggestions or pointers would be greatly appreciated.

I have a Thinkpad T410: Linux alpha 3.11.2-1-ARCH #1 SMP PREEMPT Fri Sep 27 07:35:36 CEST 2013 x86_64 GNU/Linux

Offline

#2 2013-09-28 16:38:20

donniezazen
Member
From: Salt Lake City
Registered: 2011-06-24
Posts: 671
Website

Re: High power consumption after update

Have you seen anything unusual in powertop or htop? Something being run at 100% or higher CPU or MEM usage. Have you noticed any triggers? Have you read dmesg if there are some repeated messages?

Offline

#3 2013-09-28 18:32:52

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: High power consumption after update

Maybe it's the kernel.

Phoronix has posted time and again about Linux power consumption, and here's the latest article:

http://www.phoronix.com/scan.php?page=n … px=MTQzMjM

As you can see, some laptops started consuming more power with the latest kernels.

The best way to rule out the kernel would be to downgrade to your previous kernel and compare the power usage.

Offline

#4 2013-09-28 20:08:30

beetlejuice7
Member
Registered: 2012-02-28
Posts: 49

Re: High power consumption after update

Thanks for the replies.  Nothing unusual with top.  As for powertop, I am less familiar with what to look for.  If I had something from before I upgraded I might be able to "diff" them.

Looks like `hrtimer_wakeup` has 72 events/s, followed by snd_hda_intel and od_dbs_timer.  Again, not sure if this is abnormal.  I'm more inclined to believe its the kernel but wondered if there was a way to tell, and anything I could do about it.

Offline

#5 2013-09-29 06:43:47

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: High power consumption after update

As I said earlier, to rule out the kernel, you can try downgrading it. Or try a Live CD with a different kernel (but that would introduce a lot of other factors,that it will be difficult to ascertain the exact cause).

Offline

#6 2013-09-29 17:03:02

beetlejuice7
Member
Registered: 2012-02-28
Posts: 49

Re: High power consumption after update

It's possible I suppose that it is related to audio codec power management.  After I upgraded I had to add myself to the audio group to get sound working again.  I also noticed snd_hda_intel is always pretty high up in powertop.

Finally, I use laptop-mode-tools, and it appears audio codec power mgmt isn't working by default.  I can manually select it to turn it on.  I also saw this output in journalctl:

Sep 29 11:57:17 alpha slim[1048]: [001:307] F->C: ["getdevicestate","15","0",["__default_device","HDA Intel MID, CX20585 Analog - Default Audio Device","HDA Intel MID, CX20585 Analog - Default Audio Device","HDA Intel MID, CX20585 Analog - Front speakers","HDA Intel MID, CX20585 Analog - 4.0 Surround output to Front and Rear speakers","HDA Intel MID, CX20585 Analog - 4.1 Surround output to Front, Rear and Subwoofer speakers","HDA Intel MID, CX20585 Analog - 5.0 Surround output to Front, Center and Rear speakers","HDA Intel MID, CX20585 Analog - 5.1 Surround output to Front, Center, Rear and Subwoofer speakers","HDA Intel MID, CX20585 Analog - 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers"],"0",["__default_device","HDA Intel MID, CX20585 Analog - Default Audio Device","HDA Intel MID, CX20585 Analog - Default Audio Device","HDA Intel MID, CX20585 Analog - Front speakers","HDA Intel MID, CX20585 Analog - 4.0 Surround output to Front and Rear speakers","HDA Intel MID, CX20585 Analog - 4.1 Surround output to Front, Rear and Subwoofer speakers","HDA Intel MID, CX20585 Analog - 5.0 Surround output to Front, Center and Rear speakers","HDA Intel MID, CX20585 Analog - 5.1 Surround output to Front, Center, Rear and Subwoofer speakers","HDA Intel MID, CX20585 Analog - 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers","HDA Intel MID, HDMI 0 - HDMI Audio Output","HDA Intel MID, HDMI 1 - HDMI Audio Output","HDA Intel MID, HDMI 2 - HDMI Audio Output"],"-1",[]]
Sep 29 11:57:17 alpha slim[1048]: [001:307] F->C: ["getdevicestate","15","0",["__default_device","HDA Intel MID, CX20585 Analog - Default Audio Device","HDA Intel MID, CX20585 Analog - Default Audio Device","HDA Intel MID, CX20585 Analog - Front speakers","HDA Intel MID, CX20585 Analog - 4.0 Surround output to Front and Rear speakers","HDA Intel MID, CX20585 Analog - 4.1 Surround output to Front, Rear and Subwoofer speakers","HDA Intel MID, CX20585 Analog - 5.0 Surround output to Front, Center and Rear speakers","HDA Intel MID, CX20585 Analog - 5.1 Surround output to Front, Center, Rear and Subwoofer speakers","HDA Intel MID, CX20585 Analog - 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers"],"0",["__default_device","HDA Intel MID, CX20585 Analog - Default Audio Device","HDA Intel MID, CX20585 Analog - Default Audio Device","HDA Intel MID, CX20585 Analog - Front speakers","HDA Intel MID, CX20585 Analog - 4.0 Surround output to Front and Rear speakers","HDA Intel MID, CX20585 Analog - 4.1 Surround output to Front, Rear and Subwoofer speakers","HDA Intel MID, CX20585 Analog - 5.0 Surround output to Front, Center and Rear speakers","HDA Intel MID, CX20585 Analog - 5.1 Surround output to Front, Center, Rear and Subwoofer speakers","HDA Intel MID, CX20585 Analog - 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers","HDA Intel MID, HDMI 0 - HDMI Audio Output","HDA Intel MID, HDMI 1 - HDMI Audio Output","HDA Intel MID, HDMI 2 - HDMI Audio Output"],"-1",[]]
Sep 29 11:57:17 alpha slim[1048]: [001:248] F->C: ["mf","mf4.6","4.6.3.0",2,{"audioCodecs":[[103,"ISAC",1,0,16000],[104,"ISAC",1,0,32000],[9,"G722",1,64000,16000],[102,"ILBC",1,13300,8000],[0,"PCMU",1,64000,8000],[8,"PCMA",1,64000,8000],[107,"CN",1,0,48000],[106,"CN",1,0,32000],[105,"CN",1,0,16000],[13,"CN",1,0,8000],[127,"red",1,0,8000],[126,"telephone-event",1,0,8000]],"audioRtpHdrExts":[{"id":1,"uri":"urn:ietf:params:rtp-hdrext:ssrc-audio-level"}],"camDeviceName":"Unknown Camera","caps":7,"cpuAdaptVersion":1,"cpuArchitecture":1,"cpuCacheSize":3145728,"cpuFamily":6,"cpuFlags":["sse2","ssse3","sse4_1","sse4_2"],"cpuHasSSE2":true,"cpuModel":37,"cpuSpeed":2667,"cpuStepping":5,"cpuVendor":"GenuineIntel","cpus":4,"cpusPhysical":2,"cryptoRandom":"Wh5rpjH5WwxrggyWxtWgghIM","cryptoSuites":["AES_CM_128_HMAC_SHA1_80","AES_CM_128_HMAC_SHA1_32"],"dataChannelVersion":1,"effectsVersion":10,"gpuDescription":"","gpuDeviceId":0,"gpuDeviceName":"","gpuDriver":"","gpuDriverVersion":"","gpuVendorId":0,"machineModel":"Not available","remotingAssistanceAllowed":0,"remotingVersion":1,"renderer":2,"rtcpMux":true,"screencast":2,"screencastLocalPreview":1,"supportsConcurrentSessions":true,"transports":["i","gice"],"videoCodecs":[[99,"H264-SVC",640,360,30],[97,"H264",640,360,30],[98,"H263",640,360,30]],"videoRtpHdrExts":[{"id":2,"uri":"urn:ietf:params:rtp-hdrext:toffset"},{"id":3,"uri":"http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time"}]}]
Sep 29 11:57:17 alpha slim[1048]: [001:206] F->C: ["mf","mf4.6","4.6.3.0",2,{"audioCodecs":[[103,"ISAC",1,0,16000],[104,"ISAC",1,0,32000],[9,"G722",1,64000,16000],[102,"ILBC",1,13300,8000],[0,"PCMU",1,64000,8000],[8,"PCMA",1,64000,8000],[107,"CN",1,0,48000],[106,"CN",1,0,32000],[105,"CN",1,0,16000],[13,"CN",1,0,8000],[127,"red",1,0,8000],[126,"telephone-event",1,0,8000]],"audioRtpHdrExts":[{"id":1,"uri":"urn:ietf:params:rtp-hdrext:ssrc-audio-level"}],"camDeviceName":"Unknown Camera","caps":7,"cpuAdaptVersion":1,"cpuArchitecture":1,"cpuCacheSize":3145728,"cpuFamily":6,"cpuFlags":["sse2","ssse3","sse4_1","sse4_2"],"cpuHasSSE2":true,"cpuModel":37,"cpuSpeed":2667,"cpuStepping":5,"cpuVendor":"GenuineIntel","cpus":4,"cpusPhysical":2,"cryptoRandom":"E8HMoakvNyHpWl2HL5jLZBgC","cryptoSuites":["AES_CM_128_HMAC_SHA1_80","AES_CM_128_HMAC_SHA1_32"],"dataChannelVersion":1,"effectsVersion":10,"gpuDescription":"","gpuDeviceId":0,"gpuDeviceName":"","gpuDriver":"","gpuDriverVersion":"","gpuVendorId":0,"machineModel":"Not available","remotingAssistanceAllowed":0,"remotingVersion":1,"renderer":2,"rtcpMux":true,"screencast":2,"screencastLocalPreview":1,"supportsConcurrentSessions":true,"transports":["i","gice"],"videoCodecs":[[99,"H264-SVC",640,360,30],[97,"H264",640,360,30],[98,"H263",640,360,30]],"videoRtpHdrExts":[{"id":2,"uri":"urn:ietf:params:rtp-hdrext:toffset"},{"id":3,"uri":"http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time"}]}]
Sep 29 11:57:17 alpha slim[1048]: [2571:2594:0929/115717:ERROR:audio_manager_base.cc(422)] Not implemented reached in virtual std::string media::AudioManagerBase::GetDefaultOutputDeviceID()

Offline

Board footer

Powered by FluxBB