Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Matter hubs that use minimal mDNS will often excessively query devices to fetch AAAA records, leading to poor 2.4 GHz performance in extreme cases #33427

Open
ndyck14 opened this issue May 13, 2024 · 1 comment
Labels
bug Something isn't working darwin needs triage

Comments

@ndyck14
Copy link

ndyck14 commented May 13, 2024

Reproduction steps

I have 8 matter wifi devices and a variety of matter thread devices.

I see frequent queries to a variety of different host names. I've been able to link these spurts of packet queries to equivalently timed prints that originate in the SDK:

ChipLogDetail(Discovery, "SRV record already actively processed.");

OTA:

11167	May 12, 2024 16:47:57.425017000 EDT	182.904764	192.168.5.147		224.0.0.251	MDNS	106	Standard query 0x0000 AAAA 000000000000.local, "QM" question AAAA fda8:29b7:197d:1::1	
11178	May 12, 2024 16:47:57.430103000 EDT	182.909850	192.168.5.147		224.0.0.251	MDNS	84	Standard query 0x0000 A 808AF7200055.local, "QU" question AAAA 808AF7200055.local, "QU" question	
11181	May 12, 2024 16:47:57.431386000 EDT	182.911133	192.168.5.147		224.0.0.251	MDNS	78	Standard query 0x0000 AAAA 808AF7200055.local, "QU" question	
...

HA logs:

2024-05-12 16:47:57.477 (Dummy-2) CHIP_DETAIL [chip.native.DIS] SRV record already actively processed.
2024-05-12 16:47:57.479 (Dummy-2) CHIP_DETAIL [chip.native.DIS] SRV record already actively processed.
2024-05-12 16:47:57.480 (Dummy-2) CHIP_DETAIL [chip.native.DIS] SRV record already actively processed.
...

(dns.qry.type==28) && (ip.src == 192.168.5.147)

Archive.zip

Bug prevalence

pretty much perpetually, sometimes goes quiet for minutes at a time.

GitHub hash of the SDK that was being used

Home Assistant 5.6, eero 7.3.2, echo 4th gen, echo dot

Platform

darwin, raspi

Platform Version(s)

No response

Anything else?

No response

@ndyck14 ndyck14 added bug Something isn't working needs triage labels May 13, 2024
@ndyck14
Copy link
Author

ndyck14 commented May 13, 2024

Seems possibly related to #33095

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working darwin needs triage
Projects
Status: Todo
Development

No branches or pull requests

1 participant