lkml.org 
[lkml]   [2008]   [Feb]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: swap file over jffs2 partition
From
Date
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




\
 
 \ /
  Last update: 2008-02-29 10:23    [W:0.047 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site