I recently upgraded to the Kubuntu Natty Beta 1 and I've been having a lot of issues with this process kworker. At moments it uses almost half my CPU. Also strangely it seems to affect my USB ports since when ever i plug in an USB drive the process kworker goes into hyperdrive, leaving me unable to work.

I have thought about filling a bug but since i haven't even found any reasonable explanation on what kworker is i figured i should first find out.

link|improve this question

50% accept rate
Strange, kworker is running and contributing to the wakeups by 10% but I have no Kubuntu programs installed. Alos Nepomuk isnt installed. – dago Jun 9 '11 at 21:16
from the response of afrazier i think now that it has something to do with the kernel (so the k in kworker is for kernel). so that is why you would also have kworker running on your Ubuntu machine. – davorao Jun 11 '11 at 7:12
feedback

4 Answers

up vote 8 down vote accepted

"kworker" is a placeholder process for kernel worker threads, which perform most of the actual processing for the kernel, especially in cases where there are interrupts, timers, I/O, etc. These typically correspond to the vast majority of any allocated "system" time to running processes. It is not something that can be safely removed from the system in any way, and is completely unrelated to nepomuk or KDE (except in that these programs may make system calls, which may require the kernel to do something).

There were some reports of excessing kworker activity for relatively idle systems starting during 2.6.36 development ( https://lkml.org/lkml/2011/3/29/2 is one example discussion ), and wide reports of confusion and problems with 2.6.38 (although many of these reports include the word "Natty", so I presume these people not to have used any kernel between 2.6.35 (distributed in Ubuntu 10.10) and 2.6.38 (distributed in Ubuntu 11.04).

I've found many reports of something that "fixed" this for one or another user. Most "fixes" seem to be related to updates of the kernel of various sorts. Where the update can be tracked to a specific issue, it seems to often be some driver or kernel service that has been patched to not misbehave: I have the impression that there are a very large number of things in the kernel that can cause a behaviour which is observed as excessive kworker usage.

If you find the system unusable due to excessive kworker activity, I would recommend trying to do fewer things. If you think you're not doing anything, try shutting down long-running services or timers (RSS readers, mail readers, file indexers, activity trackers, etc.). If this doesn't work, try restarting. If your system allows you to enable or disable hardware in a preboot environment, try turning off hardware you aren't using. If it happens on every restart before you do anything, you could try uninstalling things, but at this point you'll want to be running syscall profiling tools to track down specific applications that seem to be causing this overload.

It is to be hoped that your specific system will stop expressing this behaviour with a future kernel upgrade (and many of the most common causes of this have been solved).

link|improve this answer
feedback

First, sorry for my english, I am French

I recently installed ubuntu natty on an external drive usb wd passport. When I start on my desktop which must have two years old everything works like a charm. When I start on my new laptop by MSI gt680r system slowdowns after that i wake up computer from sleep or if i plug another usb disk.

Kworker processes taking more and more cpu and the mouse freeze from time to time.

I have read several solutions on various forums that did not work.

I went into the bios of my laptop, there were: Hand XCHI OFF: Enabled EHCI Hand OFF: disabled

I changed for

Hand XCHI OFF: disabled EHCI Hand OFF: disabled

and since I can not see the freeze on natty on my laptop. I would hand enabled when the problem will be corrected.

Hope this helps you too.

link|improve this answer
feedback

On Mac OS X, mdworker is the Spotlight indexing service. So Kworker might be some indexing engine for a system wide search.

link|improve this answer
I also assumed that it has something to do with kde(the k and all), but I've found no evidence of it anywhere online. And I've also been unable to find any documentation on it whatsoever. – davorao Apr 5 '11 at 14:39
1  
@davorao: The k may indicate kernel. – afrazier Jun 10 '11 at 0:39
that may be the best answer i've gotten so far. I've also forgotten about it since Kubuntu 11.04 came out and solved my problem for me. But i would assume that it probably has something to do with the kernel. – davorao Jun 10 '11 at 19:00
feedback

I think disabling Nepomuk can help you:

http://www.freetechie.com/blog/disable-nepomuk-desktop-search-on-kde-4-4-2-kubuntu-lucid-10-04/

link|improve this answer
thanks but I've since installed a fresh copy of Kubuntu 11.04 and the before-mentioned problem disappeared. – davorao May 6 '11 at 18:32
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.