Replies: 4 comments 3 replies
-
The SRP client already supports random jitter mechanism, which was further enhanced in the following PRs. Please see the PR descriptions for more details:
I recommend updating the firmware to include these PRs if they are not already included. If you want to add even more random jitter (to initial registration), the next layer of code can control it (delay when and how the service is registered, e.g., when |
Beta Was this translation helpful? Give feedback.
-
@motters In earlier versions of IDF, there was an issue with the handling of Spinel traffic that could lead to crashes under heavy load. We believe this problem has been addressed in recent IDF releases. Could you please attempt to reproduce the issue using IDF version v5.3.2 and share the BR logs with us? The IDF v5.3.2 already includes the two PRs mentiond by Abtin. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the speedy replies! @abtink Ah thank you. The devices (srp clients) are using nrf-sdk v2.6 which doesn't include the above commits. We'll update to v2.8 which does and report back. @chshu thanks for the information, we will update the BR's IDF version to the latest stable release (currently using IDF 5.1). When the BR crashes due to the speed of SRP requests, there are no error messages. It simple stops performing border routing operations. Normally the ESP BR outputs 4 log messages for each SRP request. During a crash it will only output 2 of them and then stop processing thread. We've set aside all next week to address this issue, I'll report back any information. |
Beta Was this translation helpful? Give feedback.
-
Hi All, Christmas break slowed things down slightly, however we have:
We now have 17 devices attached and working with SRP enabled. In the following weeks we'll be testing to 100 devices. I'll keep you updated with any additional tweaks that were required. Thanks for everyones help! |
Beta Was this translation helpful? Give feedback.
-
Hello Everyone!
We have a border router based off an ESP32 with around 8-10 devices in the mesh.
The devices are using the openthread SRP client and the border router (BR) is using the openthread SRP server. The devices are using
otSrpClientEnableAutoStartMode
to handle the submission of services to the BR's SRP server as required.The problem we're having is all 10 devices are submitting & updating their SRP service details to the BR's SRP server at the same time. This is causing the BR's ESP32 to crash as it can't handle the wave of requests.
As such we want to delay the device's SRP requests/transmissions by a random time. This allows the ESP32 to handle each request successfully (we have proven this).
I was hoping you may have some advise on the best way of implementing this "random delay"?
Thanks again!
Beta Was this translation helpful? Give feedback.
All reactions