<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
I would like to second the notion that a real time kernel would be the best option for this distro.&nbsp; I hate to be a pessimist, but I don't see the point of making a music spin if it is going to have the same kernel as the the standard fedora distro.&nbsp; Anyone can add packages, but a working rt kernel is special.&nbsp; Also, if the real time kernel gets added, I think it may receive more attention and maybe get some nice improvements.&nbsp; If we have to call it a remix and not spin, that is not important to me.&nbsp; What is important is how useful it is to musicians and musicians do not like latency.&nbsp; I understand that the kernel patch can be installed quite easily and this is just my opinion.&nbsp; Please feel free to object to me or to correct me.&nbsp; :)&nbsp; <br><br>&gt; From: music-request@lists.fedoraproject.org<br>&gt; Subject: music Digest, Vol 44, Issue 13<br>&gt; To: music@lists.fedoraproject.org<br>&gt; Date: Thu, 22 Jul 2010 06:20:00 +0000<br>&gt; <br>&gt; Send music mailing list submissions to<br>&gt;         music@lists.fedoraproject.org<br>&gt; <br>&gt; To subscribe or unsubscribe via the World Wide Web, visit<br>&gt;         https://admin.fedoraproject.org/mailman/listinfo/music<br>&gt; or, via email, send a message with subject or body 'help' to<br>&gt;         music-request@lists.fedoraproject.org<br>&gt; <br>&gt; You can reach the person managing the list at<br>&gt;         music-owner@lists.fedoraproject.org<br>&gt; <br>&gt; When replying, please edit your Subject line so it is more specific<br>&gt; than "Re: Contents of music digest..."<br>&gt; <br>&gt; <br>&gt; Today's Topics:<br>&gt; <br>&gt;    1. Re: Music spin development - are you ready to get involved ?<br>&gt;       (Fernando Lopez-Lezcano)<br>&gt;    2. Re: [PlanetCCRMA] Music Spin (Fernando Lopez-Lezcano)<br>&gt;    3. Re: [PlanetCCRMA] Music Spin (Bernardo Barros)<br>&gt;    4. Re: Music spin development - are you ready to        get involved ?<br>&gt;       (Bernardo Barros)<br>&gt;    5. Re: Music spin development - are you ready to get involved ?<br>&gt;       (Christopher Antila)<br>&gt;    6. Re: [PlanetCCRMA] Music Spin (Fernando Lopez-Lezcano)<br>&gt; <br>&gt; <br>&gt; ----------------------------------------------------------------------<br>&gt; <br>&gt; Message: 1<br>&gt; Date: Wed, 21 Jul 2010 10:13:14 -0700<br>&gt; From: Fernando Lopez-Lezcano &lt;nando@ccrma.Stanford.EDU&gt;<br>&gt; Subject: Re: [Fedora-music-list] Music spin development - are you<br>&gt;         ready to get involved ?<br>&gt; To: David Timms &lt;dtimms@iinet.net.au&gt;<br>&gt; Cc: music@lists.fedoraproject.org<br>&gt; Message-ID: &lt;1279732394.22338.2.camel@localhost.localdomain&gt;<br>&gt; Content-Type: text/plain; charset="UTF-8"<br>&gt; <br>&gt; On Thu, 2010-07-22 at 01:19 +1000, David Timms wrote:<br>&gt; &gt; Hi all,<br>&gt; &gt; <br>&gt; &gt; I have begun a wiki page to help track our goals for an audio creation<br>&gt; &gt; Fedora spin:<br>&gt; &gt; https://fedoraproject.org/wiki/AudioCreationSpinDevelopment<br>&gt; &gt; , also available from the links at the bottom of the SIG page:<br>&gt; &gt; https://fedoraproject.org/wiki/Audio_Creation<br>&gt; &gt; <br>&gt; &gt; If you want to be involved, please make sure you have a Fedora wiki<br>&gt; &gt; account (fas), and list yourself in the collaborators section.<br>&gt; &gt; <br>&gt; &gt; You'll probably find many areas of the page need flashing out or fixing<br>&gt; &gt; up; please do so, but also consider the limited time frame before the<br>&gt; &gt; next Fedora release.<br>&gt; &gt; <br>&gt; &gt; A name like "Open Music Workstation" ... or "Fedora Jam", but you can<br>&gt; &gt; think of better, I'm sure...<br>&gt; &gt; <br>&gt; &gt; Meanwhile, as we are trying to show off collaboration, is there any<br>&gt; &gt; software that allows distant users to jam / create music over the<br>&gt; &gt; internet ? This would be something really quite unique, compared to<br>&gt; &gt; other spins.<br>&gt; <br>&gt; Jacktrip, already part of Planet CCRMA, see:<br>&gt;   https://ccrma.stanford.edu/groups/soundwire/<br>&gt; <br>&gt; and in particular:<br>&gt;   http://code.google.com/p/jacktrip/<br>&gt; <br>&gt; -- Fernando<br>&gt; <br>&gt; <br>&gt; <br>&gt; <br>&gt; ------------------------------<br>&gt; <br>&gt; Message: 2<br>&gt; Date: Wed, 21 Jul 2010 10:21:55 -0700<br>&gt; From: Fernando Lopez-Lezcano &lt;nando@ccrma.Stanford.EDU&gt;<br>&gt; Subject: Re: [Fedora-music-list] [PlanetCCRMA] Music Spin<br>&gt; To: David Sommerseth &lt;davids@redhat.com&gt;<br>&gt; Cc: music@lists.fedoraproject.org<br>&gt; Message-ID: &lt;1279732915.22338.11.camel@localhost.localdomain&gt;<br>&gt; Content-Type: text/plain; charset="UTF-8"<br>&gt; <br>&gt; On Wed, 2010-07-21 at 17:35 +0200, David Sommerseth wrote:<br>&gt; &gt; -----BEGIN PGP SIGNED MESSAGE-----<br>&gt; &gt; Hash: SHA1<br>&gt; &gt; <br>&gt; &gt; On 19/07/10 18:57, Fernando Lopez-Lezcano wrote:<br>&gt; &gt; &gt; On Mon, 2010-07-19 at 13:46 -0300, Bernardo Barros wrote:<br>&gt; &gt; &gt;&gt; &gt; For this low-level task some engineering would be required? I'm not<br>&gt; &gt; &gt;&gt; &gt; this kind of guy who know much about tasks scheduling and priorities<br>&gt; &gt; &gt;&gt; &gt; (kernel level) but some people told me that real-time kernels patches<br>&gt; &gt; &gt;&gt; &gt; could slow down Fedora and I should not use it. <br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Did those people by any chance provide you with _numbers_ that tell you<br>&gt; &gt; &gt; exactly what part of the kernel is impacted and by how much? (and, who<br>&gt; &gt; &gt; are they?) My guess is probably not. <br>&gt; &gt; &gt; <br>&gt; &gt; &gt; Yes, perhaps the rt patches could affect performance. Maybe. In some<br>&gt; &gt; &gt; subsystems (disk i/o, network come to mind). Maybe by a few %, in some<br>&gt; &gt; &gt; specific situations. I don't think the impact will be something you will<br>&gt; &gt; &gt; notice unless you measure it. <br>&gt; &gt; <br>&gt; &gt; To put things a bit straight.  Yes, RT kernel will affect performance.<br>&gt; &gt; Point.<br>&gt; <br>&gt; Agreed (for the reasons you explain below). <br>&gt; <br>&gt; I'd like to add that in the context of real-time performance for audio,<br>&gt; the lack of an RT kernel will also affect performance for the worse. So,<br>&gt; it depends on your goals. In the context of this list (music) Bernardo<br>&gt; comments he got the recommendation to not run RT kernels for performance<br>&gt; reasons ("some people told me that real-time kernels patches could slow<br>&gt; down Fedora and I should not use it"). <br>&gt; <br>&gt; If you are running a server, don't (unless, of course, you print money<br>&gt; by running thousands of trades a minute and you need millisecond<br>&gt; scheduling for that - that is why we have the rt patches after all :-).<br>&gt; If you are running a music oriented workstation that should handle<br>&gt; real-time interaction, then I'd say yes, run it. <br>&gt; <br>&gt; There are no black and white rules here. If you try the Fedora kernel<br>&gt; and it works for you in your particular music oriented situation then<br>&gt; run that. <br>&gt; <br>&gt; -- Fernando<br>&gt; <br>&gt; <br>&gt; &gt; Will you notice it effectively on "normal desktop tasks"?  Probably not<br>&gt; &gt; much, but it depends on how your system is saturated, tuned and what<br>&gt; &gt; kind of loads you have running.  Real Time is not Real Fast and never<br>&gt; &gt; will be.  A real time kernel will not give any fair scheduling to your<br>&gt; &gt; system, basically.<br>&gt; <br>&gt; (depends on your definition of "fair", for the purposes of an RT kernel<br>&gt; it schedules processes fairly, giving the rt tasks priority as is<br>&gt; intended by design). <br>&gt; <br>&gt; &gt; All tasks (processes) which is set to use the SCHED_FIFO or SCHED_RR<br>&gt; &gt; scheduling, even on the lowest priority will preempt and run it first<br>&gt; &gt; over, ignoring all other SCHED_OTHER (normal) processes.  SCHED_FIFO and<br>&gt; &gt; SCHED_RR tasks with the highest priority will be processed before all<br>&gt; &gt; other tasks, whenever they receive signals which requires these<br>&gt; &gt; processes to run.  This is the core nature of a real time system.<br>&gt; &gt; <br>&gt; &gt; So if you don't have many SCHED_FIFO or SCHED_RR tasks, and that they<br>&gt; &gt; are light - you most probably will not notice anything at all.  But in<br>&gt; &gt; the moment you begin with heavy I/O dependent operations or other<br>&gt; &gt; operations which requires processing time and the kernel have given them<br>&gt; &gt; SCHED_FIFO scheduling and a rather high priority (which is not<br>&gt; &gt; uncommon), it will slow down all the other running tasks.  But this<br>&gt; &gt; behaviour is possible to tune!<br>&gt; &gt; <br>&gt; &gt; So why would you want to run a real time kernel instead of a so called<br>&gt; &gt; "real fast" kernel (normal kernels)?  Latency determination.  A real<br>&gt; &gt; time kernel will strive to give you a predictable system latency, no<br>&gt; &gt; matter how loaded your computer is.  Which is a key-point for audio and<br>&gt; &gt; video - you don't want the sound or video stream to be delayed because<br>&gt; &gt; cron and updatedb wants to run.<br>&gt; &gt; <br>&gt; &gt; Some relevant information can be found here:<br>&gt; &gt; <br>&gt; &gt; &lt;http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_MRG/1.2/html/Realtime_Installation_Guide/chap-Realtime_Installation_Guide-Why_Use_RT_to_Optimize_Latency.html&gt;<br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; &lt;http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_MRG/1.2/html/Realtime_Reference_Guide/index.html&gt;<br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; &lt;http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_MRG/1.2/html/Realtime_Tuning_Guide/index.html&gt;<br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; kind regards,<br>&gt; &gt; <br>&gt; &gt; David Sommerseth<br>&gt; &gt; -----BEGIN PGP SIGNATURE-----<br>&gt; &gt; Version: GnuPG v1.4.10 (GNU/Linux)<br>&gt; &gt; Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/<br>&gt; &gt; <br>&gt; &gt; iEYEARECAAYFAkxHE9YACgkQIIWEatLf4He6ZwCgjaodaHQY0KJue5TfTZiVhE0d<br>&gt; &gt; mIEAnRksu5hm9bP6oGUu5ufRh2V1ESt/<br>&gt; &gt; =vj0G<br>&gt; &gt; -----END PGP SIGNATURE-----<br>&gt; &gt; _______________________________________________<br>&gt; &gt; music mailing list<br>&gt; &gt; music@lists.fedoraproject.org<br>&gt; &gt; https://admin.fedoraproject.org/mailman/listinfo/music<br>&gt; <br>&gt; <br>&gt; <br>&gt; <br>&gt; ------------------------------<br>&gt; <br>&gt; Message: 3<br>&gt; Date: Wed, 21 Jul 2010 15:18:16 -0300<br>&gt; From: Bernardo Barros &lt;bernardobarros2@gmail.com&gt;<br>&gt; Subject: Re: [Fedora-music-list] [PlanetCCRMA] Music Spin<br>&gt; To: Fernando Lopez-Lezcano &lt;nando@ccrma.stanford.edu&gt;<br>&gt; Cc: music@lists.fedoraproject.org<br>&gt; Message-ID:<br>&gt;         &lt;AANLkTilHaP29jI3NnWHELlcH0rUPxzkbmBADvgq_3EkF@mail.gmail.com&gt;<br>&gt; Content-Type: text/plain; charset=UTF-8<br>&gt; <br>&gt; Thank you Fernando and David,<br>&gt; <br>&gt; Yes, the person that gave me advise was not an audio oriented guy.<br>&gt; That?s more clear now.<br>&gt; <br>&gt; Just a newbie question here: do you have to determine what programs<br>&gt; will have privileges? How the system knows how to handle taks of audio<br>&gt; and non-audio programs at the same time?<br>&gt; <br>&gt; 2010/7/21 Fernando Lopez-Lezcano &lt;nando@ccrma.stanford.edu&gt;:<br>&gt; &gt; On Wed, 2010-07-21 at 17:35 +0200, David Sommerseth wrote:<br>&gt; &gt;&gt; -----BEGIN PGP SIGNED MESSAGE-----<br>&gt; &gt;&gt; Hash: SHA1<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; On 19/07/10 18:57, Fernando Lopez-Lezcano wrote:<br>&gt; &gt;&gt; &gt; On Mon, 2010-07-19 at 13:46 -0300, Bernardo Barros wrote:<br>&gt; &gt;&gt; &gt;&gt; &gt; For this low-level task some engineering would be required? I'm not<br>&gt; &gt;&gt; &gt;&gt; &gt; this kind of guy who know much about tasks scheduling and priorities<br>&gt; &gt;&gt; &gt;&gt; &gt; (kernel level) but some people told me that real-time kernels patches<br>&gt; &gt;&gt; &gt;&gt; &gt; could slow down Fedora and I should not use it.<br>&gt; &gt;&gt; &gt;<br>&gt; &gt;&gt; &gt; Did those people by any chance provide you with _numbers_ that tell you<br>&gt; &gt;&gt; &gt; exactly what part of the kernel is impacted and by how much? (and, who<br>&gt; &gt;&gt; &gt; are they?) My guess is probably not.<br>&gt; &gt;&gt; &gt;<br>&gt; &gt;&gt; &gt; Yes, perhaps the rt patches could affect performance. Maybe. In some<br>&gt; &gt;&gt; &gt; subsystems (disk i/o, network come to mind). Maybe by a few %, in some<br>&gt; &gt;&gt; &gt; specific situations. I don't think the impact will be something you will<br>&gt; &gt;&gt; &gt; notice unless you measure it.<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; To put things a bit straight. ?Yes, RT kernel will affect performance.<br>&gt; &gt;&gt; Point.<br>&gt; &gt;<br>&gt; &gt; Agreed (for the reasons you explain below).<br>&gt; &gt;<br>&gt; &gt; I'd like to add that in the context of real-time performance for audio,<br>&gt; &gt; the lack of an RT kernel will also affect performance for the worse. So,<br>&gt; &gt; it depends on your goals. In the context of this list (music) Bernardo<br>&gt; &gt; comments he got the recommendation to not run RT kernels for performance<br>&gt; &gt; reasons ("some people told me that real-time kernels patches could slow<br>&gt; &gt; down Fedora and I should not use it").<br>&gt; &gt;<br>&gt; &gt; If you are running a server, don't (unless, of course, you print money<br>&gt; &gt; by running thousands of trades a minute and you need millisecond<br>&gt; &gt; scheduling for that - that is why we have the rt patches after all :-).<br>&gt; &gt; If you are running a music oriented workstation that should handle<br>&gt; &gt; real-time interaction, then I'd say yes, run it.<br>&gt; &gt;<br>&gt; &gt; There are no black and white rules here. If you try the Fedora kernel<br>&gt; &gt; and it works for you in your particular music oriented situation then<br>&gt; &gt; run that.<br>&gt; &gt;<br>&gt; &gt; -- Fernando<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;&gt; Will you notice it effectively on "normal desktop tasks"? ?Probably not<br>&gt; &gt;&gt; much, but it depends on how your system is saturated, tuned and what<br>&gt; &gt;&gt; kind of loads you have running. ?Real Time is not Real Fast and never<br>&gt; &gt;&gt; will be. ?A real time kernel will not give any fair scheduling to your<br>&gt; &gt;&gt; system, basically.<br>&gt; &gt;<br>&gt; &gt; (depends on your definition of "fair", for the purposes of an RT kernel<br>&gt; &gt; it schedules processes fairly, giving the rt tasks priority as is<br>&gt; &gt; intended by design).<br>&gt; &gt;<br>&gt; &gt;&gt; All tasks (processes) which is set to use the SCHED_FIFO or SCHED_RR<br>&gt; &gt;&gt; scheduling, even on the lowest priority will preempt and run it first<br>&gt; &gt;&gt; over, ignoring all other SCHED_OTHER (normal) processes. ?SCHED_FIFO and<br>&gt; &gt;&gt; SCHED_RR tasks with the highest priority will be processed before all<br>&gt; &gt;&gt; other tasks, whenever they receive signals which requires these<br>&gt; &gt;&gt; processes to run. ?This is the core nature of a real time system.<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; So if you don't have many SCHED_FIFO or SCHED_RR tasks, and that they<br>&gt; &gt;&gt; are light - you most probably will not notice anything at all. ?But in<br>&gt; &gt;&gt; the moment you begin with heavy I/O dependent operations or other<br>&gt; &gt;&gt; operations which requires processing time and the kernel have given them<br>&gt; &gt;&gt; SCHED_FIFO scheduling and a rather high priority (which is not<br>&gt; &gt;&gt; uncommon), it will slow down all the other running tasks. ?But this<br>&gt; &gt;&gt; behaviour is possible to tune!<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; So why would you want to run a real time kernel instead of a so called<br>&gt; &gt;&gt; "real fast" kernel (normal kernels)? ?Latency determination. ?A real<br>&gt; &gt;&gt; time kernel will strive to give you a predictable system latency, no<br>&gt; &gt;&gt; matter how loaded your computer is. ?Which is a key-point for audio and<br>&gt; &gt;&gt; video - you don't want the sound or video stream to be delayed because<br>&gt; &gt;&gt; cron and updatedb wants to run.<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; Some relevant information can be found here:<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; &lt;http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_MRG/1.2/html/Realtime_Installation_Guide/chap-Realtime_Installation_Guide-Why_Use_RT_to_Optimize_Latency.html&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; &lt;http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_MRG/1.2/html/Realtime_Reference_Guide/index.html&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; &lt;http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_MRG/1.2/html/Realtime_Tuning_Guide/index.html&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; kind regards,<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; David Sommerseth<br>&gt; &gt;&gt; -----BEGIN PGP SIGNATURE-----<br>&gt; &gt;&gt; Version: GnuPG v1.4.10 (GNU/Linux)<br>&gt; &gt;&gt; Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; iEYEARECAAYFAkxHE9YACgkQIIWEatLf4He6ZwCgjaodaHQY0KJue5TfTZiVhE0d<br>&gt; &gt;&gt; mIEAnRksu5hm9bP6oGUu5ufRh2V1ESt/<br>&gt; &gt;&gt; =vj0G<br>&gt; &gt;&gt; -----END PGP SIGNATURE-----<br>&gt; &gt;&gt; _______________________________________________<br>&gt; &gt;&gt; music mailing list<br>&gt; &gt;&gt; music@lists.fedoraproject.org<br>&gt; &gt;&gt; https://admin.fedoraproject.org/mailman/listinfo/music<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; <br>&gt; <br>&gt; ------------------------------<br>&gt; <br>&gt; Message: 4<br>&gt; Date: Wed, 21 Jul 2010 15:20:50 -0300<br>&gt; From: Bernardo Barros &lt;bernardobarros2@gmail.com&gt;<br>&gt; Subject: Re: [Fedora-music-list] Music spin development - are you<br>&gt;         ready to        get involved ?<br>&gt; To: David Timms &lt;dtimms@iinet.net.au&gt;<br>&gt; Cc: music@lists.fedoraproject.org<br>&gt; Message-ID:<br>&gt;         &lt;AANLkTik2UTrKoyXjUv7GPmMkqg1CcCNCZGAFrmFtvt0D@mail.gmail.com&gt;<br>&gt; Content-Type: text/plain; charset=UTF-8<br>&gt; <br>&gt; 2010/7/21 David Timms &lt;dtimms@iinet.net.au&gt;:<br>&gt; &gt; A name like "Open Music Workstation" ... or "Fedora Jam", but you can<br>&gt; &gt; think of better, I'm sure...<br>&gt; <br>&gt; My suggestion is "Planet Music" Spin as an hommenage to the work of<br>&gt; Fernando to the Linux Audio community.<br>&gt; <br>&gt; <br>&gt; ------------------------------<br>&gt; <br>&gt; Message: 5<br>&gt; Date: Wed, 21 Jul 2010 20:16:20 -0400<br>&gt; From: Christopher Antila &lt;crantila@gmail.com&gt;<br>&gt; Subject: Re: [Fedora-music-list] Music spin development - are you<br>&gt;         ready to get involved ?<br>&gt; To: music@lists.fedoraproject.org<br>&gt; Message-ID: &lt;4C478DD4.9010509@fedoraproject.org&gt;<br>&gt; Content-Type: text/plain; charset=ISO-8859-1<br>&gt; <br>&gt; Hello:<br>&gt; <br>&gt; Thanks to David for getting this started for us.  I was going to post a<br>&gt; (nearly empty) wiki page for this purpose today, but it's better that a<br>&gt; more experienced user does it.<br>&gt; <br>&gt; I'll be adding my comments to the wiki pages as appropriate, and I<br>&gt; everybody else joins in, too.<br>&gt; <br>&gt; Also, I don't want to be beating people over the head with this, but the<br>&gt; Docs SIG is publishing a Guide for music and audio software with Fedora<br>&gt; 14.  We'll have to see exactly how these fit together, but remember that<br>&gt; the Guide will be there.<br>&gt; <br>&gt; Finally, since I'm in fairly regular contact with Docs, I'll take<br>&gt; responsibility for maintaining the Audio Creation &lt;-&gt; Docs link, if the<br>&gt; Spin goes ahead.  First step is to ask if we can add a "beat" in the<br>&gt; Release Notes ("What's new in Fedora 14 for Musicians?" or something<br>&gt; like that).  If you don't know what this is, check out the Fedora 13<br>&gt; release notes... it would probably fall under chapter 7:<br>&gt; <br>&gt; http://docs.fedoraproject.org/en-US/Fedora/13/html/Release_Notes/index.html<br>&gt; <br>&gt; <br>&gt; Let's get this thing rolling!<br>&gt; <br>&gt; Christopher.<br>&gt; <br>&gt; <br>&gt; On 07/21/2010 11:19 AM, David Timms wrote:<br>&gt; &gt; Hi all,<br>&gt; &gt; <br>&gt; &gt; I have begun a wiki page to help track our goals for an audio creation<br>&gt; &gt; Fedora spin:<br>&gt; &gt; https://fedoraproject.org/wiki/AudioCreationSpinDevelopment<br>&gt; &gt; , also available from the links at the bottom of the SIG page:<br>&gt; &gt; https://fedoraproject.org/wiki/Audio_Creation<br>&gt; &gt; <br>&gt; &gt; If you want to be involved, please make sure you have a Fedora wiki<br>&gt; &gt; account (fas), and list yourself in the collaborators section.<br>&gt; &gt; <br>&gt; &gt; You'll probably find many areas of the page need flashing out or fixing<br>&gt; &gt; up; please do so, but also consider the limited time frame before the<br>&gt; &gt; next Fedora release.<br>&gt; &gt; <br>&gt; &gt; A name like "Open Music Workstation" ... or "Fedora Jam", but you can<br>&gt; &gt; think of better, I'm sure...<br>&gt; &gt; <br>&gt; &gt; Meanwhile, as we are trying to show off collaboration, is there any<br>&gt; &gt; software that allows distant users to jam / create music over the<br>&gt; &gt; internet ? This would be something really quite unique, compared to<br>&gt; &gt; other spins.<br>&gt; &gt; <br>&gt; &gt; Cheers, David.<br>&gt; &gt; _______________________________________________<br>&gt; &gt; music mailing list<br>&gt; &gt; music@lists.fedoraproject.org<br>&gt; &gt; https://admin.fedoraproject.org/mailman/listinfo/music<br>&gt; <br>&gt; <br>&gt; ------------------------------<br>&gt; <br>&gt; Message: 6<br>&gt; Date: Wed, 21 Jul 2010 23:19:31 -0700<br>&gt; From: Fernando Lopez-Lezcano &lt;nando@ccrma.Stanford.EDU&gt;<br>&gt; Subject: Re: [Fedora-music-list] [PlanetCCRMA] Music Spin<br>&gt; To: Bernardo Barros &lt;bernardobarros2@gmail.com&gt;<br>&gt; Cc: music@lists.fedoraproject.org<br>&gt; Message-ID: &lt;1279779571.25375.245.camel@localhost.localdomain&gt;<br>&gt; Content-Type: text/plain; charset="UTF-8"<br>&gt; <br>&gt; On Wed, 2010-07-21 at 15:18 -0300, Bernardo Barros wrote:<br>&gt; &gt; Thank you Fernando and David,<br>&gt; &gt; <br>&gt; &gt; Yes, the person that gave me advise was not an audio oriented guy.<br>&gt; &gt; That?s more clear now.<br>&gt; &gt; <br>&gt; &gt; Just a newbie question here: do you have to determine what programs<br>&gt; &gt; will have privileges? How the system knows how to handle taks of audio<br>&gt; &gt; and non-audio programs at the same time?<br>&gt; <br>&gt; You don't have to worry about determining which programs will have<br>&gt; privileges (at least directly). <br>&gt; <br>&gt; If you run Jack with real-time scheduling (if you use Qjackctl you have<br>&gt; to set the "Realtime" parameter in "Setup" and the user that is running<br>&gt; Jack has to be allowed to use real-time scheduling), then the audio<br>&gt; threads within any Jack client will run with real-time scheduling<br>&gt; automatically. <br>&gt; <br>&gt; All other threads in all your programs will run with "normal" scheduling<br>&gt; and will have less priority (that includes, for example, graphic i/o<br>&gt; threads or file i/o threads in the Jack audio programs - those don't<br>&gt; have elevated priority). <br>&gt; <br>&gt; It is all designed to make sure the chances of an audio glitch happening<br>&gt; are as small as possible. <br>&gt; <br>&gt; -- Fernando<br>&gt; <br>&gt; <br>&gt; &gt; 2010/7/21 Fernando Lopez-Lezcano &lt;nando@ccrma.stanford.edu&gt;:<br>&gt; &gt; &gt; On Wed, 2010-07-21 at 17:35 +0200, David Sommerseth wrote:<br>&gt; &gt; &gt;&gt; -----BEGIN PGP SIGNED MESSAGE-----<br>&gt; &gt; &gt;&gt; Hash: SHA1<br>&gt; &gt; &gt;&gt;<br>&gt; &gt; &gt;&gt; On 19/07/10 18:57, Fernando Lopez-Lezcano wrote:<br>&gt; &gt; &gt;&gt; &gt; On Mon, 2010-07-19 at 13:46 -0300, Bernardo Barros wrote:<br>&gt; &gt; &gt;&gt; &gt;&gt; &gt; For this low-level task some engineering would be required? I'm not<br>&gt; &gt; &gt;&gt; &gt;&gt; &gt; this kind of guy who know much about tasks scheduling and priorities<br>&gt; &gt; &gt;&gt; &gt;&gt; &gt; (kernel level) but some people told me that real-time kernels patches<br>&gt; &gt; &gt;&gt; &gt;&gt; &gt; could slow down Fedora and I should not use it.<br>&gt; &gt; &gt;&gt; &gt;<br>&gt; &gt; &gt;&gt; &gt; Did those people by any chance provide you with _numbers_ that tell you<br>&gt; &gt; &gt;&gt; &gt; exactly what part of the kernel is impacted and by how much? (and, who<br>&gt; &gt; &gt;&gt; &gt; are they?) My guess is probably not.<br>&gt; &gt; &gt;&gt; &gt;<br>&gt; &gt; &gt;&gt; &gt; Yes, perhaps the rt patches could affect performance. Maybe. In some<br>&gt; &gt; &gt;&gt; &gt; subsystems (disk i/o, network come to mind). Maybe by a few %, in some<br>&gt; &gt; &gt;&gt; &gt; specific situations. I don't think the impact will be something you will<br>&gt; &gt; &gt;&gt; &gt; notice unless you measure it.<br>&gt; &gt; &gt;&gt;<br>&gt; &gt; &gt;&gt; To put things a bit straight.  Yes, RT kernel will affect performance.<br>&gt; &gt; &gt;&gt; Point.<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Agreed (for the reasons you explain below).<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; I'd like to add that in the context of real-time performance for audio,<br>&gt; &gt; &gt; the lack of an RT kernel will also affect performance for the worse. So,<br>&gt; &gt; &gt; it depends on your goals. In the context of this list (music) Bernardo<br>&gt; &gt; &gt; comments he got the recommendation to not run RT kernels for performance<br>&gt; &gt; &gt; reasons ("some people told me that real-time kernels patches could slow<br>&gt; &gt; &gt; down Fedora and I should not use it").<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; If you are running a server, don't (unless, of course, you print money<br>&gt; &gt; &gt; by running thousands of trades a minute and you need millisecond<br>&gt; &gt; &gt; scheduling for that - that is why we have the rt patches after all :-).<br>&gt; &gt; &gt; If you are running a music oriented workstation that should handle<br>&gt; &gt; &gt; real-time interaction, then I'd say yes, run it.<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; There are no black and white rules here. If you try the Fedora kernel<br>&gt; &gt; &gt; and it works for you in your particular music oriented situation then<br>&gt; &gt; &gt; run that.<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; -- Fernando<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;&gt; Will you notice it effectively on "normal desktop tasks"?  Probably not<br>&gt; &gt; &gt;&gt; much, but it depends on how your system is saturated, tuned and what<br>&gt; &gt; &gt;&gt; kind of loads you have running.  Real Time is not Real Fast and never<br>&gt; &gt; &gt;&gt; will be.  A real time kernel will not give any fair scheduling to your<br>&gt; &gt; &gt;&gt; system, basically.<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; (depends on your definition of "fair", for the purposes of an RT kernel<br>&gt; &gt; &gt; it schedules processes fairly, giving the rt tasks priority as is<br>&gt; &gt; &gt; intended by design).<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;&gt; All tasks (processes) which is set to use the SCHED_FIFO or SCHED_RR<br>&gt; &gt; &gt;&gt; scheduling, even on the lowest priority will preempt and run it first<br>&gt; &gt; &gt;&gt; over, ignoring all other SCHED_OTHER (normal) processes.  SCHED_FIFO and<br>&gt; &gt; &gt;&gt; SCHED_RR tasks with the highest priority will be processed before all<br>&gt; &gt; &gt;&gt; other tasks, whenever they receive signals which requires these<br>&gt; &gt; &gt;&gt; processes to run.  This is the core nature of a real time system.<br>&gt; &gt; &gt;&gt;<br>&gt; &gt; &gt;&gt; So if you don't have many SCHED_FIFO or SCHED_RR tasks, and that they<br>&gt; &gt; &gt;&gt; are light - you most probably will not notice anything at all.  But in<br>&gt; &gt; &gt;&gt; the moment you begin with heavy I/O dependent operations or other<br>&gt; &gt; &gt;&gt; operations which requires processing time and the kernel have given them<br>&gt; &gt; &gt;&gt; SCHED_FIFO scheduling and a rather high priority (which is not<br>&gt; &gt; &gt;&gt; uncommon), it will slow down all the other running tasks.  But this<br>&gt; &gt; &gt;&gt; behaviour is possible to tune!<br>&gt; &gt; &gt;&gt;<br>&gt; &gt; &gt;&gt; So why would you want to run a real time kernel instead of a so called<br>&gt; &gt; &gt;&gt; "real fast" kernel (normal kernels)?  Latency determination.  A real<br>&gt; &gt; &gt;&gt; time kernel will strive to give you a predictable system latency, no<br>&gt; &gt; &gt;&gt; matter how loaded your computer is.  Which is a key-point for audio and<br>&gt; &gt; &gt;&gt; video - you don't want the sound or video stream to be delayed because<br>&gt; &gt; &gt;&gt; cron and updatedb wants to run.<br>&gt; &gt; &gt;&gt;<br>&gt; &gt; &gt;&gt; Some relevant information can be found here:<br>&gt; &gt; &gt;&gt;<br>&gt; &gt; &gt;&gt; &lt;http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_MRG/1.2/html/Realtime_Installation_Guide/chap-Realtime_Installation_Guide-Why_Use_RT_to_Optimize_Latency.html&gt;<br>&gt; &gt; &gt;&gt;<br>&gt; &gt; &gt;&gt;<br>&gt; &gt; &gt;&gt; &lt;http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_MRG/1.2/html/Realtime_Reference_Guide/index.html&gt;<br>&gt; &gt; &gt;&gt;<br>&gt; &gt; &gt;&gt;<br>&gt; &gt; &gt;&gt; &lt;http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_MRG/1.2/html/Realtime_Tuning_Guide/index.html&gt;<br>&gt; &gt; &gt;&gt;<br>&gt; &gt; &gt;&gt;<br>&gt; &gt; &gt;&gt; kind regards,<br>&gt; &gt; &gt;&gt;<br>&gt; &gt; &gt;&gt; David Sommerseth<br>&gt; &gt; &gt;&gt; -----BEGIN PGP SIGNATURE-----<br>&gt; &gt; &gt;&gt; Version: GnuPG v1.4.10 (GNU/Linux)<br>&gt; &gt; &gt;&gt; Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/<br>&gt; &gt; &gt;&gt;<br>&gt; &gt; &gt;&gt; iEYEARECAAYFAkxHE9YACgkQIIWEatLf4He6ZwCgjaodaHQY0KJue5TfTZiVhE0d<br>&gt; &gt; &gt;&gt; mIEAnRksu5hm9bP6oGUu5ufRh2V1ESt/<br>&gt; &gt; &gt;&gt; =vj0G<br>&gt; &gt; &gt;&gt; -----END PGP SIGNATURE-----<br>&gt; &gt; &gt;&gt; _______________________________________________<br>&gt; &gt; &gt;&gt; music mailing list<br>&gt; &gt; &gt;&gt; music@lists.fedoraproject.org<br>&gt; &gt; &gt;&gt; https://admin.fedoraproject.org/mailman/listinfo/music<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; <br>&gt; <br>&gt; <br>&gt; <br>&gt; ------------------------------<br>&gt; <br>&gt; _______________________________________________<br>&gt; music mailing list<br>&gt; music@lists.fedoraproject.org<br>&gt; https://admin.fedoraproject.org/mailman/listinfo/music<br>&gt; <br>&gt; End of music Digest, Vol 44, Issue 13<br>&gt; *************************************<br>                                               <br /><hr />Get a free e-mail account with Hotmail. <a href='http://clk.atdmt.com/UKM/go/197222280/direct/01/' target='_new'>Sign-up now.</a></body>
</html>