Stress Test API for drivers and services? #83656
Unanswered
glenn-andrews
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We're looking to implement a system-level stress test on an I3C driver, and wondering if there's any value to making a generic test interface for all drivers and services.
For our I3C driver we're planning on implementing two functions to lock the bus and unlock it again, to simulate a device using the bus periodically for a given amount of time. Control of period and duration will be handled at the system level. We're implementing this in functions not expressed in our driver API, to maintain compatibility with the I3C API.
This seems like a useful set of functions for anyone who needs to test how close to capacity their system is getting. We were thinking that we could have some kind of generic stress test API to lock and unlock devices, or to busy-wait services to simulate processing requests that are not wired up yet.
Adding
lock_driver()
andunlock_driver()
functions to each driver API adds complexity, so maybe there is a different mechanism that can be used. I'm open to suggestions.Would this be something of interest to the community?
Beta Was this translation helpful? Give feedback.
All reactions