[OLPC Engineering] [Techteam] New F14-arm build os21

Martin Langhoff martin at laptop.org
Thu Dec 22 13:50:28 EST 2011


On Wed, Dec 21, 2011 at 8:51 PM, Bernie Innocenti <bernie at sugarlabs.org> wrote:
> Anyway, closing an activity automatically when memory is short would
> still be preferable to the current behavior of trashing the VM until the
> OOM kicks in.

That's exactly the point :-)

>> A quick hack would be to limit the number of activities that can run
>> simultaneously.
>
> I agree. How about 4? Seems sufficient for most productive workloads.

I think we should look at the output of vmstat or read the smaps and
take a decision based on that. Different units have different memory;
some programs are memory hogs, or can become so if you open large
documents.




m
-- 
 martin at laptop.org -- Software Architect - OLPC
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff



More information about the Devel mailing list