Xorg提供"按需"設置的100%CPU使用率


3

我在IBM Thinkpad X41上從Natty升級到Oneiric。使用默認的CPU速度設置" 按需",我得到 100%CPU使用率

  • 系統監視器(nb:查看>所有進程)中,主要進程是 Xorg ,CPU使用率在60-70%(和13.7)MiB),
      緊隨其後的是gdl-box和約20%的gnome-system-monitor。

升級到Oneiric是否錯誤?我怎樣才能解決這個問題?我現在將CPU速度手動設置為1 GHz-但這不是解決方案...

不是很高興...

謝謝。

4

Luckily for you, high X.org CPU usage doesn't mean you have a bug in X, so this problem is likely something you can solve.

X is a server, which means it responds to client requests. If a client has lost its mind and is making excessive X calls (such as if it locks itself into a graphics updating loop), it can make a lot of X calls. This shows up as a high X CPU load.

So, the thing to look for is to identify which client program is causing the load. Often it is a program you don't realize is even running - perhaps a panel indicator or background task or service. Look through your process table for user processes that look out of place, and try killing them one by one until the load goes down. Then you know what caused it.

Alternatively, log into a guest account; verify the load is normal there. Compare your processes in the guest account with those in your regular account, and go from there.

While high X cpu bugs are not at all unusual, I have not seen many reported in oneiric, so I might guess that the faulty process is some unusual program not installed by default; perhaps something you manually installed previously that got automatically upgraded to a new version that has a bug in it? Anyway, good luck in your hunt.


1

in my case it is gdl_box the tray program of google desktop search, causing high cpu loads since i upgraded to oneiric amd64 from natty amd64. after killing that process everything is fine cpu load and temperature going down immeadiately. as i was not able to find a solution i switched from google desktop search for linux to tracker and tracker-needle. to me it is not so satisfying as google desktop search but i can live with it. would be nice from google to update it one day but from a german computer magazine i read that google is going to cancel a lot of services which includes their desktop search. what a shame...

greetings

peter


1

I sometimes have high X CPU loads caused by Firefox. Restarting Firefox solves the problem.


0

I had this problem in my desktop & laptop (HP nx7300) with Intel. Could you try this? sudo apt-get install compizconfig-settings-manager ccsm Search openGL, and disable all checkboxs. Reboot. Enjoy again this version :)


0

Lowering gdl_box process priority seems to solve the high CPU usage problems on my Ubuntu 11.10.

Just in case anyone is interested in, I ran Google Desktop Linux with the following scripts placed in the 'Autostart':

#!/bin/sh
/opt/google/desktop/bin/gdlinux start
sleep 2
renice +10 `pgrep gdl_service`
renice +15 `pgrep gdl_config`
renice +20 `pgrep gdl_box`

Also make sure that the 'gdlinux' is NOT whitelisted in the Unity panel's system tray:

dconf-editor screenshot:

dconf-editor screenshot


0

I had the same problem with a long-running scp task . It was shown as an /usr/bin/xorg task, although scp (secure copy) did all the work. After it finished, CPU usage went down to normal. Even minimizing the terminal window helped reducing CPU load.