You are not logged in.

#1 2013-03-20 22:44:39

comunicationsfert6
Member
Registered: 2013-03-19
Posts: 8

CPU constant usage after update to 3.8.3-2

Hello!
My problem is CPU constant usage (15%), in the past I had very similar problem, and it was by co-worker, I resolved it as:
   
   sudo nano /sys/module/drm_kms_helper/parameters/poll
Written->  "N"

sudo nano /etc/modprobe.d/local.conf
Written-> "options drm_kms_helper poll=N"

And it helped me, it worked before the update of kernel to version 3.8.3-2

Now I still have that files, so I don´t know what can I do...and I can´t see what process uses CPU.


(I am using Lenovo ThinkPad T400)

Last edited by comunicationsfert6 (2013-03-20 22:47:29)

Offline

#2 2013-03-20 22:58:38

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,412

Re: CPU constant usage after update to 3.8.3-2

No hints as to what is using the cpu?  Have you looked at something like top to see what might be running?  Really this is not enough information.

Offline

#3 2013-03-20 23:48:22

the sad clown
Member
From: 192.168.0.X
Registered: 2011-03-20
Posts: 833

Re: CPU constant usage after update to 3.8.3-2

As wonderwoofy said, top or ps (ps -eo pid,pcpu,time,comm --sort pcpu) and perhaps powertop too would be helpful for diagnosis.  Just make sure to post the output by bracketing it with [ code ][ /code ] (minus the spaces) in order to properly format it.

Last edited by the sad clown (2013-03-20 23:49:25)


I laugh, yet the joke is on me

Offline

#4 2013-03-21 00:06:52

comunicationsfert6
Member
Registered: 2013-03-19
Posts: 8

Re: CPU constant usage after update to 3.8.3-2

comunicationsfert6 wrote:

thanks a lot by explanation about diagnostic tools!

[i@cr ~]$ ps -eo pid,pcpu,time,comm --sort pcpu
  PID %CPU     TIME COMMAND
    1  0.0 00:00:00 systemd
    2  0.0 00:00:00 kthreadd
    3  0.0 00:00:00 ksoftirqd/0
    5  0.0 00:00:00 kworker/0:0H
    7  0.0 00:00:00 kworker/u:0H
    8  0.0 00:00:00 migration/0
    9  0.0 00:00:00 rcu_preempt
   10  0.0 00:00:00 rcu_bh
   11  0.0 00:00:00 rcu_sched
   12  0.0 00:00:00 watchdog/0
   13  0.0 00:00:00 watchdog/1
   14  0.0 00:00:00 ksoftirqd/1
   15  0.0 00:00:00 migration/1
   17  0.0 00:00:00 kworker/1:0H
   18  0.0 00:00:00 cpuset
   19  0.0 00:00:00 khelper
   20  0.0 00:00:00 kdevtmpfs
   21  0.0 00:00:00 netns
   22  0.0 00:00:00 bdi-default
   23  0.0 00:00:00 kblockd
   26  0.0 00:00:00 khungtaskd
   27  0.0 00:00:00 kswapd0
   28  0.0 00:00:00 ksmd
   29  0.0 00:00:00 khugepaged
   30  0.0 00:00:00 fsnotify_mark
   31  0.0 00:00:00 crypto
   35  0.0 00:00:00 kthrotld
   37  0.0 00:00:00 deferwq
   77  0.0 00:00:00 khubd
   78  0.0 00:00:00 firewire
   79  0.0 00:00:00 ata_sff
   80  0.0 00:00:00 scsi_eh_0
   81  0.0 00:00:00 scsi_eh_1
   82  0.0 00:00:00 scsi_eh_2
   83  0.0 00:00:00 scsi_eh_3
   93  0.0 00:00:00 kworker/0:1H
   94  0.0 00:00:00 kworker/1:1H
  102  0.0 00:00:00 jbd2/sda7-8
  103  0.0 00:00:00 ext4-dio-unwrit
  114  0.0 00:00:00 systemd-udevd
  118  0.0 00:00:00 systemd-journal
  139  0.0 00:00:00 scsi_eh_4
  140  0.0 00:00:00 iprt
  213  0.0 00:00:00 kpsmoused
  216  0.0 00:00:00 ktpacpid
  221  0.0 00:00:00 kvm-irqfd-clean
  231  0.0 00:00:00 cfg80211
  232  0.0 00:00:00 pccardd
  235  0.0 00:00:00 hd-audio0
  252  0.0 00:00:00 iwlwifi
  259  0.0 00:00:00 irq/48-mei
  279  0.0 00:00:00 flush-8:0
  327  0.0 00:00:00 hci0
  328  0.0 00:00:00 kworker/u:1H
  331  0.0 00:00:00 ext4-dio-unwrit
  337  0.0 00:00:00 jbd2/sda8-8
  338  0.0 00:00:00 ext4-dio-unwrit
  348  0.0 00:00:00 systemd-logind
  349  0.0 00:00:00 dbus-daemon
  382  0.0 00:00:00 dhcpcd
 1322  0.0 00:00:00 wpa_supplicant
 1426  0.0 00:00:00 kworker/1:2
 1516  0.0 00:00:00 sudo
 1517  0.0 00:00:00 lxdm-binary
 1527  0.0 00:00:00 lxsession
 1541  0.0 00:00:00 dbus-launch
 1542  0.0 00:00:00 dbus-daemon
 1545  0.0 00:00:01 openbox
 1549  0.0 00:00:00 pcmanfm
 1553  0.0 00:00:00 gvfsd
 1558  0.0 00:00:00 pinot-dbus-daem
 1560  0.0 00:00:00 gvfsd-fuse
 1564  0.0 00:00:00 menu-cached
 1571  0.0 00:00:00 polkit-gnome-au
 1574  0.0 00:00:00 gvfs-udisks2-vo
 1577  0.0 00:00:00 udisksd
 1581  0.0 00:00:00 polkitd
 1583  0.0 00:00:00 at-spi-bus-laun
 1588  0.0 00:00:00 dbus-daemon
 1590  0.0 00:00:00 cat
 1594  0.0 00:00:00 at-spi2-registr
 3616  0.0 00:00:00 login
 3619  0.0 00:00:00 login
 3622  0.0 00:00:00 bash
 3662  0.0 00:00:00 agetty
 3800  0.0 00:00:00 gvfsd-trash
 3944  0.0 00:00:00 kworker/0:0
 3946  0.0 00:00:00 bash
 4002  0.0 00:00:00 kworker/1:0
 4010  0.0 00:00:00 gnome-pty-helpe
 4011  0.0 00:00:00 bash
 4044  0.0 00:00:00 gvfsd-metadata
 4055  0.0 00:00:00 ps
 3547  0.1 00:00:02 kworker/0:2
 4034  0.1 00:00:00 kworker/1:1
 4009  0.2 00:00:01 lxterminal
 1548  0.3 00:00:09 lxpanel
 1519  2.1 00:01:02 X
 1612  7.6 00:03:37 kworker/u:3
 4024  8.2 00:00:27 kworker/u:0
 3994  8.5 00:00:54 kworker/u:1
 4052 25.0 00:00:05 kworker/u:2
