Hassio-Access-Point icon indicating copy to clipboard operation
Hassio-Access-Point copied to clipboard

Hotspot bandwidth

Open aurnor opened this issue 1 year ago • 5 comments

Hello,

I installed the addon and managed with my phone to connect to the hotspot and to internet. Great job, thanks! My Home Assistant is installed with HA OS on a Raspberry Pi 5. The Raspberry Pi 5 is connected to my Internet connection using RJ45 cable on a high speed connection (~950 mbps). But when running a speed test from my phone, the connection is about 25 mbps (whereas a similar test directly on my internet box wifi with the same phone provides more than 600 mbps).

Any idea why such difference when using the HA hotspot? Thanks

aurnor avatar Mar 04 '24 14:03 aurnor

From what I can see online, the pi5's wifi chip can handle up to 165Mbps as a client, but I'd imagine that would be even less when hosting the network. Also, data throughput is CPU/RAM-bound, so it will likely be constrained on a system that's dedicated to hosting a bajilion docker containers instead of a bare OS for networking :D

25Mbps does still seem low though. If you'd like to test further, you could set up a network on something like Raspbian (e.g. using This Guide) and comparing. There are likely some optimisations that I could make in the configurations, but I can't imagine getting huge gains in network speed 🐎

ROBOT0-VT avatar Mar 04 '24 18:03 ROBOT0-VT

That makes sense 👍 Thanks for your answer

aurnor avatar Mar 06 '24 08:03 aurnor

Cool. Would you like me to investigate further, or can I close this?

ROBOT0-VT avatar Mar 06 '24 08:03 ROBOT0-VT

If you want to investigate, it would be great so that we are sure the config is at its best ;-)

aurnor avatar Mar 06 '24 09:03 aurnor

I'll put it on the backlog, I'm busy refactoring networking anyway:D

ROBOT0-VT avatar Mar 06 '24 09:03 ROBOT0-VT