this post was submitted on 31 Aug 2023
37 points (95.1% liked)

Selfhosted

40248 readers
981 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

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 :)

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 9 points 1 year ago (1 children)

While paperless processing is indeed quite intensive, it's not like this is a latency-sensitive task. If it takes 5m to OCR a scan, so be it. That doesn't make it unusably slow.

[–] [email protected] 5 points 1 year ago (1 children)

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 :)

[–] [email protected] 1 points 1 year ago (2 children)

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

[–] maengooen 1 points 1 year ago (1 children)

This is what the nice command is for

[–] [email protected] 1 points 1 year ago

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

[–] [email protected] 1 points 1 year ago

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"