Skip to content

Set low latency to false to avoid CPU spike - #189

Merged
ndokter merged 1 commit into
ndokter:masterfrom
jasperslits:low_latency
Jul 9, 2026
Merged

Set low latency to false to avoid CPU spike#189
ndokter merged 1 commit into
ndokter:masterfrom
jasperslits:low_latency

Conversation

@jasperslits

Copy link
Copy Markdown
Contributor

I am impacted by home-assistant/core#173474 in which high CPU usage was reported since 2026.6.0
The low latency flag was the culprit which defaults to True if not explicitly provided.

Forcing low_latency = False when calling create_serial_connection method of serialx solves the problem for me and /sys/bus/usb-serial/devices/ttyUSB0/latency_timer stays at 16

Tested with 2026.7.1 and latest release of this package.

@ndokter
ndokter merged commit 4b263b1 into ndokter:master Jul 9, 2026
5 checks passed
@ndokter

ndokter commented Jul 9, 2026

Copy link
Copy Markdown
Owner

Thank you, that indeed sounds like a better default!

@ndokter

ndokter commented Jul 9, 2026

Copy link
Copy Markdown
Owner

Its released as 1.11.1

@jasperslits
jasperslits deleted the low_latency branch July 9, 2026 08:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants