-
Notifications
You must be signed in to change notification settings - Fork 104
Some enhancement ideas #137
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
Comments
Isn't already what happens if you don't set a duration ? Or your background task is not the rt-app main thread but part of your use case ?
If there are new events that you would like to be added, we can certainly discuss their inclusions
That's something we have considered but never get anyone to implement it. We just need to ensure backward compatibility for current json file.
All contribution are welcome
yeah, that's something we also wanted but as you said, this si complex as we want to track the behavior but not how the system impact the use case because of freq scaling increasing runtime or things like that |
This doesn't terminate so far (yes, I'm already playing with a simple yaml converter):
Or what did you mean? |
Okay, by background task, I meant the main thread in rt-app that starts and stops the sequence not a thread created for the use case. |
First of all, this looks pretty much like what I was thinking of starting myself at some point. I'm specifically searching for a way to model complex workloads for regression testing and bug reproduction purposes. And that primarily for RT systems, but as those generally also contain non-RT workload, the tool should be not limited to RT. And that is what rt-app already does, nice!
Now I tried to throw a simple example at it, two RT threads simulating different lifecycle phases and different lock types, including wrong ones. But that is not possible with rt-app yet because there is only a global pi_enabled, nothing per mutex. Also, I cannot create prio-ceiling mutexes. Ideally, this tool could even model something like https://lore.kernel.org/all/[email protected]/ one day.
So, here is a first set of ideas regarding possible enhancements:
Not only for the last point, I'll see what my colleagues and I can contribute if such extensions are considered in scope for the project. I'm also happy to split things up into multiple issues if preferred. This is really just a first brain dump.
Oh, there is one idea that goes even beyond: create workload configs from real system traces. Already discussed with several folks before and, yes, that's not a simple task. We could start from creating a rough template and let the human do more fine-tuning.
The text was updated successfully, but these errors were encountered: