Hi Kevin, On Wed, 2 Jul 2014 17:08:47 -0400 Kevin Burns <kevinpb@xxxxxx> wrote: > Hello Mr. Lelli, > > I am a graduate student at Virginia Tech and am having an issue with > sched_setattr. > > The folks over at at #linux-rt on irc.oftc.net suggested I bring the issue > to your attention. > Sorry for the late reply, but I'm traveling in these days. > Here's the issue: > > I am able to allocate a bandwidth with a ratio of .1 to two processes using > the sched_setattr() system call. > > I then am able to add said tasks to a cpuset (with one physical processor) > using cset. > > However, when I then try to update the runtime or period of either task, > sched_setattr returns a -EBUSY error. > > Now, if I repeat the above experiment with just one task, I am able to > update the runtime or period without issue. I ran trace-cmd and kernelshark > to verify that the bandwidths were indeed being updated correctly. That and > htop was reporting a higher percentage of CPUusage, which correlated to the > ratios of my task's bandwidth. > > Any ideas as to why cpuset would cause this behaviour? > Could you create a script that I can use to run your setup and reproduce the problem? Thanks, - Juri > Thanks, > -Kevin -- To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html