Why is Hass.io so slow compared to Hassbian?

Why is Hass.io so slow compared to the exact same config on Hassbian?

I have used Hass.io for 5-6 months before I switched to a Pi3+. Since hass.io was not supported on pi3+ I did install Hass using Hassbian and run that for a few months. And wow! its so much faster. Same when running on a Pi3 non +.

Since latest HassOS Release-1 build 0 (RC) is now suppored on Pi3+ I did install the 64 version today. Back to slow old days. Compared to Hassbian on the same Pi3+ and sdcard a reboot of only Home Assistant takes 10-15 times longer. Zwave network to go to ready/completed takes 5 times longer.

Did switch back to hassbian and everything is back to normal. Using the exact same config, Aeotec Z-wave gen5 stick.

Is Hass.io just slow or is it some compatibility issues with example Aeotec Z stick? I see memory free is 670MB on hass.io. was about 750MB free on Hassbian. Cpu usage is the same when idle around 2-3% but on boot its much higher on hass.io.

Only using samba, duck and bluetooth add-ons. Same for Hassbian.

Agreed, something is not working well with Hass.io currently … with cpu / responsiveness.

Tried latest hassio 1.7 now. Still 10-15x slower than hassbian when it comes to reboot, startup etc. :confused: Back to hassbian again :stuck_out_tongue:

Probably better to compare it to the 32 bit. The 64 bit has issues.
https://github.com/home-assistant/hassos/blob/dev/Documentation/boards/raspberrypi.md

How about automations - do they also run faster on Hassbian? I am using Hassio on a Pi3, but automations run a bit slow.

I also migrated recently from Hassbian 0.75 to HASSIO 0.77.3 and there is indeed a big speed difference between the two. HASSIO is so much slower in everything.
I get a lot of errors that my command_line switches are not updated fast enough and booting the system is 50% slower.

E.

If it’s HassOS it is much slower than ResinOS and even slower even than Hassio running on Docker on Raspbian!

But apart from the startup speed, I didn’t see any problems with anything else or command line things… once Hassio was up and running it was great.

What kind of Pi are you running?

Pi3

It’s just that I’m migrated and that I can compare the two…

Docker on a raspberry is maybe not the best idea, it’s still some overhead compare to a direct install and can only be slower…

1 Like

Its a pity that everything has been so directed towards Rpi and other SBC.

It’s being developed (free!) for a widely available set of platforms. There is no ‘pity’ about it.

When I was thinking about getting a NUC I set up Raspbian with Docker and Hassio. It was so much faster than HassOS it’s not funny! (And also faster than ResinOS as well) It was like lightning in comparison.

I agree that its slower but it’s also easier for beginners without all this command line stuff.

If you are familiar with linux just use hassbian. I’m going to switch to hassbian too

The size and complexity of my setup is making me seriously consider a NUC. I’ll be keeping an eye on the Christmas sales.

Do you have a blog post on how you set up your NUC?

as it happens I do…

2 Likes

Even more than the ease of use (Linux CL does scare me… much) I love the plug-ins. Super convenient.

I can’t compare speeds between Hass.io and Hassbian, as I never used the latter, but I moved my Hass.io to an ESXi VM running on fairly good hardware (I already had such a server, for other uses), and it’s lightning fast compared to running even on a Pi 3B+. Restarts, especially. A second or two vs. a minute or more.

So yeah, running on better hardware helps.

This is what I used to set up Hass.io on my NUC. My coworkers tell me it worked great for them, and was easy to follow. :slightly_smiling_face:

I’ve got a friend who’s comparing speeds between Hass.io and Hassbian. Same yaml files, Hassbian can restart HA in seconds whereas Hass.io it takes a good few minutes before it’s usable again. Same model of pi each time, what on earth could it be doing to take so long?

Tried again Hass.io yesterday for the third time to see if it became better, but man! it is so slow! you just don’t know if it crashed or is still doing something, installing and managing add-ons is soo bad, you don’t know what is happening, no progress bar or some kind of feedback to know it is doing something… I’m using a Raspberry Pi 3B+, I m new to HA, linux, etc. but if I have had started working with Hass.io first would have put it asside and tried other platform. luckily I tried home assistant through hassbian install and became addicted, hass.io take away all the fun.