Live data from Hacker News

25 Gigabit Linux internet router PC build

michael.stapelberg.ch

81–90 of 359 posts

Re: 25 Gigabit Linux internet router PC build

#81
post #20

One thing I've run into when building my own 10gbps router that I didn't see mentioned - you probably need to disable power saving / frequency scaling. The handling of packets is done in software, so when you start a download and the flood of initial data comes in at 10gbps, your CPU will still be running at 600 MHz and unable to keep up. It ramps up within 5-50 milliseconds depending on CPU, but for a TCP download t…

He was only using 15% of the CPU at max speed

You can't measure the CPU at 1 second granularity to see this problem, in fact measuring the CPU at the sampling rate required may be enough to raise the CPU frequency :).

Re: 25 Gigabit Linux internet router PC build

#82
post #38
post #19

Earlier quoted context omitted.

The machine's clearly massive overkill for routing. Another commenter points out it typically runs around 50w - and the OP says they're also using it as a server in this thread.

The problem is running it 24x7, then a small 50w is still 438 Kwh each year. That's more than a 10% increase in yearly use for a typical two person household...

Then like another poster said, it all depends on how much you pay for electricity and some people have quite low cost electricity.

For me that would be a $49 cost per year, or a cost of little over $4 per month.

Re: 25 Gigabit Linux internet router PC build

#84
post #37
post #19

Earlier quoted context omitted.

The machine's clearly massive overkill for routing. Another commenter points out it typically runs around 50w - and the OP says they're also using it as a server in this thread.

FWIW: raspberry pis (the 4 series) sucks in 15w which is why it’s so bloody difficult to power them through standard USB power adapters (which go up to 12w). So, not hundreds of times more power hungry, but definitely 2-3x

yep, which makes them a pain in the ass to efficiently cool down without active cooling (=fans)

Re: 25 Gigabit Linux internet router PC build

#85

> 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.

Re: 25 Gigabit Linux internet router PC build

#86
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…

> who don't bat an eye on the perspective of having a home server, sucking up electricity 24/7. Maybe they need it? A router isn't a home server. But even if, why do you keep your power efficient router running 24/7? You could turn it off when you're not home to save even more energy. > a full-fledged PC (probably consuming like x100 the power Maybe do some research before claims like these. He states this pc idles a…

> But even if, why do you keep your power efficient router running 24/7? You could turn it off when you're not home to save even more energy.

You jest, but I turn off my router for the night and each time I leave home for more than a day. Not just router to be exact, everything that's connected to a power strip goes down, as I turn off all the power strips. (Not OP.)

Re: 25 Gigabit Linux internet router PC build

#87
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…

45W is not really "sucking up electricity", it's really nothing compared to other things in the house. I don't think PC is consuming 100x more as well, less than 10x and the same or nothing when not used.

Re: 25 Gigabit Linux internet router PC build

#88
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…

I put together a tiny server with power consumption in mind, it consumes 15W and has i3-8100, that's enough to run just about everything I can be bothered to run: kubernetes, owncast, homeassistant, pihole, etc.

Generally, a laptop or Intel Nuc will give you a good low power server, much better platforms for development than a PI.

Then if you decide you need a RAID array, that's a different ball game.

Re: 25 Gigabit Linux internet router PC build

#89

Earlier quoted context omitted.

Add HDDs and 10 GBit/s hardware and you surely reach 60 watts or more idling. Many home labs also don't use the newest hardware but old server hardware (add 10 - 40 watt idle). A NUC or other Laptop hardware on the other hand would be OK to run. Maybe SSD raids are (financially) feasible for everyday files in the near future. You are lucky to pay only $0.10. Here (Germany) I pay 0.30 Euro per kW/h. About $0.36 dollar…

> Many home labs also don't use the newest hardware but old server hardware (add 10 - 40 watt idle). Yes, but switching to newer, more efficient hardware is not free, so you need to factor this in when considering a switch. Also, in case you don't only care about your wallet but also environmental impact it's getting even more complicated, since manufacturing your new shiny toy definitely is polluting the environment…

"your new shiny toy definitely is polluting the environment somewhere in Asia"

Thats true whether I use dropbox or my own server

Re: 25 Gigabit Linux internet router PC build

#90

Earlier quoted context omitted.

I have a computer in a room that’s generally otherwise too cold… so all that power is just useful heat dumped into the room.

Albeit not as efficient as say a heat pump

Significantly cheaper though.
Post reply on HN