LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: "Jörn Engel" <joern@logfs.org>
To: Dimitrios Apostolou <jimis@gmx.net>
Cc: "Jörn Engel" <joern@logfs.org>,
	linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org
Subject: Re: swap file over jffs2 partition
Date: Fri, 29 Feb 2008 20:57:40 +0100	[thread overview]
Message-ID: <20080229195740.GA24630@lazybastard.org> (raw)
In-Reply-To: <47C84111.6030103@gmx.net>

On Fri, 29 February 2008 19:29:53 +0200, Dimitrios Apostolou wrote:
> 
> Thanks and sorry for intruding LKML. It seems that even wikipedia has 
> wrong address for the mailing list, see the last link of the article:
> 
> http://en.wikipedia.org/wiki/JFFS2

Fixed.  Not that I actually read the page and checked for other
errors...

> Interesting. I guess nobody has experimented with it yet so I'll try. 
> Unfortunately it seems I'll face another problem, that JFFS2 doesn't 
> support having a swap-file at all. Why would this happen? More info:
> 
> http://dev.laptop.org/ticket/6469

Yes, this still requires a bit of work.  Peter Zijlstra has a patch for
the memory-management side of it, someone has to fix up jffs2 as well.
I'll add support to logfs fairly soon.

> Of course! I intend to use all the 1GB of flash only for swap, the 
> system will be practically diskless. And I don't think enabling 
> compression for such a task would be wise.

It might, actually.  Assuming your average swap page compresses to 50%,
it means that you use half the bandwidth to flash and get twice the
lifetime before blocks wear out.  Whether the performance gets better or
worse depends on the relative speeds of your CPU and flash.

Jörn

-- 
Joern's library part 10:
http://blogs.msdn.com/David_Gristwood/archive/2004/06/24/164849.aspx

  reply	other threads:[~2008-02-29 19:58 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-29  2:50 Dimitrios Apostolou
2008-02-29  8:43 ` Jörn Engel
2008-02-29 17:29   ` Dimitrios Apostolou
2008-02-29 19:57     ` Jörn Engel [this message]
2008-02-29  9:19 ` Bernd Petrovitsch
2008-02-29 18:13   ` Dimitrios Apostolou
2008-03-02 11:55     ` Bernd Petrovitsch
2008-03-02 13:57       ` David Newall
2008-03-03 14:19         ` Bernd Petrovitsch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080229195740.GA24630@lazybastard.org \
    --to=joern@logfs.org \
    --cc=jimis@gmx.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mtd@lists.infradead.org \
    --subject='Re: swap file over jffs2 partition' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).