Re: What File System supports Application XIP

From: Todd Poynor (tpoynor_at_mvista.com)
Date: 09/11/04

  • Next message: Starling: "Keyboard and mouse interfere in 2.6"
    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/
    

  • Next message: Starling: "Keyboard and mouse interfere in 2.6"

    Relevant Pages

    • Re: What File System supports Application XIP
      ... jffs2 with compression might be a better choice; ... from transfering too much data from the slower flash. ... It's not XIP but I ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: ClearCase + WINCE 5.0 = headache
      ... XIP is separate from the compression you're talking about. ... That memory region must be physically contiguous. ... I wonder if I should hard configure compression either on or off. ... "Dean Ramsier" wrote: ...
      (microsoft.public.windowsce.platbuilder)
    • Re: What File System supports Application XIP
      ... >> We are developing embedded Linux system. ... >> I know that Cramfs has supported Application XIP. ... cramfs -- obviously you have to dispense with compression for the files ... because it doesn't have to be loaded into RAM first. ...
      (Linux-Kernel)
    • Re: APs from the Kernel Summit run Linux
      ... than compression. ... It seems quite buggy in other respects, too, one day it stopped ... accepting any packets through the WiFi interface, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: reiser4 plugins
      ... > any simple lossless compression, ... No. *YOU* are misunderstanding. ... So rather than everything working in a funky manner, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)