How to set RT task runtime rate

hi

JP: 7.2 super

HW: agx orin 32GB

We found that the real-time performance of tasks is not good. How to set a reasonable proportion of real-time task running time

Now we use the default value

cat /proc/sys/kernel/sched_rt_period_us
cat /proc/sys/kernel/sched_rt_runtime_us

sched_rt_period_us  = 1000000
sched_rt_runtime_us = 950000

Hi,
Not sure if it helps but you may try to enable the config:

Making sure you're not a bot!
[RT Kernel] Enable CONFIG_HZ_1000

And may try the commands for profiling performance:
Jetson AGX Orin FAQ

Yes