Re:Uv saves Home Assistant 215 compute hours per month
by fbdab103 on Wednesday April 03, 2024 @10:19PM
(#39925849)
Is that on a SD card? My expectation is that SD cards are garbage and any number of IO access patterns break down vs a SSD.
Re:Uv saves Home Assistant 215 compute hours per month
by eyegor on Thursday April 04, 2024 @12:27AM
(#39926519)
I threw in a moderately fast USB drive (~90 mb/s after pi4 overhead) because I got sick of SD cards dying every 6-12 months. Pi4 is very speed limited. Even if you tried to use an ssd, I think the highest I've seen is around 250mb/s with an nvme drive that gets a few gb/s in a real computer. In theory it should get to like 500mb/s for sata limits.
As a concrete example, I have a raspberry pi 4 I use for "what's the most pathetic hardware a user might try". It takes 5-10 minutes to build up a fresh venv even when it has all of the packages cached. If I nuke the caches and make it download, it's 20+ minutes. For comparison a modern laptop takes ~1 minute.