Progress report on RAM and CPU of OLPC (Re: [OLPC-devel] do we need s/o to make .swf plug-in for olpc browser?)
supat at supat.eu.org
supat at supat.eu.org
Fri Jul 28 21:22:24 EDT 2006
Hi,
So far, to make .swf to work on OLPC need below to run on server:
bash-3.00# ps aux|grep esd
zxc 8472 1.3 0.3 11588 6704 ? S 16:30 0:03
/opt/kde/bin/artsd -F 10 -S 4096 -a esd -d -n -s 60 -l 3 -f
root 8679 0.0 0.0 1560 516 pts/1 S+ 16:34 0:00 grep esd
It will eat server RAM up to 338 MB as below:
top - 17:10:45 up 10:40, 2 users, load average: 0.10, 0.06, 0.04
Tasks: 259 total, 1 running, 247 sleeping, 0 stopped, 11 zombie
Cpu(s): 2.5% us, 1.0% sy, 0.0% ni, 95.7% id, 0.0% wa, 0.2% hi, 0.7%
si
Mem: 2075112k total, 1136368k used, 938744k free, 11144k buffers
Swap: 0k total, 0k used, 0k free, 520556k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
9050 zxc 15 0 268m 253m 14m S 3.3 12.5 0:22.05
nspluginviewer
3975 root 14 -1 63448 12m 2024 S 0.7 0.6 0:05.72 X
4055 root 15 0 25096 13m 10m S 0.7 0.7 0:03.89 kdeinit
4047 root 15 0 24004 12m 9.9m S 0.3 0.6 0:00.34 kdeinit
8120 fud 15 0 4808 3172 1104 S 0.3 0.2 0:00.75 perl
On OLPC need to run below inittab:
x1:4:wait:/etc/rc.d/rc.4
sss:35:respawn:/usr/X11R6/bin/X :1 -query 10.9.0.249
# End of /etc/inittab
The problem found is network crash often and I need to do sequence of
below command to bring back network:
ifconfig eth0 down
rmmod usb8xxx
modprobe usb8388
I guess playing .swf huge movies will eat big bandwidth and need more
network cache to buffer the movie.
If anyone know how to do so please enlight me.
Thank you,
supat
On Wed, 26 Jul 2006, supat at supat.eu.org wrote:
>
>
> On Fri, 21 Jul 2006, supat at supat.eu.org wrote:
>
>> Original work will not support wireless and sound.
>> What I will do is repeat my work on those source.
>>
>> By this way OLPC will use server RAM and CPU to do big task for .swf movie.
>> :)
>>
>> supat
>
> NOW I can use NXserver to play both sound and image to OLPC.
> It will send sound via esd.
>
> It took me very long time to make NXserver to work to test my hypothesis. And
> now the strange feature is server run gdm while client run kdm :(
>
> BY using this method, anything server can have capability will send to OLPC
> w/o need huge CPU and RAM.
>
> supat
>
More information about the Devel
mailing list