RE: [Yaffs] Reducing footprint in RAM

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Nick Bane
Date:  
To: Daniel Gustafsson, yaffs
Subject: RE: [Yaffs] Reducing footprint in RAM
> I am using yaffs/direct.
>
> I need to reduce the footprint in RAM a lot (maybe by not storing the
> complete tnode-list in RAM and increasing pagesize etc.). Any suggestions
> how to do that???
>
> If you restart the system and you have a flash memory of 1GB,
> does the file
> system then have to read the whole memory to create the original state???
>
> I need as much information as possible to establish a good starting point
> before trying to optimize.
>

In my variant on bootldr, I use a small yaffs partition to house a linux zImage. This has a very rapid mount time and low ram footprint. This could be a way of lightening the initial ram burden if you are using yaffs-direct before booting an os.
If you are severely ram cramped and/or not booting an os then I guess you could split the nand up into small partitions and mount/unmount each one as needed. Its a bit clumsy but its an option.

Nick

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.773 / Virus Database: 520 - Release Date: 05/10/2004