Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Jan 2020 15:55:11 -0700
From:      Warner Losh <imp@bsdimp.com>
To:        Pedro Giffuni <pfg@freebsd.org>, "freebsd-arch@freebsd.org" <freebsd-arch@freebsd.org>
Subject:   Re: svn commit: r356758 - in head/usr.sbin/bsdinstall: . scripts
Message-ID:  <CANCZdfpG-BDvcm1Yh%2BczDiF6JDXcTztsZDvw=oS2HZFsnvrTGA@mail.gmail.com>
In-Reply-To: <6925a470-ccbe-1446-e55e-f0aa8b6e6387@FreeBSD.org>
References:  <202001150747.00F7lqiG071097@repo.freebsd.org> <CAPjTQNHa9Um%2B0S8zMD3eeop3YSdVti0o=DSv5%2BB=455wcrq3VA@mail.gmail.com> <ed0b16af-01c8-62fe-918a-3f1f9f9dcbd8@freebsd.org> <CANCZdfpOw54MQsW4aohLn3ufgEqK8beTe_EdjYktViFubPPyzg@mail.gmail.com> <aea3e071-61bd-399d-1d1f-cce4125b2480@grosbein.net> <CAPyFy2DEC=jhQdxOLjUGs9nr%2B2n733XJfWKjTKYbAY7eubRkRQ@mail.gmail.com> <6925a470-ccbe-1446-e55e-f0aa8b6e6387@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
[ redirected to arch@ ]

For the arch@ list: Recently ZFS was made the first (default) choice in
bsdinstall instead of a UFS. A discussion started on the src lists, but
belongs here.

On Wed, Jan 15, 2020 at 3:02 PM Pedro Giffuni <pfg@freebsd.org> wrote:

> On 15/01/2020 16:41, Ed Maste wrote:
> > On Wed, 15 Jan 2020 at 16:10, Eugene Grosbein <eugen@grosbein.net>
> wrote:
> >> There are multiple scenarios there ZFS may be sub-optimal at least:
> small i386 virtual guests
> >> or 32-bit only hardware like AMD Geode, or big amd64 SSD-only systems
> with bhyve and multiple guests
> >> that need lots of memory and should not fight with ZFS for RAM etc.
>

We support those, but they shouldn't drive the defaults. It's super easy to
just install UFS on those systems. For virtualizations like this, most of
the time people use jails because it's more efficient on systems that are
tight on memory, so I'm not sure it's a case that should drive the default
decisions...


> > That may well be the case, but our defaults should represent the
> > configuration that's desirable to the largest set of users, and IMO
> > that's ZFS in most cases today.
>

Agreed. ZFS vs UFS is still an install-time choice.


> There is also the policy of not making copyleft code mandatory
> (technically, CDDL is weak copyleft).
>

Nothing makes it mandatory. It's still optional for people that wish to
avoid it.


> If ZFS is disabled in the build, the installer should gracefully disable
> it too.
>

True, but we're not talking about that issue. It's orthogonal, so let's not
get distracted.


> > It might be that we should default to UFS on i386 and ZFS on amd64?
>

It's not i386 vs amd64 that's the issue. It's the total amount of RAM. ZFS
is perfectly happy with i386 installs with enough RAM. We'd catch most
sub-optimal cases if we'd offer it only for systems with > ~2-4GB.

Warner



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfpG-BDvcm1Yh%2BczDiF6JDXcTztsZDvw=oS2HZFsnvrTGA>