GM ☕
#startos really ought to warn you when you're about to 100% your raspberry's ram... Or just not do it. Or give a popup asking you what to deprioitize or something. Idk. Its a startos morning.
GM ☕
#startos really ought to warn you when you're about to 100% your raspberry's ram... Or just not do it. Or give a popup asking you what to deprioitize or something. Idk. Its a startos morning.
this is why most default linux installers make at least a 2gb swap file
android has an activities based user input driven multitasking app state persistence scheme, it's one of the nice things about android... to be honest, if someone really had a proper crack at making a desktop focused android i'd probably be interested in trying it
in any case, most desktop machines have way too much memory *and* massive, fast flash storage that you never see OOM kills
i just noticed one on my relay just now, so i'm gonna have to start poking at its memory utilization
What's an OOM kill?
when a process needs more memory and there is no more memory available, the kernel shuts down the process
Out Of Memory
Seems sensible. This is probably a good place to admit my tendency to swat away all popups - I don't remember doing this, but it is entirely possible it tried to alert me this way.
yeah, this is one of the sore deficiencies of linux and partly why android is preferred in general for low spec devices
i can think of some good reasons why you might think of using android to deploy small scale services and there are little tiny devices you can get, scarcely as big as a computer mouse, that are perfectly adequate and even have NVMe sockets in them and the hard part is just rigging it up to run a native linux thing in the LXC that you can do that with... but you have to respect the memory issue, if you can't have fast swap
on Pi’s this actually negatively impacts performance and SD card longevity
yeah, i wouldn't even consider putting swap on that garbage... if i was ever to use that hardware i'd plug a USB-3 NVMe external drive into it for the boot device, assuming there is a model that has at least a 5gbit USB interface, otherwise that just rules the entire thing out
there is plenty of other SoCs out there that you can use that do have both 10Gbit+ USB and NVMe interfaces, i wouldn't even consider the standard rPi for anything to be honest... i have a HP G3 mini and it's pretty great, has both sata 6gbit and a ~4gb/s SATA interface AND two DP outputs AND a usb-c with DP capability... cost me 140 euros, there is just no sane reason to spend any less on such a device, throw another 150 euros for a 2Tb nvme device and a 70 euro UPS and you have everything you need for a competent lightning node except maybe a reliable backup network connection
There is a sane reason to... If you're a computer nincompoot like me and there's a guide for doing it that way
i'm just gonna say, in response to that, nope
i think pis are great for fun stuff like IoT and sensor networks and LoRa and this kind of thing but seriously don't bet your money on them
still has latency, considering USB is still polling based
indeed but really the maximum you should be doing with home hosting is relays and private lightning payment channels, it's really best to rent VPS and get the benefit of scale efficiencies and high bandwidth backbone connections for real work