I agree with you. I think the best compromise is to use the Hard RT kernel patch on top of vanilla kernel, and have the Generic kernel for everyday usage.<br>You can choose which kernel to boot from at the beginning,<br><br>
Hard RT kernel, should be the only one to be supported, since it is the kernel that brings more benefits to audio/video production, If we spread attention with 2 more kernel flavours, no one can support it, and lets face it, abogani makes a hell of a good job, so we should simplify is life :D<br>
<br>Hard RT kernel (Ingo Molnar Patch) and an alternative (generic) for everyday usage if wanted. <br><br>I reinforce the idea, that maintaining 3 different kernels is a very difficult task to acomplish, and more with the scarce resources available (humman and finacial) let alone the spinout distros that are popping out on top of the project....<br>
<br><div class="gmail_quote">2010/9/30 Ralf Mardorf <span dir="ltr"><<a href="mailto:ralf.mardorf@alice-dsl.net">ralf.mardorf@alice-dsl.net</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><div></div><div class="h5">On Thu, 2010-09-30 at 17:45 +0200, Ralf Mardorf wrote:<br>
> Hi Ricardo :)<br>
><br>
> sorry for my broken English, especially at the moment, because I do have<br>
> an influenza.<br>
><br>
> On Thu, 2010-09-30 at 16:18 +0100, Ricardo Lameiro wrote:<br>
> > Hi Ralf,<br>
> ><br>
> > I didn't understood what did you meant with:<br>
> > > For what do multimedia users (producers, but consumers) need more,<br>
> > but<br>
> > > vanilla + rt-patch? Does somebody run a multi-user data server on<br>
> > the<br>
> > > same machine, as he is using in his audio or audio-video studio?<br>
> > This<br>
> > > would be nonsense.<br>
> ><br>
> > What would be nonsense? audio producers using hard RT preemption on<br>
> > the kernel?<br>
> > Do you think that a webserver needs more Realtime preemption than<br>
> > audio work?<br>
><br>
> No, I guess for audio and audio-video productions we only need a vanilla<br>
> + rt-patch kernel and nothing more.<br>
><br>
> Nobody should run a web-server or anything else on a DAW, so there are<br>
> no other kernel patches needed.<br>
><br>
> I'm pro PREEMPT RT and against PREEMPT only ;) or any kernel patches<br>
> that don't make sense for audio, audio-video productions.<br>
><br>
> I was asking for reasons to patch a kernel with something like a<br>
> 'generic'-patch. A DAW, resp. audio-video-MIDI workstation don't need a<br>
> special server-kernel, or desktop-kernel etc., just a vanilla kernel +<br>
> rt-patch.<br>
><br>
> Why does Ubuntu Studio comes without PREEMPT RT, but just PREEMPT?!<br>
> This is my intension.<br>
><br>
> FWIW, I'm a professional audio and video engineer and did program oldish<br>
> computers and I'm missing hard real-time for modern PCs. Even the<br>
> kernel-rt isn't able to do hard real-time, so I don't understand why<br>
> Ubuntu Studio does prefer a kernel without rt-patch. Today the rt-patch<br>
> isn't good enough<br>
<br>
</div></div>PS:<br>
<br>
Pardon, it isn't good enough for all needs, but good for a lot of needs,<br>
hence we should use the rt-patch.<br>
<div><div></div><div class="h5"><br>
> and any kernel without this patch is useless for<br>
> multimedia production.<br>
><br>
> So a misunderstanding ;)!<br>
><br>
> ><br>
> > As I see, If a webserver used a RT kernel, it would have a lot of<br>
> > problems, because it will probably lock in some tasks until they are<br>
> > finished.<br>
> ><br>
> > Audio needs a very low latency, high resolution timer etc, because the<br>
> > Interrupts given by sound cards and by audio software need to be<br>
> > addressed as fast as possible,<br>
><br>
> This is what I'm thinking off, I sometimes use the hr timer, that on<br>
> Linux still is a PITA on some machines and for some apps.<br>
><br>
> Anyway, if possible a multimedia distro should use hr timer (HPET), but<br>
> always a kernel-rt only.<br>
><br>
> > if they arent, what happens is that the audio buffers, either for the<br>
> > souncard playback, or capture will run out of data, and then the<br>
> > continuos steam of audio data will be over, and wait until receive<br>
> > more info. In a Nutshell, you LOSE audio data, and you will never get<br>
> > it back, for professional audio that is unacceptable. Also if You give<br>
> > software RT priorities, it less possible that, for instance, Ardour is<br>
> > left behind of a twitter client.... unaceptable to...<br>
> ><br>
> > I am going to make some simple math with a not so professional cenario<br>
> > to ilstrate just the data stream, not audo software CPU time.<br>
> ><br>
> ><br>
> > Recording and monitoring out 8 channels (8 in 8 out) at 48KS/s at 24<br>
> > bits<br>
> ><br>
> > 48000 * 24 = 115200 bps = 14.0625KB/s<br>
> ><br>
> > 14.0625 * 16 = 225 KB/s = 1.76MB/s<br>
> ><br>
> > Well, 1.76 MB/s is not to much really, well this calc is simple<br>
> > cenario, provided that the sound card uses real 24 bit audio data<br>
> > stream, if it used 32 bit, welll do the math.<br>
> ><br>
> > Now to a PRO setup.. 192 KS/s @ 24bits<br>
> ><br>
> > 192000 * 24 = 4608000 = 0.55 MB/s<br>
> ><br>
> > 0.55 * 16 = 8,78 MB/s<br>
> ><br>
> > 8.78 MBytes per second, not mbits, FIrewire is rated at 400 MBit per<br>
> > second... USB in practice is a lot less + Communication overhead.<br>
> ><br>
> > This is only on the Audio tranfer side, then you need to send this<br>
> > streams from each different software, make dsp calculations for<br>
> > Amplitude (volume) or mixing. This takes time.... so YES a Real time<br>
> > kernels is better for audio users than for normal users. Specially if<br>
> > you use Externals Firewire/USB card with high outputs<br>
> ><br>
> > note: this are simple calculations made fast, just to demonstrate the<br>
> > kind of stream we talk about. I assumed 24 bits, this is very rare,<br>
> > usually it goes with 32 bit, that is a lot more data to transfer.<br>
> ><br>
> > If some more explanation on why a RT kernel is prefered for audio, i<br>
> > can try to answer some more questions, i am not a pro in this tough.<br>
> ><br>
> > Ricardo Lameiro<br>
> ><br>
> > 2010/9/30 Ralf Mardorf <<a href="mailto:ralf.mardorf@alice-dsl.net">ralf.mardorf@alice-dsl.net</a>><br>
> ><br>
> > On Thu, 2010-09-30 at 16:38 +0200, Ralf Mardorf wrote:<br>
> > > On Thu, 2010-09-30 at 07:35 -0400, Ronan Jouchet wrote:<br>
> > > > Hello everybody,<br>
> > > ><br>
> > > > Many are confused about the various realtime kernels, so<br>
> > here is a<br>
> > > > reminder of the situation as of Sept. 2010 (but _please_<br>
> > see<br>
> > > ><br>
> > <a href="https://help.ubuntu.com/community/UbuntuStudio/RealTimeKernel" target="_blank">https://help.ubuntu.com/community/UbuntuStudio/RealTimeKernel</a> , which is<br>
> > > > more detailed and continuously updated).<br>
> > > ><br>
> > > > ***Summary***<br>
> > > > vanilla = unpatched kernel straight from <a href="http://kernel.org" target="_blank">kernel.org</a><br>
> > > > generic = vanilla + ubuntu sauce (it's the default ubuntu<br>
> > kernel)<br>
> > > ><br>
> > > > The *soft realtime kernels, prepared by changing<br>
> > build-time parameters*<br>
> > > > preempt = generic + mild configuration to reduce<br>
> > latency<br>
> > > > lowlatency = generic + aggressive configuration to<br>
> > reduce latency<br>
> > > ><br>
> > > > The *hard realtime kernels, prepared by applying a big<br>
> > patch* from Ingo<br>
> > > > Molnar to the kernel source before building:<br>
> > > > realtime = vanilla + patch (hard to maintain and<br>
> > stabilize because<br>
> > > > merging 2 pieces of code is never easy)<br>
> > > > rt = generic + patch (even harder to maintain and<br>
> > stabilize because<br>
> > > > merging 3 pieces of code is harder than 2)<br>
> > > ><br>
> > > > ***Availability***<br>
> > > > - for Maverick, generic will be the only kernel in the<br>
> > archives, thus<br>
> > > > the default kernel for ubuntu and ubuntustudio, but<br>
> > Alessio has been<br>
> > > > maintaining a PPA providing lowlatency and realtime<br>
> > > > - for Natty or later: work is being done to include<br>
> > lowlatency in the<br>
> > > > official archives and make it the default ubuntustudio<br>
> > kernel<br>
> > > ><br>
> > > > I hope this clears some doubts. By the way, this confusion<br>
> > is only going<br>
> > > > to get more intense at release time (less informed /<br>
> > technical users).<br>
> > > > Could we include some kind of note informing users about<br>
> > this? Why not a<br>
> > > > "RealTime kernel help" item in the Audio Production menu,<br>
> > redirecting to<br>
> > > > the wiki page?<br>
> > > ><br>
> > > > Good day,<br>
> > > ><br>
> > > > -- Ronan Jouchet<br>
> > ><br>
> ><br>
> > ><br>
> > > 2 cents,<br>
> > > Ralf<br>
> ><br>
> ><br>
> > PS: Ok, on 32-bit architecture some might need support for<br>
> > large RAM in<br>
> > addition, this might be an additional patch, hat's not needed<br>
> > on 64-bit<br>
> > architecture.<br>
> ><br>
> ><br>
> ><br>
> > --<br>
> > Ubuntu-Studio-users mailing list<br>
> > <a href="mailto:Ubuntu-Studio-users@lists.ubuntu.com">Ubuntu-Studio-users@lists.ubuntu.com</a><br>
> > Modify settings or unsubscribe at:<br>
> > <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users</a><br>
> ><br>
> ><br>
> ><br>
> ><br>
> > --<br>
> > Fagote / Contrafagote<br>
> > Bassoon / Contra-bassoon<br>
> > <a href="http://myspace.com/ricardolameiro" target="_blank">http://myspace.com/ricardolameiro</a><br>
><br>
<br>
<br>
<br>
--<br>
Ubuntu-Studio-users mailing list<br>
<a href="mailto:Ubuntu-Studio-users@lists.ubuntu.com">Ubuntu-Studio-users@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Fagote / Contrafagote<br>Bassoon / Contra-bassoon<br><a href="http://myspace.com/ricardolameiro">http://myspace.com/ricardolameiro</a><br>