strange behavior, way too much sys cpu load

Rashid rashid at milacom.de
Thu Dec 23 15:49:40 CET 2010


Hi guys,

strange things happens. In top (command): I used my gameboy port from
openmoko wiki and it uses around 50-60% in users cpu load. And 6% in sys
cpu load.

In newer version the emulator uses 30-40 % in cpu user load and 60% in
sys cpu load.

The problem is I messed my source up and it needs now 60& sys load too.
And I forgot to release it, I released just the binary (shame on me)
which is fine. 

First question: Someone have an Idea which functions in SDL / c can
create such a huge sys load? I disabled the graphics and sound complete
and I got this ridicolous high load (98,5% with 72,5% sys cpu load), on
every recent release of the gnuboy:

top - 15:03:12 up  1:18,  2 users,  load average: 0.43, 0.48, 1.04
Tasks:  41 total,   2 running,  39 sleeping,   0 stopped,   0 zombie
Cpu(s): 27.5%us, 72.5%sy,  0.0%ni,  0.0%id,  0.0%wa,  0.0%hi,  0.0%si,
0.0%st
Mem:    125844k total,    22944k used,   102900k free,     1412k buffers
Swap:        0k total,        0k used,        0k free,    13384k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+
COMMAND            
 2259 root      20   0  6256 3148 1412 R 98.7  2.5   0:12.81
gnuboy             
 2235 root      20   0  2276 1092  892 R  1.3  0.9   0:00.43
top                
    1 root      20   0  1524  560  496 S  0.0  0.4   0:01.31
init               
    2 root      15  -5     0    0    0 S  0.0  0.0   0:00.00
kthreadd           
    3 root      15  -5     0    0    0 S  0.0  0.0   0:00.00
ksoftirqd/0        
    4 root      RT  -5     0    0    0 S  0.0  0.0   0:00.00
watchdog/0      




Maybe this link from the wiki got a version which fixes it, but its
down :(

http://www.thomasbertani.it/files/gnuboy-1.0.3.tar.gz

Has someone this file?

Greetz
rohezal




More information about the devel mailing list