Must fight temptation to buy an overpriced raspberry pi
-
original post: https://mk.moth.zone/notes/a8zer7ypj6uv02ka
Rockchip boards are way more efficient than Pis
-
That's only start up cost. What about ongoing 24/7 costs after 2 years?
The power usage will be a bit higher, but it will also have higher performance. They can have 2.5G ethernet and a couple of NVMe SSDs. The Raspberry Pi 5 only has one lane of PCIe 2.0, so it will be very bandwidth limited if you use a PCIe switch to connect a 2.5G NIC and an SSD.
-
Power consumption is a massive reason to really not do that. Its cheap for a reason, its takes a shitload of power to be shit and you will pay more in energy than you save in hardware unless its only powered on for short periods of time - a server typically isn't.
This is actually something that applies to cheap products too. Was in Asda a little while ago and saw 2 LED bulbs with the same lumen rating. Cheaper one used 3w more and you only saved £1. Running it for 8 hours a day for a year would cost double that saving in electricity. For a server you are looking at almost £2 per watt each year. Does that ewaste look so good to you now?
Some things are absolutely worth getting second hand, but you really should be careful considering the power cost as well.
Quick edit: If you don't need it running 24/7, consider something like AWS too. I love selfhosting but if its not running much it might be cheaper to not bother buying hardware.
There's lots of ways to make existing hardware more efficient at the cost of performance. Under-volting the CPU and RAM (or just putting them in "efficiency" mode) can probably save more electricity than you lose in generational improvements. Considering how much more powerful PCs are compared to SBCs, you'd probably still have better performance than an SBC. Also, a more powerful CPU that takes double the power but as a result can idle for more than 50% of the time would be more efficient than a less powerful CPU never idling.
There's a lot of other variables (like idle power draw, efficiency at various power levels, idle latency, etc), but in general I think your statement would be inaccurate at least 60% of the time.
-
The day i can fit the power of a computer capable of emulating the switch 1 in a gameboy shell will be glorious.
We must be pretty close on that by now, I can emulate a number of Switch 1 games surprisingly OK (not amazing, just OK) on my S21!
-
The day i can fit the power of a computer capable of emulating the switch 1 in a gameboy shell will be glorious.
You probably could with a phone
-
I bet you could instead use an ESP32 for GPIO and just connect it remotely to whatever Pi alternative you use (if needed at all). Turning some switches on and off while monitoring input values doesn't sound very computationally intensive.
Yep that can work. But ignores all the well documented and supported development community comments I pointed to while also indicating other options exist.
As for.
Turning some switches on and off while monitoring input values doesn’t sound very computationally intensive.
You realise IO wise that describes your keyboard and mouse interaction on the most powerful gaming PCs.
It's what you do with the results that matters.
GPIO supports a fair bit more then the on and off input and output. It's slow compared to other systems. But has multiple serial protocols of differing types. Simple GUI displays can also be run via gpio connections. Low Res Lidar devices are available connected via the spi connections with all the data processed on that host PC.
So no gpio use can require all levels of processing power post connection. It is after all designed for experimentation and prototyping.
For my project. You clost to correct. I just use a simple GUI displays with xorg. So a pie 0 is plenty. And way lower power then the other options. It links to a pwm controller to power 2 12v 200w water tank heaters a relay for a 750w AC heater. Bluetooth connection to a BMS and solar MPPT. While operating multiple temp sensors measuring at different levels. And warning of legionaries risk. If the tank has not been over 65c in 14 days (actually 10 days but I'm over careful given the health status of my brother and I).
So much less then the tiny Pie 0 would not be able to cope but mainly due to the need for the vision impaired interface. Speaking functions dose not take much. But doing so without being unusably slow is about the limit of a pie 0.
-
Power consumption is a massive reason to really not do that. Its cheap for a reason, its takes a shitload of power to be shit and you will pay more in energy than you save in hardware unless its only powered on for short periods of time - a server typically isn't.
This is actually something that applies to cheap products too. Was in Asda a little while ago and saw 2 LED bulbs with the same lumen rating. Cheaper one used 3w more and you only saved £1. Running it for 8 hours a day for a year would cost double that saving in electricity. For a server you are looking at almost £2 per watt each year. Does that ewaste look so good to you now?
Some things are absolutely worth getting second hand, but you really should be careful considering the power cost as well.
Quick edit: If you don't need it running 24/7, consider something like AWS too. I love selfhosting but if its not running much it might be cheaper to not bother buying hardware.
I'm not taking electronics advice from someone who uses the term lappies.
-
Laptops are not generally designed to run like that with a closed lid. Heat dissipation is designed around the idea the laptop is open and some of it is through the keyboard surface. The lid closed would change that.
Systems can of course be setup to power off the display but for server/service uses open laptops may not be efficient space wise.
Having said that if the scenario is low power use the heat dissipation may not be a major issue. But if there is an unremovable battery i'd still be concerned about heat dissipation with the lid closed and even just the battery itself regardless of heat dissipiation.
wrote last edited by [email protected]really depends on the laptop. a lot of laptops exhaust off the side.
-
I mostly agree, and did the same with my second gen lab build - instead of shiny new NUCs like I had used round 1, I bought old off lease Dell Xeon boxes. SO MANY PROS -
- Got them up to 14c/28t each
- They can take GPUs and actually do heavy transcoding/ML work
- They can take up to like, 128GB of memory, which is GREAT when they're all hypervisors
The downsides can't be denied though -
- Even without the GPUs and beefed up CPUs, they are power hogs - the CPU alone uses more than an ENTIRE NUC
- They run HOT
- They run LOUD
The same holds true for off-lease SFF stuff, Lenovo and the likes ...
So while reuse/repurpose is absolutely of the utmost importance, no question - when it comes to technology and how quickly it advances and miniaturizes, a thorough and logical pros/cons list is often required.
I'd add another option though - if you do need what a Pi brings to the table - do you really need a shiny new Pi 5? Is it possible a used Pi 3 or Pi 4 would do the trick, and check the reuse box?
The power aspect is a lot bigger of a factor than I would have thought. I had an old computer I was going to use as a server for Foundry that I could keep up all the time, but when I measured its wattage and did the math, it would cost me $20 a month to keep on. A pi costs like $2 to keep running, so it paid for itself pretty quick
-
Yep that can work. But ignores all the well documented and supported development community comments I pointed to while also indicating other options exist.
As for.
Turning some switches on and off while monitoring input values doesn’t sound very computationally intensive.
You realise IO wise that describes your keyboard and mouse interaction on the most powerful gaming PCs.
It's what you do with the results that matters.
GPIO supports a fair bit more then the on and off input and output. It's slow compared to other systems. But has multiple serial protocols of differing types. Simple GUI displays can also be run via gpio connections. Low Res Lidar devices are available connected via the spi connections with all the data processed on that host PC.
So no gpio use can require all levels of processing power post connection. It is after all designed for experimentation and prototyping.
For my project. You clost to correct. I just use a simple GUI displays with xorg. So a pie 0 is plenty. And way lower power then the other options. It links to a pwm controller to power 2 12v 200w water tank heaters a relay for a 750w AC heater. Bluetooth connection to a BMS and solar MPPT. While operating multiple temp sensors measuring at different levels. And warning of legionaries risk. If the tank has not been over 65c in 14 days (actually 10 days but I'm over careful given the health status of my brother and I).
So much less then the tiny Pie 0 would not be able to cope but mainly due to the need for the vision impaired interface. Speaking functions dose not take much. But doing so without being unusably slow is about the limit of a pie 0.
Any photos of the boat and setup?
-
but what will fix the fire hazard of the charger? how will you be able to keep it plugged in 24/7?
I do SMB support, so I have a pretty good idea of what people tend to do.
I haven't seen a PS brick catch fire (possible, OFC, but extremely rare in my opinion) i have seen a PC PSU catch fire, and because of the fan, it's fucking scsry, like a jet with the afterburner.
-
original post: https://mk.moth.zone/notes/a8zer7ypj6uv02ka
I would say it can sometimes be nice to have an old
Laptop for this purpose, you have to slightly over build your solar but can be nice to have a mouse and keyboard attached and monitor, ssh works. Still have an hp laptop with a core i5 2nd gen sitting out in my greenhouse, is a little more power hungry but not terrible on idle, and is nice to be able to configure changes to watering without going back inside or wrecking the zen by bringing phone. -
Except in Vancouver. It’s a Craigslist city.
Interesting.. I wonder why?
-
I'm just lucky enough to have one at my apartment building, and very wasteful neighbors.
Back when I lived in a (quite nice) apartment building I was constantly surprised at the things people threw out. Perfectly good furniture but also stuff like perfectly functional printers, artwork, computer cases...
-
I wouldn't touch Facebook with a 10' ethernet cable. Haven't heard of kjiji, I'll have to check it out.
You're missing out, Facebook marketplace is THE place to buy local secondhand goods for dirt cheap without getting scammed. You do need an account but you don't need to install anything, and the payments are not done through FB
-
I think this really depends on the model they're eyeballing because the Pi5 is frankly ridiculous for the price and has absurd power requirements (5V5A USB?). I wouldn't recommend one of these unless you have a specific need like a certain hat or the GPIO pins. You can get a Dell micro Optiplex for less money and have a full fledged i5 or i7 processor with similar power usage.
Plus the RPi Foundation exposed themselves as the greedy bastards they are during COVID which is yet another reason to turn your back on them.
For something like a Pi Zero, maybe go for it, but there are similar devices out there from other companies too.
You can get a Dell micro Optiplex for less money and have a full fledged i5 or i7 processor with similar power usage.
Absolutely, I've got a cluster of mini PCs with 7th/8th gen T sku i7s, plus an Optiplex SFF running a standard i7-7700, and everything together draws less than 100W on average.
-
There's lots of ways to make existing hardware more efficient at the cost of performance. Under-volting the CPU and RAM (or just putting them in "efficiency" mode) can probably save more electricity than you lose in generational improvements. Considering how much more powerful PCs are compared to SBCs, you'd probably still have better performance than an SBC. Also, a more powerful CPU that takes double the power but as a result can idle for more than 50% of the time would be more efficient than a less powerful CPU never idling.
There's a lot of other variables (like idle power draw, efficiency at various power levels, idle latency, etc), but in general I think your statement would be inaccurate at least 60% of the time.
Oh I am not saying specifically get a raspberry pi, personally looking at a bee-link N150 mini PC. It isn't even that much more expensive than the 16GB raspberry pi and as its x86 I can just run normal debian installs in proxmox.
-
If you have the lid closed, you're looking at 3 to 15 watts to have a laptop running in the background doing some basic server shit.
Maybe a little more under high load, but those are going to be intermittent and not constant.
I'm just saying it's not that much more electricity usage, and the recycling more than offsets the CO2.
Not so sure about the last part. It takes ehhh about 3kg of c02 to produce 1 Watt for a year. Carbon footprint to build a laptop is about 200kg or so, but you're not offsetting one of those you're offsetting the raspberry PI you WOULD have bought which is just a small fraction of that. After a year or 2 you've almost certainly burned through your c02 savings if it's on all the time.
-
original post: https://mk.moth.zone/notes/a8zer7ypj6uv02ka
I have one of those 8.1 laptops - I LITERALLY fished it out of a dumpster.
-
Laptop performance when closed is quite variable, but depending on where you live, each 10W of idle consumption 24/7/365 could cost you somewhere around $20/yr (assumes @$0.20/kWh, YMMV). This isn't overwhelming on it's own, but it is "cost difference between a junked laptop and a Raspberry Pi" kinda money.
And you are often paying 140-200 for a pi nowadays to make it have the same usability as a laptop (pi, power supply, sata hat, data drive because SD cards simply fail after a while under server IO) while you can get cheap used laptops for 0-100.
So unless you are running it for more than half a decade (which rarely happens with selfhosters for a main server), you are probably spending more in total on the pi.