Live data from Hacker News

25 Gigabit Linux internet router PC build

michael.stapelberg.ch

31–40 of 359 posts

Re: 25 Gigabit Linux internet router PC build

#31
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

Re: 25 Gigabit Linux internet router PC build

#32
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 have a computer in a room that’s generally otherwise too cold… so all that power is just useful heat dumped into the room.

Re: 25 Gigabit Linux internet router PC build

#33
post #28

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…

Internally: Every once in a while, I move VM images between machines. Even at 1Gbps, it's a drag to sit there and watch them transfer. Not really a big deal, but it'd be nice to see them move faster. Externally: I back up my Google Drive periodically. 500GB takes a while to transfer.

I agree, and this is totally the kind of thing I would do too. But I don’t think this represents average consumer behaviour.

Re: 25 Gigabit Linux internet router PC build

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

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.

> A typical consumer router will take up something like 5-10 watts.

You demonstrate a good worst case, but the article writer wants to use more than 10 gb/s so he can't actually use your typical router, he can have 15 gb/s with the MikroTik CCR2004-1G-12S which has an unknown idle W and a max around 50W.

Looking into the problem, I can't really determine why I should upgrade to 10 or 25 gb/s, but if I wanted to do so now I would rather buy components I could reuse than buy a router that will be inefficient for its entire service life.

Re: 25 Gigabit Linux internet router PC build

#35
post #8

Was hoping for similar but 10 gbit. Anyone know a nice small/quiet linux box with 2x10 gbit for use as a router? I have a 8 port x 1gbit ubiquiti router, but ubiquiti seems to be going downhill, and 8 port x 10gbit routers are pretty expensive. My plan was a 2 port router and use vlan tagging to a 8+ port 10g switch. That way I can have separate networks for trusted ethernet, trusted wifi, untrusted ethernet, and unt…

AsRock makes an X570 ITX board with 2x10gig ethernet, the X570D4I-2T. Though at $500 for the board alone the resulting system is not going to be particularly cheap.

Re: 25 Gigabit Linux internet router PC build

#36
post #5
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…

There is a middle ground - either an Intel Atom or Intel Celeron based server - typically use around 10w and you still get niceties like SATA and even PCIe

Also plenty of slightly more capable laptop class SKUs that are in this ballpark.

Re: 25 Gigabit Linux internet router PC build

#37
post #19

Earlier quoted context omitted.

> I guess some people around the world have quite cheap utility bills! Or they work at Google and don't really have to care. Electricity is not particularly cheap in Switzerland, but not particularly expensive either (nothing like Germany for instance). If running a home lab is your hobby, why not. There are plenty of hobbies that are a lot more expensive.

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

Re: 25 Gigabit Linux internet router PC build

#38
post #19

Earlier quoted context omitted.

> I guess some people around the world have quite cheap utility bills! Or they work at Google and don't really have to care. Electricity is not particularly cheap in Switzerland, but not particularly expensive either (nothing like Germany for instance). If running a home lab is your hobby, why not. There are plenty of hobbies that are a lot more expensive.

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

Re: 25 Gigabit Linux internet router PC build

#39
post #23

Earlier quoted context omitted.

> What is the practical consumer (or even SME) use of a 10 or 25G connection? Remote file storage, leasing servers for things like icecream, or basic HPC, self-hosting for a small business, even a small DC can run off it.

Remote file storage I can just about see. But most consumers are streaming content (certainly TV, but possibly increasingly games), so where are all these multi-gigabyte files coming from on average 20/30-year-olds laptop/iPad? I don’t think people are shooting that much video, are they?

Renting storage, and accessing it over 10gbps at home may be cheaper than building your own multi-tb storage rack.

Re: 25 Gigabit Linux internet router PC build

#40
post #22
post #11

Earlier quoted context omitted.

I’m using the machine also as a server, so it replaces 2 existing devices. In terms of power consumption, it’s likely only a small increase, if at all.

My only rub with that is - shouldn't the router be only a router from a security perspective? Definitely combining servers for home use does make sense though.

Yeah running your nas-bittorrent/firewall-router on the same OS is clearly not something I would do, especially that now you can use somrthing like proxmox for example and virtualize your pfsense/opnsense instance.
Post reply on HN