• Living in NGL: was: [gentoo-user] NAS and replacing with larger drives

    From Jack@21:1/5 to Mark Knecht on Sun Dec 18 16:50:01 2022
    On 12/18/22 10:38, Mark Knecht wrote:
    Wipe the machine and start over with Gentoo from scratch...
    Wipe the machine and start over with Gentoo from scratch...
    Humm, I think you should...
    Wipe the machine and start over with Gentoo from scratch...

    First there was Linux from Scratch.

    Next came Beyond Linux from Scratch.

    Then there was Gentoo.

    Now, the latest, greatest installment: Gentoo from Scratch.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Mark Knecht@21:1/5 to All on Sun Dec 18 17:20:01 2022
    On Sun, Dec 18, 2022 at 8:49 AM Jack <ostroffjh@users.sourceforge.net>
    wrote:

    On 12/18/22 10:38, Mark Knecht wrote:
    Wipe the machine and start over with Gentoo from scratch...
    Wipe the machine and start over with Gentoo from scratch...
    Humm, I think you should...
    Wipe the machine and start over with Gentoo from scratch...

    First there was Linux from Scratch.

    Next came Beyond Linux from Scratch.

    Then there was Gentoo.

    Now, the latest, greatest installment: Gentoo from Scratch.


    Gawd, that's funny! Thanks for making me smile, assuming I found what
    you're talking about:

    https://wiki.gentoo.org/wiki/Gentoo_ebuild_tree_from_scratch

    Just what every Gentoo user needs. More management!

    I really have fallen off the deep end thinking computers are just tools to
    get a job done. I'm ashamed of myself...

    In the really early days of Gentoo circa 2003 when I started there was some choice about regular Gentoo or a really low level install. I failed with
    the low level one but soon learned that every package on my machine was
    going to get rebuilt anyway so why bother?

    :-( Sad Mark. I'm a putz...

    <div dir="ltr"><br><br>On Sun, Dec 18, 2022 at 8:49 AM Jack &lt;<a href="mailto:ostroffjh@users.sourceforge.net">ostroffjh@users.sourceforge.net</a>&gt; wrote:<br>&gt;<br>&gt; On 12/18/22 10:38, Mark Knecht wrote:<br>&gt; &gt; Wipe the machine and start
    over with Gentoo from scratch...<br>&gt; &gt; Wipe the machine and start over with Gentoo from scratch...<br>&gt; &gt; Humm, I think you should...<br>&gt; &gt; Wipe the machine and start over with Gentoo from scratch...<br>&gt;<br>&gt; First there was
    Linux from Scratch.<br>&gt;<br>&gt; Next came Beyond Linux from Scratch.<br>&gt;<br>&gt; Then there was Gentoo.<br>&gt;<br>&gt; Now, the latest, greatest installment: Gentoo from Scratch.<br>&gt;<br><div><br></div><div>Gawd, that&#39;s funny! Thanks for
    making me smile, assuming I found what you&#39;re talking about:</div><div><br></div><div><a href="https://wiki.gentoo.org/wiki/Gentoo_ebuild_tree_from_scratch">https://wiki.gentoo.org/wiki/Gentoo_ebuild_tree_from_scratch</a><br></div><div><br></div><div>
    Just what every Gentoo user needs. More management!</div><div><br></div><div>I really have fallen off the deep end thinking computers are just tools to get a job done. I&#39;m ashamed of myself...</div><div><br></div><div>In the really early days of
    Gentoo circa 2003 when I started there was some choice about regular Gentoo or a really low level install. I failed with the low level one but soon learned that every package on my machine was going to get rebuilt anyway so why bother?</div><div><br></
    <div>:-( Sad Mark. I&#39;m a putz...</div></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jack@21:1/5 to Mark Knecht on Sun Dec 18 20:10:01 2022
    On 2022.12.18 11:17, Mark Knecht wrote:
    On Sun, Dec 18, 2022 at 8:49 AM Jack <ostroffjh@users.sourceforge.net>
    wrote:

    On 12/18/22 10:38, Mark Knecht wrote:
    Wipe the machine and start over with Gentoo from scratch...
    Wipe the machine and start over with Gentoo from scratch...
    Humm, I think you should...
    Wipe the machine and start over with Gentoo from scratch...

    First there was Linux from Scratch.

    Next came Beyond Linux from Scratch.

    Then there was Gentoo.

    Now, the latest, greatest installment: Gentoo from Scratch.


    Gawd, that's funny! Thanks for making me smile, assuming I found what
    you're talking about:

    https://wiki.gentoo.org/wiki/Gentoo_ebuild_tree_from_scratch
    I actually hadn't seen that, but it fits.

    Just what every Gentoo user needs. More management!

    I really have fallen off the deep end thinking computers are just
    tools to get a job done. I'm ashamed of myself...
    I've long said that many folks have computers to play games, but for
    me, the computer IS the game.

    In the really early days of Gentoo circa 2003 when I started there
    was some choice about regular Gentoo or a really low level install. I failed with the low level one but soon learned that every package on
    my machine was going to get rebuilt anyway so why bother?

    :-( Sad Mark. I'm a putz...
    Jack

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Frank Steinmetzger@21:1/5 to All on Sun Dec 18 20:40:01 2022
    Am Sun, Dec 18, 2022 at 01:07:43PM -0600 schrieb Dale:

    See other reply that has more info.  I'm pretty sure it is the
    encryption maxing out the CPU.

    The most simple benchmark is dd: unlock the LUKS layer on your HDD. then
    first read from the HDD directly and then from the LUKS device:

    dd if=<path/to/raw/HDD> of=/dev/null bs=1M count=1000
    dd if=<path/to/cryptdevice> of=/dev/null bs=1M count=1000

    It will tell you the transfer rate in MB/s.

    Mostly, I need a better CPU.  If I encrypt anyway. 

    Did you ever tell us the exact CPU you have in there? All I can remember is
    it has 4 cores. And some AMD processor with a II in its name, but that was
    you main rig, right?

    --
    Grüße | Greetings | Salut | Qapla’
    Please do not share anything from, with or about me on any social network.

    It's not a bug, it's tradition!

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEEVbE9o2D2lE5fhoVsizG+tUDUMMoFAmOfalwACgkQizG+tUDU MMpx1Q/+LwrNDPL/OdSI0O6odqInx2TsSSvNsCFOAQ3jW07BCOoGG/q6bubNK2Mp 5rlt3cXpGyayHIksUkdDtyV6RFsv2YRUTyvLEavierY08VIY609DbLgJ328wC5vE Ij5uaskM7LZzJs3eOEyijSUZgVb0mnycza7wKCVsgaU4qpnmxBUHd5V1/mkpp59N fCitlH4p5l3OzUkuXMzEP647jh6acKoXgyoy2qr8TIjnu9ULrN8akK/csg6mz3aB 6w9t6EVjFAiyaA2zJJXRmpnnMvRvg9cClTOT9jWI6NtL7aUHXnw4Ds7VIlV4O8lf EE/4KA9Bkcei7WbssUOroek6eHwdQG9wBlhUiSnrdFWYYkgG85CShbQ7+9INi5v4 v0AlX7Yeh9bwIbG3Gz1w6e1PMrt0mzImlUOZClFMTJdFwFGCDULrZNBIAitpT+ko Yi51XRUnnVL+75lm+zQQkCYswexDNxBJS357z8asVy1aw73ug4anRwSIL53m0zzh 99azVAoJ60OxhSLN7MgcqYVRcA6ItFhKsZJnoFrXKKLijDNbFwbD+cpbMVjC1HW4 16ZezkXUg/z8KThsafy2YLTXfu9bx3G2MBM/7xh8Tb0XLTFTiFyGNClFZWCRc0+b lXdTLWouYrt8ngSz/1CjtqSINiLnyDiskjLSexdOOZNvUHkatPo=
    =7HbE
    -----END PGP SIGNATURE-----

    --- SoupGate-Wi
  • From Mark Knecht@21:1/5 to rdalek1967@gmail.com on Sun Dec 18 20:30:01 2022
    On Sun, Dec 18, 2022 at 12:08 PM Dale <rdalek1967@gmail.com> wrote:
    <SNIP>
    I just might find a simple distro that I can install on that thing.
    Honestly, I don't really care what is on it as long as it does what I want
    and I can figure out how to make it work easily enough.
    <SNIP>

    Consider Ubuntu Server. It's text only and will likely have everything you
    need to start other than the NFS server which is easy enough to install.
    ssh is on it by default,

    You will need a monitor to install.

    Update after install is probably two commands which is more or less
    equivalent to emerge -DuN world but takes only a couple of minutes.

    sudo apt update
    sudo apt upgrade

    There are lots of web pages that will tell you how to install and configure
    the NFS server. It's not hard and only necessary if you actually want to
    create mounts. Not necessary for rsync.

    <div dir="ltr"><br><br>On Sun, Dec 18, 2022 at 12:08 PM Dale &lt;<a href="mailto:rdalek1967@gmail.com">rdalek1967@gmail.com</a>&gt; wrote:<br>&lt;SNIP&gt;<br>&gt; I just might find a simple distro that I can install on that thing.  Honestly, I don&#39;t
    really care what is on it as long as it does what I want and I can figure out how to make it work easily enough. <div>&lt;SNIP&gt;</div><div><br></div><div>Consider Ubuntu Server. It&#39;s text only and will likely have everything you need to start
    other than the NFS server which is easy enough to install. ssh is on it by default,</div><div><br></div><div>You will need a monitor to install.</div><div><br></div><div>Update after install is probably two commands which is more or less equivalent to
    emerge -DuN world but takes only a couple of minutes.</div><div><br></div><div>sudo apt update</div><div>sudo apt upgrade</div><div><br></div><div>There are lots of web pages that will tell you how to install and configure the NFS server. It&#39;s not
    hard and only necessary if you actually want to create mounts. Not necessary for rsync.</div><div><br></div></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Rich Freeman@21:1/5 to Warp_7@gmx.de on Sun Dec 18 21:10:01 2022
    On Sun, Dec 18, 2022 at 2:30 PM Frank Steinmetzger <Warp_7@gmx.de> wrote:

    Am Sun, Dec 18, 2022 at 01:07:43PM -0600 schrieb Dale:

    Mostly, I need a better CPU. If I encrypt anyway.

    Did you ever tell us the exact CPU you have in there? All I can remember is it has 4 cores. And some AMD processor with a II in its name, but that was you main rig, right?

    What encryption algorithm are you using? You should see if this is hardware-accelerated in the kernel for your CPU, or if not if there is
    another strong algorithm which is. Most newer CPUs will tend to have
    hardware support for algorithms like AES, and the kernel will use
    this. This will greatly improve CPU performance.

    I've run into this issue with zfs on Raspberry Pis. ZFS does the
    encryption internally, and the openzfs code didn't have support for
    ARM hardware encryption the last time I checked (this could have
    changed). I found that dm-crypt works MUCH better on Pis as a result,
    as the kernel does have ARM encryption hardware support.

    Again, this all depends on the algorithm. If you're using something
    exotic odds are the hardware won't handle it natively.

    --
    Rich

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Mark Knecht@21:1/5 to rich0@gentoo.org on Sun Dec 18 21:40:02 2022
    On Sun, Dec 18, 2022 at 1:07 PM Rich Freeman <rich0@gentoo.org> wrote:

    On Sun, Dec 18, 2022 at 2:30 PM Frank Steinmetzger <Warp_7@gmx.de> wrote:

    Am Sun, Dec 18, 2022 at 01:07:43PM -0600 schrieb Dale:

    Mostly, I need a better CPU. If I encrypt anyway.

    Did you ever tell us the exact CPU you have in there? All I can
    remember is
    it has 4 cores. And some AMD processor with a II in its name, but that
    was
    you main rig, right?

    What encryption algorithm are you using? You should see if this is hardware-accelerated in the kernel for your CPU, or if not if there is another strong algorithm which is. Most newer CPUs will tend to have hardware support for algorithms like AES, and the kernel will use
    this. This will greatly improve CPU performance.

    I've run into this issue with zfs on Raspberry Pis. ZFS does the
    encryption internally, and the openzfs code didn't have support for
    ARM hardware encryption the last time I checked (this could have
    changed). I found that dm-crypt works MUCH better on Pis as a result,
    as the kernel does have ARM encryption hardware support.

    Again, this all depends on the algorithm. If you're using something
    exotic odds are the hardware won't handle it natively.

    --
    Rich

    Great background info Rich. Thanks.

    If Dale would supply us with the first few lines of the following command I think it would help

    mark@truenas1:~ $ sysctl hw
    hw.machine: amd64
    hw.model: Intel(R) Core(TM) i3-2120 CPU @ 3.30GHz
    hw.ncpu: 4


    Note that hw.ncpu isn't actually cores but rather threads. My
    processor has just 2 cores.

    I don't know how to get the CPU flags on FreeBSD nor
    how to determine if encryption is hardware or software
    based on TrueNAS. Given some time I might Google
    that.

    Cheers,
    Mark

    <div dir="ltr"><br><br>On Sun, Dec 18, 2022 at 1:07 PM Rich Freeman &lt;<a href="mailto:rich0@gentoo.org">rich0@gentoo.org</a>&gt; wrote:<br>&gt;<br>&gt; On Sun, Dec 18, 2022 at 2:30 PM Frank Steinmetzger &lt;<a href="mailto:Warp_7@gmx.de">Warp_7@gmx.de</
    &gt; wrote:<br>&gt; &gt;<br>&gt; &gt; Am Sun, Dec 18, 2022 at 01:07:43PM -0600 schrieb Dale:<br>&gt; &gt;<br>&gt; &gt; &gt; Mostly, I need a better CPU.  If I encrypt anyway.<br>&gt; &gt;<br>&gt; &gt; Did you ever tell us the exact CPU you have in
    there? All I can remember is<br>&gt; &gt; it has 4 cores. And some AMD processor with a II in its name, but that was<br>&gt; &gt; you main rig, right?<br>&gt;<br>&gt; What encryption algorithm are you using?  You should see if this is<br>&gt; hardware-
    accelerated in the kernel for your CPU, or if not if there is<br>&gt; another strong algorithm which is.  Most newer CPUs will tend to have<br>&gt; hardware support for algorithms like AES, and the kernel will use<br>&gt; this.  This will greatly
    improve CPU performance.<br>&gt;<br>&gt; I&#39;ve run into this issue with zfs on Raspberry Pis.  ZFS does the<br>&gt; encryption internally, and the openzfs code didn&#39;t have support for<br>&gt; ARM hardware encryption the last time I checked (this
    could have<br>&gt; changed).  I found that dm-crypt works MUCH better on Pis as a result,<br>&gt; as the kernel does have ARM encryption hardware support.<br>&gt;<br>&gt; Again, this all depends on the algorithm.  If you&#39;re using something<br>&gt;
    exotic odds are the hardware won&#39;t handle it natively.<br>&gt;<br>&gt; --<br>&gt; Rich<br><br>Great background info Rich. Thanks.<br><br>If Dale would supply us with the first few lines of the following command I think it would help<br><br>mark@
    truenas1:~ $ sysctl hw<br>hw.machine: amd64<br>hw.model: Intel(R) Core(TM) i3-2120 CPU @ 3.30GHz<br>hw.ncpu: 4<br><br><br>Note that hw.ncpu isn&#39;t actually cores but rather threads. My <br>processor has just 2 cores.<div><br></div><div>I don&#39;t
    know how to get the CPU flags on FreeBSD nor </div><div>how to determine if encryption is hardware or software </div><div>based on TrueNAS. Given some time I might Google </div><div>that.  <br><br>Cheers,<br>Mark<br></div></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Mark Knecht@21:1/5 to All on Sun Dec 18 21:40:01 2022
    <SNIP>

    sysctl hw

    SNIP>

    sudo dmidecode -t processor -t cache

    <div dir="ltr">&lt;SNIP&gt; <br><br>sysctl hw<br><br>SNIP&gt;<br><br>sudo dmidecode -t processor -t cache</div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Frank Steinmetzger@21:1/5 to All on Sun Dec 18 22:00:01 2022
    Am Sun, Dec 18, 2022 at 01:30:45PM -0700 schrieb Mark Knecht:

    I don't know how to get the CPU flags on FreeBSD nor
    how to determine if encryption is hardware or software
    based on TrueNAS. Given some time I might Google
    that.

    Wikipedia has lists of practically everything: https://en.wikipedia.org/wiki/List_of_AMD_processors
    (We just need to know on which to click ;-) )

    Another good source for such stuff is https://www.cpu-world.com/ .

    --
    Grüße | Greetings | Salut | Qapla’
    Please do not share anything from, with or about me on any social network.

    Remember: now are the good old times
    which you will be raving about in ten year’s time.

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEEVbE9o2D2lE5fhoVsizG+tUDUMMoFAmOffcgACgkQizG+tUDU MMoVuw//QzPOHkHaGxVmVYnMWWBMI1ktXbPZGPlnghjLBjrBqGmPObK/hxpPyDEt RGCQpEEX73cXKSzN+u2sR2WUQZPW9qYV2LuPQhcysOe9n/UB6s8wBHDp+n+ubt+k bufSKSpN32Ik331VRgwg6U/zpnmmZifxHvEwjfueaDn3bJwM57jjUxnIFYk9WoMy RXzhc+3j8/eqvV+3A0I7fiOjOtCgNlI2rCYI6wpnes9+np1E/SItqsDz/5+CMR1U JekXa+7rEwvDmxhKq7oJA+IKM0sEBKjE/s+gfPgUK3WuV1hBS7FEco5HPiG4JQtH lDlOQCPYVnYa2l9AlG9szQSIVBMcU8uXUlzcsFLXMYmN61CVs9LYdks+IXj/OU5X GewGpmw5WzBsH/fZcIUhHNhQYBgjHjA7bgeEcN7MEZAYl1gvT6teNRjZGNusSWlS e0slTk+Fdlb2bkyGzXnHx7LYn4mKacJp7nWDxBinNEqTl9oYzgoXcOCOL12ItihG Z2WOBa2LhtYz2eJeretKSSbTdPRPfIFms9a+6KOKxAFCI/wA9fKRi27eHetMYX4D hwxbHGzmdHEclJly9SgDx5xjVy4GK9KDkNYDVmUipw5YW76MWey2OwKhU6yyfoX8 lxyHw4XSF5mayxagi5NKusOF2qabfDXIkA4ErKQTFm3F1Bst
  • From Frank Steinmetzger@21:1/5 to All on Sun Dec 18 23:10:01 2022
    Am Sun, Dec 18, 2022 at 03:53:28PM -0600 schrieb Dale:

    Did you ever tell us the exact CPU you have in there? All I can remember is it has 4 cores. And some AMD processor with a II in its name, but that was you main rig, right?

    It took some digging around but I found out it is a AMD Phenom 9750 quad core.

    Great! That’s a model from 2008: https://en.wikipedia.org/wiki/List_of_AMD_Phenom_processors#%22Agena%22_(B2/B3,_65_nm,_Quad-core)

     It lists some extensions but I don't see any that are related to
    encryption.  No AES or whatever for sure.  Unless I missed it.  I used

    The instruction set’s original proposal is about as young as your processor: https://en.wikipedia.org/wiki/AES_instruction_set

    My main rig has a AMD FX-8350 Eight-Core Processor and 32GBs of memory. 
    I'm thinking about a new rig eventually.  Rig is getting a little age on it.  ;-) 

    At least it has AES ;-) https://en.wikipedia.org/wiki/List_of_AMD_FX_processors#Piledriver_Core_(Vishera,_32_nm)

    I’ve been thinking about a new build for about a year now, aiming at a power-efficient Ryzen 5700G. But I can’t let go of my trusty old (8 years) i5-4590.

    --
    Grüße | Greetings | Salut | Qapla’
    Please do not share anything from, with or about me on any social network.
    So this unvaccinated man comes in no bar ...

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEEVbE9o2D2lE5fhoVsizG+tUDUMMoFAmOfjz4ACgkQizG+tUDU MMrYuw/9EN6yOnGposln5Ef85+KCRXFJKgDeg4kHEA9Ur9MoxVHIeKNmy1BKzQ9N rlSkZn+YUsUCAJywoSlLWXeyHRKwwrhDNLgEBslkOhiANuo8m9uzu8A+ixwt1bED Dl6dKej7sUHyAzKv4qAAD0Rvcs2xPb/SZUgfUIFh/PBS4FMJWihp4ZlncWuWQCMS bYnndhCXUbeb63G1PpFBHs6Tm5x3Ervv+2jVttk+cMR5hFgwongPIIjsweQk+5GK s0gNj8B9waD3KlX0NlFAhImfAdIuFCYHBfUeSAhH3LtFarG1IYUHsRQL9d4los6j rMCz7e+Sif/DiQ/Be4RkOAHF/EeCUm0hy1tzxYkIV/pB5x3q8BBwjKMzuPumg52l i6mBBQhklYHdw2V4KTPrtXJGK+AVnQH8e2kxkDTJhrh14ob3lKERCnttzJuWKlDG ltA3kTScR+YnJweWBiZ58sEN3mCggV6qwR8QFMDLEf2up4pnYAQXoTMg/02P6w2q bgAehpD45astmGtxTEUbXc/2YB8ngPZyswRbRUOPtOeZ1I21z1lSRG9tDtMq4Ph0 KJpOqf3RA6xflDZ6lzyCfVFtNkJV1cdYopERQClJP+NjXt6/Hq7ZGWZfu22iOxuX H9HSstrSMPJwKBhEnuxQq2Cns9HS+yWTRZaPEjYS94p53Nwk9/8=
    =Jlkb
    -----END PGP SIGNATURE-----

    ---
  • From Rich Freeman@21:1/5 to rdalek1967@gmail.com on Mon Dec 19 02:40:01 2022
    On Sun, Dec 18, 2022 at 4:53 PM Dale <rdalek1967@gmail.com> wrote:

    It took some digging around but I found out it is a AMD Phenom 9750 quad core.

    You might want to hook a Kill-a-watt to that and see how much power it
    uses. Those older AMD processors were really inefficient.

    One thing I've come to appreciate with anything that runs 24x7 is to
    consider the energy bill to run things. That's why the bulk of my
    storage is running on ARM SBCs. Those things use almost no power when
    idle, while even a modern amd64 system will often use more at idle
    than an ARM will at full load.

    Most of the newer CPUs are MUCH better in performance per watt as
    well. A server that uses just 50W 24x7 costs about $65/yr (and I have
    pretty cheap electricity due to a 1yr contract - odds are it costs
    quite a bit more for most of this list). That's a fairly significant
    amount of money so it can pay to optimize things, especially if you
    replace what was a power-hungry performance CPU from 10 years ago with
    a lower-end CPU from today that probably has double the performance
    for 10% of the power draw. Obviously if you want bleeding edge the
    electricity bill won't cover the up-front costs, but lower end CPUs
    are very cost-effective and efficient compared to really old systems
    that people tend to use for these kinds of projects.

    --
    Rich

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Rich Freeman@21:1/5 to rdalek1967@gmail.com on Mon Dec 19 13:10:01 2022
    On Mon, Dec 19, 2022 at 12:11 AM Dale <rdalek1967@gmail.com> wrote:

    If I like these Raspberry things, may make a media box out of one. I'd
    like to have a remote tho. ;-)

    So, I've done that. Honestly, these days a Roku is probably the
    better option, or something like a Google Chromecast or the 47 other
    variations on this them. Keep in mind that low-powered devices like
    ARM SBCs (or Rokus) are very picky about codecs. If you're running
    something like Plex the software will offload the transcoding to a
    server when the codec isn't supported by the player, but if you're
    doing something more DIY then you need to ensure your library conforms
    to the specs or your player will just die. Even 1080p can be pushing
    it for software decoding on an ARM SBC, and forget 4k. Heck, realtime
    software transcoding 4k is pretty hard on most amd64 servers as well -
    they will do it but it will use a significant amount of CPU just for
    one stream.

    These days I'm using Pis just for moosefs storage, and all the
    compute-heavy stuff is on amd64. For players I just use TV clients or
    Rokus plus Plex server on amd64. I don't really get any benefit out
    of completely DIYing the client side and LIRC is a PITA.

    --
    Rich

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Wols Lists@21:1/5 to Rich Freeman on Mon Dec 19 14:00:01 2022
    On 19/12/2022 12:00, Rich Freeman wrote:
    On Mon, Dec 19, 2022 at 12:11 AM Dale<rdalek1967@gmail.com> wrote:
    If I like these Raspberry things, may make a media box out of one. I'd
    like to have a remote tho. 😉

    So, I've done that. Honestly, these days a Roku is probably the
    better option, or something like a Google Chromecast or the 47 other variations on this them.

    Where do you put that 2TB drive on your Roku or Chromecast?

    I'm thinking of building a media server, not to drive the TV, but to
    record and store. I thought that was what a media server was!

    Cheers,
    Wol

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Rich Freeman@21:1/5 to antlists@youngman.org.uk on Mon Dec 19 14:40:01 2022
    On Mon, Dec 19, 2022 at 7:51 AM Wols Lists <antlists@youngman.org.uk> wrote:

    On 19/12/2022 12:00, Rich Freeman wrote:
    On Mon, Dec 19, 2022 at 12:11 AM Dale<rdalek1967@gmail.com> wrote:
    If I like these Raspberry things, may make a media box out of one. I'd
    like to have a remote tho. 😉

    So, I've done that. Honestly, these days a Roku is probably the
    better option, or something like a Google Chromecast or the 47 other variations on this them.

    Where do you put that 2TB drive on your Roku or Chromecast?

    I'm thinking of building a media server, not to drive the TV, but to
    record and store. I thought that was what a media server was!

    So, he said "media box," which I assumed meant the client that
    attaches to the TV. There are some canned solutions for media servers
    - I think the NVidia Shield can run Plex server for example. However,
    in general server-side I'd go amd64.

    My current solution is:
    1. Moosefs for storage: amd64 container for the master, and ARM SBCs
    for the chunkservers which host all the USB3 hard drives. With a
    modest number of them performance is very good, though certainly not
    as good as Ceph or local storage. (I do have moosefs in my overlay -
    might try to get that into the main repo when I get a chance.)
    2. Plex server in a container on amd64 (looking to migrate this to k8s
    over the holiday).
    3. Rokus or TV apps for the clients.

    --
    Rich

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Mark Knecht@21:1/5 to rich0@gentoo.org on Mon Dec 19 17:50:01 2022
    Hi Rich

    On Mon, Dec 19, 2022 at 6:30 AM Rich Freeman <rich0@gentoo.org> wrote:
    <SNIP>
    My current solution is:
    1. Moosefs for storage: amd64 container for the master, and ARM SBCs
    for the chunkservers which host all the USB3 hard drives.

    I'm trying to understand the form factor of what you are mentioning above. Presumably the chunkservers aren't sitting on a lab bench with USB
    drives hanging off of them. Can you point me toward and example of
    what you are using?

    I've been considering some of these new mini-computers that have
    a couple of 2.5Gb/S Ethernet ports and 3 USB 3 ports but haven't
    moved forward because I want it packaged in a single case.

    Where does the master reside? In a container on your desktop
    machine or is that another element on your network?

    <SNIP>

    2. Plex server in a container on amd64 (looking to migrate this to k8s
    over the holiday).

    Why Kubernetes? Is the Plex server safer when not being used? How
    long does it take to spin up an instance and do the TV apps understand
    this operation? Or would it be up and running all the time?

    Thanks,
    Mark

    <div dir="ltr">Hi Rich<br><br>On Mon, Dec 19, 2022 at 6:30 AM Rich Freeman &lt;<a href="mailto:rich0@gentoo.org">rich0@gentoo.org</a>&gt; wrote:<br>&lt;SNIP&gt;<br>&gt; My current solution is:<br>&gt; 1. Moosefs for storage: amd64 container for the
    master, and ARM SBCs<br>&gt; for the chunkservers which host all the USB3 hard drives.  <div><br></div><div>I&#39;m trying to understand the form factor of what you are mentioning above.</div><div>Presumably the chunkservers aren&#39;t sitting on a lab
    bench with USB</div><div>drives hanging off of them. Can you point me  toward and example of </div><div>what you are using?</div><div><br></div><div>I&#39;ve been considering some of these new mini-computers that have</div><div>a couple of 2.5Gb/S
    Ethernet ports and 3 USB 3 ports but haven&#39;t </div><div>moved forward because I want it packaged in a single case.</div><div><br></div><div>Where does the master reside? In a container on your desktop</div><div>machine or is that another element on
    your network?</div><div><br></div><div>&lt;SNIP&gt;</div><div><br>&gt; 2. Plex server in a container on amd64 (looking to migrate this to k8s<br>&gt; over the holiday).</div><div><br></div><div>Why Kubernetes? Is the Plex server safer when not being used?
    How</div><div>long does it take to spin up an instance and do the TV apps understand</div><div>this operation? Or would it be up and running all the time?</div><div><br>Thanks,</div><div>Mark</div></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Rich Freeman@21:1/5 to markknecht@gmail.com on Tue Dec 20 01:10:01 2022
    On Mon, Dec 19, 2022 at 11:43 AM Mark Knecht <markknecht@gmail.com> wrote:

    On Mon, Dec 19, 2022 at 6:30 AM Rich Freeman <rich0@gentoo.org> wrote:
    <SNIP>
    My current solution is:
    1. Moosefs for storage: amd64 container for the master, and ARM SBCs
    for the chunkservers which host all the USB3 hard drives.

    I'm trying to understand the form factor of what you are mentioning above. Presumably the chunkservers aren't sitting on a lab bench with USB
    drives hanging off of them. Can you point me toward and example of
    what you are using?

    Well, a few basically are just sitting on a bench, but most are in
    half-decent cases (I've found that Pi4s really benefit from a decent
    case as they will thermal throttle otherwise). I then have USB3 hard
    drives attached. I actually still have one RockPro64 with an LSI HBA
    on a riser card but I'm going to be moving those drives to USB3-SATA
    adapters because dealing with the kernel patches needed to fix the
    broken PCIe driver is too much fuss, and the HBA uses a TON of power
    which I didn't anticipate when I bought it (ugh, server gear).

    Really at this point for anything new 2GB Pi4s are my preferred go-to
    with Argon ONE v2 cases. Then I just get USB3 hard drives on sale at
    Best Buy for ~$15/TB if possible. USB3 will handle a few hard drives
    depending on how much throughput they're getting, but this setup is
    more focused on capacity/cost than performance anyway.

    The low memory requirement for the chunkservers is a big part of why I
    went with MooseFS instead of Ceph. The OSDs for Ceph recommend
    something like 4GB per hard drive which adds up very fast.

    The USB3 hard drives do end up strewn about a fair bit, but they have
    their own enclosures anyway. I just label them well.


    I've been considering some of these new mini-computers that have
    a couple of 2.5Gb/S Ethernet ports and 3 USB 3 ports but haven't
    moved forward because I want it packaged in a single case.

    Yeah, better ethernet would definitely be on my wish list. I'll
    definitely take a look at the state of those the next time I add a
    node.

    Where does the master reside? In a container on your desktop
    machine or is that another element on your network?

    In an nspawn container on one of my servers. It is pretty easy to set
    up or migrate so it can go anywhere, but it does benefit from a bit
    more CPU/RAM. Running it in a container creates obvious dependency
    challenges if I want to mount moosefs on the same server - that can be
    solved with systemd dependencies, but it won't figure that out on its
    own.

    2. Plex server in a container on amd64 (looking to migrate this to k8s
    over the holiday).

    Why Kubernetes?

    I run it 24x7. This is half an exercise to finally learn and grok
    k8s, and half an effort to just develop better container practices in
    general. Right now all my containers run in nspawn which is actually
    a very capable engine, but it does nothing for image management, so my containers are more like pets than cattle. I want to get to a point
    where everything is defined by a few trivially backed-up config files.

    One thing I do REALLY prefer with nspawn is its flexibility around
    networking. An nspawn container can use a virtual interface attached
    to any bridge, which means you can give them their own IPs, routes,
    gateways, VLANs, and so on. Docker and k8s are pretty decent about
    giving containers a way to listen on the network for connection
    (especially k8s ingress or load balancers), but they do nothing really
    to manage the outbound traffic, which just uses the host network
    config. On a multi-homed network or when you want to run services for
    VLANs and so on it seems like a lot of trouble. Sure, you can go
    crazy with iptables and iproute2 and so on, but I used to do that with non-containerized services and hated it. With nspawn it is pretty
    trivial to set that stuff up and give any container whatever set of
    interfaces you want bridged however you want them. I actually fussed
    a little with running a k8s node inside an nspawn container so that I
    could just tie pods to nodes to do exotic networking but clusters
    inside containers (using microk8s which runs in snapd) was just a
    bridge too far...

    --
    Rich

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From William Kenworthy@21:1/5 to Rich Freeman on Tue Dec 20 02:50:01 2022
    On 19/12/22 21:30, Rich Freeman wrote:
    On Mon, Dec 19, 2022 at 7:51 AM Wols Lists <antlists@youngman.org.uk> wrote:
    On 19/12/2022 12:00, Rich Freeman wrote:
    On Mon, Dec 19, 2022 at 12:11 AM Dale<rdalek1967@gmail.com> wrote:
    If I like these Raspberry things, may make a media box out of one. I'd >>>> like to have a remote tho. 😉
    So, I've done that. Honestly, these days a Roku is probably the
    better option, or something like a Google Chromecast or the 47 other
    variations on this them.
    Where do you put that 2TB drive on your Roku or Chromecast?

    I'm thinking of building a media server, not to drive the TV, but to
    record and store. I thought that was what a media server was!
    So, he said "media box," which I assumed meant the client that
    attaches to the TV. There are some canned solutions for media servers
    - I think the NVidia Shield can run Plex server for example. However,
    in general server-side I'd go amd64.

    My current solution is:
    1. Moosefs for storage: amd64 container for the master, and ARM SBCs
    for the chunkservers which host all the USB3 hard drives. With a
    modest number of them performance is very good, though certainly not
    as good as Ceph or local storage. (I do have moosefs in my overlay -
    might try to get that into the main repo when I get a chance.)
    2. Plex server in a container on amd64 (looking to migrate this to k8s
    over the holiday).
    3. Rokus or TV apps for the clients.

    Very similar to what I have (intel/arm for moosefs) - I am effectively
    using moosefs as a distributed NAS (fuse mount onto whatever system(s) I
    am using) with built in data protection and redundancy.  LVM and similar pooling is discouraged as it defeats some of the built in data
    protection. To increase storage, just add a disk, format, add to the
    config and reload - it automatically redistributes the data.  Similarly,
    you can add/remove storage or whole storage systems while live with no
    risk to your data (within limits!!!) With LVM, if a drive fails, you are
    SOL and offline until you can recover and restore the data.  On a recent holiday, an SD card failed and a moosefs arm SBC in AU went offline - discovered the next morning when doing status checks from a ship in the Mediterranean(!) - it had already backfilled and protection was back at
    normal, moosefs was just missing 2Tb of storage space.  5 weeks later
    when I got home, I replaced the SD card, rebooted and readded the system
    all with no risk to the data.

    Dale, I was where you are about 10 or so years ago and was forced to
    move on when that design hit its limits - forget LVM etc, these days
    there are lots of better ways to do what you want with less risk to your data.  Another factor is power - moosefs is currently 1 intel and 7 arm
    SBC's that use 90-110w (most of which is due to using ancient WD and
    Seagate hard drives) - where as my intel desktop is 90w when idle, or
    over 300 w when compiling etc. so its off unless its being used. Power
    is important to me as its expensive!!

    BillK

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)