I honestly think one of the compelling factors for dedicated gear is simple - your x86 solution (while admirable in a great many ways!) requires two things a large segment of the population are short on, time and bare-metal compute knowledge/skill. Both of those can be short-circuited trivially by buying a relatively inexpensive off-the-shelf purpose-built product and go.
As a tinkerer, I love your panache and dedication. As a guy who's responsible for making sure my wife's work-from-home VPN and childrens' homework research on the Internet are 100% available and reliable, tinkering is less attractive than the buy-something-reasonable-and-it-just-works approach.
Thankfully, there's room in the market and OpenWRT enthusiast space for both!
There are plenty of all-in-ones that are more complicated than an x86 install. A proper choice of x86 machine and the install is literally:
Insert sd card in desktop computer
Burn image to sd card using balena etcher
Insert sd card into x86 router
turn on power
There are all sorts of all-in-wonder type devices where you need to use a serial device, or to use a ram-disk based image to boot and then burn the real image, or you need to do something funky to get the thing installed, and there are steps that can brick the device permanently (losing power during a flash for example) etc etc etc.
I was particularly taking into account some of the BIOS and other gymnastics required to get power draw down to reasonable levels. I don't think anyone will argue that an 80W draw 'router' is practical or reasonable at this point in history.
SFF compute has grown to such a degree that ARM now powers the Mac. If that's not a sign of things to come, I don't know what is. x64 is not long for this world, however folks may feel about that...it's simple market-driven economics.
Most of these mini pcs with celeron based processors will be acceptable power consumption out of the box. My Tripp Lite UPS in my closet which is running a celeron mini PC, a RPi4 as a router, and a TP-link 24 port switch... lists the power consumption as "0%" so it rounds off to negligible. The estimated run time when the power goes out is something like 3 hours.
I strongly suspect if you measure the actual usage you'll be (unpleasantly) surprised. That 24-port switch alone is going to be a beast of a consumer, and the Pi4 isn't exactly known as being gentle on power under load either. Don't trust the reading coming from your UPS.
99.997% of a routers time is idle. The J4125 processor of the machine I linked above has a thermal design power of 10W, so if you run that whole box computing pi to a billion digits on max tight loop the whole box would probably use 18W including inefficiency in the power supply. In reality, it'll be idle as a router, and the whole thing will probably use 3-5W out of the box.
In my experience, many OpenWRT users on dedicated devices do so precisely to run application stacks atop them, well beyond the realm of simple routing, so I'm not sure that's an apt comparison.
Regardless, my intent was merely to answer the OP's question about reasons people choose the gear they do, and my position is that people buy 'overpriced routers' for the same reason they chose automatic transmissions and LED bulbs when they were the more expensive choice...simplicity and indirect savings.
We can debate one-off hybrid use cases all day long, and all it's ultimately going to prove is what we already knew...everyone's needs and motivations are somewhat (or hugely) different.
You're not wrong. But I do think people tend to be unaware of the relative ease of use and availability of low powered mini-pc x86 devices. Single small package low powered (5-10 watt) x86 devices are a relatively new thing, maybe since 2016 or something.
Speaking of which, and sorry for going on a tangent, I occasionally keep thinking of those "PCs on a stick". Inherent lack of ethernet ports aside, I wonder if they would make a worthwhile target as very compact and quite powerful (travel) routers.
How that? If the energy demands of the base functionality already differs between a consolidated all in one and a decentralized BYOD solution, how is adding essentially the same number(s) to both sides of the inequality change that absolute difference?
I grant you that the relative difference between the solutions will get smaller, but I for one have to pay my absolute energy consumption, so X awatts more or less makes a noticeable difference to me.
Full disclosure, I am running a mixture of consolidated and decentralized:
bt homehub5a as bridged modem ~7W
turris omnia as dualband WiFi router ~8 W (running SQM/pakon IDS)
gigaset c610ipa, VoIP basestation ~1.4W
total: ~16-17 W
This already consumes more than a modern top of the line all-in-one modem-WiFi-router like a Fritzbox 7590 (estimated ~11-15W depending on usage patterns). I doubt that exchanging the omnia with a wired only router an a dual band AP would not add noticeably more to this difference...
(These are averaged numbers over multiple hours to days, so reflect the average consumption well. I prefer longer term averages over simply trusting idle power values taken from datasheets, but then I can measure longer term energy consumption reasonably well, instantaneous power less so).
Sidenote: Over here is an attempt to collect typical energy consumption numbers for devices in a home network, to allow better informed decisions when taking expected energy consumption into accpunt when designing/extending a home network.
I think there is one more thing worth mentioning here - extra devices you need with x86 to have the same functionality integrated routers have.
At the very least you need a switch, and very likely - AP, because good wireless cards suitable for using as AP are (almost) non-existent.
So we have one small box vs at least 3 small boxes, with both AP and switch consuming power too, in fact very similar to power consumption of mid-range integrated router.
x86 (or general purpose arm, like pi4) setup is always going to be more involved, larger and consume more power. And IMO it makes a lot of sense to choose based on actual needs, not on what's theoretically "better". If single integrated router is sufficient for a given use case, in terms of performance, wifi and switch ports - the why choose more complicated and expensive setup? On the other hand once certain threshold is exceeded it starts to make sense because "high-end" integrated routers are indeed overpriced for what they are...
Nowadays this threshold seems to be somewhere around ~400-500Mb, which is sufficient for most home users. Yes, providers can offer 1Gb or more, but it is important to remember that this bandwidths is non-guaranteed/shared and having "1Gb" does not mean router capable of 1Gb is strictly required.
Citation needed ;). I agree that the majority of time will be spent idling, but this are a lot of 9s.
TDP is a measurement to select/pick the cooling solution for a CPU, it does neither reflect the max. power draw of a CPU (albeit longterm the power draw should converge on this) nor the average power draw of the full system. Intel and AMB both started slightly re-defining these numbers some years ago, so these are even less easy to interpret. That said, they are still somewhat predictive, however with quite a margin of uncertainty.
I would love to see longer term wall plug energy/average power measurements. Not because I do not believe you, but because I think it would be nice to document this somewhere. In case you have measured data maybe post it over in the "energy/power" thread:
However celerons are not necessarily based on x86 big cores and can underwhelm depending on the load (however that can be partly overcome by having enough cores running at high enough frequency).
Usually it is defined as W/K alsoâŚ
Basically if the cooling system dissipates less heat than 10W for each degree rise in Kelvin the CPU will burn up.
But the total cpu power has gone down over time.
My latest âbigâ computer with Intel i7 11 gen cpu with built in GPU doesnât even start the fans any more for light office work.
Sure, smaller processes still offer more efficient processing (or faster clocks) CPU makers thankfully have started paying more attention to power consumption. However x86 cores can still consume quite a lot when asked, which IMHO makes it relevant to actually measure power consumption under one's typical usage scenarios to get a decent estimate of power/energy and related costs.
I was hoping not having to do a detailed analysis and keeping it rather generic, as it gets complicated quicklyâŚ
On a high level overview, the more additional networking infrastructure you need (anyways), the more the power consumption of a single piece (the router itself) drowns in the overall tally - but that's not my main argument here.
Let's postulate a few basic conditions from the start:
a Fritz!Box like all-in-one device will always win in terms of power consumption, yes it will chug 15-20 watts, but if it really remains the only networking device in use, it sticks to that usage only.
I consider 'modem' and 'telephony' external to the power usage, as -with OpenWrt in mind- neither will be served by the OpenWrt router, so in the electricity tally it doesn't make a difference if the same modem is used in front of an OpenWrt x86_64 router or a plastic router
yes, I'm obviously aware of the bthub5, but as you've noticed yourself, it's very borderline as an all-in-one modem-wireless-router
yes, I'm aware of chan_lantiq, but asterisk "is not for everyone" (to put it mildly), so another solution is probably wanted anyways
--> there isn't really a lantiq vr9 device like a bthub5 with FXS ports
the bthub5 is relatively unique in providing good wifi (ath9k/ ath10k), most lantiq all-in-one device cheap out on this topic and go with ralink or lantiq WAVE300 (neither of which are usable)
FXS ports mean one core gets reserved for the voice core, in other words you lose half of the performance - which is already lacking in SMP configuration
AVM's devices aren't supported by chan_lantiq
the 7490 isn't supported by OpenWrt (yes, I know, external development that gets it working - not merged yet, won't get FXS/ DECT working either)
the easybox 904xDSL is its own world of pain (not officially supported, very special hardware in many different tangents)
this is considering x86_64 for "fast" connections, let's say >=300 MBit/s (cable/ fibre), which are hard to get working on OpenWrt with 'standard' plastic routers - x86_64 obviously does not make sense for a 100/40 MBit/s VDSL contract, which can easily be taken care of by ath79, mt7621a and just about anything else.
this also means the modem is external to the electricity tally, as ONT/ cable modem can't be done by an OpenWrt device anyways
to quote myself, I'm considering the case of "and once you cross the border of 4+1 ethernet ports and a single AP" here, so the need of an external switch (at least one) and an additional AP (at least one)
neither if which is an 'uncommon' scenario' for an enthusiast household, even a small(er) one
as we are looking at faster WAN connections (>300 MBit/s), I am comparing against modern/ faster wireless routers - not an old mips getting along with 5 watts
ipq806x (cortex a15) uses around 15 watts idle, that's kind of the ballpark I am basing this calculation on
mvebu (cortex a9) might be better, but I'm disqualifying it here because of mwlwifi (yes, the Turris Omnia is special, but also quite expensive)
ipq807x can be better, depending on its wifi/ wired specs
I don't have values for mt7622bv+mt7915, but I'd guess >=10 watts
I assume 5-11 watts for an x86_64 router here, which is a reasonable figure - a modern 4-port/ Atom based one should be close to the lower end of that range, a cheap/ used device closer to the upper end of it
there is very little difference between a 5-port 1 GBit/s switch and an 8-port 1 GBit/s switch, nor is there a significant difference between a managed- and an unmanaged switch of the same port count, in terms of its power consumption - you do have to skip multiple sizes, to get a noticable delta
the number of active ports matter more, than the number of ports in total, assume 1.0-1.3 watts per active (link-up) 1000BASE-T port, less for 100BASE-T, considerably more with 5GBASE-T or 10GBASE-T
EEE helps a bit, if supported on both ends
some devices drop to 100BASE-T on link-down
in terms of the overall tally, it doesn't matter much if a port is on your router or your external switch
a modern (post 2015) 1 GBit/s switch will be much more energy efficient than an older one (pre 2010, often with transformer based PSU, no EEE, early silicon)
So let's look at the hardware that can do >300 MBit/s (maybe with SQM):
x86_64
RPi4
NanoPi r4s/ r5s
with sqm maybe up to 500 MBit/s, give or take
mvebu
mostly disqualified because of mwlwifi (yes, I'm aware of the specific QCA wifi in the Turris Omnia, but the Linksys WRT range is by far the more common device)
I'm guessing about the sqm performance here, early benchmarks suggested 1 GBit/s, but DSA has dropped full-duplex performance and modern -non-artificial-benchmark- uses might be more demanding, what about ~600 MBit/s?
mt7622bv
with sqm maybe up to 500 MBit/s, give or take
ipq806x, I wouldn't recommend it above 500 MBit/s without sqm (maybe up to 650 under ideal circumstances), not more than 180-190 MBit/s with sqm (PPPoE might drop the numbers further)
ipq807x, this is still hampered by the 'unoptimized' switch drivers (in the absence of NSS offloading), about 600 MBit/s without sqm, I didn't measure sqm on this platform (as the main slow-down comes from the switch drivers, and the four cortex a53 cores being quite fast, there might not be than much of a dip here)
filogic 830 isn't really here, yet (should be a good speedup relative to mt8722bv+mt7915, bringing the specs in line with ipq807x)
So roughly speaking, below 500 MBit/s you may get away with one of these plastic wireless routers (mt7622bv+mt7915 or ipq807x), above that you're looking at x86_64, RPi4(, maybe NanoPi r4s/ r5s).
Now, what is the power consumption of a RPi4 with PSU, USB3 1000BASE-T NIC and PSU? --> my guess is around 4-5 watts plus, ergo not that much different from the 6-7 watts of modern Atom x86_64 - everything else being the same (external switch needed, external AP needed); this figures for a NanoPi r4s/ r5s or dfrobot base board plus RPi CM4 shouldn't be much different either.
If a mt7622bv/ filogic 830/ ipq807x wireless router gets you by, it might win - but not by that much.
So assuming you have a fast line and 3+ discrete networking devices (router, switch, AP) plus modem/ phone, does 6-10 watts for a x86_64 device (compared to something like a RPi4/ r4s/ r5s) really make a tangible difference in terms of median electricity needs?
Details do heavily depend on your your exact environment and requirements, for sub 200 MBit/s WAN speeds you may get by with a single plastic router - beyond that, the air is getting thinner.
Certainly it seems very much a sign of the times that power consumption of even networking devices seems to be a significant consideration.
Thanks in part to various green initiatives now all of our energy prices have spiked. Thankfully in the UK we are not so dependent on Russian gas though. Did I read correctly that Germany is now going nuclear?
Well, there is xrx200 (getting a bit long in the tooth), but there is also VRX518 coming along with a somewhat more modern quad-core arm a9 CPU. So modem is debatable IMHO. For VoIP I tend to agree, getting asterisk up and running does seem like quite a chore, especially given that my bast station only takes an average 1.4 W...
But sure the fewer functionality is handled by an all-in-one (or maybe better a some-in-one?) and the more separate devices are in use the smaller the advantage of the combined device gets....
Not living in the 80s anymore my "users" expect wireless dect phones for better or worse, so FXS ports do not matter (for my network, obviously not speaking for other or even all OpenWrt users).
Always wondered how to look at the two processing components of the MIPS CPU, full autonomous cores or more like SMT siblings?
Although single core ath79 will not allow traffic shaping close to 100/40 combined... Been there tried that (the BTHH5a was even worse, due to the CPU demands on operating the modem, nice device but IMHO already at its limit as all-in-one at around 50/10 Mbps).
Well, this brings up the IMHO interesting question whether/how much energy can be saved by using an SFP-ONT in a router with an SFP cage (like e.g. a turris omnia)?
I accept your point, but raise you the turros omnia with 5 LAN ports plus 1 WAN/SFP port ;(
But again a typical AIO with its 4 LAN ports might save you from going for a 16 port switch or 2 8 port ones...
Mine currently clocks in with ~8Watt average, but it is not working that hard on a 105/36 shaper limited link. This is with using both radios but not not excessively (I took pains to measure normal usage and neither artificially quit or busy network).
I would love to see longer term average power numbers for different ATOM SoCs, not becsuse I doubt you, but because I believe that there are still differences and not all Atoms are equally suitable. Not that I have data to support that hunch.
Yes, but there is a difference between an AIO'r 4 ports plus an 8 port switch versus an x86 with two 8 port switches or a 16 port switch. The question is, how many ports will be needed above 4.
Personally I wish it would work better, I have seen issues that required disabling EEE in the past. I ike the sentimet, but the reality so far has been underwhelming.
Bidirectional traffic shaping on an omnia topped out at 550/550 when I tested a few years ago, the 1 Gbps numbers floating around are at best unidirectional tests. I would guess 300/300 is well within my omnia's wheelhouse, but 500/500 probably only after reducing the number of services I run/use on the router.
But that is not really the point here. If you go into the >= 500 Mbps WAN territory I think we all agree that AIO is not a real option anymore due to lack of affordable options. However the initial claim read like "anybody still using a plastic AIO" should question the rationality of doing so", and I think that for low enough WAN speeds that can still be a rationally defensible decision.
Probably, yet I would love to actually see numbers here. (Though I would guess 4-5 watts for a pi routing @1Gbps might be too stingy a guess). Again there is no question that at the wan speeds we are talking about now exusting cheap AIOs are out of their league.
+1 however that is a considerably more detailed and data-supported position than the one I interpreted the first post to take.
Yes, with electric current prices doubling or quadrupling saving electricity has a much more immediate return on starting-to-bother-abou-and-replace/retire-overgreedy-devices
I would not necessarily call what is happening in south eastern Europe right now a "green initiative" however it is the driver of the recent massive power price surges.
No, what is dicussed is to extend the period of shutting down fission power in Germany. The discussion however is quite nuanced and contains a number of opposite considerations to bring to agreement (e.g. for this winter having more base-load electricity sounds like a great idea, but then extending the operation of fission plants that had their last mandatory safety check waived a few years ago on the basis of them reaching EOL soon, does open questions about how long one should operate a nuclear power plant without appropriate safety checks).
IMHO fission is only ever a worthwhile enterprise if one needs weapons grade material, and I still hope Germany is not...