[Dextrose] Stability stuff

Martin Abente mabente at paraguayeduca.org
Tue Aug 31 12:00:56 EDT 2010


Hey guys, 

I have been testing our last dextrose build for the XO 1, and comparing it
to the previous os179py (Sugar 0.84) version. I have noticed that the
kernel included in the os179os provides a mechanism for killing activities
when the laptop runs out of memory.

/var/log/messages:

Aug 31 15:30:25 xo-0d-6b-0c kernel: [ 2098.245352] lowmem_reserve[]: 0 0 0
Aug 31 15:30:25 xo-0d-6b-0c kernel: [ 2098.245373] DMA: 0*4kB 1*8kB 1*16kB
1*32kB 0*64kB 1*128kB 1*256kB 1*512kB 0*1024kB 0*2048kB 0*4096kB = 952kB
Aug 31 15:30:25 xo-0d-6b-0c kernel: [ 2098.245440] Normal: 415*4kB 8*8kB
0*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB =
1724kB
Aug 31 15:30:25 xo-0d-6b-0c kernel: [ 2098.245509] 1020 total pagecache
pages
Aug 31 15:30:25 xo-0d-6b-0c kernel: [ 2098.245523] 0 pages in swap cache
Aug 31 15:30:25 xo-0d-6b-0c kernel: [ 2098.245539] Swap cache stats: add
0, delete 0, find 0/0
Aug 31 15:30:25 xo-0d-6b-0c kernel: [ 2098.245555] Free swap  = 0kB
Aug 31 15:30:25 xo-0d-6b-0c kernel: [ 2098.245567] Total swap = 0kB
Aug 31 15:30:25 xo-0d-6b-0c kernel: [ 2098.254552] 57045 pages RAM
Aug 31 15:30:25 xo-0d-6b-0c kernel: [ 2098.254567] 1511 pages reserved
Aug 31 15:30:25 xo-0d-6b-0c kernel: [ 2098.254580] 1627 pages shared
Aug 31 15:30:25 xo-0d-6b-0c kernel: [ 2098.254593] 53106 pages non-shared
Aug 31 15:30:25 xo-0d-6b-0c kernel: [ 2098.254613] Out of memory: kill
process 2181 (/usr/bin/sugar-) score 28486 or a child
Aug 31 15:30:25 xo-0d-6b-0c kernel: [ 2098.254678] Killed process 2181
(/usr/bin/sugar-)


I have tried to trigger this mechanism on our last dextrose build, but
with no results. Is it possible that our last kernel does not include this
mechanism? And in that case is there any reason for not including it?



More information about the Dextrose mailing list