You are not logged in.
Pages: 1
I've been tinkering with my laptop lately and trying to slim it down as much as possible. I had never really watched my cpu or memory usage before, but now that i've finished many of the bigger things i had on my todo list, i setup conky today to take a look.
Come to find out, cpu usage is anywhere from 3% to 10% sitting at the console before X has started and is usually around 30% sitting at X doing absolutely nothing. Now and then in X, it will go down to 7% but then shoot back up. No major processes come up in htop that are taking up CPU, yet the total cpu usage is still around 30% in X.
I run pekwm, fbpanel, and now conky. I have an almost identical system that i use for testing before i move things to my laptop, which doesnt use a fraction of the cpu. I have disabled all my extra daemons and attempted that, but it hasnt helped.
I am using the stock arch kernel currently but the problem seems to go away with the archck kernel. I would like to know if anyone has experienced anything similar or if you have a solution to the problem. I will continue trying out things but anyone elses input would be greatly appreciated!
Note to mods: I know this is running on a laptop but i felt that it dealt with kernel/hardware enough to post it here.
Offline
I run pekwm, fbpanel, and now conky.
Could be conky. How often do you refresh conky ? Do you use any "exec objects" ?
From the official conky's variables list :
Executes a shell command and displays the output in conky. warning: this takes a lot more resources than other variables. I'd recommend coding wanted behaviour in C and posting a patch.
Maybe I'm wrong...
Offline
conky was the most visible way for me to track it, but i notice that i can find the same numbers in htop. so i dont believe its conky itself... anyone have other ideas?
Offline
When you run htop, check what app is using the CPU.
Offline
i've been watching that and nothing really shows up. X says that its using mabye a percent or two at random intervals, and then other smaller programs using fractions of a percent. The processes using cpu are only the first 6 lines, and they are being sorted by cpu use. That's probably what confuses me the most, it doesnt seem like a process is causing the high usage. i will attach a screenshot when i get a chance, so you can see what i'm looking at.
Offline
I have the same pb on my laptop and never found a good solution.
Both stock and archck kernel give me this high CPU usage (look there are some threads on it and nobody managed to find a solution).
The workaround I use is to compile my own kernel and remove plenty of stuffs. Unfotunately I don't have time to compile each stuff independently to detect what causes the CPU to be used that much.
Offline
i've been messing with it for a few days now. for whatever reason after i updated last night and booted with the stock arch kernel, things work decent. I am noticing though, that my cpu usage hovers around 5% to 10% just sitting there watching my desktop. Is this about normal or is it still a bit high. Watching htop i can see that X and my adesklets make up about half of the 5% each but how much cpu does everyone else find themselves using?
Offline
I get 2-5% CPU use too with X and adesklets. For your X, do you use xinerama, composite or anything else that might make it more CPU intensive? I use xinerama myself.
Offline
nope i dont use xinerama or composite or anything. adesklets, conky, fbpanel are the big ones. thinking about it, i also run a keymapper for my hotkeys and gnome-settings-daemon to tell pekwm about my gtk settings. i have been wondering if the settings deamon could be the cause of things.. should i just write my theme and icon set into the .gtk-2.0 file and forget the daemon?
also, i'm trying to get some screenies of my htop online so i can show how things dont add up. my processes dont add up to my percentage of cpu usage a lot of the time and i just dont understand why. for a desktop system, i wouldnt mind up to 10% sitting there, but since i use it as a mobile computer as it should be used, i need to keep cpu down so i can save as much batery life as i can.
thanks in advance.
Offline
Come to find out, cpu usage is anywhere from 3% to 10% sitting at the console before X has started and is usually around 30% sitting at X doing absolutely nothing. Now and then in X, it will go down to 7% but then shoot back up. No major processes come up in htop that are taking up CPU, yet the total cpu usage is still around 30% in X.
This was one of my many issues with the stock kernel. So I created my own using the guide on the wiki. My CPU usage (xfce, conky, gaim, firefox, a terminal) is about 1-5%, where before it was around 10-15% (with standard Arch kernel). I made my optimized for my hardware, and stuff seems faster and more stable. 8)
·¬»· i am shadowhand, powered by webfaction
Offline
fair enough.. looks like all signs point to re-compiling a kernel for myself. I shal follow that wiki and make a shiney new one this weekend...
one quick question before i go off and compile, do i need initrd even if i compile my ata drivers/filesystem drivers into the kernel? i know there was a big uproar when arch went to using an initrd, and i havent really figured out my feelings on it but i figured i'd try a kernel using it, and a kernel without to see if i can notice the difference personally (even though yes, i realize that an initrd reduces clutter in the kernel and therefore should make the kernel a bit quicker and smaller).
Offline
alright after messing around with kernels for a day or two, i've found the major culprit.... my modules. Ndiswrapper seems to love CPU cycles. With it, i'll have usage from 10% to about 25%, and without it.. i'm looking at about 4% usage right now. Any sugestions on how to make ndiswrapper more efficent? Or is it just a problem that i'll have to live with.
Edit: after running for a while without ndiswrapper and acerhk, my cpu usage went back up for no reason. i unloaded fglrx and then it went down a bit. I'm plum confused with my situation but it seems my computer might not like modules at all? Is there any reason for this or do i just have a really odd situation here.
Offline
Pages: 1