Adding swap on pi5 umbrelos to run bitcoins knots affectively (prevent slow block download)

Okay so I’m currently running a raspberry pi5 with only 8gb of ram.
Now there are a few people online who have had issues (myself included), downloading the bitcoin node via bitcoin knots on Umbrel OS.

Now 8gb of ram is not a lot and a lot of users I have read as of recently this may not suffice and in my experience… absolutely, very tough wait where the download time was going to be months…

Now this is on the basis that you are not limited by storage or internet connection bandwidth.
For me I wasn’t… but I was sure starved of memory.

This was after tinkering with bitcoin knots optimizations, peer counts, memory allocations to various functions. In the end i just needed more memory.

For reference I’ve been running knots for 1 week and I’ve done 50% after my knots optimizations.
I kid you knot.. after providing my pi with swap space of 8gb (I’m running a 2tb ssd in an enclosure running from the USB 3.0 port), I’ve downloaded 3 percent in a matter of hours… with more transactions being bundled in those blocks meaning it should have taken longer.. hence my months long time horizon without this.

So basically I’m over the moon I figured this out, it was bothering me so much granted the pi5 is pretty capable and maybe just my ego with how much time I threw at this.

If anyone is interested let me know and I’ll provide the way around it I went because it wasn’t as straight forward in umbrel as I’d probably like.

Thanks everyone!