Subject: Re: using swap with hpcmips
To: Alexander Bochmann <ab@lists.gxis.de>
From: Todd Vierling <tv@wasabisystems.com>
List: port-hpcmips
Date: 02/05/2002 10:02:21
On Tue, 5 Feb 2002, Alexander Bochmann wrote:

:  > So I'm trying to determine why hpcmips on the z50 won't configure swap.
:
: Hm, it does on my system.

:   g:    31743   224257       swap                        # (Cyl.  438*- 499)
:
: (I should have bought a CF card mith more than 128MB :( ...)

Swapping to a CF is guaranteed to nuke your CF card's lifetime awfully
quick.  (Hopefully, you also have filesystems mounted noatime and
nodevmtime, or else it'll die even faster.  :)  Flash pages only have a
rewrite lifetime in the 10^6 range, and even without using a lot of memory,
NetBSD will still chug pages in your swap area all the time.

It's best, if real flash memory is involved, not to enable swap unless
absolutely necessary, and to mount as many fs's as possible readonly (or at
least noatime+nodevmtime).

-- 
-- Todd Vierling <tv@wasabisystems.com>  *  Wasabi & NetBSD:  Run with it.
-- CDs, Integration, Embedding, Support -- http://www.wasabisystems.com/