Live data from Hacker News

25 Gigabit Linux internet router PC build

michael.stapelberg.ch

141–150 of 359 posts

Re: 25 Gigabit Linux internet router PC build

#141
post #48
post #4

I'm always amazed by people who don't bat an eye on the perspective of having a home server, sucking up electricity 24/7. In this case replacing a typical router (which consumes like a lightbulb), with a full-fledged PC (probably consuming like x100 the power). I guess some people around the world have quite cheap utility bills! For me, it's either a Raspberry Pi type of power consumption, or else a server that only…

My home server is about 70W, meaning about 150€ a year (~0.20 eur/kWH). So about 12€ a month. For one of my biggest hobbies. It’s fun, but it also runs WireGuard, 3 NextCloud installs, Home Assistant and Mosquitto, 2 MineCraft servers, a FoundryVTT instance, samba, sabnzbd, Unify Controller, an Nginx static site, LibreSpeed, VaultWarden and soon a Django site. Oh and a virtual desktop (vnc) I can always leave running…

Yes we should stop chastising people like that. You have long hair, you use more water, shampoo and drying. You drink coffee how many wh for that cup and its content. We could always find something in others where they consume more. My neighbors keep all their lights on almost all the time in every room. The other one has AC on all day to full power even when it is cooler outside... So complaining that someone uses a 50w/70w device for their hobby... meh . However I still believe we and the manufacturers should work to reduce idle power and consumption in general.

Re: 25 Gigabit Linux internet router PC build

#142
post #41

Earlier quoted context omitted.

What kind of light bulb? :) A typical consumer router will take up something like 5-10 watts. A PC will suck in 20-50. Remember that the PC will be a lot more powerful so it’ll spend most of its time with low CPU usage. Say the worst case scenario: 45W difference. 45W * (24 * 30) / 1000 = 32.4 kW*h/month. At $0.10 kWh rate that’s $3.24/month, less than a cup of Starbucks coffee.

Oh my I wish those $0.10 kWh... in here we have 3 prices through the day (depends on what time it is), and the cheapest one is already higher than that :) Anyway I did the math and it would be $7/month. More than double your estimation, but still not horrendous. Although for that range of prices one might be able to find a managed instance machine in some cloud provider... (edit: somewhere in the process I lost track…

Would it be efficient to store power when price is low?

Re: 25 Gigabit Linux internet router PC build

#143
I have a very similar setup using a desktop as a router (opnsense, 2 WAN, fibre/switch) and it has a single, yet fatal flaw.

The power button. When you lose power, and the power comes back on, your router does not. If you are away, you must physically turn it back on.

Re: 25 Gigabit Linux internet router PC build

#144

I have a very similar setup using a desktop as a router (opnsense, 2 WAN, fibre/switch) and it has a single, yet fatal flaw. The power button. When you lose power, and the power comes back on, your router does not. If you are away, you must physically turn it back on.

Most (all?) PCs should have a BIOS option to always restore power after loss.

Re: 25 Gigabit Linux internet router PC build

#145
post #4

I'm always amazed by people who don't bat an eye on the perspective of having a home server, sucking up electricity 24/7. In this case replacing a typical router (which consumes like a lightbulb), with a full-fledged PC (probably consuming like x100 the power). I guess some people around the world have quite cheap utility bills! For me, it's either a Raspberry Pi type of power consumption, or else a server that only…

"probably consuming like x100 the power" is greatly exaggerated. A typical PC might have an idle power consumption of less than 50 W, while a very small computer with ARM little cores might have an idle power of 2 ... 3 W, so at most the power consumption ratio would be 20. However even that is not realistic because a computer or appliance with less than 3 W power consumption will not be able to route 10 Gb/s or fast…

SFP requires less energy than RJ45, only 0.7W/port. The MikroTik 4-port CRS305-1G-4S+IN draws 10-18W.

Re: 25 Gigabit Linux internet router PC build

#146
> Our network cards need PCIe 3.0, so that disqualifies 5 chipsets right away: only the A520, B550 and X570 chipsets remain.

No, the linked Wikipedia page only shows the PCIe lanes connected through the chipset and doesn't account for PCIe lanes provided directly from supported CPUs. X470 supports CPUs which have PCIe 3.0 and a board with x8/x8 mode like the ROG Strix X470-F https://www.asus.com/microsite/motherboard/AMD-X470/ should work just fine (and has no fan).

Re: 25 Gigabit Linux internet router PC build

#147

I have a very similar setup using a desktop as a router (opnsense, 2 WAN, fibre/switch) and it has a single, yet fatal flaw. The power button. When you lose power, and the power comes back on, your router does not. If you are away, you must physically turn it back on.

You can usually change this in the BIOS (or equivalent). Look for "Power on after AC loss" or similar.

Re: 25 Gigabit Linux internet router PC build

#148

What is the practical consumer (or even SME) use of a 10 or 25G connection? As a consumer I’d definitely get it for the fun of it, but what is the point in reality? We’ve just launched an ISP a couple of weeks ago here in Europe. Peak bandwidth use is about 3mbps per customer, and customers will download the same amount of data regardless of their plan. I acknowledge this could be lack of imagination on my part, but…

10 Gbps can give you some advantage when downloading big games from a network that can support it on high end hardware.

Games are competing for "who can eat the most storage", it seems, and at 231 GB for CoD:MW (https://gamerant.com/pc-games-file-size-hd-space-biggest-hug...), you'll wait over half an hour before you can play with "only" a 1 Gbit connection.

The bigger the game, the bigger the incentive to just re-download when needed if you can do it fast, since your storage is limited.

The 10 -> 25 Gbps step is definitely just bragging rights, which I'd call well deserved given the lengths you have to go to to actually reach those speeds.

Re: 25 Gigabit Linux internet router PC build

#149

> I read on many different sites that AMD’s current CPUs beat Intel’s CPUs in terms of performance per watt. We can better achieve goals 2 and 3 (low noise and low power usage) by using fewer watts, so we’ll pick an AMD CPU and mainboard for this build. Unfortunately many reviews are very misleading here. Zen 2/3 CPUs have good performance per Watt, that's true. But for a machine like this, which will be mostly idle,…

Yes I can unfortunately confirm this. Don't know how much has changed, but about a year ago my current employer evaluated about 10 desktop pcs from dell, lenovo, hp and the likes as all staff was supposed to get new machines. One of the important criteria was power consumption. The few AMD systems that were among the contestants had absolutely ridiculous idle consumption and weren't even considered any further.

At work people leave their computers and screens on (and unlocked most of the time)... (edit): I tried to educate but nobody really care...

Re: 25 Gigabit Linux internet router PC build

#150
post #4

I'm always amazed by people who don't bat an eye on the perspective of having a home server, sucking up electricity 24/7. In this case replacing a typical router (which consumes like a lightbulb), with a full-fledged PC (probably consuming like x100 the power). I guess some people around the world have quite cheap utility bills! For me, it's either a Raspberry Pi type of power consumption, or else a server that only…

[deleted]
Post reply on HN