[PATCH] ramfs: rember last accessed chunk

Uwe Kleine-König u.kleine-koenig at pengutronix.de
Wed May 16 14:42:26 EDT 2012


On Wed, May 16, 2012 at 01:20:25PM +0200, Sascha Hauer wrote:
> On Wed, May 16, 2012 at 08:10:16AM +0200, Jan Weitzel wrote:
> > Writing big files takes longer and longer because of the chunk list
> > By storing a pointer of the recent used chunk in the inode, access times are
> > improved.
> > Testet on with tftp 10M:
> > OMAP4 chunk size 4096: 12244ms 8192: 4239ms
> > 	patched        2647ms        2785ms
> > i.MX35 chunk size 8192: 7225ms
> > 	patched		2691ms
> > 
> > No impact on much smaller files seen
> > 
> > Signed-off-by: Jan Weitzel <j.weitzel at phytec.de>
> 
> Applied, thanks
Don't know if it's already too late:

	$Subject ~= s/rember/remember/

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |



More information about the barebox mailing list