Re: Xorg eats my CPU

2006-01-25 Thread Bill Wohler
René Seindal [EMAIL PROTECTED] writes:

 Bill Wohler wrote (18-01-2006 22:04):
 Michael Ott [EMAIL PROTECTED] writes:
 
Hello Kevin!


I am running (up to date) Debian unstable on my laptop, it has a
Radeon IGP 340M graphics chip. For the last month or so I am seeing
the Xorg process gradually gobble up more and more CPU, up to 30/40%
and in some cases 99%.
 
That depends what side you visit. If there is a java applet or a flash
 animation inside you need more CPU. 
 Yes, I think you'll find that Flash is the culprit.
 Since Flash is used for gratuitous, annoying animation most of the
 time, you can remove the flashplugin-nonfree package.

 Or install the flashblock extension to firefox.  It replaces flash
 elements with a button, and the flash content only plays if you click
 the button.

Oooo, that's nice! Has anyone tried this with Galeon?

-- 
Bill Wohler [EMAIL PROTECTED]  http://www.newt.com/wohler/  GnuPG ID:610BD9AD
Maintainer of comp.mail.mh FAQ and MH-E. Vote Libertarian!
If you're passed on the right, you're in the wrong lane.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Xorg eats my CPU

2006-01-18 Thread Bill Wohler
Michael Ott [EMAIL PROTECTED] writes:

 Hello Kevin!

 I am running (up to date) Debian unstable on my laptop, it has a
 Radeon IGP 340M graphics chip. For the last month or so I am seeing
 the Xorg process gradually gobble up more and more CPU, up to 30/40%
 and in some cases 99%.

 That depends what side you visit. If there is a java applet or a flash
 animation inside you need more CPU. 

Yes, I think you'll find that Flash is the culprit. Simply find the
page running Flash (on my system, the cursor turns into a hand with a
cuff and the right mouse button brings up a Flash context menu), and
remove it.

Since Flash is used for gratuitous, annoying animation most of the
time, you can remove the flashplugin-nonfree package. Or, just in case
someone sends you a cool JibJab video, you can turn off Flash
temporarily with the following command:

# mv /usr/lib/flashplugin-nonfree/libflashplayer.so \
 /usr/lib/flashplugin-nonfree/libflashplayer.so-

-- 
Bill Wohler [EMAIL PROTECTED]  http://www.newt.com/wohler/  GnuPG ID:610BD9AD
Maintainer of comp.mail.mh FAQ and MH-E. Vote Libertarian!
If you're passed on the right, you're in the wrong lane.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Xorg eats my CPU

2006-01-18 Thread René Seindal

Bill Wohler wrote (18-01-2006 22:04):

Michael Ott [EMAIL PROTECTED] writes:



Hello Kevin!



I am running (up to date) Debian unstable on my laptop, it has a
Radeon IGP 340M graphics chip. For the last month or so I am seeing
the Xorg process gradually gobble up more and more CPU, up to 30/40%
and in some cases 99%.




That depends what side you visit. If there is a java applet or a flash
animation inside you need more CPU. 



Yes, I think you'll find that Flash is the culprit.

Since Flash is used for gratuitous, annoying animation most of the
time, you can remove the flashplugin-nonfree package.


Or install the flashblock extension to firefox.  It replaces flash 
elements with a button, and the flash content only plays if you click 
the button.



--
René Seindal ([EMAIL PROTECTED])







Re: Xorg eats my CPU

