You are not logged in.

#1 2013-03-22 08:38:49

cppking
Member
Registered: 2012-09-16
Posts: 11

New kernel makes kworker crazy

today i got my Arch linux full system upgrade,then something bad happened.
my mouse stun again and again.

# uname -r
3.8.3-2-ARCH
# top
  PID USER      PR  NI  VIRT  RES  SHR S  %CPU %MEM     TIME+ COMMAND           
    6 root      20   0     0    0    0 D  29.0  0.0   1:02.37 kworker/u:0       
  786 root      20   0  186m  33m  15m S   1.6  1.7   0:08.01 plugin-containe   
  544 root      19  -1 64504  17m 7100 S   0.8  0.9   0:15.62 X                 
1105 root      20   0  5376 1260  960 R   0.8  0.1   0:00.01 top               
    1 root      20   0  2188  652  588 S   0.0  0.0   0:00.68 init             
    2 root      20   0     0    0    0 S   0.0  0.0   0:00.00 kthreadd         
    3 root      20   0     0    0    0 S   0.0  0.0   0:00.22 ksoftirqd/0       
    4 root      20   0     0    0    0 S   0.0  0.0   0:00.00 kworker/0:0       
    5 root       0 -20     0    0    0 S   0.0  0.0   0:00.00 kworker/0:0H     
    7 root       0 -20     0    0    0 S   0.0  0.0   0:00.00 kworker/u:0H     
    8 root      rt   0     0    0    0 S   0.0  0.0   0:00.00 migration/0       
    9 root      20   0     0    0    0 S   0.0  0.0   0:00.34 rcu_preempt       
   10 root      20   0     0    0    0 S   0.0  0.0   0:00.00 rcu_bh           
   11 root      20   0     0    0    0 S   0.0  0.0   0:00.00 rcu_sched         
   12 root      rt   0     0    0    0 S   0.0  0.0   0:00.00 watchdog/0       
   13 root      rt   0     0    0    0 S   0.0  0.0   0:00.00 watchdog/1       
   14 root      20   0     0    0    0 S   0.0  0.0   0:00.22 ksoftirqd/1   

kworker almost took 30% cpu usage.

then i did this :
#pacman -S linux-lts
and i changed to linux lts kernel
and kworker lost its insanity.

so i thought the problem of kworker must have some connections with newest relaeased kernel

Offline

#2 2013-03-22 10:53:40

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: New kernel makes kworker crazy

