Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Nov 2009 10:21:51 -0800 (PST)
From:      James Phillips <>
Cc:        CyberLeo <>
Subject:   Re: freebsd-questions Digest, Vol 284, Issue 11
Message-ID:  <>
In-Reply-To: <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help

> Date: Sat, 14 Nov 2009 20:29:59 -0600
> From: CyberLeo Kitsana <>
> Subject: [FreeBSD Questions] Filesystem image as root
> To: FreeBSD Questions <>
> Cc: CyberLeo <>
> Message-ID: <>
> Content-Type: text/plain; charset=ISO-8859-1
> I have been thinking and experimenting for weeks, but I
> cannot figure
> this out.
> I have an Intel SS4200 NAS that I wish to use as a ZFS NAS
> with FreeBSD 8.0.
> The device has 4 SATA bays, and I don't want to use one for
> a UFS root disk.
> I don't want to use up hundreds of megabytes of RAM
> preloading an
> mfsroot that can never shrink.
> The single IDE connector is accessible via the legacy ISA
> ports, and is
> thus limited to PIO modes (about 1.6MB/sec max, even with
> an actual hard
> drive instead of a CF card).

You are off by an order of magnitude (base 2 or 10):
Pio mode 0 is ~3.3 MB/s
Pio mode 4 is ~16.7 MB/s

You can probably set PIO mode 4 for with:
# atacontrol mode ad0 PIO4

I am currently using ~ 159MB on my root partition,

At 16.7MB/s that is a 10 second load time; and as you said, frequently used files will be cached. (I have a CF card that has 15MB/s symmetric read/write. Don't know how special it is.)

With a CF card there should be no seek delay of ~ 10 ms (for reads anyway, deleting blocks probably takes 10ms).


James Phillips

<SNIPPED pivot_root attempt I can't help with.>
My summary: maybe you are trying too hard :)

Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your favourite sites. Download it now

Want to link to this message? Use this URL: <>