News for hackers. Stuff that matters.
Re:25 Gigabit Linux internet router PC build by j1elo on Saturday July 10, 2021 @08:08AM (#27792819)
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 powers on when needed. But I haven't learned yet how to do the latter, if possible at all.

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

Re:25 Gigabit Linux internet router PC build by adrian_b on Saturday July 10, 2021 @10:35AM (#27793594)
"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 faster links and it will struggle even with multiple 1 Gb/s ports.

A dedicated router appliance able to route 10 Gb/s or faster links will probably have an idle power of around 10 W or even more.

For routing only 1 Gb/s links, you can use among the standard PC's a NUC-like model, which will have an idle power consumption between 5 W and 10 W, quite close to a dedicated appliance. This is actually what I am using for my own Internet router/firewall (which also runs many other services, e.g. DNS server and proxy, NTP, e-mail, HTTP server and proxy etc.) with 1 external 1 Gb/s port and 4 internal 1 Gb/s ports (4 of the 5 ports are made with USB to Ethernet adapters).

Some of the more recent NUC or similar computers have multiple Thunderbolt ports or 10 Gb/s USB ports, so those can be used to route multiple 10 Gb/s links (using Ethernet adapters), with an idle power of around 10 W, similar to any equivalent commercial routers.

For 25 Gb/s Ethernet links, a commercial router is unlikely to be much cheaper or to consume much less than a standard PC.

Re:25 Gigabit Linux internet router PC build by goodpoint on Saturday July 10, 2021 @12:30PM (#27794540)
> For 25 Gb/s Ethernet links, a commercial router is unlikely to be much cheaper or to consume much less than a standard PC.

EDIT: I linked to a switch by mistake.

This router has 12 x 10G SFP+ and 2 x 25G SFP28 ports and costs $595

It appears to be routing between 13 to 39Gbps depending on the rule complexity.

https://mikrotik.com/product/ccr2004_1g_12s_2xs#fndtn-specif...

Re:25 Gigabit Linux internet router PC build by artemist on Saturday July 10, 2021 @12:59PM (#27794788)
This is a switch and switching is hardware accelerated. While you can theoretically route with this this, it is incapable of routing at gigabit speeds, let alone 10 gigabit speeds, once you need even a few rules.
Re:25 Gigabit Linux internet router PC build by MertsA on Sunday July 11, 2021 @03:50AM (#27799133)
Actually that switch has hardware accelerated routing as well with RouterOS 7 IIRC. Take a look at the test results, for large packets that router will still do over 10G throughput with 25 ip filter rules. With no queues or rules it'll do routing just as fast as switching.

Edit: Looks like he changed from the switch to a separate router but look at the change log for the latest R7 release

https://mikrotik.com/download/changelogs/development-release...

>!) added L3 HW support for all CRS3xx devices;

So you get L3 even for this monster. https://mikrotik.com/product/crs326_24s_2q_rm

Re:25 Gigabit Linux internet router PC build by artemist on Sunday July 11, 2021 @01:32PM (#27802860)
Interesting. I had only looked at RouterOS 6. I have had trouble with mikrotik software before though. (I have a CSS 610 and a lot of its core features were completely broken before)
Re:25 Gigabit Linux internet router PC build by dwohnitmok on Saturday July 10, 2021 @07:19PM (#27797157)
> After my previous disappointment with the MikroTik CCR2004, I decided to try a custom PC build.

The article's author considered that exact router and rejected it.

He goes into greater detail here: https://michael.stapelberg.ch/posts/2021-05-28-configured-an...

Re:25 Gigabit Linux internet router PC build by realityking on Saturday July 10, 2021 @12:55PM (#27794754)
That‘s a switch, not a router. Much simpler hardware.

Here‘s a MikroTik Router with 28 Gbit/a throughput: https://mikrotik.com/product/CCR1036-8G-2SplusEM

$1300 and up to 73W

Re:25 Gigabit Linux internet router PC build by coder543 on Saturday July 10, 2021 @01:00PM (#27794799)
That's a bit of an odd example to choose.

This[0] has a $600 MSRP, with twelve 10Gbps ports and two 25Gbps ports. It's ~32W before you add the SFP+ modules, and upwards of 50W if you have all modules populated.

In the benchmarks they list, this can provide somewhere on the order of 13Gbps to 40Gbps of routing, depending on exactly what you're doing. (Smaller packets will lower these numbers, but if you care about bandwidth you're unlikely to be worried about smaller packets... at that point, you probably care more about kpps.)

[0]: https://mikrotik.com/product/ccr2004_1g_12s_2xs

Re:25 Gigabit Linux internet router PC build by ikiris on Saturday July 10, 2021 @01:25PM (#27794989)
the benchmark you even link shows absolutely abysmal performance curves, dropping down into even half a gig perf for small packets single stream.
Re:25 Gigabit Linux internet router PC build by coder543 on Saturday July 10, 2021 @01:28PM (#27795002)
Calling any benchmark "abysmal" requires a point of comparison, and you have provided none... so it doesn't really encourage good discussion. What's the point of your comment? It seems to just be a way of insulting someone else's product.

Which comparably priced router are you thinking of that has a "non-abysmal" performance curve for small packet bandwidth?

Re:25 Gigabit Linux internet router PC build by realityking on Saturday July 10, 2021 @01:29PM (#27795007)
Fair. It was the first router I found on their site with listed throughout >= 25 Gbit/s.
Re:25 Gigabit Linux internet router PC build by tomnipotent on Saturday July 10, 2021 @11:38AM (#27794122)
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 by bcrl on Saturday July 10, 2021 @12:08PM (#27794346)
That's not entirely true. SFP power consumption depends on the type of SFP. A 10Gbps DWDM SFP+ might draw 1.8W of power. The why for this is actually quite interesting: the lasers used in DWDM SFPs have much more stringent requirements for temperature stability to ensure the light emitted doesn't drift out of spec. In order to achieve that temperature stability, they use a built in peltier to pump heat away from the laser and control the temperature. They're quite the marvel of modern engineering!
Re:25 Gigabit Linux internet router PC build by oasisbob on Saturday July 10, 2021 @12:29PM (#27794521)
It would have been fun to be a fly on the wall at Cisco when they first realized people were jamming devices with heaters in SPF sockets.
Re:25 Gigabit Linux internet router PC build by eqvinox on Saturday July 10, 2021 @04:54PM (#27796393)
Cisco didn't "realize" this was happening, they specified, had manufactured, and sold the very SFPs the GP post is describing. SFP slots in routers are designed with this thermal load in mind.

Which is also why plugging a large amount of DWDM optics into a datacenter switch is a bad idea. Datacenter switches are _not_ designed with this in mind. You run into risks of both overheating the switch as well as overloading the PSUs. A small number of high-power optics ain't gonna break the switch though.

And: 10Gbase-T SFPs have horrendous power consumption, even worse than DWDM SFPs. At these speeds, the signal over copper is mostly mush, and the PHY contains a none-too-trivial analog & digital signal processor. Which, again, is where limitations for 10Gbase-T SFP usage come from. If at all possible, avoid this shit — there's absolutely no reason to have 10Gbase-T inside a rack, for example. Just use DAC cables or SR optics.

Re:25 Gigabit Linux internet router PC build by oasisbob on Sunday July 11, 2021 @12:43PM (#27802376)
I'm being a bit glib, but from the point of view of someone who used SFP optics once in a while, it seemed like the whole "standard" was a bit of a mess.

If it was known that vendors would try to push their thermals past what the device cage would support, why not address that better?

The general impression I was given is that thermal loads were one of the primary reasons given for vendor-locking pluggable optics, and that the original SFP spec didn't even address it.

Re:25 Gigabit Linux internet router PC build by tomnipotent on Saturday July 10, 2021 @12:43PM (#27794651)
Except no one is using DWDM for homelabs, as it's usually used for longer distances. The peltier cooler is definitely cool, though.
Re:25 Gigabit Linux internet router PC build by bcrl on Saturday July 10, 2021 @01:12PM (#27794886)
True. On general principle I would recommend folks invest in single mode rather than multimode fiber for permanent installs, as the price delta on SFPs is low enough these days. Multimode is a complete pain as it needs to be upgraded for higher speeds every decade. If it's just a couple of patch cables in a home lab, it doesn't matter, but if it's run through a wall...
Re:25 Gigabit Linux internet router PC build by gonesilent on Saturday July 10, 2021 @08:38PM (#27797547)
It's also a real laser versus a many sfp+ gbics being LED light source now
Re:25 Gigabit Linux internet router PC build by logifail on Saturday July 10, 2021 @02:17PM (#27795322)
> MikroTik 4-port CRS305-1G-4S+IN

I have two of these at home, they're neat little bits of kit.

They're fanless and therefore silent, which is fine until you realise you want to do 10GbE over existing copper cables with something like Mikrotik's S+RJ10 adapter. Then the temps start to rise...

So, I've decided to go completely to fibre, even if it means opening up the walls of the house. Just bought a job lot of used ConnectX-3 cards off ebay.

Re:25 Gigabit Linux internet router PC build by lostlogin on Saturday July 10, 2021 @02:35PM (#27795447)
> ConnectX-3 cards off ebay.

Those cards are so good. I got a few after seeing them rated in r/homelab and haven’t looked back. The Synology took one and it was about 1/10th the price the official Synology one was.

Re:25 Gigabit Linux internet router PC build by tomnipotent on Saturday July 10, 2021 @08:55PM (#27797651)
> Those cards are so good

Agreed. You can find them on eBay for ~$40 a pop, and they work flawlessly on Linux and Windows. I've made a few purchases from the seller "bitsquad" (ships from Kentucky), and he always seems to have Mellanox/Chelsio in stock.

Re:25 Gigabit Linux internet router PC build by secure on Sunday July 11, 2021 @03:25AM (#27799046)
Another good tip is to use Direct Attach Cables (DAC), which have a much lower power consumption and save you the cost of 2 fiber optics as well. This only works on short distances of course, but between the MikroTik and a few devices that might very well be the case.
Re:25 Gigabit Linux internet router PC build by walterbell on Saturday July 10, 2021 @02:56PM (#27795601)
How do you obtain custom lengths of fibre cables that work with ConnectX-3?
Re:25 Gigabit Linux internet router PC build by tomnipotent on Saturday July 10, 2021 @03:03PM (#27795642)
Use fs.com, their generic cables work with MikroTik no issue and they do custom orders.
Re:25 Gigabit Linux internet router PC build by eqvinox on Saturday July 10, 2021 @04:57PM (#27796417)
The ConnectX-3 cards are not vendor locked in any way. (And even if they were, that'd only affect the SFP, not the cable.)
Re:25 Gigabit Linux internet router PC build by teekert on Saturday July 10, 2021 @08:47AM (#27793008)
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 with stuff open.

Do I need all of that? Meh, but it’s not bad value for money-wise IMHO. Perhaps mostly because I just enjoy it.

Edit: of course the thing itself was also quite expensive but not much more than a decent NAS which I think is a must for many people anyway.

Re:25 Gigabit Linux internet router PC build by ta988 on Saturday July 10, 2021 @11:31AM (#27794065)
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 by teekert on Saturday July 10, 2021 @05:37PM (#27796639)
Oh I never felt chastised… before…

I mean I agree with not wasting energy of course, but what we’re talking about here is really nothing compared to driving a car or making a couple of pots of tea a day, for example. I refuse to feel chastised!

Re:25 Gigabit Linux internet router PC build by Aeolun on Saturday July 10, 2021 @07:29PM (#27797206)
> My neighbors keep all their lights on almost all the time in every room

Almost all the lights in my house are leds, even if I did this the cost would be negligible.

Re:25 Gigabit Linux internet router PC build by teekert on Sunday July 11, 2021 @08:40AM (#27800330)
Yeah I think this is a thing of the old days, my father in law is also always on top of light usage. Once I calculated what a 3W led cost him if he let it run the whole year (about 6€) to forget it once in a while is really no reason to get cranky. Leaving a couple of 60W incandescent bulbs on for longer periods can increase a bill indeed, but with leds it’s really not worth being know as the guy that whines about the lights for, IMO.
Re:25 Gigabit Linux internet router PC build by Aeolun on Sunday July 11, 2021 @07:23PM (#27805354)
I don’t really think it’s about cost for these people. There’s something about a needlessly glowing lightbulb that is just offensive to them.
Re:25 Gigabit Linux internet router PC build by teekert on Monday July 12, 2021 @09:56AM (#27810308)
Well, I agree that lights should just be turned off when not needed, it also kills their lifespan. But you don't have to be a nasty person about it :)
Re:25 Gigabit Linux internet router PC build by binkHN on Saturday July 10, 2021 @10:01AM (#27793402)
> but it also runs ... MineCraft servers

At least you have your priorities straight :P !

Re:25 Gigabit Linux internet router PC build by josephcsible on Saturday July 10, 2021 @11:14AM (#27793897)
> (~0.20 eur/kWH)

Are such high electricity prices common in Europe? That's higher than it is in 49 of the 50 US states (assuming 0.20 EUR = 0.24 USD, and with Hawaii being the exception).

Re:25 Gigabit Linux internet router PC build by selectodude on Saturday July 10, 2021 @11:57AM (#27794257)
Electricity in the EU is really really expensive. That person is actually paying below average rates.
Re:25 Gigabit Linux internet router PC build by zbrozek on Saturday July 10, 2021 @12:22PM (#27794467)
That's cheaper than California!
Re:25 Gigabit Linux internet router PC build by mixermachine on Saturday July 10, 2021 @12:40PM (#27794633)
0.30 Euro per kW/h in Germany
Re:25 Gigabit Linux internet router PC build by teekert on Saturday July 10, 2021 @05:39PM (#27796652)
I never thought about it, as far as I know it’s been stable like this for years now… Gas is getting more and more expensive though.
Re:25 Gigabit Linux internet router PC build by cinntaile on Saturday July 10, 2021 @11:53AM (#27794224)
In Western Europe at least this is quite common. Mostly because politicians have discovered this as a great tax resource.
Re:25 Gigabit Linux internet router PC build by AnssiH on Saturday July 10, 2021 @02:09PM (#27795271)
I assume it varies a lot by region. 0.12 EUR/kWh for me (Finland, inc. transmission and tax).
Re:25 Gigabit Linux internet router PC build by hocuspocus on Saturday July 10, 2021 @08:15AM (#27792845)
> 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.

Re:25 Gigabit Linux internet router PC build by ianai on Saturday July 10, 2021 @08:23AM (#27792889)
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.
Re:25 Gigabit Linux internet router PC build by pilif on Saturday July 10, 2021 @10:51AM (#27793692)
Do you know of any smaller scale hardware capable of routing 25Gbit/s?
Re:25 Gigabit Linux internet router PC build by compsciphd on Sunday July 11, 2021 @05:50AM (#27799615)
EOLd mellanox sx6036 switches can be had for $200 on ebay.
Re:25 Gigabit Linux internet router PC build by pilif on Sunday July 11, 2021 @10:37AM (#27801154)
That’s a switch though, not a router OP is building. And I doubt this heavy duty thing uses less power than OPs setup (and we’re taking in a thread complaining about power usage)
Re:25 Gigabit Linux internet router PC build by compsciphd on Sunday July 11, 2021 @05:56PM (#27804786)
I agree. that it uses (relatively) lots of power (and is very noisy). but a managed switch might serve the guys router needs as well. depends what hes trying to do. Most people using a "router" inside the home, can probably get away with a managed switch. But another question was cost, so was trying to address that.
Re:25 Gigabit Linux internet router PC build by dijit on Saturday July 10, 2021 @08:37AM (#27792961)
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 by geerlingguy on Saturday July 10, 2021 @09:44AM (#27793315)
Just to note that's peak power consumption. They idle between 1-4W, or if you're running a PoE HAT, 4-6W.
Re:25 Gigabit Linux internet router PC build by formerly_proven on Saturday July 10, 2021 @10:03AM (#27793410)
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 by geerlingguy on Saturday July 10, 2021 @10:49AM (#27793678)
On the contrary, OpenWRT and a good CM4-based board allows the Pi to run pretty well as a gigabit router :)

https://www.jeffgeerling.com/blog/2021/two-tiny-dual-gigabit...

Re:25 Gigabit Linux internet router PC build by tssva on Saturday July 10, 2021 @12:25PM (#27794494)
No CM4 and accompanying carrier board needed . A regular RPi4 with a USB3 gigabit adapter makes for a good gigabit home router. I have been using one as my home gigabit router for the last 14 months without any issues.
Re:25 Gigabit Linux internet router PC build by aj3 on Saturday July 10, 2021 @12:18PM (#27794434)
That’s not much of a router with just two ports and no WiFi.
Re:25 Gigabit Linux internet router PC build by selfhoster11 on Saturday July 10, 2021 @08:31PM (#27797510)
As another commenter already pointed out, this is peak power consumption. A Pi + external HDD runs me to 12 W max in live use. Less if the drive spins down.
Re:25 Gigabit Linux internet router PC build by ajsnigrutin on Saturday July 10, 2021 @09:26AM (#27793204)
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 by larschdk on Saturday July 10, 2021 @12:21PM (#27794466)
My passively cooled RPi4 with 8GiB RAM + 1GiB/USB ethernet dongle working as a 1Gb router never goes above 50 degrees C (all-metal case from aliexpress).
Re:25 Gigabit Linux internet router PC build by t0mas88 on Saturday July 10, 2021 @08:38AM (#27792967)
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 by true_religion on Saturday July 10, 2021 @09:23AM (#27793191)
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 by maccard on Saturday July 10, 2021 @12:35PM (#27794583)
That's very roughly $100/year, which is < 1/6th of the cost of the _network cards_ in this build.

My workstation bursts to 600w+ for 15-20 minutes at a time when compiling, for comparison.

Re:25 Gigabit Linux internet router PC build by manbash on Saturday July 10, 2021 @08:45AM (#27792998)
Now it's up to the person to decide whether increase in living cost is worth it, which... is kinda normal. I think I spend more money on other things that I take enjoyment from.
Re:25 Gigabit Linux internet router PC build by t0mas88 on Saturday July 10, 2021 @08:47AM (#27793010)
Sure, it's just that many people don't think about this impact because 50W sounds low.
Re:25 Gigabit Linux internet router PC build by mirekrusin on Saturday July 10, 2021 @09:38AM (#27793272)
Maybe having single bulky, but efficient server means other laptops/whatnot will be used less which will cancel out and be electricity negative at the end of the year.
Re:25 Gigabit Linux internet router PC build by JCharante on Saturday July 10, 2021 @12:03PM (#27794310)
Aren't 60w lightbulbs still around?
Re:25 Gigabit Linux internet router PC build by labawi on Saturday July 10, 2021 @03:36PM (#27795860)
Do you run your lightbulbs 24/7?

If so, you should get a LED alternative.

Re:25 Gigabit Linux internet router PC build by quaintdev on Saturday July 10, 2021 @11:53AM (#27794228)
How about people power this stuff with renewalbles like solar?
Re:25 Gigabit Linux internet router PC build by mirekrusin on Saturday July 10, 2021 @09:35AM (#27793265)
For developer like me, I'm actually considering this option, it would be great to have PC like this available for some docker stuff as well, ie. MSSQL instance for development (Azure MSSQL version that runs on M1 is shit slow to the point it's unusable for development). Maybe even some tests could be offloaded from dev machine to this one etc. Would be nice to have single place for backups, photo library etc.
Re:25 Gigabit Linux internet router PC build by angrais on Saturday July 10, 2021 @10:08AM (#27793440)
Why not just use your development machine for development?

Also, why not use a remote server for deployment, testing, and building docker images? Most roles I have had offer such services (remote servers) as part of their costing so wouldn't cost you time, money, or effort.

I agree that having a single place to backup photos etc, is important. I use an external SSD for such a purpose as imo it's more useful to have it offline as I rarely add data and it is less likely to be comprised, e.g., it my machine was hacked.

Re:25 Gigabit Linux internet router PC build by bluedino on Saturday July 10, 2021 @10:55AM (#27793720)
>> Why not just use your development machine for development?

He said the M1 versions of MSSQL performs terribly

Re:25 Gigabit Linux internet router PC build by iforgotpassword on Saturday July 10, 2021 @09:00AM (#27793082)
> 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 at 48W. Please show me a router capable of handling 25gbit/s that consumes 0,5W at idle.

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

That's what "wake on LAN" is for.

Re:25 Gigabit Linux internet router PC build by yakubin on Saturday July 10, 2021 @09:26AM (#27793213)
> 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 by stefan_ on Saturday July 10, 2021 @10:17AM (#27793485)
Not a fan of the "turning the power strips off" method. Power supply failures are the number one reason why expensive electronics turn to bricks and subjecting them to the large inrush current that happens on the primary side every time you do the mechanical switch thing is a great way to significantly accelerate that process. Penny wise, pound foolish kind of thing.
Re:25 Gigabit Linux internet router PC build by yakubin on Saturday July 10, 2021 @10:29AM (#27793550)
That's the primary method of turning embedded devices on and off though. :) During development it's done around the clock and noone bats an eye. Rule of thumb: if a device doesn't have a power button, it's fine to turn off using the power strip.
Re:25 Gigabit Linux internet router PC build by yownie on Saturday July 10, 2021 @11:05AM (#27793805)
I'd assume because development process doesn't need to deal with repercussions of accelerated power supply degradation
Re:25 Gigabit Linux internet router PC build by yunohn on Saturday July 10, 2021 @02:50PM (#27795555)
What do you mean? Things that don’t have an in-built switch, are meant to be fine hot plugging and as such, controlling via a power strip is fine.
Re:25 Gigabit Linux internet router PC build by 83457 on Saturday July 10, 2021 @09:46AM (#27793326)
Why not just go all in and shut off at breakers?
Re:25 Gigabit Linux internet router PC build by elric on Saturday July 10, 2021 @10:22AM (#27793510)
Breakers are not made for very frequent on/off cycles. They won't last as long as a light switch for instance. I've never seen a light switch wear out, but I have seen breakers wear out (at which point they trip very easily, and eventually seem to just permanently fail open).
Re:25 Gigabit Linux internet router PC build by oriolid on Saturday July 10, 2021 @09:57AM (#27793379)
Fridge.
Re:25 Gigabit Linux internet router PC build by herewego on Saturday July 10, 2021 @10:07AM (#27793427)
Then don’t flip the fridge breaker.
Re:25 Gigabit Linux internet router PC build by detaro on Saturday July 10, 2021 @02:52PM (#27795562)
Plenty places don't have a separate breaker for that.
Re:25 Gigabit Linux internet router PC build by elric on Saturday July 10, 2021 @10:19AM (#27793496)
I have physical switches on or near every outlet. Anything that's not actively being used gets turned off. With the exception of my oven and hob, because those are nearly impossible to reach. I use roughly 2kWh/day. This approach probably doesn't make much sense if you're using an order of magnitude more power. But it makes sense for me.
Re:25 Gigabit Linux internet router PC build by a2tech on Saturday July 10, 2021 @12:15PM (#27794407)
Crazy. My wife and I used 619 kWh last month
Re:25 Gigabit Linux internet router PC build by nixgeek on Saturday July 10, 2021 @12:40PM (#27794622)
We were at 5MWh last month, so it’s all relative. Don’t feel bad.
Re:25 Gigabit Linux internet router PC build by liketochill on Saturday July 10, 2021 @01:11PM (#27794882)
That is impressive! Did you do that on a 200A 120/240V service?

What is your load? Ac?

Re:25 Gigabit Linux internet router PC build by nixgeek on Saturday July 10, 2021 @02:32PM (#27795430)
It’s 240V/400A split-phase service, PNW, around $0.11/kWh. Air conditioning is a big part of it when the temperatures are high. Also charging multiple bEV, a lot of 24x7 loads: half-dozen fridges, a couple large freezers, wine cellar, about 1kW of IT+AV equipment, etc.
Re:25 Gigabit Linux internet router PC build by heartbreak on Saturday July 10, 2021 @01:56PM (#27795193)
Not the person you were replying to, but my June statement lists 1,800 kWh. I'm in a two-bedroom apartment in Texas. The primary consumer of power by far is AC, which is kept at 68 degrees in the summer (partly for temperature, partly for humidity). My effective rate after all the fees was $0.11/kWh.
Re:25 Gigabit Linux internet router PC build by flatiron on Saturday July 10, 2021 @11:00AM (#27793768)
I run just plex and pi hole. Money I save with plex that I don’t need a million different services and having no ads at home is well worth the price. One day my friends went out and I couldn’t go. They got all drunk and shared how much they rely on my plex and by the time I woke up I had close to $1k in PayPal and a note that said “for an upgrade and your time” so honestly I probably making out on the deal. Went from a haswell pentium to a ninth gen i3. 8 gigs to 16. SSD for the root drive. 8 TB staging server before going to google drive. $20 a month for unlimited google drive is way more than the power to run the server. But I have about 80TB on there. Can’t store that for less than $20 a month no matter how you slice it.
Re:25 Gigabit Linux internet router PC build by j1elo on Saturday July 10, 2021 @11:54AM (#27794229)
I've been looking at the offers of big providers and the average seems to be pretty much standard: 2 TB for $10/month. All across Dropbox, Google, Apple, even Microsoft (the individual plan) are in the same ballpark.
Re:25 Gigabit Linux internet router PC build by _huayra_ on Saturday July 10, 2021 @02:35PM (#27795450)
I've been using pcloud which has a lifetime plan which is a pretty good deal. I recommend waiting until black friday or August 1 (Swiss national day; they're a CH-based company) when they severely drop the price.
Re:25 Gigabit Linux internet router PC build by flatiron on Saturday July 10, 2021 @03:10PM (#27795697)
I’ve read that it costs them $2 to store a single TB a month. Which makes sense. $4 -> $10 is a reasonable markup. I store 80 TB for $20. They lose money on me.
Re:25 Gigabit Linux internet router PC build by flatiron on Saturday July 10, 2021 @12:15PM (#27794406)
Google drive enterprise for $20 a month for unlimited is the best I’ve found. Rclone and encfs to mount and send the content. Almost 0 issues.
Re:25 Gigabit Linux internet router PC build by alternize on Monday July 12, 2021 @02:30PM (#27813464)
sounds intriguing for backup purposes. I was not able to find this pricing online (without contacting sales), would you have a link for this?
Re:25 Gigabit Linux internet router PC build by lostlogin on Saturday July 10, 2021 @02:43PM (#27795500)
Does Google check or care what is on there? That would make me nervous.
Re:25 Gigabit Linux internet router PC build by flatiron on Saturday July 10, 2021 @03:00PM (#27795622)
I use encfs. Big scary warning on Ubuntu when you install it that it’s not 100% fool proof but for storing tv and movies in the cloud I think it’s fine. Best part is it’s totally seemless on my end. Uploads encrypted and my view is unencrypted.
Re:25 Gigabit Linux internet router PC build by AtlasBarfed on Sunday July 11, 2021 @04:09PM (#27804196)
bwahahaha, so they can't even hash similar common files and save the storage across users.
Re:25 Gigabit Linux internet router PC build by lostlogin on Saturday July 10, 2021 @06:00PM (#27796771)
Thanks.
Re:25 Gigabit Linux internet router PC build by IgorPartola on Saturday July 10, 2021 @08:16AM (#27792852)
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.

Re:25 Gigabit Linux internet router PC build by foolmeonce on Saturday July 10, 2021 @08:34AM (#27792952)
> 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 by j1elo on Saturday July 10, 2021 @08:39AM (#27792976)
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 of the fact this was a price _difference_ calculation, so it's adding $7 to whatever was already the cost with a more power efficient machine, which ofc. depends on number and type of HDs and other equipment)

Re:25 Gigabit Linux internet router PC build by tgragnato on Saturday July 10, 2021 @09:05AM (#27793108)
The real difference is in latency: I tend to use the same operator on the fixed and mobile line, with Wireguard. SSH, SMB and Matrix respond almost as if you were in LAN.

If I add the cost for bandwidth and storage of a data center, then the economic choice is obvious.

Re:25 Gigabit Linux internet router PC build by ta988 on Saturday July 10, 2021 @11:33AM (#27794076)
Would it be efficient to store power when price is low?
Re:25 Gigabit Linux internet router PC build by mixermachine on Saturday July 10, 2021 @08:28AM (#27792923)
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 dollars.

I turned off my home NAS a few months back and partially switched to VPS services (also because of the better connection).

Re:25 Gigabit Linux internet router PC build by iforgotpassword on Saturday July 10, 2021 @09:12AM (#27793139)
> 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 somewhere in Asia, gets shipped via ship burning horribly dirty fuel in international waters etc.

If you don't have any use for the old hardware, chances are it will end up burning on some open field somewhere in Africa after local recyclers already extracted the good stuff...

Re:25 Gigabit Linux internet router PC build by ClumsyPilot on Saturday July 10, 2021 @09:34AM (#27793258)
"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 by tibbon on Saturday July 10, 2021 @10:17AM (#27793484)
I’ve got a handful of computers running in a rack at home. Their total power? Around 400w.

I also have a dehumidifier running all the time in the basement. It’s power usage is 500w.

No one bats and eye at a heater or dehumidifier, but a computer and people get worried

Re:25 Gigabit Linux internet router PC build by 542458 on Saturday July 10, 2021 @10:26AM (#27793533)
I mean, I would bat an eye at a humidifier running 24/7 without any sort of automatic on/off based on humidity levels but maybe in your climate that’s more normal?
Re:25 Gigabit Linux internet router PC build by sponaugle on Saturday July 10, 2021 @12:29PM (#27794527)
I agree with your sentiment. It is interesting to look at total power usage and power usage by device. I'm using IotaWatts to monitor every individual circuit in my house (over 200 of them), and it is easy to miss things that add up. With computers it is quite amazing the difference in power load based on cpu/disk load. When I run my PI calculator (which not only pegs CPU, but hits my SAN very hard) I see over a 1kw difference in my homelab power draw.
Re:25 Gigabit Linux internet router PC build by 542458 on Saturday July 10, 2021 @10:36PM (#27798079)
Sorry, your house has 200 circuits? Is every outlet on its own circuit or something? Maybe I’m biased because my house is old, but I’ve never heard of having that much copper in the walls.
Re:25 Gigabit Linux internet router PC build by sponaugle on Wednesday July 14, 2021 @11:22AM (#27834110)
A few different things drove up the circuit count:

(1) It is a large house ( over 10,000 sq ft ). (2) There are two power paths throughout the entire house - generator and non generator, and most panel locations have two panels for that reason. (3) There are two incoming services from the power company - A standard 400 amp service, and a second 200 amp TOU (Time of use) circuit that is primary used for EV charging. And there are 4 EV chargers, two in the upper garage and two in the lower garage. (4) There is a 16kVa UPS and circuits behind that UPS that go to a few places in the house including the server room.

Lots of cool pictures and info here: https://www.garagejournal.com/forum/threads/jeffs-mountain-s...

Re:25 Gigabit Linux internet router PC build by 542458 on Sunday July 18, 2021 @11:09AM (#27873560)
Holy smokes - that’s quite the house. Thank you for the reply!
Re:25 Gigabit Linux internet router PC build by jodrellblank on Saturday July 10, 2021 @06:22PM (#27796899)
> "No one bats and eye at a heater"

Then where did the sitcom style stereotype of Dad always turning the thermostat down come from?

Re:25 Gigabit Linux internet router PC build by tyingq on Saturday July 10, 2021 @09:19AM (#27793172)
His starting requirements include one pci card for 25gb and another for 4 port 10gb. I don't think there's any low power way to do that. Any motherboard with enough slots, CPU power, and PCI lanes to handle all that aggregate bandwidth isn't going to be low power setup. If you underpowered it, then you might as well back off of 25gb/10gb.

So it's not really a home server. It just happens to be in a home.

Re:25 Gigabit Linux internet router PC build by naikrovek on Saturday July 10, 2021 @09:01AM (#27793083)
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.

Re:25 Gigabit Linux internet router PC build by jacoblambda on Saturday July 10, 2021 @10:05AM (#27793421)
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.
Re:25 Gigabit Linux internet router PC build by zbrozek on Saturday July 10, 2021 @12:20PM (#27794451)
I have a symmetric 10 gbps connection at home. I have an EPYC machine that plays host to a number of virtual machine guests for various tasks. One of them is running opnsense to be my router. It's not fast enough to route at line speed, but it's close enough that I don't care. A consumer router or a pi or something would be far slower, and I would start to care.

Having a tolerably powerful computer doing this means that it's also my web server for several sites, stores local backups and handles offsite backups, acts as my print server, and hosts a Windows virtual machine for using proprietary software (e.g., for my label printers or firmware updates for random widgets like my Lutron light system).

Quiescent appears to be something in the neighborhood of 40 watts. It's not nothing, but it's acceptable, especially for the utility. I don't pay for a VPS because I have the bandwidth and the capacity to self-host everything I want. I spend $8/mo in electricity to run that machine, and that will drop to zero when my solar array and battery become functional.

If the power consumption were 5x worse I would probably not have gone this route.

Re:25 Gigabit Linux internet router PC build by FpUser on Saturday July 10, 2021 @08:27AM (#27792918)
>"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"

Some people simply run business from home and it is legitimate business expense. For example in Toronto server consuming 200 Watt 24x7 comes to about $20/month. Not much to dwell about if you are making money as a business.

Re:25 Gigabit Linux internet router PC build by michael1999 on Saturday July 10, 2021 @11:00AM (#27793760)
Yes. In fact, apple’s AirPort Extreme units do that for macs in the house though their zeroconf networking. On sleep, the airport borrows the address and ARPs it. On traffic to that IP, it holds it, sends a special wake packet to the sleeping nic, and then re-sends the packet to with the real MAC, and the waking machine picks it up.
Re:25 Gigabit Linux internet router PC build by unixhero on Saturday July 10, 2021 @09:03AM (#27793094)
Maybe they have money and they find that spending money on homelabbing is worth the effort. And really it isn't THAT expensive either. I for one don't bat an eye on my USD200 yearly homelab electricity cost.

Of course if one wishes to perfectly optimize everything then having a homelab might well wasteful.

Re:25 Gigabit Linux internet router PC build by sponaugle on Saturday July 10, 2021 @12:23PM (#27794483)
Indeed every case is unique. My home lab runs about ~4kw all the time, which end up being about 2.8mWh/month. Here in Oregon that ends up costing $340/month.

This is a brand new house, and as soon as I get permits approved I'm adding 21kw of solar which will help offset that.

Re:25 Gigabit Linux internet router PC build by Zenst on Saturday July 10, 2021 @10:52AM (#27793700)
For some perspective, this is a nice list of many household appliances and their power usage: https://www.daftlogic.com/information-appliance-power-consum...
Re:25 Gigabit Linux internet router PC build by vbezhenar on Saturday July 10, 2021 @09:56AM (#27793374)
> 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 protocol does not guarantee delivery. So you don't have to cache request. Just power on the machine, client will retry sending the packets until the machine is powered on and can respond. Just make sure that there's no gap between networking available and http server is still starting on.

Re:25 Gigabit Linux internet router PC build by secure on Saturday July 10, 2021 @09:59AM (#27793390)
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 by secabeen on Saturday July 10, 2021 @12:26PM (#27794500)
Apple has this. It's called Boujour sleep proxy, and it allows a always-on device like a Airport or AppleTV to claim the IP address of a sleeping Mac, waking it with a WoL packet when traffic for that device comes in. It's probably pretty useful, but is annoying on a managed network, as it spams my arpwatch system every time the IP is transferred between devices.
Re:25 Gigabit Linux internet router PC build by rzzzt on Saturday July 10, 2021 @08:46AM (#27793005)
I do remember a "smart NIC" making its rounds in the news a few years ago -- although "few" in this case might be >10. It was essentially a low-power machine in itself (with no Raspberry Pis in sight yet) that could finish an HTTP download or receive e-mails without waking up the host computer. But that's more high-level than the buffering/relaying of packets you are thinking of.

Edit: a bit weird, I wrote a very similar comment a year ago about this item. Now I feel slightly compelled to find the news source for it...

Re:25 Gigabit Linux internet router PC build by rasz on Saturday July 10, 2021 @08:57AM (#27793063)
asus "killer nic", almost pure marketing wankery with little benefit https://www.pcgamer.com/motherboards-with-killer-network-ada...
Re:25 Gigabit Linux internet router PC build by rzzzt on Saturday July 10, 2021 @09:11AM (#27793138)
"Application offloading" was one of the terms I tried when searching for it, and got this as a result - not the same thing, but similar: https://www.academia.edu/10225597/Putting_it_on_the_NIC_A_ca...
Re:25 Gigabit Linux internet router PC build by rasz on Saturday July 10, 2021 @09:47AM (#27793330)
Re:25 Gigabit Linux internet router PC build by setBoolean on Saturday July 10, 2021 @11:29AM (#27794046)
I have a HomeKit power plug that is able to measure the power usage. It sits before most of my living room devices including:

2x OG HomePods (Standby) - 55" Philips OLED (Standby) - Hue Bridge 2. Gen (Running) - ATV 4K 1.Gen (Standby) - Netatmo Weather Station (Running) - Linksys MR8300 OpenWrt 21.02 (Running) - Home Server (i5-6600, 16GB DDR3, 2x 256GB 850 EVO, 1Gb USB3 Ethernet Adapter as second NIC, Running)

Reading with all devices combined is 35-40W.

Re:25 Gigabit Linux internet router PC build by philjohn on Saturday July 10, 2021 @08:10AM (#27792825)
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
Re:25 Gigabit Linux internet router PC build by ttsiodras on Saturday July 10, 2021 @10:41AM (#27793628)
If you are OK with external USB drives, I did just that with my Atomic PI [1] (Atom-based, 35$ SBC, 3.5W idle, running Debian on its internal EMMC, with two external USB drivers in ZFS-mirror configuration).

[1] https://www.thanassis.space/atomicpi.html

Re:25 Gigabit Linux internet router PC build by philjohn on Saturday July 10, 2021 @03:10PM (#27795692)
You can also get rackmount servers in 1U format with Atom CPU's that support 4 3.5" drives, e.g. https://www.broadberry.co.uk/intel-atom-rackmount-servers/cy...
Re:25 Gigabit Linux internet router PC build by easygenes on Saturday July 10, 2021 @08:36AM (#27792957)
Also plenty of slightly more capable laptop class SKUs that are in this ballpark.
Re:25 Gigabit Linux internet router PC build by vladvasiliu on Saturday July 10, 2021 @08:43AM (#27792987)
Can you still find "desktop" motherboards to go with them?

A long time ago, I remember there being desktop MBs for the Pentium M.

Re:25 Gigabit Linux internet router PC build by londons_explore on Saturday July 10, 2021 @08:50AM (#27793023)
For an always running thing, choosing a laptop motherboard is a nice way to guarantee all the power saving features will work properly.

Most desktop motherboards won't allow the PCI express bus to sleep for example, using an extra ~4 watts, $8 per year in eco-friendly countries. Across the ~10 years your NAS will probably sit in a cupboard, that's $80, which isn't an awful lot, but probably would have let you buy a bigger SSD or hard drive which would have had more utility.

Re:25 Gigabit Linux internet router PC build by vladvasiliu on Saturday July 10, 2021 @02:21PM (#27795340)
That's true, but then again I wouldn't be comfortable with a single-disk NAS...

However, for running random VMs, etc, I think a laptop is quite a good proposition.

Re:25 Gigabit Linux internet router PC build by hatware on Saturday July 10, 2021 @12:58PM (#27794782)
I have decade old hardware that is certainly inefficient, but my services hosted have taught me so much it's not even worth the comparison. Yes, electricity is cheap in America but we all choose to spend money on our hobbies as we please.

I'll bet there's a few nitpicks with your hobbies where you trade a lot of time/money/something that I don't necessarily understand. And that's okay.

Re:25 Gigabit Linux internet router PC build by swiley on Saturday July 10, 2021 @11:50AM (#27794207)
Many of these things are really competing with a $20/mo VPS so a full PC that's on 24/7 is still cheaper. Yes you could go further: use portable slim apps that fit on ARM SBCs but then you have to re-do your server config and learn a new app.

Plus, at least for me, my PC is on 24/7 anyway.

Re:25 Gigabit Linux internet router PC build by f3d46600-b66e on Saturday July 10, 2021 @06:32PM (#27796951)
My Netgear access point consumes 7-8watts. My home server, with 2*12TB drives, 2*3TB, and 1nvme, which also acts as NVR (for POE cameras), recording 24x7, and which also acts as owncloud server (and few other things) consumes 40-50watts (and it includes a 10gbps SFP+ fiber). It also includes a wireless card and acts as an access point. It also runs a few VMS, continuous integration server, pihole and other stuff.

This is not x100, it's x7 times. And the utility is much much higher.

Before, i was using amd Apu, and it consumed 20-30 watts, but did not support AES-NI, which made the disk access limited to 60MB/s :-(

It's way cheaper to run everything at home than paying for the cloud, even if u include electricity cost.

It's about $50/year for electricity (1 watt 24/7 =~ $1 per year)

Re:25 Gigabit Linux internet router PC build by mirekrusin on Saturday July 10, 2021 @09:30AM (#27793231)
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 by insulanus on Saturday July 10, 2021 @10:09PM (#27797965)
A Netgear Nighthawk R7000 idles at 8W, max 34W. That will get you 1 Gigabit.

Bleeding edge CPUs from Intel and AMD do guzzle power when run at full load, but they also improve in power per IPS, and have added dynamic underclocking, so they also run

Compare the TDP of a Pentium 4 from 2000 to a Ryzen 5 3600 or an i7 7700K (These TDPs are supposedly max power output, but take them with a nugget of salt)

https://en.wikipedia.org/wiki/List_of_CPU_power_dissipation_...

Gotta update that power intuition!

Re:25 Gigabit Linux internet router PC build by juancb on Saturday July 10, 2021 @01:18PM (#27794938)
I've used managed power strips for data center applications in the past. The strips have individually addressable power ports and a web interface, telnet, as well as SNMP support. They've been around for decades and are the solution to your problem of needing to remotely manage the power state of power hungry devices.

If you set your servers to always power on after power is restored you can control them with that device.

There's also Wake On Lan (WoL) support in a lot of systems, where you can use a correctly crafted "magic frame" to wake up any machine that received it.

Re:25 Gigabit Linux internet router PC build by allenrb on Saturday July 10, 2021 @01:18PM (#27794933)
When I was younger, 100W was a light bulb. We’ve come a long way. :-)
Re:25 Gigabit Linux internet router PC build by great-potential on Saturday July 10, 2021 @08:16AM (#27792851)
I think if the OP uses this only as a router it is indeed a waste of power.

What I would probably do is also use it as nas/workstation by using virtualization, SR-IOV is now pretty standard on these cards.

Re:25 Gigabit Linux internet router PC build by secure on Saturday July 10, 2021 @08:17AM (#27792857)
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.
Re:25 Gigabit Linux internet router PC build by ianai on Saturday July 10, 2021 @08:25AM (#27792896)
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.
Re:25 Gigabit Linux internet router PC build by secure on Saturday July 10, 2021 @08:27AM (#27792915)
Ideally yes. But with the resources needed for 25 Gbps, not using one machine for multiple purposes seems wasteful. The server only stores publically available data, though, so not a big deal from a security perspective.
Re:25 Gigabit Linux internet router PC build by ianai on Saturday July 10, 2021 @08:57AM (#27793061)
What do you mean by resources required? expansion ports on the mb?
Re:25 Gigabit Linux internet router PC build by great-potential on Saturday July 10, 2021 @08:38AM (#27792971)
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.
Re:25 Gigabit Linux internet router PC build by AdrianB1 on Saturday July 10, 2021 @02:32PM (#27795426)
I am using a home server with the same CPU and I am using it for SQL, storage server and virtualization. In order to do that I changed RAM to 32GB DIMMs, 64GB in total was not enough and the CPU works just fine with 32GB DIMMS. The platform is quite limited by the number of available PCIe lanes, but without moving up to Threadripper (a lot more expensive) there is no better option, Intel is in the same place or worse. The good thing with Intel is that you can use a CPU with integrated graphics and save the PCIe lanes for the graphics card.

My previous build (Ryzen 2700, 65W) had a great feature until it was gone with a BIOS update: after installing everything it worked with the graphics card removed. As I always connected only remotely, it was not a problem but a benefit. You can try and see what happens.

Re:25 Gigabit Linux internet router PC build by Datagenerator on Saturday July 10, 2021 @08:23AM (#27792887)
Also, the user can use his freedom to build and do whatever wished for. This tone of you shouldn't do this because some COTS is available sounds very commercially driven. People have the power to create another Google, we are not powerless.
Re:25 Gigabit Linux internet router PC build by smolder on Saturday July 10, 2021 @09:07AM (#27793117)
Yeah, I have an overpowered router PC (mostly in the capabilites sense --its a low power passively-coolable Xeon), but it also acts as a flash NAS, and hosts a few other containerized services that I prefer are always-on, it's a wireguard endpoint, etc. I've got a separate sometimes-on box for other VMs and containers. That one hosts a windows VM with a VFIO-attached GPU which my living room tv plugs into. Altogether it's lots of computing power for home use but draws relatively little at the wall. I'm pretty happy where I landed in terms of overall utility versus TCO, using this sort of consolidated-hardware approach.
Re:25 Gigabit Linux internet router PC build by AdrianB1 on Saturday July 10, 2021 @02:37PM (#27795455)
My home server using a very similar configuration (same CPU, a lot less potent network) is what enables me to work from home, making a living, so the cost of electricity is compensated by the gas saved on commuting. I am also in process of adding solar to my house, covering a lot more than this server.

If people use old servers in the kilowatt range consumption for fooling around having a server in the basement is questionable, building something with low power in mind is nothing to complain about.

Re:25 Gigabit Linux internet router PC build by harikb on Saturday July 10, 2021 @02:15PM (#27795302)
There is such a thing as wake-on-lan

https://en.wikipedia.org/wiki/Wake-on-LAN

Re:25 Gigabit Linux internet router PC build by cptskippy on Saturday July 10, 2021 @04:05PM (#27796066)
My home has a 0.5-0.7kWh idle load, with the varying 0.2kWh being from the refrigerators cycling. I tried shutting down my NAS and Home server and it was less than 0.1kWh.

I'm at a loss to explain exactly what is drawing 0.4kWh of power but my neighbor has a similar load on his. I'm suspecting all of the fancy and useless motion/astro light switches installed are partially to blame but there's no easy way to verify that.

Re:25 Gigabit Linux internet router PC build by ClumsyPilot on Saturday July 10, 2021 @09:31AM (#27793241)
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 by baybal2 on Saturday July 10, 2021 @08:14AM (#27792840)
What a lot of other people don't realise:

- There is no such thing as a 25gbps home router.

What's currently on the market is a very serious overkill ever for 10gbps.

Re:25 Gigabit Linux internet router PC build by great-potential on Saturday July 10, 2021 @09:45AM (#27793325)
In terms of CPU it is not totally overkill if you're using an IPS/IDS, bare in mind you'll also be disabling most of the network card offloading in a full fledged firewall and that will ultimately result in consuming slightly more CPU cycles.
Re:25 Gigabit Linux internet router PC build by easygenes on Saturday July 10, 2021 @08:32AM (#27792945)
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 by londons_explore on Saturday July 10, 2021 @08:46AM (#27793004)
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:25 Gigabit Linux internet router PC build by varjag on Saturday July 10, 2021 @10:04AM (#27793416)
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 by londons_explore on Saturday July 10, 2021 @12:45PM (#27794669)
Yet spending $6 on draught excluders to keep the wind out can pay back in just a day or two.

It all depends on your baseline...

Re:25 Gigabit Linux internet router PC build by midasuni on Saturday July 10, 2021 @08:55AM (#27793047)
Albeit not as efficient as say a heat pump
Re:25 Gigabit Linux internet router PC build by easygenes on Sunday July 11, 2021 @01:36AM (#27798682)
Well given that all but a tiny percentage of the energy consumed that’s not waste heat is either going into useful computing or keeping fans spinning (which you would have in any sort of HVAC solution), I’d say it’s super efficient.
Re:25 Gigabit Linux internet router PC build by NorwegianDude on Saturday July 10, 2021 @04:45PM (#27796319)
That depends. The heat might be used in a heat pump for all we know.
Re:25 Gigabit Linux internet router PC build by deadbunny on Saturday July 10, 2021 @09:35AM (#27793264)
Significantly cheaper though.
Re:25 Gigabit Linux internet router PC build by easygenes on Sunday July 11, 2021 @01:46AM (#27798714)
Commodity window-mount heat pumps which run off household power outlets can be had for a few hundred dollars, and are good for a minimum of a couple kilowatts of heat output.

Any computing solution which dumps a couple kilowatts of heat and didn’t fall off a truck would probably cost more than that.

Computers are fairly efficient heaters, but they’re a lot more expensive than heaters.

Re:25 Gigabit Linux internet router PC build by yjftsjthsd-h on Saturday July 10, 2021 @12:10PM (#27794366)
Cheaper to buy, but not to run
Re:25 Gigabit Linux internet router PC build by specialist on Saturday July 10, 2021 @12:08PM (#27794351)
Why not? Every one needs a hobby.

Another benefit to Stapelberg's noodling is setting expectations.

Imagine you're bootstrapping a municipal ISP or mid-sized org. Dealing with vendors and products for the first time. What's reasonable? Who knows? Having these projects be a reality check is awesome.

Re:25 Gigabit Linux internet router PC build by johndhowell on Saturday July 10, 2021 @10:14AM (#27793460)
I personally run two servers with a NAS 24/7 acting as media, ftp, and web server. My electric bill maybe increased a couple of dollars, but otherwise I haven't really noticed any significant increase. I'm based in the southern US
Re:25 Gigabit Linux internet router PC build by antonzabirko on Saturday July 10, 2021 @11:47AM (#27794193)
I mean if it's a problem just solve it. Yes, the folks in texas who have to pay 10x for electricity probably shouldn't get in if thuy can't afford it. Also, get solar/wind if you are concerned aboit the impact.
Re:25 Gigabit Linux internet router PC build by cortesoft on Saturday July 10, 2021 @05:31PM (#27796602)
My solar panels on my roof generate about 10KW/h more than I use. I can bank credits with the grid, but can never cash them out, so electricity is basically free for me.
Re:25 Gigabit Linux internet router PC build by Aeolun on Saturday July 10, 2021 @07:27PM (#27797196)
It costs about the same as a Netflix subscription? The people that do this see it as a hobby, so it’s worth spending some money on.
Re:25 Gigabit Linux internet router PC build by gravypod on Saturday July 10, 2021 @08:48AM (#27793017)
You can dynamically turn on and off things with MaaS and monitor power though most UPSs.
Re:25 Gigabit Linux internet router PC build by rasz on Saturday July 10, 2021 @08:53AM (#27793042)
let me introduce you to "My PlayHouse" https://www.youtube.com/watch?v=Jhwj_aCEYc0&list=PLS2odYzlao... fun stuff starts at 5:00
Re:25 Gigabit Linux internet router PC build by melling on Saturday July 10, 2021 @08:24AM (#27792895)
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”

Re:25 Gigabit Linux internet router PC build by iforgotpassword on Saturday July 10, 2021 @09:18AM (#27793171)
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?
Re:25 Gigabit Linux internet router PC build by zrail on Saturday July 10, 2021 @10:24AM (#27793524)
My house is very atypical for my area of Michigan. It's all electric with a geothermal ground source heat pump for heating and cooling and electric water heaters. In addition it has (or rather had) two of these geothermal units and two water heaters for two separate spaces. We also have a plug-in hybrid vehicle that we charge at home.

Outdoor temperatures in the summer range from mid 70s F to low 100s F and humidity is almost always above 60%, hitting 90% for weeks at a time.

Our electric usage in all but the coldest months of the year is around 2200kwh per month. I expect this to go down somewhat because we just upgraded one of the geothermal units and replaced the other with a gas furnace and inverter AC unit.

Re:25 Gigabit Linux internet router PC build by lttlrck on Saturday July 10, 2021 @10:39AM (#27793617)
It looks closer to 3.5Mwh:

http://shrinkthatfootprint.com/average-household-electricity...

But still that's far lower than the US at 11Mwh. Maybe A/C and home size accounts for most of it.

We're a family of 3 and on track for around 8Mwh this year. We only use AC on the hottest days (Southern Californian climate so it's quite manageable throughout the year), water and dryer are gas - but I have a homelab which could be optimized.

Re:25 Gigabit Linux internet router PC build by iforgotpassword on Saturday July 10, 2021 @02:50PM (#27795551)
I got that figure from my last bill, they always add graphs and comparisons, like a bar chart displaying usage of a typical 1, 2, 3, 4 person household and then your usage. But maybe they show lower values here to get you to try and save more.

I'm in a two person household and usually clocking in at 700-900kwh, and that's with a 24/7 home server drawing 30W, a rpi for kodi that I keep running, dish washer, washing machine, induction stove. No ac, no dryer, no microwave, hot water and central heating with natural gas. Also no more desktop pc since around 2014.

Re:25 Gigabit Linux internet router PC build by BenjiWiebe on Saturday July 10, 2021 @09:58AM (#27793389)
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 by tzs on Saturday July 10, 2021 @10:12AM (#27793456)
That's about 170 kWh/month. I'm in the US and use around 450-500 kWh/month in the summer, which is my time of minimal use because it is warm enough to not need heating and usually not so warm as to need air conditioning.

I'm curious why such a big difference. Here's what I'm using in a household of one.

1. Kitchen appliances: Fridge, microwave, toaster, oven, dishwasher. The first three are used daily. The oven and dishwasher once per week. I'll also occasionally use a bread machine and an electric kettle, maybe a couple times a month.

2. Washing machine and dryer. 4-6 times per month.

3. A 2017 27" iMac, a Raspberry Pi 3, cable modem, TP-Link A7 router, and two TP-Link SG108E switches. A USB hub and a case for a couple external SSDs. An external monitor.

4. A 55" LCD TV which is used a couple hours a day, and an A/V receiver which is always on but usually idle. A couple streaming boxes (Fire Stick 4K, Xfinity Flex).

5. iPhone, iPad, Apple Watch, and Surface Pro 4 chargers charging those devices.

6. Indoor lighting. It is almost all LED. The only exceptions are the lights in the fridge and dryer, one bulb each in the attic and crawl space that I forgot about when switching to LED.

7. An outdoor security light in back that is on overnight. I'm not sure about its power consumption, but these are typically under 100 W, which would be 24 kWh/month during the summer.

(I'm a bit puzzled by that light. I'm still using the same bulb that was there when I bought the house, giving the bulb on "on" time since I've owned it of around 56000 hours. That's quite a bit longer than expected for every kind of light bulb that I can think of that this might be. Only LED should approach that and definitely is not LED).

8. Well pump and water heater. The well pump runs maybe a couple times a day for maybe 5 minutes at a time, and would account for at most a few kWh/month. I know the water heater is a beast--but I think it only runs a little more frequently than once a day.

9. A couple box fans in windows at night to blow out hot air. They are 50 W each. Maybe 50 kWh/month.

10. Miscellaneous. Charger for rechargeable AA and AAA NiMH batteries. Electric toothbrush. A Google Home Mini as a kitchen timer. An Echo Dot to control lights. a Hue hub for the lights. Charger for the batteries for some cordless tools (drill, string trimmer, hedge trimmer) that are all used rarely.

Re:25 Gigabit Linux internet router PC build by denimnerd42 on Saturday July 10, 2021 @12:23PM (#27794486)
Have you seen the size of an American refrigerator compared to European?

We use 2kwh a month here in August.