• Re: bsdinstall: system requirements: memory/RAM: ZFS: 2048 MB for an ordinary installation plus a desktop environment

    From Warner Losh@imp@bsdimp.com to muc.lists.freebsd.stable on Sun Sep 28 08:58:52 2025
    From Newsgroup: muc.lists.freebsd.stable

    --00000000000084af0a063fddc267
    Content-Type: text/plain; charset="UTF-8"
    Content-Transfer-Encoding: quoted-printable

    On Sun, Sep 28, 2025, 4:47=E2=80=AFAM Graham Perrin <grahamperrin@gmail.com=
    wrote:

    Follow-up to <https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D287719#=


    Good news.

    2048 MB is sufficient with root-on-ZFS for an ordinary installation
    (more than base, less than all of FreeBSD-base) of 15.0-ALPHA4
    plus these five non-base packages, some of which are meta:

    kde plasma6-sddm-kcm sddm virtualbox-guest-additions xorg

    Beyond initial installations: with 4 G swap enabled, I repeatedly
    tested forced reinstallation of all packages,

    pkg upgrade -fUy

    1077 packages, 1886 steps. Success.

    ----

    With swap disabled, which I would not recommend:

    - reinstallation failed, switch from ttyv1 to ttyv2 was
    impossible, and so on, so I attempted a shut down
    <https://i.imgur.com/RftLGMu.png>

    - shut down failed

    - following a forced stop of the computer, SDDM and the
    desktop environment were unsable (pkg issue 2441,
    second incident this morning).


    It's big enough to install.. but i have lxte + terminal + firefox with 4
    tabs open and I routinely run out of memory and swap heavily. I have a 4GB Chromebook.

    So one can run in 128MB for light tasks and careful kernel tuning, 512MB is
    a more realistic minimum since it lets you install and update. But for X
    it's flipped: you need 2G to install but closer to 4G or 8G to run a
    complete, but on the lean side, X11 system.

    Warner




    --00000000000084af0a063fddc267
    Content-Type: text/html; charset="UTF-8"
    Content-Transfer-Encoding: quoted-printable

    <div dir=3D"auto"><div><br><br><div class=3D"gmail_quote gmail_quote_contai= ner"><div dir=3D"ltr" class=3D"gmail_attr">On Sun, Sep 28, 2025, 4:47=E2=80= =AFAM Graham Perrin &lt;<a href=3D"mailto:grahamperrin@gmail.com">grahamper= rin@gmail.com</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" sty= le=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Follow= -up to &lt;<a href=3D"https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D2= 87719#c6" rel=3D"noreferrer noreferrer" target=3D"_blank">https://bugs.free= bsd.org/bugzilla/show_bug.cgi?id=3D287719#c6</a>&gt;<br>

    Good news.<br>

    2048 MB is sufficient with root-on-ZFS for an ordinary installation<br>
    (more than base, less than all of FreeBSD-base) of 15.0-ALPHA4<br>
    plus these five non-base packages, some of which are meta:<br>

    =C2=A0=C2=A0 =C2=A0 kde plasma6-sddm-kcm sddm virtualbox-guest-additions xo= rg<br>

    Beyond initial installations: with 4 G swap enabled, I repeatedly<br>
    tested forced reinstallation of all packages,<br>

    =C2=A0=C2=A0 =C2=A0 pkg upgrade -fUy<br>

    1077 packages, 1886 steps. Success.<br>

    ----<br>

    With swap disabled, which I would not recommend:<br>

    - reinstallation failed, switch from ttyv1 to ttyv2 was<br>
    =C2=A0=C2=A0 impossible, and so on, so I attempted a shut down<br>
    =C2=A0=C2=A0 &lt;<a href=3D"https://i.imgur.com/RftLGMu.png" rel=3D"norefer= rer noreferrer" target=3D"_blank">https://i.imgur.com/RftLGMu.png</a>&gt;<b=


    - shut down failed<br>

    - following a forced stop of the computer, SDDM and the<br>
    =C2=A0=C2=A0 desktop environment were unsable (pkg issue 2441,<br>
    =C2=A0=C2=A0 second incident this morning).<br></blockquote></div></div><di=
    v dir=3D"auto"><br></div><div dir=3D"auto">It&#39;s big enough to install..=
    but i have lxte + terminal + firefox with 4 tabs open and I routinely run = out of memory and swap heavily. I have a 4GB Chromebook.</div><div dir=3D"a= uto"><br></div><div dir=3D"auto">So one can run in 128MB for light tasks an=
    d careful kernel tuning, 512MB is a more realistic minimum since it lets yo=
    u install and update. But for X it&#39;s flipped: you need 2G to install bu=
    t closer to 4G or 8G to run a complete, but on the lean side, X11 system.</= div><div dir=3D"auto"><br></div><div dir=3D"auto">Warner</div><div dir=3D"a= uto"><div class=3D"gmail_quote gmail_quote_container"><blockquote class=3D"= gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-= left:1ex">

    </blockquote></div></div></div>

    --00000000000084af0a063fddc267--


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Rick Macklem@rick.macklem@gmail.com to muc.lists.freebsd.stable on Tue Sep 30 12:37:53 2025
    From Newsgroup: muc.lists.freebsd.stable

    On Sun, Sep 28, 2025 at 7:59rC>AM Warner Losh <imp@bsdimp.com> wrote:



    On Sun, Sep 28, 2025, 4:47rC>AM Graham Perrin <grahamperrin@gmail.com> wrote:

    Follow-up to <https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287719#c6> >>
    Good news.

    2048 MB is sufficient with root-on-ZFS for an ordinary installation
    (more than base, less than all of FreeBSD-base) of 15.0-ALPHA4
    plus these five non-base packages, some of which are meta:

    kde plasma6-sddm-kcm sddm virtualbox-guest-additions xorg

    Beyond initial installations: with 4 G swap enabled, I repeatedly
    tested forced reinstallation of all packages,

    pkg upgrade -fUy

    1077 packages, 1886 steps. Success.

    ----

    With swap disabled, which I would not recommend:

    - reinstallation failed, switch from ttyv1 to ttyv2 was
    impossible, and so on, so I attempted a shut down
    <https://i.imgur.com/RftLGMu.png>

    - shut down failed

    - following a forced stop of the computer, SDDM and the
    desktop environment were unsable (pkg issue 2441,
    second incident this morning).


    It's big enough to install.. but i have lxte + terminal + firefox with 4 tabs open and I routinely run out of memory and swap heavily. I have a 4GB Chromebook.
    Just a wild guess, but I suspect ZFS might be eating your memory.
    You could try something like setting:
    vfs.zfs.arc.max to half of your ram and see what happens?
    You probably don't want to do this, but it would be interesting to
    see what happens if you use UFS.
    (Personally, I'd never use ZFS for a root fs, but that's just me.)
    rick

    So one can run in 128MB for light tasks and careful kernel tuning, 512MB is a more realistic minimum since it lets you install and update. But for X it's flipped: you need 2G to install but closer to 4G or 8G to run a complete, but on the lean side, X11 system.

    Warner


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Brandon Allbery@allbery.b@gmail.com to muc.lists.freebsd.stable on Tue Sep 30 15:41:30 2025
    From Newsgroup: muc.lists.freebsd.stable

    --00000000000010ef2a064009f1f3
    Content-Type: text/plain; charset="UTF-8"
    Content-Transfer-Encoding: quoted-printable

    FWIW my understanding is that ZFS root is such a memory hog that anything
    under 16GB is disrecommended and 32GB preferable. (I have only one
    machine that fits that constraint, and FreeBSD doesn't quite work on it
    yet.)

    On Tue, Sep 30, 2025 at 3:38=E2=80=AFPM Rick Macklem <rick.macklem@gmail.co=
    wrote:

    On Sun, Sep 28, 2025 at 7:59=E2=80=AFAM Warner Losh <imp@bsdimp.com> wrot=
    e:



    On Sun, Sep 28, 2025, 4:47=E2=80=AFAM Graham Perrin <grahamperrin@gmail=
    .com>
    wrote:

    Follow-up to < https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D287719#c6>

    Good news.

    2048 MB is sufficient with root-on-ZFS for an ordinary installation
    (more than base, less than all of FreeBSD-base) of 15.0-ALPHA4
    plus these five non-base packages, some of which are meta:

    kde plasma6-sddm-kcm sddm virtualbox-guest-additions xorg

    Beyond initial installations: with 4 G swap enabled, I repeatedly
    tested forced reinstallation of all packages,

    pkg upgrade -fUy

    1077 packages, 1886 steps. Success.

    ----

    With swap disabled, which I would not recommend:

    - reinstallation failed, switch from ttyv1 to ttyv2 was
    impossible, and so on, so I attempted a shut down
    <https://i.imgur.com/RftLGMu.png>

    - shut down failed

    - following a forced stop of the computer, SDDM and the
    desktop environment were unsable (pkg issue 2441,
    second incident this morning).


    It's big enough to install.. but i have lxte + terminal + firefox with =
    4
    tabs open and I routinely run out of memory and swap heavily. I have a 4G=
    B
    Chromebook.
    Just a wild guess, but I suspect ZFS might be eating your memory.
    You could try something like setting:
    vfs.zfs.arc.max to half of your ram and see what happens?

    You probably don't want to do this, but it would be interesting to
    see what happens if you use UFS.
    (Personally, I'd never use ZFS for a root fs, but that's just me.)

    rick


    So one can run in 128MB for light tasks and careful kernel tuning, 512M=
    B
    is a more realistic minimum since it lets you install and update. But for=
    X
    it's flipped: you need 2G to install but closer to 4G or 8G to run a complete, but on the lean side, X11 system.

    Warner





    --=20
    brandon s allbery kf8nh
    allbery.b@gmail.com

    --00000000000010ef2a064009f1f3
    Content-Type: text/html; charset="UTF-8"
    Content-Transfer-Encoding: quoted-printable

    <div dir=3D"ltr">FWIW my understanding is that ZFS root is such=C2=A0a memo=
    ry hog that anything under 16GB is disrecommended and 32GB preferable. (I h= ave only one machine=C2=A0that fits that constraint, and FreeBSD doesn&#39;=
    t quite work on it yet.)</div><br><div class=3D"gmail_quote gmail_quote_con= tainer"><div dir=3D"ltr" class=3D"gmail_attr">On Tue, Sep 30, 2025 at 3:38= =E2=80=AFPM Rick Macklem &lt;<a href=3D"mailto:rick.macklem@gmail.com">rick= .macklem@gmail.com</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote=
    " style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);= padding-left:1ex">On Sun, Sep 28, 2025 at 7:59=E2=80=AFAM Warner Losh &lt;<=
    a href=3D"mailto:imp@bsdimp.com" target=3D"_blank">imp@bsdimp.com</a>&gt; w= rote:<br>
    &gt;<br>
    &gt;<br>
    &gt;<br>
    &gt; On Sun, Sep 28, 2025, 4:47=E2=80=AFAM Graham Perrin &lt;<a href=3D"mai= lto:grahamperrin@gmail.com" target=3D"_blank">grahamperrin@gmail.com</a>&gt=
    ; wrote:<br>
    &gt;&gt;<br>
    &gt;&gt; Follow-up to &lt;<a href=3D"https://bugs.freebsd.org/bugzilla/show= _bug.cgi?id=3D287719#c6" rel=3D"noreferrer" target=3D"_blank">https://bugs.= freebsd.org/bugzilla/show_bug.cgi?id=3D287719#c6</a>&gt;<br>
    &gt;&gt;<br>
    &gt;&gt; Good news.<br>
    &gt;&gt;<br>
    &gt;&gt; 2048 MB is sufficient with root-on-ZFS for an ordinary installatio= n<br>
    &gt;&gt; (more than base, less than all of FreeBSD-base) of 15.0-ALPHA4<br> &gt;&gt; plus these five non-base packages, some of which are meta:<br> &gt;&gt;<br>
    &gt;&gt;=C2=A0 =C2=A0 =C2=A0 kde plasma6-sddm-kcm sddm virtualbox-guest-add= itions xorg<br>
    &gt;&gt;<br>
    &gt;&gt; Beyond initial installations: with 4 G swap enabled, I repeatedly<=

    &gt;&gt; tested forced reinstallation of all packages,<br>
    &gt;&gt;<br>
    &gt;&gt;=C2=A0 =C2=A0 =C2=A0 pkg upgrade -fUy<br>
    &gt;&gt;<br>
    &gt;&gt; 1077 packages, 1886 steps. Success.<br>
    &gt;&gt;<br>
    &gt;&gt; ----<br>
    &gt;&gt;<br>
    &gt;&gt; With swap disabled, which I would not recommend:<br>
    &gt;&gt;<br>
    &gt;&gt; - reinstallation failed, switch from ttyv1 to ttyv2 was<br> &gt;&gt;=C2=A0 =C2=A0 impossible, and so on, so I attempted a shut down<br> &gt;&gt;=C2=A0 =C2=A0 &lt;<a href=3D"https://i.imgur.com/RftLGMu.png" rel= =3D"noreferrer" target=3D"_blank">https://i.imgur.com/RftLGMu.png</a>&gt;<b=

    &gt;&gt;<br>
    &gt;&gt; - shut down failed<br>
    &gt;&gt;<br>
    &gt;&gt; - following a forced stop of the computer, SDDM and the<br> &gt;&gt;=C2=A0 =C2=A0 desktop environment were unsable (pkg issue 2441,<br> &gt;&gt;=C2=A0 =C2=A0 second incident this morning).<br>
    &gt;<br>
    &gt;<br>
    &gt; It&#39;s big enough to install.. but i have lxte + terminal + firefox = with 4 tabs open and I routinely run out of memory and swap heavily. I have=
    a 4GB Chromebook.<br>
    Just a wild guess, but I suspect ZFS might be eating your memory.<br>
    You could try something like setting:<br>
    vfs.zfs.arc.max to half of your ram and see what happens?<br>

    You probably don&#39;t want to do this, but it would be interesting to<br>
    see what happens if you use UFS.<br>
    (Personally, I&#39;d never use ZFS for a root fs, but that&#39;s just me.)<=


    rick<br>

    &gt;<br>
    &gt; So one can run in 128MB for light tasks and careful kernel tuning, 512=
    MB is a more realistic minimum since it lets you install and update. But fo=
    r X it&#39;s flipped: you need 2G to install but closer to 4G or 8G to run =
    a complete, but on the lean side, X11 system.<br>
    &gt;<br>
    &gt; Warner<br>
    &gt;&gt;<br>
    &gt;&gt;<br>

    </blockquote></div><div><br clear=3D"all"></div><div><br></div><span class= =3D"gmail_signature_prefix">-- </span><br><div dir=3D"ltr" class=3D"gmail_s= ignature"><div dir=3D"ltr"><div><div dir=3D"ltr"><div>brandon s allbery kf8= nh</div><div><a href=3D"mailto:allbery.b@gmail.com" target=3D"_blank">allbe= ry.b@gmail.com</a></div></div></div></div></div>

    --00000000000010ef2a064009f1f3--


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Warner Losh@imp@bsdimp.com to muc.lists.freebsd.stable on Tue Sep 30 13:49:12 2025
    From Newsgroup: muc.lists.freebsd.stable

    --00000000000089022406400a0cc6
    Content-Type: text/plain; charset="UTF-8"
    Content-Transfer-Encoding: quoted-printable

    On Tue, Sep 30, 2025 at 1:38=E2=80=AFPM Rick Macklem <rick.macklem@gmail.co=
    wrote:

    On Sun, Sep 28, 2025 at 7:59=E2=80=AFAM Warner Losh <imp@bsdimp.com> wrot=
    e:



    On Sun, Sep 28, 2025, 4:47=E2=80=AFAM Graham Perrin <grahamperrin@gmail=
    .com>
    wrote:

    Follow-up to < https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D287719#c6>

    Good news.

    2048 MB is sufficient with root-on-ZFS for an ordinary installation
    (more than base, less than all of FreeBSD-base) of 15.0-ALPHA4
    plus these five non-base packages, some of which are meta:

    kde plasma6-sddm-kcm sddm virtualbox-guest-additions xorg

    Beyond initial installations: with 4 G swap enabled, I repeatedly
    tested forced reinstallation of all packages,

    pkg upgrade -fUy

    1077 packages, 1886 steps. Success.

    ----

    With swap disabled, which I would not recommend:

    - reinstallation failed, switch from ttyv1 to ttyv2 was
    impossible, and so on, so I attempted a shut down
    <https://i.imgur.com/RftLGMu.png>

    - shut down failed

    - following a forced stop of the computer, SDDM and the
    desktop environment were unsable (pkg issue 2441,
    second incident this morning).


    It's big enough to install.. but i have lxte + terminal + firefox with =
    4
    tabs open and I routinely run out of memory and swap heavily. I have a 4G=
    B
    Chromebook.
    Just a wild guess, but I suspect ZFS might be eating your memory.
    You could try something like setting:
    vfs.zfs.arc.max to half of your ram and see what happens?


    No, it's firefox. The arc usage is sane. firefox with lots of tabs eats
    memory. It's that simple.


    You probably don't want to do this, but it would be interesting to
    see what happens if you use UFS.
    (Personally, I'd never use ZFS for a root fs, but that's just me.)


    Yea, not going to happen. BEs are too useful.

    Warner


    rick


    So one can run in 128MB for light tasks and careful kernel tuning, 512M=
    B
    is a more realistic minimum since it lets you install and update. But for=
    X
    it's flipped: you need 2G to install but closer to 4G or 8G to run a complete, but on the lean side, X11 system.

    Warner




    --00000000000089022406400a0cc6
    Content-Type: text/html; charset="UTF-8"
    Content-Transfer-Encoding: quoted-printable

    <div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote g= mail_quote_container"><div dir=3D"ltr" class=3D"gmail_attr">On Tue, Sep 30,=
    2025 at 1:38=E2=80=AFPM Rick Macklem &lt;<a href=3D"mailto:rick.macklem@gm= ail.com">rick.macklem@gmail.com</a>&gt; wrote:<br></div><blockquote class= =3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rg= b(204,204,204);padding-left:1ex">On Sun, Sep 28, 2025 at 7:59=E2=80=AFAM Wa= rner Losh &lt;<a href=3D"mailto:imp@bsdimp.com" target=3D"_blank">imp@bsdim= p.com</a>&gt; wrote:<br>
    &gt;<br>
    &gt;<br>
    &gt;<br>
    &gt; On Sun, Sep 28, 2025, 4:47=E2=80=AFAM Graham Perrin &lt;<a href=3D"mai= lto:grahamperrin@gmail.com" target=3D"_blank">grahamperrin@gmail.com</a>&gt=
    ; wrote:<br>
    &gt;&gt;<br>
    &gt;&gt; Follow-up to &lt;<a href=3D"https://bugs.freebsd.org/bugzilla/show= _bug.cgi?id=3D287719#c6" rel=3D"noreferrer" target=3D"_blank">https://bugs.= freebsd.org/bugzilla/show_bug.cgi?id=3D287719#c6</a>&gt;<br>
    &gt;&gt;<br>
    &gt;&gt; Good news.<br>
    &gt;&gt;<br>
    &gt;&gt; 2048 MB is sufficient with root-on-ZFS for an ordinary installatio= n<br>
    &gt;&gt; (more than base, less than all of FreeBSD-base) of 15.0-ALPHA4<br> &gt;&gt; plus these five non-base packages, some of which are meta:<br> &gt;&gt;<br>
    &gt;&gt;=C2=A0 =C2=A0 =C2=A0 kde plasma6-sddm-kcm sddm virtualbox-guest-add= itions xorg<br>
    &gt;&gt;<br>
    &gt;&gt; Beyond initial installations: with 4 G swap enabled, I repeatedly<=

    &gt;&gt; tested forced reinstallation of all packages,<br>
    &gt;&gt;<br>
    &gt;&gt;=C2=A0 =C2=A0 =C2=A0 pkg upgrade -fUy<br>
    &gt;&gt;<br>
    &gt;&gt; 1077 packages, 1886 steps. Success.<br>
    &gt;&gt;<br>
    &gt;&gt; ----<br>
    &gt;&gt;<br>
    &gt;&gt; With swap disabled, which I would not recommend:<br>
    &gt;&gt;<br>
    &gt;&gt; - reinstallation failed, switch from ttyv1 to ttyv2 was<br> &gt;&gt;=C2=A0 =C2=A0 impossible, and so on, so I attempted a shut down<br> &gt;&gt;=C2=A0 =C2=A0 &lt;<a href=3D"https://i.imgur.com/RftLGMu.png" rel= =3D"noreferrer" target=3D"_blank">https://i.imgur.com/RftLGMu.png</a>&gt;<b=

    &gt;&gt;<br>
    &gt;&gt; - shut down failed<br>
    &gt;&gt;<br>
    &gt;&gt; - following a forced stop of the computer, SDDM and the<br> &gt;&gt;=C2=A0 =C2=A0 desktop environment were unsable (pkg issue 2441,<br> &gt;&gt;=C2=A0 =C2=A0 second incident this morning).<br>
    &gt;<br>
    &gt;<br>
    &gt; It&#39;s big enough to install.. but i have lxte + terminal + firefox = with 4 tabs open and I routinely run out of memory and swap heavily. I have=
    a 4GB Chromebook.<br>
    Just a wild guess, but I suspect ZFS might be eating your memory.<br>
    You could try something like setting:<br>
    vfs.zfs.arc.max to half of your ram and see what happens?<br></blockquote><= div><br></div><div>No, it&#39;s firefox. The arc usage is sane. firefox wit=
    h lots of tabs eats memory. It&#39;s that simple.</div><div>=C2=A0</div><bl= ockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-lef= t:1px solid rgb(204,204,204);padding-left:1ex">
    You probably don&#39;t want to do this, but it would be interesting to<br>
    see what happens if you use UFS.<br>
    (Personally, I&#39;d never use ZFS for a root fs, but that&#39;s just me.)<= br></blockquote><div><br></div><div>Yea, not going to happen. BEs are too u= seful.</div><div><br></div><div>Warner</div><div>=C2=A0</div><blockquote cl= ass=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid=
    rgb(204,204,204);padding-left:1ex">
    rick<br>

    &gt;<br>
    &gt; So one can run in 128MB for light tasks and careful kernel tuning, 512=
    MB is a more realistic minimum since it lets you install and update. But fo=
    r X it&#39;s flipped: you need 2G to install but closer to 4G or 8G to run =
    a complete, but on the lean side, X11 system.<br>
    &gt;<br>
    &gt; Warner<br>
    &gt;&gt;<br>
    &gt;&gt;<br>
    </blockquote></div></div>

    --00000000000089022406400a0cc6--


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Warner Losh@imp@bsdimp.com to muc.lists.freebsd.stable on Tue Sep 30 13:50:04 2025
    From Newsgroup: muc.lists.freebsd.stable

    --00000000000099016c06400a0fd5
    Content-Type: text/plain; charset="UTF-8"
    Content-Transfer-Encoding: quoted-printable

    Yea, I've not seen that to be the case. ZFS isn't that big of a memory hog these days... There are times you do need to tune the arc, but they are the exception, not the rule.

    Warner

    On Tue, Sep 30, 2025 at 1:41=E2=80=AFPM Brandon Allbery <allbery.b@gmail.co=
    wrote:

    FWIW my understanding is that ZFS root is such a memory hog that anything under 16GB is disrecommended and 32GB preferable. (I have only one
    machine that fits that constraint, and FreeBSD doesn't quite work on it
    yet.)

    On Tue, Sep 30, 2025 at 3:38=E2=80=AFPM Rick Macklem <rick.macklem@gmail.=

    wrote:

    On Sun, Sep 28, 2025 at 7:59=E2=80=AFAM Warner Losh <imp@bsdimp.com> wro= te:



    On Sun, Sep 28, 2025, 4:47=E2=80=AFAM Graham Perrin <grahamperrin@gmai= l.com>
    wrote:

    Follow-up to <
    https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D287719#c6>

    Good news.

    2048 MB is sufficient with root-on-ZFS for an ordinary installation
    (more than base, less than all of FreeBSD-base) of 15.0-ALPHA4
    plus these five non-base packages, some of which are meta:

    kde plasma6-sddm-kcm sddm virtualbox-guest-additions xorg

    Beyond initial installations: with 4 G swap enabled, I repeatedly
    tested forced reinstallation of all packages,

    pkg upgrade -fUy

    1077 packages, 1886 steps. Success.

    ----

    With swap disabled, which I would not recommend:

    - reinstallation failed, switch from ttyv1 to ttyv2 was
    impossible, and so on, so I attempted a shut down
    <https://i.imgur.com/RftLGMu.png>

    - shut down failed

    - following a forced stop of the computer, SDDM and the
    desktop environment were unsable (pkg issue 2441,
    second incident this morning).


    It's big enough to install.. but i have lxte + terminal + firefox with
    4 tabs open and I routinely run out of memory and swap heavily. I have a
    4GB Chromebook.
    Just a wild guess, but I suspect ZFS might be eating your memory.
    You could try something like setting:
    vfs.zfs.arc.max to half of your ram and see what happens?

    You probably don't want to do this, but it would be interesting to
    see what happens if you use UFS.
    (Personally, I'd never use ZFS for a root fs, but that's just me.)

    rick


    So one can run in 128MB for light tasks and careful kernel tuning,
    512MB is a more realistic minimum since it lets you install and update. = But
    for X it's flipped: you need 2G to install but closer to 4G or 8G to run=
    a
    complete, but on the lean side, X11 system.

    Warner





    --
    brandon s allbery kf8nh
    allbery.b@gmail.com


    --00000000000099016c06400a0fd5
    Content-Type: text/html; charset="UTF-8"
    Content-Transfer-Encoding: quoted-printable

    <div dir=3D"ltr"><div>Yea, I&#39;ve not seen that to be the case. ZFS isn&#= 39;t that big of a memory hog these days... There are times you do need to = tune the arc, but they are the exception, not the rule.</div><div><br></div= ><div>Warner</div><br><div class=3D"gmail_quote gmail_quote_container"><div=
    dir=3D"ltr" class=3D"gmail_attr">On Tue, Sep 30, 2025 at 1:41=E2=80=AFPM B= randon Allbery &lt;<a href=3D"mailto:allbery.b@gmail.com">allbery.b@gmail.c= om</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margi= n:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex= "><div dir=3D"ltr">FWIW my understanding is that ZFS root is such=C2=A0a me= mory hog that anything under 16GB is disrecommended and 32GB preferable. (I=
    have only one machine=C2=A0that fits that constraint, and FreeBSD doesn&#3= 9;t quite work on it yet.)</div><br><div class=3D"gmail_quote"><div dir=3D"= ltr" class=3D"gmail_attr">On Tue, Sep 30, 2025 at 3:38=E2=80=AFPM Rick Mack= lem &lt;<a href=3D"mailto:rick.macklem@gmail.com" target=3D"_blank">rick.ma= cklem@gmail.com</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" s= tyle=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);pad= ding-left:1ex">On Sun, Sep 28, 2025 at 7:59=E2=80=AFAM Warner Losh &lt;<a h= ref=3D"mailto:imp@bsdimp.com" target=3D"_blank">imp@bsdimp.com</a>&gt; wrot= e:<br>
    &gt;<br>
    &gt;<br>
    &gt;<br>
    &gt; On Sun, Sep 28, 2025, 4:47=E2=80=AFAM Graham Perrin &lt;<a href=3D"mai= lto:grahamperrin@gmail.com" target=3D"_blank">grahamperrin@gmail.com</a>&gt=
    ; wrote:<br>
    &gt;&gt;<br>
    &gt;&gt; Follow-up to &lt;<a href=3D"https://bugs.freebsd.org/bugzilla/show= _bug.cgi?id=3D287719#c6" rel=3D"noreferrer" target=3D"_blank">https://bugs.= freebsd.org/bugzilla/show_bug.cgi?id=3D287719#c6</a>&gt;<br>
    &gt;&gt;<br>
    &gt;&gt; Good news.<br>
    &gt;&gt;<br>
    &gt;&gt; 2048 MB is sufficient with root-on-ZFS for an ordinary installatio= n<br>
    &gt;&gt; (more than base, less than all of FreeBSD-base) of 15.0-ALPHA4<br> &gt;&gt; plus these five non-base packages, some of which are meta:<br> &gt;&gt;<br>
    &gt;&gt;=C2=A0 =C2=A0 =C2=A0 kde plasma6-sddm-kcm sddm virtualbox-guest-add= itions xorg<br>
    &gt;&gt;<br>
    &gt;&gt; Beyond initial installations: with 4 G swap enabled, I repeatedly<=

    &gt;&gt; tested forced reinstallation of all packages,<br>
    &gt;&gt;<br>
    &gt;&gt;=C2=A0 =C2=A0 =C2=A0 pkg upgrade -fUy<br>
    &gt;&gt;<br>
    &gt;&gt; 1077 packages, 1886 steps. Success.<br>
    &gt;&gt;<br>
    &gt;&gt; ----<br>
    &gt;&gt;<br>
    &gt;&gt; With swap disabled, which I would not recommend:<br>
    &gt;&gt;<br>
    &gt;&gt; - reinstallation failed, switch from ttyv1 to ttyv2 was<br> &gt;&gt;=C2=A0 =C2=A0 impossible, and so on, so I attempted a shut down<br> &gt;&gt;=C2=A0 =C2=A0 &lt;<a href=3D"https://i.imgur.com/RftLGMu.png" rel= =3D"noreferrer" target=3D"_blank">https://i.imgur.com/RftLGMu.png</a>&gt;<b=

    &gt;&gt;<br>
    &gt;&gt; - shut down failed<br>
    &gt;&gt;<br>
    &gt;&gt; - following a forced stop of the computer, SDDM and the<br> &gt;&gt;=C2=A0 =C2=A0 desktop environment were unsable (pkg issue 2441,<br> &gt;&gt;=C2=A0 =C2=A0 second incident this morning).<br>
    &gt;<br>
    &gt;<br>
    &gt; It&#39;s big enough to install.. but i have lxte + terminal + firefox = with 4 tabs open and I routinely run out of memory and swap heavily. I have=
    a 4GB Chromebook.<br>
    Just a wild guess, but I suspect ZFS might be eating your memory.<br>
    You could try something like setting:<br>
    vfs.zfs.arc.max to half of your ram and see what happens?<br>

    You probably don&#39;t want to do this, but it would be interesting to<br>
    see what happens if you use UFS.<br>
    (Personally, I&#39;d never use ZFS for a root fs, but that&#39;s just me.)<=


    rick<br>

    &gt;<br>
    &gt; So one can run in 128MB for light tasks and careful kernel tuning, 512=
    MB is a more realistic minimum since it lets you install and update. But fo=
    r X it&#39;s flipped: you need 2G to install but closer to 4G or 8G to run =
    a complete, but on the lean side, X11 system.<br>
    &gt;<br>
    &gt; Warner<br>
    &gt;&gt;<br>
    &gt;&gt;<br>

    </blockquote></div><div><br clear=3D"all"></div><div><br></div><span class= =3D"gmail_signature_prefix">-- </span><br><div dir=3D"ltr" class=3D"gmail_s= ignature"><div dir=3D"ltr"><div><div dir=3D"ltr"><div>brandon s allbery kf8= nh</div><div><a href=3D"mailto:allbery.b@gmail.com" target=3D"_blank">allbe= ry.b@gmail.com</a></div></div></div></div></div>
    </blockquote></div></div>

    --00000000000099016c06400a0fd5--


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Rick Macklem@rick.macklem@gmail.com to muc.lists.freebsd.stable on Tue Sep 30 13:03:21 2025
    From Newsgroup: muc.lists.freebsd.stable

    On Tue, Sep 30, 2025 at 12:50rC>PM Warner Losh <imp@bsdimp.com> wrote:

    Yea, I've not seen that to be the case. ZFS isn't that big of a memory hog these days... There are times you do need to tune the arc, but they are the exception, not the rule.
    Unfortunately, using ZFS as an NFS server seems to be an exception.
    Peter Errikson still uses 13.5 on his servers, since he doesn't find 14.n stable enough.
    There is this email thread: https://lists.freebsd.org/archives/freebsd-stable/2025-September/003126.html I'd like to see this resolved, but I don't know enough about VM or
    ZFS's arc code
    and I have miniscule hardware, so I cannot replicate it.
    Btw, what is a BE?
    rick

    Warner

    On Tue, Sep 30, 2025 at 1:41rC>PM Brandon Allbery <allbery.b@gmail.com> wrote:

    FWIW my understanding is that ZFS root is such a memory hog that anything under 16GB is disrecommended and 32GB preferable. (I have only one machine that fits that constraint, and FreeBSD doesn't quite work on it yet.)

    On Tue, Sep 30, 2025 at 3:38rC>PM Rick Macklem <rick.macklem@gmail.com> wrote:

    On Sun, Sep 28, 2025 at 7:59rC>AM Warner Losh <imp@bsdimp.com> wrote:



    On Sun, Sep 28, 2025, 4:47rC>AM Graham Perrin <grahamperrin@gmail.com> wrote:

    Follow-up to <https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287719#c6>

    Good news.

    2048 MB is sufficient with root-on-ZFS for an ordinary installation
    (more than base, less than all of FreeBSD-base) of 15.0-ALPHA4
    plus these five non-base packages, some of which are meta:

    kde plasma6-sddm-kcm sddm virtualbox-guest-additions xorg

    Beyond initial installations: with 4 G swap enabled, I repeatedly
    tested forced reinstallation of all packages,

    pkg upgrade -fUy

    1077 packages, 1886 steps. Success.

    ----

    With swap disabled, which I would not recommend:

    - reinstallation failed, switch from ttyv1 to ttyv2 was
    impossible, and so on, so I attempted a shut down
    <https://i.imgur.com/RftLGMu.png>

    - shut down failed

    - following a forced stop of the computer, SDDM and the
    desktop environment were unsable (pkg issue 2441,
    second incident this morning).


    It's big enough to install.. but i have lxte + terminal + firefox with 4 tabs open and I routinely run out of memory and swap heavily. I have a 4GB Chromebook.
    Just a wild guess, but I suspect ZFS might be eating your memory.
    You could try something like setting:
    vfs.zfs.arc.max to half of your ram and see what happens?

    You probably don't want to do this, but it would be interesting to
    see what happens if you use UFS.
    (Personally, I'd never use ZFS for a root fs, but that's just me.)

    rick


    So one can run in 128MB for light tasks and careful kernel tuning, 512MB is a more realistic minimum since it lets you install and update. But for X it's flipped: you need 2G to install but closer to 4G or 8G to run a complete, but on the lean side, X11 system.

    Warner





    --
    brandon s allbery kf8nh
    allbery.b@gmail.com
    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Warner Losh@imp@bsdimp.com to muc.lists.freebsd.stable on Tue Sep 30 14:18:01 2025
    From Newsgroup: muc.lists.freebsd.stable

    --0000000000008986a306400a7300
    Content-Type: text/plain; charset="UTF-8"
    Content-Transfer-Encoding: quoted-printable

    On Tue, Sep 30, 2025 at 2:03=E2=80=AFPM Rick Macklem <rick.macklem@gmail.co=
    wrote:

    On Tue, Sep 30, 2025 at 12:50=E2=80=AFPM Warner Losh <imp@bsdimp.com> wro=
    te:

    Yea, I've not seen that to be the case. ZFS isn't that big of a memory
    hog these days... There are times you do need to tune the arc, but they a=
    re
    the exception, not the rule.
    Unfortunately, using ZFS as an NFS server seems to be an exception.
    Peter Errikson still uses 13.5 on his servers, since he doesn't find 14.n stable enough.
    There is this email thread:

    https://lists.freebsd.org/archives/freebsd-stable/2025-September/003126.h=
    tml


    OK. Since I no longer do NFS, I've not hit that....



    I'd like to see this resolved, but I don't know enough about VM or
    ZFS's arc code
    and I have miniscule hardware, so I cannot replicate it.

    Btw, what is a BE?


    BE is a boot environment. It's basically a way to switch between different versions of the system quickly and easily, as well as offline update the
    system so you don't shoot yourself in the foot by removing libc.so... Great
    for both development and deployment. Worth paying the small extra memory
    tax I do see with ZFS.

    Warner


    rick


    Warner

    On Tue, Sep 30, 2025 at 1:41=E2=80=AFPM Brandon Allbery <allbery.b@gmai=
    l.com>
    wrote:

    FWIW my understanding is that ZFS root is such a memory hog that
    anything under 16GB is disrecommended and 32GB preferable. (I have only o=
    ne
    machine that fits that constraint, and FreeBSD doesn't quite work on it
    yet.)

    On Tue, Sep 30, 2025 at 3:38=E2=80=AFPM Rick Macklem <rick.macklem@gma=
    il.com>
    wrote:

    On Sun, Sep 28, 2025 at 7:59=E2=80=AFAM Warner Losh <imp@bsdimp.com> =
    wrote:



    On Sun, Sep 28, 2025, 4:47=E2=80=AFAM Graham Perrin <grahamperrin@g=
    mail.com>
    wrote:

    Follow-up to < https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D287719#c6>

    Good news.

    2048 MB is sufficient with root-on-ZFS for an ordinary installatio=
    n
    (more than base, less than all of FreeBSD-base) of 15.0-ALPHA4
    plus these five non-base packages, some of which are meta:

    kde plasma6-sddm-kcm sddm virtualbox-guest-additions xorg

    Beyond initial installations: with 4 G swap enabled, I repeatedly
    tested forced reinstallation of all packages,

    pkg upgrade -fUy

    1077 packages, 1886 steps. Success.

    ----

    With swap disabled, which I would not recommend:

    - reinstallation failed, switch from ttyv1 to ttyv2 was
    impossible, and so on, so I attempted a shut down
    <https://i.imgur.com/RftLGMu.png>

    - shut down failed

    - following a forced stop of the computer, SDDM and the
    desktop environment were unsable (pkg issue 2441,
    second incident this morning).


    It's big enough to install.. but i have lxte + terminal + firefox
    with 4 tabs open and I routinely run out of memory and swap heavily. I ha=
    ve
    a 4GB Chromebook.
    Just a wild guess, but I suspect ZFS might be eating your memory.
    You could try something like setting:
    vfs.zfs.arc.max to half of your ram and see what happens?

    You probably don't want to do this, but it would be interesting to
    see what happens if you use UFS.
    (Personally, I'd never use ZFS for a root fs, but that's just me.)

    rick


    So one can run in 128MB for light tasks and careful kernel tuning, 512MB is a more realistic minimum since it lets you install and update. B=
    ut
    for X it's flipped: you need 2G to install but closer to 4G or 8G to run =
    a
    complete, but on the lean side, X11 system.

    Warner





    --
    brandon s allbery kf8nh
    allbery.b@gmail.com


    --0000000000008986a306400a7300
    Content-Type: text/html; charset="UTF-8"
    Content-Transfer-Encoding: quoted-printable

    <div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote g= mail_quote_container"><div dir=3D"ltr" class=3D"gmail_attr">On Tue, Sep 30,=
    2025 at 2:03=E2=80=AFPM Rick Macklem &lt;<a href=3D"mailto:rick.macklem@gm= ail.com">rick.macklem@gmail.com</a>&gt; wrote:<br></div><blockquote class= =3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rg= b(204,204,204);padding-left:1ex">On Tue, Sep 30, 2025 at 12:50=E2=80=AFPM W= arner Losh &lt;<a href=3D"mailto:imp@bsdimp.com" target=3D"_blank">imp@bsdi= mp.com</a>&gt; wrote:<br>
    &gt;<br>
    &gt; Yea, I&#39;ve not seen that to be the case. ZFS isn&#39;t that big of =
    a memory hog these days... There are times you do need to tune the arc, but=
    they are the exception, not the rule.<br>
    Unfortunately, using ZFS as an NFS server seems to be an exception.<br>
    Peter Errikson still uses 13.5 on his servers, since he doesn&#39;t find 14= .n<br>
    stable enough.<br>
    There is this email thread:<br>
    <a href=3D"https://lists.freebsd.org/archives/freebsd-stable/2025-September= /003126.html" rel=3D"noreferrer" target=3D"_blank">https://lists.freebsd.or= g/archives/freebsd-stable/2025-September/003126.html</a></blockquote><div><= br></div><div>OK. Since I no longer do NFS, I&#39;ve not hit that....</div>= <div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px = 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
    I&#39;d like to see this resolved, but I don&#39;t know enough about VM or<=

    ZFS&#39;s arc code<br>
    and I have miniscule hardware, so I cannot replicate it.<br>

    Btw, what is a BE?<br></blockquote><div><br></div><div>BE is a boot environ= ment. It&#39;s basically a way to switch between different versions of the = system quickly and easily, as well as offline update the system so you don&= #39;t shoot yourself in the foot by removing libc.so... Great for both deve= lopment and deployment. Worth paying the small extra memory tax I do see wi=
    th ZFS.</div><div><br></div><div>Warner</div><div>=C2=A0</div><blockquote c= lass=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px soli=
    d rgb(204,204,204);padding-left:1ex">
    rick<br>

    &gt;<br>
    &gt; Warner<br>
    &gt;<br>
    &gt; On Tue, Sep 30, 2025 at 1:41=E2=80=AFPM Brandon Allbery &lt;<a href=3D= "mailto:allbery.b@gmail.com" target=3D"_blank">allbery.b@gmail.com</a>&gt; = wrote:<br>
    &gt;&gt;<br>
    &gt;&gt; FWIW my understanding is that ZFS root is such a memory hog that a= nything under 16GB is disrecommended and 32GB preferable. (I have only one = machine that fits that constraint, and FreeBSD doesn&#39;t quite work on it=
    yet.)<br>
    &gt;&gt;<br>
    &gt;&gt; On Tue, Sep 30, 2025 at 3:38=E2=80=AFPM Rick Macklem &lt;<a href= =3D"mailto:rick.macklem@gmail.com" target=3D"_blank">rick.macklem@gmail.com= </a>&gt; wrote:<br>
    &gt;&gt;&gt;<br>
    &gt;&gt;&gt; On Sun, Sep 28, 2025 at 7:59=E2=80=AFAM Warner Losh &lt;<a hre= f=3D"mailto:imp@bsdimp.com" target=3D"_blank">imp@bsdimp.com</a>&gt; wrote:=

    &gt;&gt;&gt; &gt;<br>
    &gt;&gt;&gt; &gt;<br>
    &gt;&gt;&gt; &gt;<br>
    &gt;&gt;&gt; &gt; On Sun, Sep 28, 2025, 4:47=E2=80=AFAM Graham Perrin &lt;<=
    a href=3D"mailto:grahamperrin@gmail.com" target=3D"_blank">grahamperrin@gma= il.com</a>&gt; wrote:<br>
    &gt;&gt;&gt; &gt;&gt;<br>
    &gt;&gt;&gt; &gt;&gt; Follow-up to &lt;<a href=3D"https://bugs.freebsd.org/= bugzilla/show_bug.cgi?id=3D287719#c6" rel=3D"noreferrer" target=3D"_blank">= https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D287719#c6</a>&gt;<br> &gt;&gt;&gt; &gt;&gt;<br>
    &gt;&gt;&gt; &gt;&gt; Good news.<br>
    &gt;&gt;&gt; &gt;&gt;<br>
    &gt;&gt;&gt; &gt;&gt; 2048 MB is sufficient with root-on-ZFS for an ordinar=
    y installation<br>
    &gt;&gt;&gt; &gt;&gt; (more than base, less than all of FreeBSD-base) of 15= .0-ALPHA4<br>
    &gt;&gt;&gt; &gt;&gt; plus these five non-base packages, some of which are = meta:<br>
    &gt;&gt;&gt; &gt;&gt;<br>
    &gt;&gt;&gt; &gt;&gt;=C2=A0 =C2=A0 =C2=A0 kde plasma6-sddm-kcm sddm virtual= box-guest-additions xorg<br>
    &gt;&gt;&gt; &gt;&gt;<br>
    &gt;&gt;&gt; &gt;&gt; Beyond initial installations: with 4 G swap enabled, =
    I repeatedly<br>
    &gt;&gt;&gt; &gt;&gt; tested forced reinstallation of all packages,<br> &gt;&gt;&gt; &gt;&gt;<br>
    &gt;&gt;&gt; &gt;&gt;=C2=A0 =C2=A0 =C2=A0 pkg upgrade -fUy<br>
    &gt;&gt;&gt; &gt;&gt;<br>
    &gt;&gt;&gt; &gt;&gt; 1077 packages, 1886 steps. Success.<br>
    &gt;&gt;&gt; &gt;&gt;<br>
    &gt;&gt;&gt; &gt;&gt; ----<br>
    &gt;&gt;&gt; &gt;&gt;<br>
    &gt;&gt;&gt; &gt;&gt; With swap disabled, which I would not recommend:<br> &gt;&gt;&gt; &gt;&gt;<br>
    &gt;&gt;&gt; &gt;&gt; - reinstallation failed, switch from ttyv1 to ttyv2 w= as<br>
    &gt;&gt;&gt; &gt;&gt;=C2=A0 =C2=A0 impossible, and so on, so I attempted a = shut down<br>
    &gt;&gt;&gt; &gt;&gt;=C2=A0 =C2=A0 &lt;<a href=3D"https://i.imgur.com/RftLG= Mu.png" rel=3D"noreferrer" target=3D"_blank">https://i.imgur.com/RftLGMu.pn= g</a>&gt;<br>
    &gt;&gt;&gt; &gt;&gt;<br>
    &gt;&gt;&gt; &gt;&gt; - shut down failed<br>
    &gt;&gt;&gt; &gt;&gt;<br>
    &gt;&gt;&gt; &gt;&gt; - following a forced stop of the computer, SDDM and t= he<br>
    &gt;&gt;&gt; &gt;&gt;=C2=A0 =C2=A0 desktop environment were unsable (pkg is= sue 2441,<br>
    &gt;&gt;&gt; &gt;&gt;=C2=A0 =C2=A0 second incident this morning).<br> &gt;&gt;&gt; &gt;<br>
    &gt;&gt;&gt; &gt;<br>
    &gt;&gt;&gt; &gt; It&#39;s big enough to install.. but i have lxte + termin=
    al + firefox with 4 tabs open and I routinely run out of memory and swap he= avily. I have a 4GB Chromebook.<br>
    &gt;&gt;&gt; Just a wild guess, but I suspect ZFS might be eating your memo= ry.<br>
    &gt;&gt;&gt; You could try something like setting:<br>
    &gt;&gt;&gt; vfs.zfs.arc.max to half of your ram and see what happens?<br> &gt;&gt;&gt;<br>
    &gt;&gt;&gt; You probably don&#39;t want to do this, but it would be intere= sting to<br>
    &gt;&gt;&gt; see what happens if you use UFS.<br>
    &gt;&gt;&gt; (Personally, I&#39;d never use ZFS for a root fs, but that&#39=
    ;s just me.)<br>
    &gt;&gt;&gt;<br>
    &gt;&gt;&gt; rick<br>
    &gt;&gt;&gt;<br>
    &gt;&gt;&gt; &gt;<br>
    &gt;&gt;&gt; &gt; So one can run in 128MB for light tasks and careful kerne=
    l tuning, 512MB is a more realistic minimum since it lets you install and u= pdate. But for X it&#39;s flipped: you need 2G to install but closer to 4G =
    or 8G to run a complete, but on the lean side, X11 system.<br>
    &gt;&gt;&gt; &gt;<br>
    &gt;&gt;&gt; &gt; Warner<br>
    &gt;&gt;&gt; &gt;&gt;<br>
    &gt;&gt;&gt; &gt;&gt;<br>
    &gt;&gt;&gt;<br>
    &gt;&gt;<br>
    &gt;&gt;<br>
    &gt;&gt; --<br>
    &gt;&gt; brandon s allbery kf8nh<br>
    &gt;&gt; <a href=3D"mailto:allbery.b@gmail.com" target=3D"_blank">allbery.b= @gmail.com</a><br>
    </blockquote></div></div>

    --0000000000008986a306400a7300--


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Rick Macklem@rick.macklem@gmail.com to muc.lists.freebsd.stable on Tue Sep 30 14:58:05 2025
    From Newsgroup: muc.lists.freebsd.stable

    On Tue, Sep 30, 2025 at 1:18rC>PM Warner Losh <imp@bsdimp.com> wrote:



    On Tue, Sep 30, 2025 at 2:03rC>PM Rick Macklem <rick.macklem@gmail.com> wrote:

    On Tue, Sep 30, 2025 at 12:50rC>PM Warner Losh <imp@bsdimp.com> wrote:

    Yea, I've not seen that to be the case. ZFS isn't that big of a memory hog these days... There are times you do need to tune the arc, but they are the exception, not the rule.
    Unfortunately, using ZFS as an NFS server seems to be an exception.
    Peter Errikson still uses 13.5 on his servers, since he doesn't find 14.n
    stable enough.
    There is this email thread:
    https://lists.freebsd.org/archives/freebsd-stable/2025-September/003126.html


    OK. Since I no longer do NFS, I've not hit that....
    I didn't figure you had hit it.
    I was hoping that you (or someone else reading this) might
    know someone willing to tackle the problem?
    rick



    I'd like to see this resolved, but I don't know enough about VM or
    ZFS's arc code
    and I have miniscule hardware, so I cannot replicate it.

    Btw, what is a BE?


    BE is a boot environment. It's basically a way to switch between different versions of the system quickly and easily, as well as offline update the system so you don't shoot yourself in the foot by removing libc.so... Great for both development and deployment. Worth paying the small extra memory tax I do see with ZFS.

    Warner


    rick


    Warner

    On Tue, Sep 30, 2025 at 1:41rC>PM Brandon Allbery <allbery.b@gmail.com> wrote:

    FWIW my understanding is that ZFS root is such a memory hog that anything under 16GB is disrecommended and 32GB preferable. (I have only one machine that fits that constraint, and FreeBSD doesn't quite work on it yet.)

    On Tue, Sep 30, 2025 at 3:38rC>PM Rick Macklem <rick.macklem@gmail.com> wrote:

    On Sun, Sep 28, 2025 at 7:59rC>AM Warner Losh <imp@bsdimp.com> wrote:



    On Sun, Sep 28, 2025, 4:47rC>AM Graham Perrin <grahamperrin@gmail.com> wrote:

    Follow-up to <https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287719#c6>

    Good news.

    2048 MB is sufficient with root-on-ZFS for an ordinary installation >> >>> >> (more than base, less than all of FreeBSD-base) of 15.0-ALPHA4
    plus these five non-base packages, some of which are meta:

    kde plasma6-sddm-kcm sddm virtualbox-guest-additions xorg

    Beyond initial installations: with 4 G swap enabled, I repeatedly
    tested forced reinstallation of all packages,

    pkg upgrade -fUy

    1077 packages, 1886 steps. Success.

    ----

    With swap disabled, which I would not recommend:

    - reinstallation failed, switch from ttyv1 to ttyv2 was
    impossible, and so on, so I attempted a shut down
    <https://i.imgur.com/RftLGMu.png>

    - shut down failed

    - following a forced stop of the computer, SDDM and the
    desktop environment were unsable (pkg issue 2441,
    second incident this morning).


    It's big enough to install.. but i have lxte + terminal + firefox with 4 tabs open and I routinely run out of memory and swap heavily. I have a 4GB Chromebook.
    Just a wild guess, but I suspect ZFS might be eating your memory.
    You could try something like setting:
    vfs.zfs.arc.max to half of your ram and see what happens?

    You probably don't want to do this, but it would be interesting to
    see what happens if you use UFS.
    (Personally, I'd never use ZFS for a root fs, but that's just me.)

    rick


    So one can run in 128MB for light tasks and careful kernel tuning, 512MB is a more realistic minimum since it lets you install and update. But for X it's flipped: you need 2G to install but closer to 4G or 8G to run a complete, but on the lean side, X11 system.

    Warner





    --
    brandon s allbery kf8nh
    allbery.b@gmail.com
    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?=@des@FreeBSD.org to muc.lists.freebsd.stable on Wed Oct 1 12:14:28 2025
    From Newsgroup: muc.lists.freebsd.stable

    Brandon Allbery <allbery.b@gmail.com> writes:
    FWIW my understanding is that ZFS root is such a memory hog that
    anything under 16GB is disrecommended and 32GB preferable.
    This has never been true. You can easily run FreeBSD with ZFS root on
    the smallest DigitalOcean droplets (1 vCPU, 1 GB RAM, 10 GB storage).
    I've been doing just that since 2017 when those same droplets came with
    only 512 MB RAM.
    DES
    --
    Dag-Erling Sm|+rgrav - des@FreeBSD.org
    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2