Openmoko Bug #1813: Excessive enlightenment. CPU/syscalls
Openmoko Public Trac
bugs at docs.openmoko.org
Tue Aug 12 21:05:09 CEST 2008
#1813: Excessive enlightenment. CPU/syscalls
----------------------+-----------------------------------------------------
Reporter: alvieboy | Owner: openmoko-devel
Type: defect | Status: new
Priority: normal | Milestone: Om2008.8
Component: unknown | Version: GTA02v5
Severity: normal | Keywords:
Blocking: | Blockedby:
----------------------+-----------------------------------------------------
enlightenment shipped with Om2008.8 eats a lot of CPU (average 6%), and
seems to do some "stupid" things.
This is a 10s run of strace on the process, showing just the summary:
# time strace -c -p 1419
Process 1419 attached - interrupt to quit
Process 1419 detached
% time seconds usecs/call calls errors syscall
------ ----------- ----------- --------- --------- ----------------
31.38 0.016566 64 260 select
27.79 0.014673 16 899 gettimeofday
23.61 0.012465 204 61 stat64
6.49 0.003428 7 515 ioctl
3.64 0.001924 481 4 write
1.59 0.000840 168 5 munmap
1.54 0.000813 163 5 mmap2
1.42 0.000752 68 11 1 read
1.32 0.000695 70 10 fstat64
1.20 0.000636 127 5 fcntl64
0.00 0.000000 0 15 5 open
0.00 0.000000 0 10 close
0.00 0.000000 0 2 poll
0.00 0.000000 0 10 getdents64
------ ----------- ----------- --------- --------- ----------------
100.00 0.052792 1812 6 total
real 0m 10.10s
user 0m 0.38s
sys 0m 1.37s
This makes about 180 syscalls/second.
But the most "stupid" one is enlightnment stat'ing
"/usr/share/enlightenment/data/themes/illume.edj" about 6 times per
second. Also it iterates over USB devices, but I am not sure what for.
These dumps were made with Neo idling.
Is this an enlightenment defect/feature, or Om build of enlightenment ?
--
Ticket URL: <https://docs.openmoko.org/trac/ticket/1813>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac
More information about the devel
mailing list