Kworker And You

Write tutorials and howtos in here
There are more tutorials here http://community.linuxmint.com/tutorial/welcome
Forum rules
Do not start a support topic here please. Before you post please read this

Kworker And You

Postby red-e-made on Mon Jan 07, 2013 11:54 am

So, not too long ago I started wondering why my laptop sounds like a hairdryer at full power if I have so much as the browser open. I would open system monitor but could find no processes that would account for whatever was causing this. Funnily enough, after adding a top processes entry to my Conky, I found that a thing called "kworker" was eating anywhere from 25% to 50% of my CPU at any given time.

My first thought, of course, was "what the hell is kworker?" Googling around, I found that kworker controls the ACPI wakeup signals from the BIOS. I have no idea what this meant, but I did discover that this little bastard was gobbling up CPU across many distros, from Ubuntu to Arch to OpenSUSE and yes, to Mint as well. This worried me, and sure enough, I found it is indeed an upstream problem.

As you can see from the above links, there are numerous possible solutions to this problem. Some went back to the 3.5.0-12 kernel (something I'm personally not prepared to do), others went into /sys/firmware/acpi/interrupts and disabled gpe18 with echo (had no effect on me). These two were the most common solutions I found popping up, anyway.

Now, for me, running Mint 14 Cinnamon, I found the simplest, most elegant solution was to simply go into BIOS (in my case, restart>F10) and reset the default settings. That's it. The machine restarted, and everything ran smooth as silk, with kworker rendered nothing more than a soft breeze through my CPU (i.e., less than one hundredth of one percent).

At first this puzzled me - I get that kworker is directly related to BIOS, but the only changes I ever made to BIOS was changing the boot device order - but to be honest, to me it's like aspirin. I don't need to know why or how it works; just that it does.

Anyway, since I keep seeing "what is up with this kworker thingy eating 90% of my CPU???" question everywhere, I thought I'd put together some resources and suggestions in one post. Hope it might be of use to some of you!
User avatar
red-e-made
Level 5
Level 5
 
Posts: 525
Joined: Sat Jul 14, 2007 11:31 am

Linux Mint is funded by ads and donations.
 

Re: Kworker And You

Postby DrHu on Mon Jan 07, 2013 3:16 pm

Strange indeed if only boot order, however default setting for a BIOS will also affect bus timing, caching and a few other items

Timing would be my guess for the application within the OS..
User avatar
DrHu
Level 16
Level 16
 
Posts: 6694
Joined: Wed Jun 17, 2009 8:20 pm

Re: Kworker And You

Postby red-e-made on Mon Jan 07, 2013 9:46 pm

DrHu wrote:Strange indeed if only boot order, however default setting for a BIOS will also affect bus timing, caching and a few other items

Timing would be my guess for the application within the OS..


There were indications in this ongoing bug report - itself with some good solutions - that it often is connected to Network Manager. In my case, I can testify that wireless went out at the time kworker went berserk on me, and I was completely unable to enable wireless. Thank God for mobile broadband USBs when that happens.
User avatar
red-e-made
Level 5
Level 5
 
Posts: 525
Joined: Sat Jul 14, 2007 11:31 am

Re: Kworker And You

Postby revdjenk on Sat Feb 02, 2013 11:32 am

red-e-made

Thank you!!
I have caused puzzled reactions from many in my search for a solution, and I have tried plenty! And since this has been an on-going problem through Mint 12 & 13, it really caused me to wonder if there was something wrong with THIS machine. Three other laptops running Mint13, two of them of the same vendor, Lenovo, were not exhibiting this "kworker" debacle!

This is day two since I did the suggested BIOS default reset, and all appears well...so far.

God Bless
Doug
Malachi 3:10 NRSV
...says the LORD of hosts... I will not open...windows...for you...

Linux user since 2001 pda; 2006 lappy
revdjenk
Level 4
Level 4
 
Posts: 339
Joined: Sat Nov 15, 2008 2:51 pm


Return to Tutorials / Howtos

Who is online

Users browsing this forum: No registered users and 10 guests