2006-01-09 Thread Kevin Glynn
On 09/01/06, Paul Dwerryhouse [EMAIL PROTECTED] wrote:
 On Sun, Jan 08, 2006 at 02:21:08PM +0100, Kevin Glynn wrote:
  I am running (up to date) Debian unstable on my laptop, it has a
  Radeon IGP 340M graphics chip. For the last month or so I am seeing
  the Xorg process gradually gobble up more and more CPU, up to 30/40%
  and in some cases 99%.

 Yes, I see this too, and have seen it ever since unstable switched from
 xfree86 to Xorg.

 It happens periodically - the load average on my machine shoots up,
 stays high for ten or so minutes, and then gradually drops off again.

 This occurs on every machine I've got that is running Xorg. Two of them
 have ATI cards, but the third has an nVidia card.

  But the big CPU problems are seen when I run mozilla-firefox, since
  usually when I kill firefox Xorg recovers.

 I run galeon (rather than firefox), but it never seems to be
 particularly high in top's output when the problem happens.


firefox CPU utilisation doesn't get high for me either, but I noticed
that it was usually near the top of my other processes when I had the
problem.  Killing firefox reduces Xorg back to normal, so it seems to
be tickling something.

It also seems to get worse when I browse certain sites, such as google reader.

cheers
k



Re: Xorg eats my CPU

2006-01-09 Thread Kevin Glynn
On 09/01/06, Andrew Sackville-West [EMAIL PROTECTED] wrote:
 On Sun, 8 Jan 2006 14:21:08 +0100
 Kevin Glynn [EMAIL PROTECTED] wrote:

  Hi,
 
  I am running (up to date) Debian unstable on my laptop, it has a
  Radeon IGP 340M graphics chip. For the last month or so I am seeing
  the Xorg process gradually gobble up more and more CPU, up to 30/40%
  and in some cases 99%.

 I saw some of this behavior too. Also, big memory munching by Xorg. Finally 
 switched away from metacity (still gdm) and that problem is GONE.


I hadn't thought of the window manager.  I just tried to switch away
from metacity,  but I didn't find a good replacement :-(


 
  Even X on its own seems a little sluggish, e.g. when I change windows
  the gnome icons take a fraction of a second to appear in the new
  window.
 
  But the big CPU problems are seen when I run mozilla-firefox, since
  usually when I kill firefox Xorg recovers.  I don't see any messages
  in logs that might explain the behaviour and I can't find any related
  bugs filed against Xorg.

 Do you leave firefox up all the time? seems to eat memory. Also many tabs 
 means more memory usage. Can't understand the CPU hit from firefox though, 
 unless its got some REALLY heavy pages open with java script and stuff?


It happens soon after I startup, with only a couple of firefox tabs. 
Accessing sites like
google reader seem to trigger it though, so maybe javascript has
something to do with it 

thanks
k



Re: Xorg eats my CPU

2006-01-09 Thread Michael Ott
Hello Kevin!

 I am running (up to date) Debian unstable on my laptop, it has a
 Radeon IGP 340M graphics chip. For the last month or so I am seeing
 the Xorg process gradually gobble up more and more CPU, up to 30/40%
 and in some cases 99%.
I have the same problem but switch to a console and back to X fix that
problem
 
 Even X on its own seems a little sluggish, e.g. when I change windows
 the gnome icons take a fraction of a second to appear in the new
 window.
 
 But the big CPU problems are seen when I run mozilla-firefox, since
 usually when I kill firefox Xorg recovers.  I don't see any messages
 in logs that might explain the behaviour and I can't find any related
 bugs filed against Xorg.
That depends what side you visit. If there is a java applet or a flash
animation inside you need more CPU. 

CU
 
  Michael  
  
--   
   Michael Ott, e-mail: [EMAIL PROTECTED], www.zolnott.de   
I am registered as user #275453 with the Linux Counter, http://counter.li.org.


pgpSlalMRX35L.pgp
Description: PGP signature


Re: Xorg eats my CPU

2006-01-09 Thread Björn Lindström
Kevin Glynn [EMAIL PROTECTED] writes:

 I hadn't thought of the window manager. I just tried to switch away
 from metacity, but I didn't find a good replacement

