Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758244AbYHVShe (ORCPT ); Fri, 22 Aug 2008 14:37:34 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751946AbYHVShR (ORCPT ); Fri, 22 Aug 2008 14:37:17 -0400 Received: from mail2.shareable.org ([80.68.89.115]:41336 "EHLO mail2.shareable.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753378AbYHVShQ (ORCPT ); Fri, 22 Aug 2008 14:37:16 -0400 Date: Fri, 22 Aug 2008 19:37:13 +0100 From: Jamie Lokier To: Jared Hulbert Cc: Greg Ungerer , Linux-kernel@vger.kernel.org, linux-embedded@vger.kernel.org, linux-mtd , =?iso-8859-1?Q?J=F6rn?= Engel , tim.bird@am.sony.com, cotte@de.ibm.com, nickpiggin@yahoo.com.au Subject: Re: [PATCH 00/10] AXFS: Advanced XIP filesystem Message-ID: <20080822183713.GC24179@shareable.org> References: <48AD00C4.6060302@gmail.com> <20080821110749.GA1926@shareable.org> <6934efce0808210711t686a88eci6eb294dbb54d68fe@mail.gmail.com> <48AE0476.80109@snapgear.com> <20080822181314.GB24179@shareable.org> <6934efce0808221116w76a662b0t954b0922b69d3232@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6934efce0808221116w76a662b0t954b0922b69d3232@mail.gmail.com> User-Agent: Mutt/1.5.13 (2006-08-11) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1540 Lines: 36 Jared Hulbert wrote: > On Fri, Aug 22, 2008 at 11:13 AM, Jamie Lokier wrote: > > Greg Ungerer wrote: > >> One thing for sure is that many people who do non-MMU setups > >> are interested in XIP to get the space savings. These are very > >> often small devices with very constrained RAM and flash. (For > >> whatever it is worth single NOR flash only boards are common in > >> these smaller form factors :-) > > > > I'm using XIP on a device with 32MB RAM. The reason I use it is > > _partly_ to save RAM, partly because programs start about 10 times > > faster (reading NOR flash is slow and I keep the XIP region in RAM) > > What kind of NOR you using? That is not what I measure with fast > synchronous burst NOR's. I think the "fast" in "fast synchronous" gives it away :-) I'm using Spansion MirrorBit S29GL128N, which reads at about 0.6 MByte/s. Not because they're good, but because that's what the board I'm coding for has on it. I presume they were cheap and familiar to the board designers. (There is 32MB of RAM to play with after all.) So start a sequence of Busybox processes from a shell script is noticable, if it reads from NOR each time. Oh, and it's a 166MHz ARM, so it's quite capable of decompressing faster than the NOR can deliver. -- Jamie -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/