There are limits, but I do try to keep all of my older/slower/smaller raspberries working and doing as much as they can. You may find the following suggestions helpful. I only tried DietPi once, and can't say whether any of these suggestions would work there - I use regular Raspberry Pi OS Bookworm 32-bit.
Try increasing swap to have even a chance of getting a big browser like Chrome or Firefox to start on a pi2 with only a gig of memory. The following code increases swap size to 1024MB, and then restarts the process managing the swap.
Also, the following config.txt tweaks help speed up any Pi2. I use them on all of my Pi 2s (with all the credit going to GTR2Fan see here). They seem to have zero drawbacks and do speed things up. Quoting myself when I first tried them see my response to GTR2Fan here:
Try increasing swap to have even a chance of getting a big browser like Chrome or Firefox to start on a pi2 with only a gig of memory. The following code increases swap size to 1024MB, and then restarts the process managing the swap.
Code:
sudo sed -i 's/^CONF_SWAPSIZE=[0-9]*$/CONF_SWAPSIZE=1024/' /etc/dphys-swapfilesudo /etc/init.d/dphys-swapfile restart
Code:
[pi2]dtparam=sd_overclock=100initial_turbo=30core_freq=470sdram_freq=470
On my pi2b with a 32GB Sandisk Ultra Plus A1 card, this shortened the time to boot to the desktop from 36 to 27 seconds, and increased the speed of buffered disk reads as reported by "hdparm -t" from 22.72 MB/sec to 33.77 MB/sec. It made chromium-browser SEEM more responsive, although I don't have numbers on that.
Statistics: Posted by tinker2much — Sat Nov 23, 2024 11:26 am