-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
Slower OpenThread PSKc calculation #24963
Comments
@rlubos is this a regression in performance in OpenThread itself? If so this is perhaps better suited for the upstream project. |
@markus-becker-tridonic-com the K64F doesn't have a 15.4 radio, so are you using a shield or an external radio IC of some sort? |
@markus-becker-tridonic-com, can you add the following to your project config file for a test: CONFIG_XOROSHIRO_RANDOM_GENERATOR=y |
RF2XX as external radio IC. |
CONFIG_XOROSHIRO_RANDOM_GENERATOR=n results in 5087ms. |
@carlescufi @markus-becker-tridonic-com I don't know what else could've changed in regards to that board/radio. I'd verify the execution time of the |
@markus-becker-tridonic-com have you logged an issue with upstream OpenThread? Maybe it's as simple as increasing the timeout value in wpantund? |
turned out to be CONFIG_MBEDTLS_DEBUG=y was the culprit and adding approximately 500ms. |
After updating
from 2cfb11e to 6667dc3
from zephyrproject-rtos/openthread@3c6191e to zephyrproject-rtos/openthread@497590a
and using the sample samples/net/openthread/ncp/ on a K64 board the time to generate a PSKc on the NCP/K64 with
wpanctl commissioner gen-psk
increased from slightly below 5s to slightly above 5s. Unfortunately the timeout value of the OpenThread tools is 5s: https://github.com/openthread/wpantund/blob/master/src/wpantund/NCPConstants.h#L23.What might have slowed down in the updates between the SHAs mentioned above?
The text was updated successfully, but these errors were encountered: