From nobody Sat Mar 19 03:11:06 2022 X-Original-To: freebsd-stable@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 70F591A29F25 for ; Sat, 19 Mar 2022 03:11:18 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-vs1-xe2b.google.com (mail-vs1-xe2b.google.com [IPv6:2607:f8b0:4864:20::e2b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KL5WB28Ldz4RyR for ; Sat, 19 Mar 2022 03:11:18 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-vs1-xe2b.google.com with SMTP id u198so3041816vsu.10 for ; Fri, 18 Mar 2022 20:11:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=SYv047Cf4bXAX+EUayNOvpYnoLjk7x0Q07WUNsxqGaI=; b=V39ABl4gY2peip6f4Kr8xQb0Jqpyd3Qujx8Wck1fWuqTxVkad/TuR7AeIjkfBCatZ7 CUAmCaM0LwZrCPPiFXFoA7LEY911dSXwxF/G1jzUtvzBb43FDDfYr9ju9AXtYNNkoaDt pn9SYiIGi//I4InnDEzSw5edBJ+UGIXAh0Y2NJIwbrGnNAQCgHv5/B46R5hHM7+sxuT5 j8y60TrKTQSFWv2ckByxKFh5QndLVDdLie2+Z4mLhbA0MfySWnWROZBri2W/cHYFJ/Sw RxmfSbvM0erjB0WThMm4+9z6iwKfesV5/u58hctC2dEWbA45oC8NcC1zlL+uyAtRJnbu U9Aw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=SYv047Cf4bXAX+EUayNOvpYnoLjk7x0Q07WUNsxqGaI=; b=oWIkY+KKebM99K5h0C8RrmVRGbEiltWyULNUSEYbWFXeM8JxHJm11Ay94IBHcQLqB6 hkAZKjilW8D/FE9XMgKXnrphSdw3iLTzaW/lJClipvmRkKkQhvCKvhkqvPZy/1cQQVBh j2qacu2b6Sz4x2SA54ZE1TaDoCjpysVKx1TpMK6JA4gpUrVBg0HiXu78fTcyQCmIkX8M FwUOAGOi4gANJU9u+DtGKQsutTIstbRpglu+kNGp/yjTwcFeCTkhyBqxde7GRE1NhU0+ qyeYXUrETMGDhiBOVlbOoWFwQxBbrGm4yZxm0dAL5NBtTXo5k4FOq8X8d+qYDXwVdY+U AzFA== X-Gm-Message-State: AOAM53341EfShzi3c10ew7AvAfKSscWUVoNtpO44frHwgC2+/J8wKy7u 9f4Sx2ggaOp2m/tBfMHhpdMAWDZrj25s8c4OfTe4dA== X-Google-Smtp-Source: ABdhPJzVduRKaxDHcFPVBNn651UuZ0hafZydHFNQgCiycWwfeqIa8sRUOoKjmKV9sMnZBMAo1WBPh2e2v6V6OcNIgVQ= X-Received: by 2002:a67:ee53:0:b0:324:de59:9b3d with SMTP id g19-20020a67ee53000000b00324de599b3dmr2319667vsp.6.1647659477458; Fri, 18 Mar 2022 20:11:17 -0700 (PDT) List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org MIME-Version: 1.0 References: <72d30fc3-0ce4-51f8-ac7f-1b8eff63f3a9@grosbein.net> <373722bf-8f1d-7400-f639-83abdcd9fa10@grosbein.net> <20220319120900.3bca186fab063731706cbd65@dec.sakura.ne.jp> In-Reply-To: <20220319120900.3bca186fab063731706cbd65@dec.sakura.ne.jp> From: Warner Losh Date: Fri, 18 Mar 2022 21:11:06 -0600 Message-ID: Subject: Re: 13.1 mini-memstick installation image size To: Tomoaki AOKI Cc: Eugene Grosbein , FreeBSD stable , FreeBSD Release Engineering Team Content-Type: multipart/alternative; boundary="000000000000dd722805da899d4e" X-Rspamd-Queue-Id: 4KL5WB28Ldz4RyR X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N --000000000000dd722805da899d4e Content-Type: text/plain; charset="UTF-8" On Fri, Mar 18, 2022, 9:09 PM Tomoaki AOKI wrote: > On Sat, 19 Mar 2022 08:54:45 +0700 > Eugene Grosbein wrote: > > > 19.03.2022 3:58, Warner Losh wrote: > > > > > On Fri, Mar 18, 2022 at 8:12 AM Eugene Grosbein > wrote: > > > > > > Hi! > > > > > > I wonder if we really need /usr/share to be over 106MB in > FreeBSD-13.1-BETA1-amd64-mini-memstick.img > > > increasing its uncompressed size upto 434MB ? Same for bootonly > image that is somewhat less > > > but it's still pretty large to be used for network booting some > hoster's virtual machine, for example. > > > > > > Isn't it time to use GEOM_UZIP, move kernel modules to > /boot/modules out of /boot/kernel > > > and compress /boot/modules (141MB) and /usr (165MB) to reduce size > of "mini" installatiom media drastically? > > > > > > > > > Or we could just compress the modules. We've supported loading > compressed modules for a long time.... > > > > AFAIK, kldload cannot load compressed modules, only loader can. > > If so, kldload should support it as loader does. > I thought I'd added it years ago by uncomptessing to /tmp and loading it from there.. Warner > I suppose GEOM_UZIP is more effective solution, and more versatile. > > > -- > Tomoaki AOKI > --000000000000dd722805da899d4e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Fri, Mar 18, 2022, 9:09 PM Tomoaki AOKI <junchoon@dec.sakura.ne.jp> wro= te:
On Sat, 19 Mar 2022 08:54:45 +0= 700
Eugene Grosbein <eugen@grosbein.net> wrote:

> 19.03.2022 3:58, Warner Losh wrote:
>
> > On Fri, Mar 18, 2022 at 8:12 AM Eugene Grosbein <eugen@grosbei= n.net <mailto:eugen@grosbein.net>> wrote:
> >
> >=C2=A0 =C2=A0 =C2=A0Hi!
> >
> >=C2=A0 =C2=A0 =C2=A0I wonder if we really need /usr/share to be ov= er 106MB in FreeBSD-13.1-BETA1-amd64-mini-memstick.img
> >=C2=A0 =C2=A0 =C2=A0increasing its uncompressed size upto 434MB ? = Same for bootonly image that is somewhat less
> >=C2=A0 =C2=A0 =C2=A0but it's still pretty large to be used for= network booting some hoster's virtual machine, for example.
> >
> >=C2=A0 =C2=A0 =C2=A0Isn't it time to use GEOM_UZIP, move kerne= l modules to /boot/modules out of /boot/kernel
> >=C2=A0 =C2=A0 =C2=A0and compress /boot/modules (141MB) and /usr (1= 65MB) to reduce size of "mini" installatiom media drastically? > >
> >
> > Or we could just compress the modules. We've supported loadin= g compressed modules for a long time....
>
> AFAIK, kldload cannot load compressed modules, only loader can.

If so, kldload should support it as loader does.

I thought I'd added it = years ago by uncomptessing to /tmp and loading it from there..

Warner=C2=A0
=
> I suppose GEOM_UZIP is more effective solution, and more versatile.

--
Tomoaki AOKI=C2=A0 =C2=A0 <junchoon@dec.sakura.ne.jp>
--000000000000dd722805da899d4e--