Re: [PATCH 00/10] AXFS: Advanced XIP filesystem

From: Jamie Lokier
Date: Mon Sep 15 2008 - 12:40:30 EST


Jared Hulbert wrote:
> > I think the "fast" in "fast synchronous" gives it away :-)
>
> Yes, I suppose it does.
>
> > I'm using Spansion MirrorBit S29GL128N, which reads at about 0.6 MByte/s.
>
> I think you should get more like an order of magnitude higher.... Get
> an expert to look at your timings in the bootloader. Make sure things
> are cached too. ioremap_cached()...

Yes, looking at the Spansion datasheet, if it were interfaced properly
it should be quite fast. (25ns access time for in-page 16-bit reads,
100ns for random reads).

I'll see if ioremap_cached() makes a difference to streaming read
performance.

The BSP suppliers have been quite cautious in places, flushing cache a
bit too often. (I'm not surprised - we had disk ext3 filesystem
corruption due to insufficient cache flushing in places too.)

> > Oh, and it's a 166MHz ARM, so it's quite capable of decompressing
> > faster than the NOR can deliver.
>
> Depends on how you are measuring it. You ought to be able to get at
> least 2 orders of magnitude higher read speeds with a good sync Flash.
> Some of the newer stuff is even faster.

Thanks.

Oh, how I look forward to the day of working with current kernels and
current hardware.

-- Jamie

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/