[sugar] Moving to metacity with composition (was: Preparing for the feature freeze)

Sayamindu Dasgupta sayamindu at gmail.com
Wed Jun 4 11:58:40 EDT 2008


On Tue, Jun 3, 2008 at 5:09 PM, Martin Dengler <martin at martindengler.com> wrote:
> As an aside...
>
> On Tue, Jun 03, 2008 at 12:16:27PM +0200, Tomeu Vizoso wrote:
>> Sayamindu, you say you got OOM problems after activating composition,
>> can you check where that memory is going? Or might be the X server
>> crashing instead?
>
> Even on my C2 "yum search yummemoryimprovesinf9" causes significant
> memory pressure[1].  Sugar/Glucose/Sweetness becomes unresponsive,
> though oom-killer doesn't get involved. I'm surprised that it's even
> feasible to run yum on a B4 with sugar running.  I've been using
> compcache[2,3] to help with this pressure.
>
>> Cheers,
>>
>> Tomeu
>
> Martin
>
> 1. As in, "free" in vmstat goes down to 0, from 40.  Yeah, this is
> imprecise.  "cache" is still fine at 80.  joyride-1998. That's not
> downloading any updates, no activities running.
> 2. http://dev.laptop.org/ticket/28
> 3. http://www.xades.com/ , "compcache on the XO"
>

I tried your ps_mem.py based tests, as outlined at
http://lists.laptop.org/pipermail/sugar/2008-March/004718.html (well,
not an exact replica, but close to it). I was running os16 from
http://pilgrim.laptop.org/~pilgrim/olpc/streams/olpc3/build16/, and
was unable to run most activities on it (eg: Web, Write, etc). The
"before" part of the test was done with matchbox (the stock one which
came with the os), and the after part with metacity, with compositor
enabled. The results are as follows:


-----
before:  2.5 MiB + 459.0 KiB =   2.9 MiB	matchbox-window-manager
-----
after.:  1.8 MiB + 552.5 KiB =   2.3 MiB	metacity
-----
-----
before: 73.3 MiB +   5.3 MiB =  78.6 MiB	python (12)
after.: 73.7 MiB +   5.6 MiB =  79.3 MiB	python (12)
-----
before: 13.1 MiB +   1.9 MiB =  14.9 MiB	Terminal <17c20
after.: 13.1 MiB +   1.8 MiB =  14.9 MiB	Terminal <b9662
-----
-----
before: 26.4 MiB +   3.5 MiB =  29.9 MiB	Measure <5f0940
after.: 26.4 MiB +   3.4 MiB =  29.9 MiB	Measure <ff6038
-----
before: 11.9 MiB +   2.0 MiB =  14.0 MiB	Journal <01f5e1
after.: 13.0 MiB +   2.0 MiB =  15.0 MiB	Journal <8828b9
-----
before:  6.2 MiB + 514.0 KiB =   6.7 MiB	Xorg
after.: 20.7 MiB + 466.0 KiB =  21.2 MiB	Xorg


Cheers,
Sayamindu

-- 
Sayamindu Dasgupta
[http://sayamindu.randomink.org/ramblings]


More information about the Sugar mailing list