I am trying some experiments with pthread scheduling policies. I have a couple of apps and within all these apps, I set the thread policy to SCHED_RR and I set the priority to MAX - 1. Now, I see that the CPU utilization as reported by top for one process goes to about 100%. However, the other apps don't have the same behavior.
Doesn't setting SCHED_RR as the scheduling policy ensure that all threads get equal quanta of CPU cycles? If yes, why is top reporting these numbers as high for one process?
1. I'm using an embedded Linux enviroment.
2. I'm having 4 physical CPU cores on the target environment.