[Trac #1435] Show page Fault/Can't open boot device/Boot load failed in OFW.
Zarro Boogs per Child
bugtracker at laptop.org
Sat May 12 03:48:33 EDT 2007
#1435: Show page Fault/Can't open boot device/Boot load failed in OFW.
---------------------------+------------------------------------------------
Reporter: chiaying.lin | Owner: wmb at firmworks.com
Type: defect | Status: assigned
Priority: normal | Milestone: BTest-4
Component: hardware | Version:
Resolution: | Keywords:
---------------------------+------------------------------------------------
Comment (by wmb at firmworks.com):
What is causing the JFFS2 to use so much memory?
As one hot spot, the image I analyzed had 31 copies (probably one current
copy and 30 obsoleted ones) of a file named LARGE.FIL . That file used
66560 data nodes for each copy, so there were over 2 million data nodes
just for copies of that file.
Each data node currently occupies 16 bytes in the in-memory map of the
JFFS2 filesystem, so that file alone accounts for 33 MB of RAM usage.
There is also SMALL.FIL and MEDIUM.FIL, 31 copies each, totaling 25 MB of
RAM usage.
So those three files account for 58 MB of the 86 MB used for data node
storage. (There is an additional 24 MB used by directory entries).
--
Ticket URL: <http://dev.laptop.org/ticket/1435#comment:13>
One Laptop Per Child <http://laptop.org/>
More information about the Bugs
mailing list