Live data from Hacker News

25 Gigabit Linux internet router PC build

michael.stapelberg.ch

101–110 of 359 posts

Re: 25 Gigabit Linux internet router PC build

#101
post #97
post #86

Earlier quoted context omitted.

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

Why not just go all in and shut off at breakers?

Fridge.

Re: 25 Gigabit Linux internet router PC build

#102
post #72

Earlier quoted context omitted.

I work from home and regularly need to download large files from work servers. Several months ago I noticed that my internal network was 100Mb/s, which was dreadful. Downloads of 500MiB files would take tens of minutes, because Tomcat would drop connections on such a slow download. And even without dropped connections it generally took a long time to download anything, and Zoom call quality was regularly degraded (I…

"Zoom call quality was regularly degraded" It sounds like something else was dodgy on your previous network, surely Zoom cannot use up 100mb/s connection

When one side sends data at 1Gb/s and the other receives at 100Mb/s, it's worse than if the first side sent data at 100Mb/s. Here's a description from Julia Evans: https://jvns.ca/blog/2018/07/12/netdev-day-2--moving-away-fr...>

Basically my ISP router would receive data at full speed, while internally I would have a lot of dropped packets.

Additionally, I usually use the web browser to view Jira or copy files over NFS during calls, and I'm sure there are some background apps contributing to the traffic as well.

The one thing that fixed all my problems was reconfiguring the network driver to set 1G bandwidth on my NIC instead of the 100M that it set automatically. Yeah, Linux Desktop problems...

Re: 25 Gigabit Linux internet router PC build

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

I would look at getting a Xeon-D board. They don't draw much, come in mini ITX, and mine have 2x10GbE plus 2x1GbE built in, for a price that's reasonable when you look at standalone NIC costs. The CPU is soldered on, so the cost includes that, too.

Re: 25 Gigabit Linux internet router PC build

#104
post #21

Earlier quoted context omitted.

He claims one of his goals is to be power efficient “The PC consumes about 48W of power when idle (only management …” https://www.eia.gov/tools/faqs/faq.php?id=97&t=3 “ How much electricity does an American home use? In 2019, the average annual electricity consumption for a U.S. residential utility customer was 10,649 kilowatthours (kWh), an average of about 877 kWh per month”

Ok so what am I missing here? In Germany a typical four person household is 2000kwh a year. Surely air conditioning can't make up for such a difference? Everybody already switched to electric cars?

I don't have the numbers, but air conditioning can suck up a LOT of energy. I'm pretty sure air conditioning would be (in our household) the single biggest energy user.

Re: 25 Gigabit Linux internet router PC build

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

> In fact this is a nice place to ask: how would you build a "something" that monitors the network for packets sent to powered-off machines, then somehow caches the request, powers the destination machine On, and finally lets the request continue to its target? Has this been tackled anywhere? There must be tons of people wanting a homeserver but living in places where electricity has a considerable cost... IP protoco…

I have built such a gateway for SSH: it accepts the connection, powers on the target machine if needed, then forwards traffic.

https://github.com/stapelberg/zkj-nas-tools/blob/master/wolg...

The advantage over just catching any packets is that an SSH connection is authorized, so less noisy in terms of undesired wakeups.

Re: 25 Gigabit Linux internet router PC build

#106
post #66
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.

is this the icecream you speak of? https://github.com/icecc/icecream I've never heard of it so I was intrigued.

Yes, so far a tool in a way better condition than distcc, though both are very poorly maintained.

Re: 25 Gigabit Linux internet router PC build

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

> but it also runs ... MineCraft servers

At least you have your priorities straight :P !

Re: 25 Gigabit Linux internet router PC build

#108
post #37

Earlier quoted context omitted.

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

Just to note that's peak power consumption. They idle between 1-4W, or if you're running a PoE HAT, 4-6W.

A RPi is not equivalent to what most would use as a COTS router, which includes a GbE switch and some kind of modem (DSL or cable). The latter on its own needs a few Watts.

Re: 25 Gigabit Linux internet router PC build

#109

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.

If you pay a lot for electricity, you could get heat cheaper with a heat pump, gas furnace, or simply adding insulation on the roof/walls so any heat you do add lasts longer.

Re-insulating a house is a substantial cost that can take a decade to pay back in utility bills.

Re: 25 Gigabit Linux internet router PC build

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

Have you measured how much electricity a computer doing routing consumes? I bet it's a lot less than you think. Also measure how much a good, high-bandwidth router uses. I bet that is a lot more than you think. the "why do this" question for me comes about entirely because of the continual manual intervention that is needed for solutions like this. just not worth it, to me.

I mean I have and my router is on average drawing around 15W but it also isn't remotely close to being able to hit 25Gbps. I don't think 50W (apparently the draw of this router) is unrealistic for a 25Gbps router by any means.
Post reply on HN