If you're running GNOME, you might want to go with one of the former
default (more or less) GNOME wms. I.e. Enlightenment
(http://enlightenment.org/ - I personally hate this one) or Sawfish
(http://sawmill.sourceforge.net/ - pretty neat, even though it's not
ratpoison (http://ratpoison.nongnu.org/)).

Sawfish is probably your best bet if you want something more memory- and
CPU-efficient.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Xorg eats my CPU

2006-01-09 Thread Justin Guerin
On Sunday 08 January 2006 06:21, Kevin Glynn wrote:
 Hi,

 I am running (up to date) Debian unstable on my laptop, it has a
 Radeon IGP 340M graphics chip. For the last month or so I am seeing
 the Xorg process gradually gobble up more and more CPU, up to 30/40%
 and in some cases 99%.

 Even X on its own seems a little sluggish, e.g. when I change windows
 the gnome icons take a fraction of a second to appear in the new
 window.

 But the big CPU problems are seen when I run mozilla-firefox, since
 usually when I kill firefox Xorg recovers.  I don't see any messages
 in logs that might explain the behaviour and I can't find any related
 bugs filed against Xorg.

 Here is the output from the top of top:


 top - 12:41:40 up  2:56,  4 users,  load average: 0.87, 0.45, 0.99
 Tasks:  98 total,   3 running,  95 sleeping,   0 stopped,   0 zombie
 Cpu(s): 40.7% us,  4.8% sy,  0.1% ni, 52.8% id,  1.2% wa,  0.1% hi,  0.3%
 si Mem:744112k total,   731812k used,12300k free,   134736k
 buffers Swap:   997880k total,  108k used,   997772k free,   239776k
 cached

   PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
 13112 keving17   0  130m  50m  16m R 34.7  7.0   2:04.21 firefox-bin
 12761 root   5 -10 65052  13m 8108 S 10.1  1.9   1:12.19 Xorg
 12933 keving15   0 31756  13m 8596 S  0.2  1.9   0:18.06
 gnome-terminal 12935 keving15   0 44704 7344 5864 S  0.2  1.0  
 0:02.15 gnome-cups-icon

 (Hope that shows up OK)

 Does anyone have any idea what bug this might be? Or clues on how I can
 track it down further? I don't really have enough information to file
 a bug report yet 

 Thanks for any advice / help

 Kevin

If you've recently upgraded to a 2.6.x kernel, that could be the source of 
the problem.  The new scheduler doesn't seem to play nicely with X running 
at a nice value of -10.  So, re-nice X to 0, and see if that fixes your 
problem.  Search the archives for a method to change the nice value 
permanently.  Note that for me, re-nicing without restarting X didn't work, 
because not all processes showed up in top, and thus I didn't re-nice them.

Hope that helps,
Justin Guerin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Xorg eats my CPU

2006-01-08 Thread Kevin Glynn
Hi,

I am running (up to date) Debian unstable on my laptop, it has a
Radeon IGP 340M graphics chip. For the last month or so I am seeing
the Xorg process gradually gobble up more and more CPU, up to 30/40%
and in some cases 99%.

Even X on its own seems a little sluggish, e.g. when I change windows
the gnome icons take a fraction of a second to appear in the new
window.

But the big CPU problems are seen when I run mozilla-firefox, since
usually when I kill firefox Xorg recovers.  I don't see any messages
in logs that might explain the behaviour and I can't find any related
bugs filed against Xorg.

Here is the output from the top of top:


top - 12:41:40 up  2:56,  4 users,  load average: 0.87, 0.45, 0.99
Tasks:  98 total,   3 running,  95 sleeping,   0 stopped,   0 zombie
Cpu(s): 40.7% us,  4.8% sy,  0.1% ni, 52.8% id,  1.2% wa,  0.1% hi,  0.3% si
Mem:744112k total,   731812k used,12300k free,   134736k buffers
Swap:   997880k total,  108k used,   997772k free,   239776k cached

  PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
13112 keving17   0  130m  50m  16m R 34.7  7.0   2:04.21 firefox-bin
12761 root   5 -10 65052  13m 8108 S 10.1  1.9   1:12.19 Xorg
12933 keving15   0 31756  13m 8596 S  0.2  1.9   0:18.06 gnome-terminal
12935 keving15   0 44704 7344 5864 S  0.2  1.0   0:02.15 gnome-cups-icon

(Hope that shows up OK)

Does anyone have any idea what bug this might be? Or clues on how I can
track it down further? I don't really have enough information to file
a bug report yet 

Thanks for any advice / help

Kevin



Re: Xorg eats my CPU

2006-01-08 Thread Andrew Sackville-West
On Sun, 8 Jan 2006 14:21:08 +0100
Kevin Glynn [EMAIL PROTECTED] wrote:

 Hi,
 
 I am running (up to date) Debian unstable on my laptop, it has a
 Radeon IGP 340M graphics chip. For the last month or so I am seeing
 the Xorg process gradually gobble up more and more CPU, up to 30/40%
 and in some cases 99%.

I saw some of this behavior too. Also, big memory munching by Xorg. Finally 
switched away from metacity (still gdm) and that problem is GONE.

 
 Even X on its own seems a little sluggish, e.g. when I change windows
 the gnome icons take a fraction of a second to appear in the new
 window.
 
 But the big CPU problems are seen when I run mozilla-firefox, since
 usually when I kill firefox Xorg recovers.  I don't see any messages
 in logs that might explain the behaviour and I can't find any related
 bugs filed against Xorg.

Do you leave firefox up all the time? seems to eat memory. Also many tabs means 
more memory usage. Can't understand the CPU hit from firefox though, unless its 
got some REALLY heavy pages open with java script and stuff?

A

 
 Here is the output from the top of top:
 
 
 top - 12:41:40 up  2:56,  4 users,  load average: 0.87, 0.45, 0.99
 Tasks:  98 total,   3 running,  95 sleeping,   0 stopped,   0 zombie
 Cpu(s): 40.7% us,  4.8% sy,  0.1% ni, 52.8% id,  1.2% wa,  0.1% hi,  0.3% si
 Mem:744112k total,   731812k used,12300k free,   134736k buffers
 Swap:   997880k total,  108k used,   997772k free,   239776k cached
 
   PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
 13112 keving17   0  130m  50m  16m R 34.7  7.0   2:04.21 firefox-bin
 12761 root   5 -10 65052  13m 8108 S 10.1  1.9   1:12.19 Xorg
 12933 keving15   0 31756  13m 8596 S  0.2  1.9   0:18.06 gnome-terminal
 12935 keving15   0 44704 7344 5864 S  0.2  1.0   0:02.15 gnome-cups-icon
 
 (Hope that shows up OK)
 
 Does anyone have any idea what bug this might be? Or clues on how I can
 track it down further? I don't really have enough information to file
 a bug report yet 
 
 Thanks for any advice / help
 
 Kevin
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Xorg eats my CPU

2006-01-08 Thread Paul Dwerryhouse
On Sun, Jan 08, 2006 at 02:21:08PM +0100, Kevin Glynn wrote:
 I am running (up to date) Debian unstable on my laptop, it has a
 Radeon IGP 340M graphics chip. For the last month or so I am seeing
 the Xorg process gradually gobble up more and more CPU, up to 30/40%
 and in some cases 99%.

Yes, I see this too, and have seen it ever since unstable switched from
xfree86 to Xorg.

It happens periodically - the load average on my machine shoots up,
stays high for ten or so minutes, and then gradually drops off again.

This occurs on every machine I've got that is running Xorg. Two of them
have ATI cards, but the third has an nVidia card.

 But the big CPU problems are seen when I run mozilla-firefox, since
 usually when I kill firefox Xorg recovers.  

I run galeon (rather than firefox), but it never seems to be
particularly high in top's output when the problem happens.

Cheers,

Paul

-- 
Paul Dwerryhouse| PGP Key ID: 0x6B91B584


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]