Where olpc machine spending time when using web broswer
wcohen at redhat.com
Mon Mar 12 18:59:23 EDT 2007
William Cohen wrote:
> Looked at where the processor spends its time when browsing the web.
> Hardware configuration:
> OLPC Beta 2 machine
> Linksys USB200M USB 10/100 for ethernet connection
> 4GB memorex Mini Travel Drive for storage of image
> Software configuration:
Re ran the experiment on build 301 and installed the
xorg-x11-server-debuginfo-126.96.36.199-0.10.2.olpc1.i386.rpm on the olpc machine, so
I could take a look at where time is being spent in libfb.so.
# opreport -t 1 -l /usr/bin/Xorg
CPU: CPU with timer interrupt, speed 0 MHz (estimated)
Profiling through timer interrupt
samples % image name symbol name
6514 68.1096 libfb.so fbFetchTransformed
613 6.4095 libfb.so fbFetchPixel_x8r8g8b8
446 4.6633 libfb.so fbCompositeSolidMask_nx8x0565mmx
252 2.6349 libfb.so fbStore_r5g6b5
169 1.7670 libfb.so fbRasterizeEdges
137 1.4325 libfb.so fbCompositeSrc_8888x0565mmx
113 1.1815 libfb.so fbCopyAreammx
99 1.0351 libfb.so mmxCombineOverU
The attached file is a portion of the output from opannotate. There is a group
of MOD operations that are taking a significant portion of the time. The first
column is the number of samples and the second column is the percentage.
398 6.1099 : x1 = MOD (x1, pict->pDrawable->width);
383 5.8796 : x2 = MOD (x2, pict->pDrawable->width);
336 5.1581 : y1 = MOD (y1, pict->pDrawable->height);
355 5.4498 : y2 = MOD (y2, pict->pDrawable->height);
Following this there are also some other expensive operations to compute r. and
put it into buffer[i].
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the Devel