LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Bernd Petrovitsch <bernd@firmix.at>
To: Dimitrios Apostolou <jimis@gmx.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: swap file over jffs2 partition
Date: Fri, 29 Feb 2008 10:19:23 +0100	[thread overview]
Message-ID: <1204276763.18969.10.camel@tara.firmix.at> (raw)
In-Reply-To: <47C772E9.2000000@gmx.net>

On Fre, 2008-02-29 at 04:50 +0200, Dimitrios Apostolou wrote:
> Hello list,
> 
> I intend to build a diskless linux system (root over NFS). Because it
> has 1GB of embedded flash storage, I'm thinking of using this as swap 
> (I've been bitten many times by the problems linux has with *no* 

Put more RAM on the hardware and/or reduce the software on it.
If that means heavily customizing the distribution: Do it.
If that means you can't run some specific common distribution[0]: Throw
it out and roll your own minimalistic one with just the tools and
especially libraries you need.
We run Linux on embedded hardware all the time without swapspace without
any problems (related to the "missing" swapspace).

> swap...). And to avoid wearing out the flash storage too fast, I 'm 

Swapping (and constantly writing logfiles) will wear it out much faster
than without. Perhaps not at development time but for sure in the field.

[....]

	Bernd

[0]: Which I highly doubt.
-- 
Firmix Software GmbH                   http://www.firmix.at/
mobil: +43 664 4416156                 fax: +43 1 7890849-55
          Embedded Linux Development and Services



  parent reply	other threads:[~2008-02-29  9:19 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
2008-02-29  9:19 ` Bernd Petrovitsch [this message]
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=1204276763.18969.10.camel@tara.firmix.at \
    --to=bernd@firmix.at \
    --cc=jimis@gmx.net \
    --cc=linux-kernel@vger.kernel.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).