I’m looking at getting a 10 gigabit network switch. I only have 3 devices that could use that speed right now but I do plan on upgrading things over time.

Any recommendations?

  • Lem453@lemmy.ca
    link
    fedilink
    English
    arrow-up
    45
    ·
    edit-2
    3 months ago

    The comments here saying to not bother with 10gbe is surprising considering it’s the selfhosted community, not a random home networking self help. Dismissing a reasonable request form someone who is building a homelab is not a good way to grow niche communities like this one on the fediverse.

    10gbe has come down in price a lot recently but is still more expensive than 1gb of course.

    Ideas for switches: https://www.servethehome.com/the-ultimate-cheap-10gbe-switch-buyers-guide-netgear-ubiquiti-qnap-mikrotik-qct/

    https://www.servethehome.com/nicgiga-s25-0501-m-managed-switch-review-5-port-2-5gbe-and-sfp-realtek/

    For a router: https://www.servethehome.com/everything-homelab-node-goes-1u-rackmount-qotom-intel-review/

    • Neshura@bookwormstory.social
      link
      fedilink
      English
      arrow-up
      19
      ·
      3 months ago

      Personally going 10G on my networking stuff has significantly improved my experience with self-hosting, especially when it comes to file transfers. 1G can just be extremely slow when you’re dealing with large amounts of data so I also don’t really understand why people recommend against 10G here of all places.

      • JustEnoughDucks@feddit.nl
        link
        fedilink
        English
        arrow-up
        5
        ·
        edit-2
        3 months ago

        I think it has to do with data differences between self hosters and data hoarders.

        Example: a self hosted with an RPI home assistant setup and a N100 server with some paperwork, photos, nextcloud, and a small jellyfin library.

        A few terabytes of storage and their goal is to replace services they paid for in an efficient manner. Large data transfers will happen extremely rarely and it would be limited in size, likely for backing up some important documents or family photos. Maybe they have a few hundred Mbit internet max.

        Vs

        A data hoarder with 500TB of raid array storage that indexes all media possible, has every retail game sold for multiple consoles, has taken 10k RAW photos, has multiple daily and weekly backups to different VPS storages, hosts a public website, has >gigabit internet, and is seeding 500 torrents at a given time.

        I would venture to guess that option 1 is the vast majority of cases in selfhosting, and 10Gb networking is much more expensive for limited benefit for them.

        Now on a data hoarding community, option 2 would be a reasonable assumption and could benefit greatly from 10Gb.

        Also 10Gb is great for companies, which are less likely to be posting on a self hosted community.

        • Neshura@bookwormstory.social
          link
          fedilink
          English
          arrow-up
          8
          ·
          edit-2
          3 months ago

          I somewhat disagree that you have to be a data hoarder for 10G to be worth it. For example I’ve got a headless steam client on my server that has my larger games installed (all in all ~2TB so not in data hoarder territories) which allows me to install and update those games at ~8 Gbit/s. Which in turn allows me to run a leaner Desktop PC since I can just uninstall the larger games as soon as I don’t play them daily anymore and saves me time when Steam inevitably fails to auto update a game on my Desktop before I want to play it.

          Arguably a niche use case but it exists along side other such niche use cases. So if someone comes into this community and asks about how best to implement 10G networking I will assume they (at least think) have such a use case on their hands and want to improve that situation a bit.

      • tburkhol@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        arrow-down
        1
        ·
        3 months ago

        And X-windows. There’s a few server tasks that I just find easier with gui, and they feel kind of laggy over 1G. Not to mention an old Windows program running in WINE over Xwin. All kind of things you can do, internally, to eat up bandwidth.

    • czardestructo@lemmy.world
      link
      fedilink
      English
      arrow-up
      12
      ·
      3 months ago

      I bought all the gear to do 10gbe but ultimately went back to 1gig simply because the power consumption. The switch alone used 20w at idle and each NIC burned 8w and I couldn’t justify it.

      • Lem453@lemmy.ca
        link
        fedilink
        English
        arrow-up
        6
        ·
        3 months ago

        Very reasonable. FWIW, sfp uses way less power than rj45 for 10gbe if that’s an option.

    • just_another_person@lemmy.world
      link
      fedilink
      English
      arrow-up
      6
      arrow-down
      18
      ·
      edit-2
      3 months ago

      Gonna disagree here. Microtik is a problematic company at best. They’re super lax on security, and they’ve had a lot of issues with their products in general. They also offer no real warranty, but I assume that’s because they aren’t a dedicated networking company (they make other things).

      Just last year the flags were raised on dated firmware that left something like a million devices vulnerable, and their response was lacking.

      On the plus side: they are part of the EU, so data protection laws apply, and they do seem to be in the forefront on uptake of modern equipment and standards.

  • Narauko@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    3 months ago

    Depending on your forecasted capacity needs, Ubiquity does have some attractive options depending on your comfort with managed vs unmanaged switches is. I am making some assumptions based on homelab tendencies. I have been very happy with the UniFi ecosystem personally, though I know it’s not everyone’s cup of tea. The Dream Machine Pro has been very good for me both operationally and reliability wise, and there are expansion options for 10Gb Ethernet or SFP+ switches that cover most (pro/prosumer) price ranges.

    They are definitely not the best bang for buck necessarily, and I have not tried any MikroTik alternatives to directly compare so take my opinions with a big grain of salt. I work in a purely Cisco environment and am used to working almost exclusively in CLI, but I found the UniFi GUI and environment easy enough to pick up with a little effort. UniFi firewall is too permissive by default if you are using something like the Dream Machine as the front end, but as a Boundary non-expert it was not too difficult to configure satisfactorily. Wireless APs are pretty great too.

    • Kaavi@lemmy.world
      link
      fedilink
      English
      arrow-up
      11
      ·
      edit-2
      3 months ago

      I’m not op, but: I have 10gbit between by truenas server and my proxmox server. The use case is faster access to files from my proxmox server.

      1gbit is actually quite slow when we talk disk speed.

      • farcaller
        link
        fedilink
        English
        arrow-up
        5
        ·
        3 months ago

        I had exactly the same use case and I ended up with a 40G DAC fiber for that case. It ended up cheaper than converting the whole lan to 10G.

        That said, it feels like used 10G equipment is easier to come by than 2.5G for now, and if you have 2G fiber uplink and only 1G past the router then it’s a waste.

        • felbane@lemmy.world
          link
          fedilink
          English
          arrow-up
          3
          ·
          3 months ago

          Point of clarification: DAC is copper, AOC is fiber.

          A lot of 10G equipment will support 5G/2.5G SFPs as well, so it can still be beneficial to go 10G on the core equipment.

    • Possibly linux@lemmy.zip
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      12
      ·
      3 months ago

      Email does take some serious bandwidth

      On a more serious note, people who have fast Internet should be running Tor relays. It would make the network much faster and secure.

      • exu@feditown.com
        link
        fedilink
        English
        arrow-up
        4
        arrow-down
        1
        ·
        3 months ago

        Will you protect them from police raids and cover their legal costs for running a Tor node?

        And it’s quite likely they only have 10G locally, with way less bandwidth going to the outside.

        • Chewy@discuss.tchncs.de
          link
          fedilink
          English
          arrow-up
          4
          ·
          3 months ago

          There’s different types of relay, including exit relays, which are the legally problematic type. Middle, guard, and bridge relays don’t face the same issues with law enforcement and IP blocking.

          • drkt@lemmy.dbzer0.com
            link
            fedilink
            English
            arrow-up
            3
            ·
            3 months ago

            You do face issues running a regular middle/guard relay. My IP is tainted from overzealous sysadmins looking up Tor related IPs and seeing mine because middle relays are public knowledge. I am banned from a lot of places for simply being a middle relay.

            • Chewy@discuss.tchncs.de
              link
              fedilink
              English
              arrow-up
              3
              ·
              3 months ago

              Thanks for the correction. It’s a shame that sysadmins balcklist middle nodes too, since they won’t see any TOR traffic originating from your IP address anyway.

            • sugar_in_your_tea@sh.itjust.works
              link
              fedilink
              English
              arrow-up
              1
              ·
              edit-2
              3 months ago

              Really? That’s so odd, I thought as long as you’re not running an exit node, you should be fine. TIL, I’ll have to check my ISP’s policies before setting one up then.

              • drkt@lemmy.dbzer0.com
                link
                fedilink
                English
                arrow-up
                1
                ·
                3 months ago

                Your ISP doesn’t give a fuck, it’s not legal trouble. It’s just overzealous sysadmins blocking anything that seems sus. I am permanently banned from most SoMe, for example, for having abnormal network activity but none of it is illegal.

          • Possibly linux@lemmy.zip
            link
            fedilink
            English
            arrow-up
            2
            ·
            3 months ago

            Exit relays are totally fine from a legal perspective. They key is making sure the ISP and local police are aware so they don’t come after you. ISPs have sent DMCA letters and such to operators when in reality they can’t and shouldn’t control the traffic coming out of Tor. The good news is that Tor has templates to respond.

            Best practice is to let bigger organizations run exit relays so that there is the oversight from leadership.

        • Possibly linux@lemmy.zip
          link
          fedilink
          English
          arrow-up
          2
          ·
          3 months ago

          Don’t run a Tor node in places that have censorship laws or problems with freedom. In places such as the US and most of Europe it should be totally fine to run a node. What the network really needs is more middle nodes. You can inform your ISP and the local police of what you are doing just to be sure.

          The only time you could get into trouble is when you are running a exit node. ISPs and police have mistakenly classified out nodes as local traffic. It is recommended that only organizations such as universities run Tor exit nodes. However, it is important to keep in mind that to my knowledge no one has ever been arrested for running a exit node in a western country.

            • Possibly linux@lemmy.zip
              link
              fedilink
              English
              arrow-up
              1
              ·
              edit-2
              3 months ago

              That’s just for a exit node. I explicitly stated that one should only let larger organizations run a node.

              Also, my original comment still stands about no one being arrested

              • TMP_NKcYUEoM7kXg4qYe@lemmy.world
                link
                fedilink
                English
                arrow-up
                1
                ·
                3 months ago

                What do you mean by not being arrested? I would say German police putting a black bag on your head and taking you to their station in the middle of the night is something one could consider an arrest.

    • tmjaea@lemmy.world
      link
      fedilink
      English
      arrow-up
      5
      arrow-down
      1
      ·
      3 months ago

      I tried a 5port 10g trendnet switch some time ago, had weird speed issues and package losses. No good experience at all :(

      • just_another_person@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        8
        ·
        3 months ago

        Have run hundreds of these and never had an issue. Never even had to do an RMA out of the box.

        If you’re seeing packet loss on switches, you may need to pay attention to what “port speed” and total “switch fabric” speeds are these days. You can have a 10 port 1Gb switch, but the total fabric only does 6Gb.

        • tmjaea@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          3 months ago

          The loss did occur on simple ping commands, only on 2 out of 5 ports. The vendor confirmed the behavior to be faulty and took the switch back.

          Maybe it was just a faulty model? However I do use multicast in my network (corosync) and a lot of 10G switches seem to have problems with that, maybe this was the case here, too.

          The exact model is TRENDnet 5-Port 10G Switch, 5 x 10G RJ-45-Ports and there sure seem to be quite some people having issues as well…

  • Possibly linux@lemmy.zip
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    24
    ·
    3 months ago

    Obligatory https://files.catbox.moe/6bwk52.gif

    Honestly there isn’t a lot of reason for 10G. Honestly 100M is probably fine for some people who are just browsing the web. The big think it latency as some of those old copper connections are very painful.

    I would stick with 1G and be done with it

    • duckythescientist@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      16
      ·
      edit-2
      3 months ago

      This is a community for people who have home servers. 100M is fine for a couple people just web browsing, but that’s not the topic of this discussion.

      I run 10G between my desktop and my server because I can easily saturate a 1G connection doing a simple file transfer.

      • sugar_in_your_tea@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 months ago

        Yeah, 100M is a no-go for me since my ISP provides much more than 100M, and streaming full-res videos would bottleneck that pretty quick.

        1G is probably fine for us, but we’ll probably go 2.5G minimum the next time I need to swap out switches, maybe 10G.