Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Nov 2009 10:21:51 -0800 (PST)
From:      James Phillips <anti_spam256@yahoo.ca>
To:        freebsd-questions@freebsd.org
Cc:        CyberLeo <cyberleo@cyberleo.net>
Subject:   Re: freebsd-questions Digest, Vol 284, Issue 11
Message-ID:  <393905.86009.qm@web65508.mail.ac4.yahoo.com>
In-Reply-To: <20091115120013.145771065724@hub.freebsd.org>

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

> Date: Sat, 14 Nov 2009 20:29:59 -0600
> From: CyberLeo Kitsana <cyberleo@cyberleo.net>
> Subject: [FreeBSD Questions] Filesystem image as root
> To: FreeBSD Questions <freebsd-questions@freebsd.org>
> Cc: CyberLeo <cyberleo@cyberleo.net>
> Message-ID: <4AFF67A7.6040109@cyberleo.net>
> 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

http://www.pcguide.com/ref/hdd/if/ide/modesPIO-c.html

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).

Regards,

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
http://ca.toolbar.yahoo.com.



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?393905.86009.qm>