Re: [LAD] Kontakt Spikes

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Michael Ost <most@...>
Cc: <linux-audio-dev@...>
Date: Tuesday, October 11, 2011 - 8:52 am

I wrote:

Bah, the documentation of sched_rr_get_interval() is wrong; the kernel
uses a fixed RR time quantum of 100 ms which cannot be changed (except
by changing DEF_TIMESLICE in kernel/sched.c).

This means that, when you have five RR/50 threads on one core, a thread
will run for 100 ms and then be interrupted for 400 ms. The only way
for the threads to user shorter intervals is for all of them to
cooperate and to call sched_yield() after having completed such
an interval.

Regards,
Clemens
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAD] Kontakt Spikes, Michael Ost, (Sat Oct 8, 1:26 am)
Re: [LAD] Kontakt Spikes, Clemens Ladisch, (Sat Oct 8, 11:03 am)
Re: [LAD] Kontakt Spikes, Michael Ost, (Mon Oct 10, 5:56 pm)
Re: [LAD] Kontakt Spikes, Clemens Ladisch, (Mon Oct 10, 10:05 pm)
Re: [LAD] Kontakt Spikes, Michael Ost, (Tue Oct 11, 12:42 am)
Re: [LAD] Kontakt Spikes, Clemens Ladisch, (Tue Oct 11, 8:24 am)
Re: [LAD] Kontakt Spikes, Clemens Ladisch, (Tue Oct 11, 8:52 am)
Re: [LAD] Kontakt Spikes, Michael Ost, (Tue Oct 11, 4:33 pm)
Re: [LAD] Kontakt Spikes, Paul Davis, (Tue Oct 11, 10:10 pm)
Re: [LAD] Kontakt Spikes, Michael Ost, (Tue Oct 25, 12:28 am)
Re: [LAD] Kontakt Spikes, Paul Davis, (Tue Oct 25, 12:36 am)
Re: [LAD] Kontakt Spikes, Michael Ost, (Tue Oct 11, 10:25 pm)
Re: [LAD] Kontakt Spikes, Robin Gareus, (Mon Oct 10, 7:05 pm)
Re: [LAD] Kontakt Spikes, Robin Gareus, (Mon Oct 10, 7:09 pm)
Re: [LAD] Kontakt Spikes, Nick Copeland, (Mon Oct 10, 8:37 pm)
Re: [LAD] Kontakt Spikes, Michael Ost, (Mon Oct 10, 8:48 pm)
Re: [LAD] Kontakt Spikes, Fons Adriaensen, (Mon Oct 10, 7:31 pm)
Re: [LAD] Kontakt Spikes, Robin Gareus, (Mon Oct 10, 7:37 pm)
Re: [LAD] Kontakt Spikes, Robin Gareus, (Sat Oct 8, 3:08 am)
Re: [LAD] Kontakt Spikes, Michael Ost, (Wed Oct 12, 11:28 pm)
Re: [LAD] Kontakt Spikes, Robin Gareus, (Thu Oct 13, 2:20 am)
Re: [LAD] Kontakt Spikes, Michael Ost, (Mon Oct 10, 6:03 pm)
Re: [LAD] Kontakt Spikes, Devin Anderson, (Sat Oct 8, 2:46 am)
Re: [LAD] Kontakt Spikes, Michael Ost, (Mon Oct 10, 7:38 pm)
Re: [LAD] Kontakt Spikes, Devin Anderson, (Mon Oct 10, 8:14 pm)