Home Assistant, Nextcloud and paperless ngx on a Pi 4

Lennard@lemmy.dbzer0.com to Selfhosted@lemmy.world – 37 points –

Hi Guys. Currently, my Raspberry Pi 4 is only running Home Assistant OS, which works quite well. In the last few weeks, I have grown more and more interested in paperless ngx and Nextcloud. Do you think my pi would be able to handle home automation and some light document management simultaneously? If so, should I install a fresh version of Raspbian or let HA-OS handle the Docker containers?

Thanks for your answers, and have a wonderful day :)

25

You are viewing a single comment

What I meant is that overloading the CPU on a Raspberry running pi-hole will make the whole network misbehave and timeout, until DNS requests are able to be serviced again. But since they're not doing that it should be fine :)

It's there any way around this? I don't want my smart home applications to run sluggish. They need to have priority.

This is what the nice command is for

Scheduling priority on Linux is borderline broken. Nice doesn't even do anything noticeable on modern systems.

I would say not in a way that makes sense, there may be hacky workarounds like setting nice priorities or messing around with scheduling, but there's no way around hardware limitations. The Pi's CPU, RAM, and IO bandwidth are what they are, and you need overhead to guarantee "snappiness"