[i@cr ~]$ 

Offline

#5 2013-03-21 00:07:45

comunicationsfert6
Member
Registered: 2013-03-19
Posts: 8

Re: CPU constant usage after update to 3.8.3-2

So as I guess my problem connected with kworker...any idea how I can resolve it?
Thanks!

Last edited by comunicationsfert6 (2013-03-21 00:23:19)

Offline

#6 2013-03-21 00:58:53

the sad clown
Member
From: 192.168.0.X
Registered: 2011-03-20
Posts: 833

Re: CPU constant usage after update to 3.8.3-2

Sorry, I should have told you to sort with "--sort -pcpu".  As for your output, here is your issue:

  PID %CPU     TIME COMMAND
 4052 25.0 00:00:05 kworker/u:2
 3994  8.5 00:00:54 kworker/u:1
 4024  8.2 00:00:27 kworker/u:0
 1612  7.6 00:03:37 kworker/u:3

kworker processes are normal.  What isn't normal is the cpu%.  Hopefully someone more knowledgeable than me will chime in.  My suggestion would be to look at what applications/services I have running and try turning them on/off while observing top to see what makes a difference.  Probably the easiest step would be to just stop X, and check what your processes are when you are just in a TTY.

Last edited by the sad clown (2013-03-21 01:00:57)


I laugh, yet the joke is on me

Offline

#7 2013-03-21 09:50:18

comunicationsfert6
Member
Registered: 2013-03-19
Posts: 8

Re: CPU constant usage after update to 3.8.3-2

Well, just after boot system, without run X, maybe I haven't any problem (and I heven't kworker/u... running), but after I run some simple applications like as alsamixer or htop (in TTY) kworkers/u start using 15% of CPU...

Last edited by comunicationsfert6 (2013-03-21 09:56:26)

Offline

#8 2013-03-30 00:04:37

the sad clown
Member
From: 192.168.0.X
Registered: 2011-03-20
Posts: 833

Re: CPU constant usage after update to 3.8.3-2

What kernel and processor are you running?  I don't know if it will help you, but you could try bumping up your kernel to 3.8.5 from testing and see if it makes a difference.

Last edited by the sad clown (2013-03-30 00:06:29)


I laugh, yet the joke is on me

Offline

#9 2013-03-30 02:08:22

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

Re: CPU constant usage after update to 3.8.3-2

I am suspecting, it is the same as this.

Offline

Board footer

Powered by FluxBB