Re: [PATCH]sched: Isochronous class v2 for unprivileged soft rt scheduling

From: Con Kolivas
Date: Sun Jan 23 2005 - 20:11:01 EST


Jack O'Quin wrote:
Con Kolivas <kernel@xxxxxxxxxxx> writes:


There are two things that the SCHED_ISO you tried is not that
SCHED_FIFO is - As you mentioned there is no priority support, and it
is RR, not FIFO. I am not sure whether it is one and or the other
responsible. Both can be added to SCHED_ISO. I haven't looked at jackd
code but it should be trivial to change SCHED_FIFO to SCHED_RR to see
if RR with priority support is enough or not.


Sure, that's easy. I didn't do it because I assumed it would not
matter. Since the RR scheduling quantum is considerably longer than
the basic 1.45msec audio cycle, it should work exactly the same. I'll
cobble together a JACK version to try that for you.

If you already know the audio cycle is much less than 10ms then there isn't much point trying it.

Second the patch I sent you is fine for testing; I was hoping you
would try it. What you can't do with it is spawn lots of userspace
apps safely SCHED_ISO with it - it will crash, but it not take down
your hard disk. I've had significantly better results with that
patch so far. Then we cn take it from there.


Sorry. I took you literally when you said it was not yet ready to
try. This would be the isoprio3 patch you posted?

Yes it is.

Do I have to use 2.6.11-rc1-mm2, or will it work with 2.6.11-rc1?

It was for mm2, but should patch on an iso2 patched kernel.

Thanks!

Con
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/