Page 1 of 1

Low CPU usage

Posted: Thu Jul 12, 2012 1:42 pm
by msandoy
Hi.

I recently received my RPI, and I have it booted up with Debian. I have set up SSHD and running LXDE(localy, not via SSH). During installation of additional programs via apt-get, the CPU Usage monitor on the panel shows 100% usage, but HTOP in my ssh session shows less than 10% usage. The installation process takes incredibly long time, even for small programs with few dependencies. What is causing this strange reporting of CPU usage?

Re: Low CPU usage

Posted: Thu Jul 12, 2012 2:25 pm
by TommyboyNL
How much CPU is "waiting" according to top? It could be that you have a slow SD card, and that the CPU is wailing for data from SD.

Re: Low CPU usage

Posted: Thu Jul 12, 2012 4:17 pm
by msandoy
Hi.

I installed gkrellm to get a clearer view of the usage. You might be onto something about the SD card. It seems like the card is acting very slow. It is a Kingston 16GB class 4 card. Brand new. I have to do a bit more investigation.

Re: Low CPU usage

Posted: Thu Jul 12, 2012 8:27 pm
by TommyboyNL
Most SD cards aren't very good at random IO, unfortunately, that's exactly what installing an application requires.

Re: Low CPU usage

Posted: Fri Jul 13, 2012 9:35 am
by dom
Sdcards are faster in Wheezy image, or after running rpi-update, compared to Debian Squeeze.

Re: Low CPU usage

Posted: Fri Jul 13, 2012 5:59 pm
by msandoy
Ok, since I'm still in the early period of testing, I think I might install another image.

Re: Low CPU usage

Posted: Mon Jul 23, 2012 7:51 pm
by msandoy
Finally got the raspbian image to work. ( Found out it could not be installed on a micro SD using a adaptor for the SD slot. It actually worked with squeeze.)
This has increased the responsiveness of my Pi considerably. Now it is actually usable.
Will have to get some electronic components next, and then it is just to start reading.