-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Add some tools to test various real time Linux features #28268
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
base: master
Are you sure you want to change the base?
Conversation
It contains numactl program to run other programs with a specific NUMA policy and a libnuma to do allocations with NUMA policy in applications. Signed-off-by: Thomas Richard <thomas.richard@bootlin.com>
rt-tests is a test suite, that contains programs to test various real time Linux features. Signed-off-by: Thomas Richard <thomas.richard@bootlin.com>
This provides the rtla tool, which is useful to analyze the real-time properties of a Linux system. Signed-off-by: Benjamin Robin <benjamin.robin@bootlin.com> Signed-off-by: Thomas Richard <thomas.richard@bootlin.com>
|
Gentle ping :) |
|
@GeorgeSapkin @BKPepe can you have a look please? |
|
IDK, what any of these do so I can't really decide if they are worth merging. Perhaps @graysky2 has an opinion 👀 |
|
I looked into RT kernels for routing before and I recall it being a disadvantage for most use cases (lower throughput, added complexity, more overhead). I think if you're doing a ton of VoIP stuff, it could make sense but most average users won't want a RT kernel (again from memory) |
|
PREEMPT_RT does not mean performance. It is even more the opposite as there are lots of context switch (which cost a lot). PREEMPT_NONE (which is the default for most targets in OpenWrt) is the best model for servers in a general case. |
|
PR [1] has been merged, so now preemption model can be selected from the menuconfig, and all targets were aligned to use the PREEMPT_NONE model by default. @GeorgeSapkin @BKPepe @graysky2 could we move forward ? Or NAK if you really don't want these packages. Thanks, |
|
I don't have strong objections, besides the fact, that these are clearly niche tools, which this repo is full of. And which often go unmaintained, and then it's hard to figure out why they were added in the first place. E.g. everything that came from Turris (sorry for the call out) and then all people supporting those bits left. The reason I pinged @graysky2 was because he often added something system-related and equally niche. If nobody else has any strong feeling we can merge this. @hnyman what do you think? |
|
I would say NAK (or at least some kind source-only flag for the packages). Those tools will have a really small user interest, but not really from the general embedded populace to whom we mainly compile package binaries. I see no point to regularly compile those for the 30+ different architectures. I agree with @GeorgeSapkin that eagerly introduced and then forgotten niche packages are unoptimal in the long run. |
|
I'm fine with a kind of souce-only flag. I understand that providing binaries for these kind of packages which are mostly used for development and debugging in very specific cases is something you do not want. Except if I missed something such flag does not exist for now. |
|
@thom24 considering this has an org copyright, and you're clearly skilled enough to know how to use these tools, why not set up a custom feed with your packages? You can even have a GitHub action that rebuilds them daily for any architectures you need if this depends on specific kernel versions. |
A pull request [1] has been opened in the OpenWrt core repository to introduce the PREEMPT_RT kernel configuration option for x86_64, arm64, and RISC-V architectures.
Enabling PREEMPT_RT makes it essential to analyze and characterize the kernel’s real-time performance. To support this, this pull request integrates existing tools for real-time behavior analysis into OpenWrt.
Some tools require the new tracers introduced in [1].
It can also be applied safely on openwrt-25.12 branch
[1] openwrt/openwrt#21413