public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 67 kworker threads ?
@ 2012-06-08 20:19 cheng renquan
  2012-06-09 13:05 ` Srivatsa S. Bhat
  0 siblings, 1 reply; 2+ messages in thread
From: cheng renquan @ 2012-06-08 20:19 UTC (permalink / raw)
  To: linux-kernel

I have kernel v3.4.0 up & running over 2 weeks on a 4-cores typical
lenovo laptop,
with suspend & resume only, every day; have just found after a resume the kernel
may spawn too many kworker threads, totally 67 kworker threads now,
I think this is abnormal

$ ps fu -e |awk 'NR <=2 || /[k]worker/'
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         2  0.0  0.0      0     0 ?        S    Jun07   0:00 [kthreadd]
root     10271  0.0  0.0      0     0 ?        S    11:35   0:00  \_
[kworker/0:3]
root     11683  0.0  0.0      0     0 ?        S    11:46   0:00  \_
[kworker/u:0]
root     14364  0.0  0.0      0     0 ?        S    12:08   0:01  \_
[kworker/0:0]
root     14965  0.1  0.0      0     0 ?        S    12:13   0:03  \_
[kworker/u:1]
root     17154  0.0  0.0      0     0 ?        S    12:31   0:00  \_
[kworker/u:2]
root     17937  0.0  0.0      0     0 ?        S    12:38   0:00  \_
[kworker/u:3]
root     18286  0.0  0.0      0     0 ?        S    12:39   0:00  \_
[kworker/u:4]
root     18287  0.0  0.0      0     0 ?        S    12:39   0:00  \_
[kworker/u:5]
root     18288  0.0  0.0      0     0 ?        S    12:39   0:00  \_
[kworker/u:6]
root     18289  0.0  0.0      0     0 ?        S    12:39   0:00  \_
[kworker/u:7]
root     18290  0.0  0.0      0     0 ?        S    12:39   0:00  \_
[kworker/u:8]
root     18291  0.0  0.0      0     0 ?        S    12:39   0:00  \_
[kworker/u:9]
root     18292  0.0  0.0      0     0 ?        S    12:39   0:00  \_
[kworker/u:10]
root     18300  0.0  0.0      0     0 ?        S    13:05   0:00  \_
[kworker/1:2]
root     18303  0.0  0.0      0     0 ?        S    13:05   0:00  \_
[kworker/2:2]
root     18306  0.0  0.0      0     0 ?        S    13:05   0:00  \_
[kworker/3:0]
root     18320  0.0  0.0      0     0 ?        S    13:05   0:00  \_
[kworker/u:11]
root     18321  0.0  0.0      0     0 ?        S    13:05   0:00  \_
[kworker/u:12]
root     18322  0.0  0.0      0     0 ?        S    13:05   0:00  \_
[kworker/u:13]
root     18323  0.0  0.0      0     0 ?        S    13:05   0:00  \_
[kworker/u:14]
root     18324  0.0  0.0      0     0 ?        S    13:05   0:00  \_
[kworker/u:15]
root     18325  0.0  0.0      0     0 ?        S    13:05   0:00  \_
[kworker/u:16]
root     18326  0.0  0.0      0     0 ?        S    13:05   0:00  \_
[kworker/u:17]
root     18327  0.0  0.0      0     0 ?        S    13:05   0:00  \_
[kworker/u:18]
root     18328  0.0  0.0      0     0 ?        S    13:05   0:00  \_
[kworker/u:19]
root     18329  0.0  0.0      0     0 ?        S    13:05   0:00  \_
[kworker/u:20]
root     18330  0.0  0.0      0     0 ?        S    13:05   0:00  \_
[kworker/u:21]
root     18331  0.0  0.0      0     0 ?        S    13:05   0:00  \_
[kworker/u:22]
root     18332  0.0  0.0      0     0 ?        S    13:05   0:00  \_
[kworker/u:23]
root     18333  0.0  0.0      0     0 ?        S    13:05   0:00  \_
[kworker/u:24]
root     18334  0.0  0.0      0     0 ?        S    13:05   0:00  \_
[kworker/u:25]
root     18335  0.0  0.0      0     0 ?        S    13:05   0:00  \_
[kworker/u:26]
root     18336  0.0  0.0      0     0 ?        S    13:05   0:00  \_
[kworker/u:27]
root     18337  0.0  0.0      0     0 ?        S    13:05   0:00  \_
[kworker/u:28]
root     18338  0.0  0.0      0     0 ?        S    13:05   0:00  \_
[kworker/u:29]
root     18339  0.0  0.0      0     0 ?        S    13:05   0:00  \_
[kworker/u:30]
root     18340  0.0  0.0      0     0 ?        S    13:05   0:00  \_
[kworker/u:31]
root     18341  0.0  0.0      0     0 ?        S    13:05   0:00  \_
[kworker/u:32]
root     18342  0.0  0.0      0     0 ?        S    13:05   0:00  \_
[kworker/u:33]
root     18343  0.0  0.0      0     0 ?        S    13:05   0:00  \_
[kworker/u:34]
root     18344  0.0  0.0      0     0 ?        S    13:05   0:00  \_
[kworker/u:35]
root     18345  0.0  0.0      0     0 ?        S    13:05   0:00  \_
[kworker/u:36]
root     18346  0.0  0.0      0     0 ?        S    13:05   0:00  \_
[kworker/u:37]
root     18347  0.0  0.0      0     0 ?        S    13:05   0:00  \_
[kworker/u:38]
root     18348  0.0  0.0      0     0 ?        S    13:05   0:00  \_
[kworker/u:39]
root     18349  0.0  0.0      0     0 ?        S    13:05   0:00  \_
[kworker/u:40]
root     18350  0.0  0.0      0     0 ?        S    13:05   0:00  \_
[kworker/u:41]
root     18351  0.0  0.0      0     0 ?        S    13:05   0:00  \_
[kworker/u:42]
root     18352  0.0  0.0      0     0 ?        S    13:05   0:00  \_
[kworker/u:43]
root     18353  0.0  0.0      0     0 ?        S    13:05   0:00  \_
[kworker/u:44]
root     18354  0.0  0.0      0     0 ?        S    13:05   0:00  \_
[kworker/u:45]
root     18355  0.0  0.0      0     0 ?        S    13:05   0:00  \_
[kworker/u:46]
root     18356  0.0  0.0      0     0 ?        S    13:05   0:00  \_
[kworker/u:47]
root     18357  0.0  0.0      0     0 ?        S    13:05   0:00  \_
[kworker/u:48]
root     18358  0.0  0.0      0     0 ?        S    13:05   0:00  \_
[kworker/u:49]
root     18359  0.0  0.0      0     0 ?        S    13:05   0:00  \_
[kworker/u:50]
root     18360  0.0  0.0      0     0 ?        S    13:05   0:00  \_
[kworker/u:51]
root     18361  0.0  0.0      0     0 ?        S    13:05   0:00  \_
[kworker/u:52]
root     18362  0.0  0.0      0     0 ?        S    13:05   0:00  \_
[kworker/u:53]
root     18363  0.0  0.0      0     0 ?        S    13:05   0:00  \_
[kworker/u:54]
root     18364  0.0  0.0      0     0 ?        S    13:05   0:00  \_
[kworker/u:55]
root     18365  0.0  0.0      0     0 ?        S    13:05   0:00  \_
[kworker/u:56]
root     18366  0.0  0.0      0     0 ?        S    13:05   0:00  \_
[kworker/u:57]
root     18367  0.0  0.0      0     0 ?        S    13:05   0:00  \_
[kworker/u:58]
root     18368  0.0  0.0      0     0 ?        S    13:05   0:00  \_
[kworker/u:59]
root     18369  0.9  0.0      0     0 ?        S    13:05   0:01  \_
[kworker/3:1]
root     18370  0.0  0.0      0     0 ?        S    13:05   0:00  \_
[kworker/0:1]
root     18374  0.0  0.0      0     0 ?        S    13:05   0:00  \_
[kworker/0:2]
root     18380  0.0  0.0      0     0 ?        S    13:05   0:00  \_
[kworker/1:0]
root     18393  0.0  0.0      0     0 ?        S    13:05   0:00  \_
[kworker/2:0]
root     18506  0.0  0.0      0     0 ?        S    13:05   0:00  \_
[kworker/3:2]
root     18571  0.0  0.0      0     0 ?        S    13:05   0:00  \_
[kworker/2:1]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 67 kworker threads ?
  2012-06-08 20:19 67 kworker threads ? cheng renquan
@ 2012-06-09 13:05 ` Srivatsa S. Bhat
  0 siblings, 0 replies; 2+ messages in thread
From: Srivatsa S. Bhat @ 2012-06-09 13:05 UTC (permalink / raw)
  To: cheng renquan; +Cc: linux-kernel, Rafael J. Wysocki, Linux PM mailing list

On 06/09/2012 01:49 AM, cheng renquan wrote:

> I have kernel v3.4.0 up & running over 2 weeks on a 4-cores typical
> lenovo laptop,
> with suspend & resume only, every day; have just found after a resume the kernel
> may spawn too many kworker threads, totally 67 kworker threads now,
> I think this is abnormal
> 
> $ ps fu -e |awk 'NR <=2 || /[k]worker/'
> USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
> root         2  0.0  0.0      0     0 ?        S    Jun07   0:00 [kthreadd]
> root     10271  0.0  0.0      0     0 ?        S    11:35   0:00  \_
> [kworker/0:3]
> root     11683  0.0  0.0      0     0 ?        S    11:46   0:00  \_
> [kworker/u:0]
> root     14364  0.0  0.0      0     0 ?        S    12:08   0:01  \_
> [kworker/0:0]
> root     14965  0.1  0.0      0     0 ?        S    12:13   0:03  \_
> [kworker/u:1]
> root     17154  0.0  0.0      0     0 ?        S    12:31   0:00  \_
> [kworker/u:2]
> root     17937  0.0  0.0      0     0 ?        S    12:38   0:00  \_
> [kworker/u:3]
> root     18286  0.0  0.0      0     0 ?        S    12:39   0:00  \_
> [kworker/u:4]
> root     18287  0.0  0.0      0     0 ?        S    12:39   0:00  \_
> [kworker/u:5]
> root     18288  0.0  0.0      0     0 ?        S    12:39   0:00  \_
> [kworker/u:6]
> root     18289  0.0  0.0      0     0 ?        S    12:39   0:00  \_
> [kworker/u:7]
> root     18290  0.0  0.0      0     0 ?        S    12:39   0:00  \_
> [kworker/u:8]
> root     18291  0.0  0.0      0     0 ?        S    12:39   0:00  \_
> [kworker/u:9]
> root     18292  0.0  0.0      0     0 ?        S    12:39   0:00  \_
> [kworker/u:10]
> root     18300  0.0  0.0      0     0 ?        S    13:05   0:00  \_
> [kworker/1:2]
> root     18303  0.0  0.0      0     0 ?        S    13:05   0:00  \_
> [kworker/2:2]
> root     18306  0.0  0.0      0     0 ?        S    13:05   0:00  \_
> [kworker/3:0]
> root     18320  0.0  0.0      0     0 ?        S    13:05   0:00  \_
> [kworker/u:11]
> root     18321  0.0  0.0      0     0 ?        S    13:05   0:00  \_
> [kworker/u:12]
> root     18322  0.0  0.0      0     0 ?        S    13:05   0:00  \_
> [kworker/u:13]
> root     18323  0.0  0.0      0     0 ?        S    13:05   0:00  \_
> [kworker/u:14]
> root     18324  0.0  0.0      0     0 ?        S    13:05   0:00  \_
> [kworker/u:15]
> root     18325  0.0  0.0      0     0 ?        S    13:05   0:00  \_
> [kworker/u:16]
> root     18326  0.0  0.0      0     0 ?        S    13:05   0:00  \_
> [kworker/u:17]
> root     18327  0.0  0.0      0     0 ?        S    13:05   0:00  \_
> [kworker/u:18]
> root     18328  0.0  0.0      0     0 ?        S    13:05   0:00  \_
> [kworker/u:19]
> root     18329  0.0  0.0      0     0 ?        S    13:05   0:00  \_
> [kworker/u:20]
> root     18330  0.0  0.0      0     0 ?        S    13:05   0:00  \_
> [kworker/u:21]
> root     18331  0.0  0.0      0     0 ?        S    13:05   0:00  \_
> [kworker/u:22]
> root     18332  0.0  0.0      0     0 ?        S    13:05   0:00  \_
> [kworker/u:23]
> root     18333  0.0  0.0      0     0 ?        S    13:05   0:00  \_
> [kworker/u:24]
> root     18334  0.0  0.0      0     0 ?        S    13:05   0:00  \_
> [kworker/u:25]
> root     18335  0.0  0.0      0     0 ?        S    13:05   0:00  \_
> [kworker/u:26]
> root     18336  0.0  0.0      0     0 ?        S    13:05   0:00  \_
> [kworker/u:27]
> root     18337  0.0  0.0      0     0 ?        S    13:05   0:00  \_
> [kworker/u:28]
> root     18338  0.0  0.0      0     0 ?        S    13:05   0:00  \_
> [kworker/u:29]
> root     18339  0.0  0.0      0     0 ?        S    13:05   0:00  \_
> [kworker/u:30]
> root     18340  0.0  0.0      0     0 ?        S    13:05   0:00  \_
> [kworker/u:31]
> root     18341  0.0  0.0      0     0 ?        S    13:05   0:00  \_
> [kworker/u:32]
> root     18342  0.0  0.0      0     0 ?        S    13:05   0:00  \_
> [kworker/u:33]
> root     18343  0.0  0.0      0     0 ?        S    13:05   0:00  \_
> [kworker/u:34]
> root     18344  0.0  0.0      0     0 ?        S    13:05   0:00  \_
> [kworker/u:35]
> root     18345  0.0  0.0      0     0 ?        S    13:05   0:00  \_
> [kworker/u:36]
> root     18346  0.0  0.0      0     0 ?        S    13:05   0:00  \_
> [kworker/u:37]
> root     18347  0.0  0.0      0     0 ?        S    13:05   0:00  \_
> [kworker/u:38]
> root     18348  0.0  0.0      0     0 ?        S    13:05   0:00  \_
> [kworker/u:39]
> root     18349  0.0  0.0      0     0 ?        S    13:05   0:00  \_
> [kworker/u:40]
> root     18350  0.0  0.0      0     0 ?        S    13:05   0:00  \_
> [kworker/u:41]
> root     18351  0.0  0.0      0     0 ?        S    13:05   0:00  \_
> [kworker/u:42]
> root     18352  0.0  0.0      0     0 ?        S    13:05   0:00  \_
> [kworker/u:43]
> root     18353  0.0  0.0      0     0 ?        S    13:05   0:00  \_
> [kworker/u:44]
> root     18354  0.0  0.0      0     0 ?        S    13:05   0:00  \_
> [kworker/u:45]
> root     18355  0.0  0.0      0     0 ?        S    13:05   0:00  \_
> [kworker/u:46]
> root     18356  0.0  0.0      0     0 ?        S    13:05   0:00  \_
> [kworker/u:47]
> root     18357  0.0  0.0      0     0 ?        S    13:05   0:00  \_
> [kworker/u:48]
> root     18358  0.0  0.0      0     0 ?        S    13:05   0:00  \_
> [kworker/u:49]
> root     18359  0.0  0.0      0     0 ?        S    13:05   0:00  \_
> [kworker/u:50]
> root     18360  0.0  0.0      0     0 ?        S    13:05   0:00  \_
> [kworker/u:51]
> root     18361  0.0  0.0      0     0 ?        S    13:05   0:00  \_
> [kworker/u:52]
> root     18362  0.0  0.0      0     0 ?        S    13:05   0:00  \_
> [kworker/u:53]
> root     18363  0.0  0.0      0     0 ?        S    13:05   0:00  \_
> [kworker/u:54]
> root     18364  0.0  0.0      0     0 ?        S    13:05   0:00  \_
> [kworker/u:55]
> root     18365  0.0  0.0      0     0 ?        S    13:05   0:00  \_
> [kworker/u:56]
> root     18366  0.0  0.0      0     0 ?        S    13:05   0:00  \_
> [kworker/u:57]
> root     18367  0.0  0.0      0     0 ?        S    13:05   0:00  \_
> [kworker/u:58]
> root     18368  0.0  0.0      0     0 ?        S    13:05   0:00  \_
> [kworker/u:59]
> root     18369  0.9  0.0      0     0 ?        S    13:05   0:01  \_
> [kworker/3:1]
> root     18370  0.0  0.0      0     0 ?        S    13:05   0:00  \_
> [kworker/0:1]
> root     18374  0.0  0.0      0     0 ?        S    13:05   0:00  \_
> [kworker/0:2]
> root     18380  0.0  0.0      0     0 ?        S    13:05   0:00  \_
> [kworker/1:0]
> root     18393  0.0  0.0      0     0 ?        S    13:05   0:00  \_
> [kworker/2:0]
> root     18506  0.0  0.0      0     0 ?        S    13:05   0:00  \_
> [kworker/3:2]
> root     18571  0.0  0.0      0     0 ?        S    13:05   0:00  \_
> [kworker/2:1]


Can you share your .config please?

Regards,
Srivatsa S. Bhat


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-06-09 13:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-08 20:19 67 kworker threads ? cheng renquan
2012-06-09 13:05 ` Srivatsa S. Bhat

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox