Bug 487601 - Less memory available for OLPC latest built
Summary: Less memory available for OLPC latest built
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 14
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: FedoraOnXO
TreeView+ depends on / blocked
 
Reported: 2009-02-26 22:05 UTC by Greg DeKoenigsberg
Modified: 2011-08-24 19:38 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-08-24 19:38:25 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Drop some debug/exotic config options form the XO-1 kernel (8.03 KB, patch)
2010-02-23 00:39 UTC, Bernie Innocenti
no flags Details | Diff

Description Greg DeKoenigsberg 2009-02-26 22:05:10 UTC
The dmesg here: http://dev.laptop.org/~cjb/656-dmesg
Memory: 235016k/243700k available

The dmesg here: http://dev.laptop.org/~cjb/rawhide-nand
Memory: 199384k/230196k available

Where did the extra memory go?

Comment 1 Jeremy Katz 2009-02-27 02:39:30 UTC
Some of it just "general purpose kernel, more is built-in".  A lot more of it is likely to be that debugging is currently enabled.  The F10 2.6.29 kernels being built in koji have it disabled and should be easy to see if they look more in line.  If so, then after 2.6.29 final is out and we turn debug off, then it'll work itself out.

Comment 2 Bug Zapper 2009-06-09 11:40:31 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle.
Changing version to '11'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 3 Bug Zapper 2009-11-16 09:49:22 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 12 development cycle.
Changing version to '12'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 4 Bernie Innocenti 2010-01-20 12:10:00 UTC
This is still the case in build OS11 of F-11 for XO-1. The kernel is indeed being built with plenty of debug enabled, which also makes it slower.

I might look at building a new kernel and report back.

Comment 5 Bernie Innocenti 2010-01-26 21:09:56 UTC
I've built a kernel with most debug disabled, but we're still missing plenty of memory:

  Memory: 206964k/228180k available

I will investigate further. Meanwhile, my streamlined kernel can be obtained from here:

  http://repo.paraguayeduca.org/xo1/i386/os/kernel-2.6.31_xo1-20100126.1446.1.olpc.c999f9c_DIRTY.i586.rpm

Comment 6 Bernie Innocenti 2010-02-01 21:57:59 UTC
After shaving the kernel a little further:

  Memory: 298244k/228180k

We're still missing plenty of memory, though. I'm starting to believe that something has changed at the detection level, or in Open Firmware.

Ideas?

Comment 7 Bernie Innocenti 2010-02-23 00:37:55 UTC
So far I couldn't find any more time to work on this.

Meanwhile, I'm attaching the patch for the olpc-2.6 kernel streamlines the configuration. It's been tested for a while, should be safe to merge.

Comment 8 Bernie Innocenti 2010-02-23 00:39:09 UTC
Created attachment 395613 [details]
Drop some debug/exotic config options form the XO-1 kernel

Comment 10 Bug Zapper 2010-11-04 11:29:00 UTC
This message is a reminder that Fedora 12 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 12.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '12'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 12's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 12 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 11 Bernie Innocenti 2010-11-04 14:21:54 UTC
Can someone please confirm that the bug is still present with recent kernels?


Note You need to log in before you can comment on or make changes to this bug.