Re: What File System supports Application XIP
From: Todd Poynor (tpoynor_at_mvista.com)
Date: 09/11/04
- Previous message: Greg KH: "Re: [patch] kernel sysfs events layer"
- In reply to: Tim Bird: "Re: What File System supports Application XIP"
- Next in thread: colin: "Re: ¡@[*©U§£¶l¥ó*] Re: What File System supports Application XIP"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 10 Sep 2004 17:06:01 -0700 To: Tim Bird <tim.bird@am.sony.com>
Tim Bird wrote:
...
> The patches I've seen require setting the CRAMFS_LINEAR option, to turn on
> linear addressing for cramfs, and CRAMFS_LINEAR_XIP. The result of these
> is to dispense with compression.
Compression is skipped for the XIP files, which are typically marked via
the sticky bit. You'll also need a version of mkcramfs that creates the
image without compressing those files.
...
> FYI - Here are some rough numbers:
> Time to run shell script which starts TinyX X server and "xsetroot -solid red",
> then shuts down:
>
> First invocation: Non-XIP 3.195 seconds, XIP 2.035 seconds
> Second invocation: Non-XIP 1.744 seconds, XIP 1.765 seconds
>
> I think this was on a 133 MHz PPC, but I'm not positive. In both cases
> the filesystem was in flash.
It was measured on a 168MHz ARM 925T TI OMAP 1510.
Others' advice that "you probably don't want XIP" is true in most cases.
But in producing a battery-operated product with certain requirements
for performance, power savings (due to reduced RAM requirements),
startup time (depending on the platform and software stack the
difference can be significant), etc. XIP is an option chosen by some CE
designers, who are willing to accept the performance penalty on a
product that will still run adequately for its intended uses. It would
be interesting to see an in-depth analysis of these topics on an actual
Linux-based product such as a cell phone. There are, of course, a
number of ways to address all these issues, not just XIP...
-- Todd Poynor MontaVista Software - 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/
- Previous message: Greg KH: "Re: [patch] kernel sysfs events layer"
- In reply to: Tim Bird: "Re: What File System supports Application XIP"
- Next in thread: colin: "Re: ¡@[*©U§£¶l¥ó*] Re: What File System supports Application XIP"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|