Hacker News new | ask | show | jobs
by washadjeffmad 1517 days ago
Media elements, JavaScript, RAM limitations, difficult video rendering, and crashing limit its productivity.

Looking for ways to apply a new CCD to pi astrophotography recently, I made two mistakes: I didn't block ads and I opened more than two tabs.

The pi ended up in swap hell for over a minute before I restarted. This is an rpi4 4GB, OC'd with heatsinks and active cooling, on a good IOPS SD. Browsing the web is the only thing I've found that it routinely struggles with.

1 comments

Swapping on the SD card is a nightmare. I found out that disabling the swap actually leads to a better experience, even if it means that firefox gets killed from time to time.

[This comment was written on a rpi4, btw.]

Would swap on zram work? I've used that to help with low-memory situations, but I'm not sure if the Pi's CPU is fast enough to avoid it being a different bottleneck.
It does work, and it's how I ran the same pi when it was a host to a particularly bloated java app prone to exceeding its -Xmx.