top - 11:51:01 up  2:21,  2 users,  load average: 0.33, 0.29, 0.25
Tasks: 150 total,   2 running, 147 sleeping,   0 stopped,   1 zombie
%Cpu(s):  2.1 us,  1.0 sy,  0.0 ni, 96.8 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem:  16503552 total,  1882100 used, 14621452 free,   216268 buffers
KiB Swap: 19535036 total,        0 used, 19535036 free,  1038712 cached

  PID USER      PR  NI  VIRT  RES  SHR S  %CPU %MEM     TIME+ COMMAND                                                                                                                           
 2310 root      19  -1  241m  67m  18m S  13.3  0.4  20:56.51 X                                                                                                                                 
 2340 panoram+  20   0  873m 250m  40m S  10.3  1.6  11:04.67 firefox                                                                                                                           
 2332 panoram+  20   0  296m  15m  10m S   1.3  0.1   1:36.42 lxpanelx                                                                                                                          
 3858 root      20   0     0    0    0 S   0.3  0.0   0:02.85 kworker/1:0                                                                                                                       
 3869 root      20   0     0    0    0 R   0.3  0.0   0:01.61 kworker/0:0                                                                                                                       
 3876 panoram+  20   0  483m  32m  23m S   0.3  0.2   0:02.78 konsole                                                                                                                           
 3896 root      20   0     0    0    0 S   0.3  0.0   0:00.45 kworker/2:2                                                                                                                       
 3901 panoram+  20   0 14472 1548 1068 R   0.3  0.0   0:00.31 top                                                                                                                               
    1 root      20   0  4240  668  568 S   0.0  0.0   0:01.20 init-openrc                                                                                                                       
    2 root      20   0     0    0    0 S   0.0  0.0   0:00.00 kthreadd                                                                                                                          
    3 root      20   0     0    0    0 S   0.0  0.0   0:04.55 ksoftirqd/0                                                                                                                       
    5 root       0 -20     0    0    0 S   0.0  0.0   0:00.00 kworker/0:0H                                                                                                                      
    6 root      20   0     0    0    0 S   0.0  0.0   0:00.00 kworker/u:0                                                                                                                       
    7 root       0 -20     0    0    0 S   0.0  0.0   0:00.00 kworker/u:0H                                                                                                                      
    8 root      rt   0     0    0    0 S   0.0  0.0   0:00.01 migration/0                                                                                                                       
    9 root      20   0     0    0    0 S   0.0  0.0   0:11.22 rcu_preempt                                                                                                                       
   10 root      20   0     0    0    0 S   0.0  0.0   0:00.00 rcu_bh                                                                                                                            
   11 root      20   0     0    0    0 S   0.0  0.0   0:00.00 rcu_sched                                                                                                                         
   12 root      rt   0     0    0    0 S   0.0  0.0   0:00.04 watchdog/0                                                                                                                        
   13 root      rt   0     0    0    0 S   0.0  0.0   0:00.04 watchdog/1                                                                                                                        
   14 root      20   0     0    0    0 S   0.0  0.0   0:02.65 ksoftirqd/1                                                                                                                       
   15 root      rt   0     0    0    0 S   0.0  0.0   0:00.03 migration/1                                                                                                                       
   17 root       0 -20     0    0    0 S   0.0  0.0   0:00.00 kworker/1:0H                                                                                                                      
   18 root      rt   0     0    0    0 S   0.0  0.0   0:00.04 watchdog/2                                                                                                                        
   19 root      20   0     0    0    0 S   0.0  0.0   0:02.91 ksoftirqd/2                                                                                                                       
   20 root      rt   0     0    0    0 S   0.0  0.0   0:00.02 migration/2                                                                                                                       
   22 root       0 -20     0    0    0 S   0.0  0.0   0:00.00 kworker/2:0H                                                                                                                      
   23 root      rt   0     0    0    0 S   0.0  0.0   0:00.04 watchdog/3                                                                                                                        
   24 root      20   0     0    0    0 S   0.0  0.0   0:02.49 ksoftirqd/3                                                                                                                       
   25 root      rt   0     0    0    0 S   0.0  0.0   0:00.02 migration/3                                                                                                                       
   27 root       0 -20     0    0    0 S   0.0  0.0   0:00.00 kworker/3:0H                                                                                                                      
   28 root      rt   0     0    0    0 S   0.0  0.0   0:00.04 watchdog/4                                                                                                                        
   29 root      20   0     0    0    0 S   0.0  0.0   0:00.46 ksoftirqd/4                                                                                                                       
   30 root      rt   0     0    0    0 S   0.0  0.0   0:00.01 migration/4                                                                                                                       
   32 root       0 -20     0    0    0 S   0.0  0.0   0:00.00 kworker/4:0H                                                                                                                      
   33 root      rt   0     0    0    0 S   0.0  0.0   0:00.04 watchdog/5                                                                                                                        
   34 root      20   0     0    0    0 S   0.0  0.0   0:00.48 ksoftirqd/5                                                                                                                       
   35 root      rt   0     0    0    0 S   0.0  0.0   0:00.03 migration/5                                                                                                                       
   36 root      20   0     0    0    0 S   0.0  0.0   0:00.00 kworker/5:0                                                                                                                       
   37 root       0 -20     0    0    0 S   0.0  0.0   0:00.00 kworker/5:0H                                                                                                                      
   38 root      rt   0     0    0    0 S   0.0  0.0   0:00.04 watchdog/6  

uname -r
3.8.4-1-ARCH

Try upgrading, and also please use code tags next time, see https://bbs.archlinux.org/help.php#bbcode


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2013-03-23 12:23:03

cppking
Member
Registered: 2012-09-16
Posts: 11

Re: New kernel makes kworker crazy

same problem occured,my kernel is 3.8.4.1-ARCH

Offline

#4 2013-03-29 12:19:14

zequav
Member
Registered: 2013-03-02
Posts: 9

Re: New kernel makes kworker crazy

Same here, acer 1810tz laptop with intel SU4100. I had the same problem with an old kernel (2.6.3x maybe) and solved it by disabling kms polling. But now it seems unrelated. It probably appeared with 3.8, and also seems to manifest itself when the cpu fan is running.

I also asked in the gentoo forums:

http://forums.gentoo.org/viewtopic-p-72 … ml#7278760

Offline

#5 2013-03-29 15:29:10

zequav
Member
Registered: 2013-03-02
Posts: 9

Re: New kernel makes kworker crazy

Taking a look at /proc/interrupts when the kworkers bog down the CPU I see i915 starts interrupting like crazy, at a rate of >500 per second. When everything goes fine i915 interrupts at a rate of <50 per second. So i915 is the culprit again (in my case). Do you guys have an intel GPU?

Offline

#6 2013-03-30 02:03:56

gamanakis
Member
Registered: 2012-10-11
Posts: 17

Re: New kernel makes kworker crazy

Lenovo X200, Intel X4500. i915 in use. Here the same problem too, since 3.8.x kernels excessive interrupts from i915.

Offline

Board footer

Powered by FluxBB