Quote:
Originally Posted by alderon
If by 'follow the focus' you mean the high CPU applied to whichever service/application was on the first line under %CPU,
No, I expected it to follow that. The reason is that top sorts by CPU usage. :p
I meant, did the program that had the focus (i.e. the program that received your keyboard input when you typed) always use lots of CPU?
Quote:
I don't understand the question, "if it was related to painting, or keyboard input, or perhaps something else?"
Does it happen when the program needs to change something in its window, or does it seem like it's caused when you type into a program, or can you see any other pattern?
Quote:
Would that hold true for konsole, the default terminal in KDE?
Yes -- it would hold for any terminal emulator. Actually, it would hold for any process on the system anywhere. ;)
Quote:
Top: when I open konsole, the CPU for knosole is 13% then drops. When I invoke aptitude, aptitude initially shows 65% CPU then drops. When I continuously scroll in aptitude, aptitude shows 25% and xorg jumps to 36% CPU.
That -- especially the high usage in xorg -- sounds like video related stuff. Drawing lots of pixels can get slow sometimes without hardware acceleration.
Quote:
Gkrellm: when I open konsole, the blue CPU jumps to 97%, then to 38% and then drops to less than 5%.
OK, but it's not orange, which means it's some kind of user-mode code, not kernel. :)
It's only taking a couple of seconds to stop, though, which -- I think -- means it's probably OK.
Quote:
When I invoke aptitude, blue CPU initially shows 99% then quickly drops. When I continuously scroll in aptitude, blue CPU shows 30%, then 70%, and when scrolling stops, quickly drops to less than 5%.
That all sounds fine. It might be video related, but if the high usage is short-lived, it's not usually a huge deal...
Quote:
In Etch netinstall:
Top: when I open xterm, the CPU is 2%. When I invoke aptitude, aptitude initially shows 57% CPU, then 12% and then drops. When I continuously scroll in aptitude, aptitude shows 25% CPU and xorg is maybe 5%.
That's slightly lower, but it does still follow the same type of pattern -- high as the process is loading and starting up, then down to nothing as it goes idle.
Quote:
Gkrellm: when I open xterm, the blue CPU jumps to 58% (other times to 37%), then drops to less than 2%. When I invoke aptitude, blue CPU shows 38%, then 99%, then 25% and then drops. When I continuously scroll in aptitude, blue CPU shows 22%, and when scrolling stops, drops to less than 2%.
Part of the discrepancy here might be the accounting methods that gkrellm uses versus top; if they use a different interface (or different rules for totals), they might get different CPU usage values. They do both follow a similar pattern, though; that means that the pattern is probably valid.
And the pattern is OK -- high CPU usage at startup isn't necessarily a huge problem. (Of course, if it's causing issues with the keyboard, it might be...)
Quote:
As a comparison in gkrellm: when I open iceweasel, the blue CPU jumps to 97%, then 61%, then 0. Loading this site: CPU: 62%, 80%, 99%, 12%, 0.
I'm not surprised that loading this site uses lots of CPU -- it's not all that simple of a rendering job. :) Iceweasel itself is quite a lot of files, too, so I'm not exactly surprised that loading it is slightly CPU-intensive.
Quote:
Question: is it normal to see 95-100% CPU when starting aptitude or iceweasel?
It's not necessarily a problem. I see the same type of pattern on this machine (although it generally lasts less than a second, not 2-5 seconds).
Quote:
I'm using the unaccelerated vesa driver
Ah ha. :)
Quote:
because I haven't gotten the accelerated driver to work with s2ram... The card is a GeForce FX 5200.
I'm surprised the nvidia driver doesn't work with s2ram. Hmm.
Quote:
Alsa-utils includes alsaconf to set up the sound card and alsactl to save the choice as the default.
Right, but something (at boot time) has to call back out to alsactl to re-load the mixer volume settings. ("alsactl restore", I think.)
Quote:
I had some problems using alsactl and finally hand edited some files in /etc/modprobe.d to make my SBLive card the default. For the mixer, which I rarely use, I prefer alsamixergui. I think alsa-base has the actual sound device drivers, which is why I left it enabled.
Yeah, I'm not sure how Debian sets up all that stuff.
Quote:
Disabling pppd-dns hasn't caused a problem (that I know of); I can access my web-based email (yahoo, gmail) through Iceweasel.
That's probably fine then.
Good luck... :)