Here it works:<br>$ pd -nosleep<br>Gives one of the CPU's 100% load fulltime. No need to run in root for this. My startup alredy boots pd with -rt flag and I have the limits.conf tuned as reported on the wiki/documentation.<br>
<br>The system is:<br>$ Linux 2.6.31-9-rt #152-Ubuntu SMP PREEMPT RT Thu Oct 15 05:01:14 UTC 2009 i686 GNU/Linux<br>(Ubuntu 9.10 rt)<br>(The CPU is a <em>AMD</em> Turion 64 X2 TL-60.)<br><br><div class="gmail_quote">On Fri, May 7, 2010 at 8:31 AM, Ingo Scherzinger <span dir="ltr"><<a href="mailto:ingo@miamiwave.com">ingo@miamiwave.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Well, I tried running Pd both as a normal user (with realtime rights) and<br>
root (from the console). In either case case the gnome-system-monitor said<br>
"sleeping" unless I went over 50% CPU usage for a moment with that<br>
particular pd patch.<br>
I'm using an AMD Athlon II X2 250 dual core with 3.0 GHz.<br>
<br>
Ingo<br>
<br>
> -----Ursprüngliche Nachricht-----<br>
> Von: Miller Puckette [mailto:<a href="mailto:mpuckett@imusic1.ucsd.edu">mpuckett@imusic1.ucsd.edu</a>]<br>
> Gesendet: Freitag, 7. Mai 2010 05:31<br>
> An: Ingo Scherzinger<br>
> Cc: 'pd-list'<br>
> Betreff: Re: [PD] -nosleep flag not doing anything? (Ubuntu 10.4 -<br>
Pd-extended<br>
> 0.42.5)<br>
<div><div></div><div class="h5">><br>
> Hi Ingo,<br>
><br>
> I've tested this on linux (although not recently) and it seemed to work.<br>
> Naturally, you need at least a 2-processor machine, otherwise the machine<br>
> will freeze.<br>
><br>
> Should theoretically work on Mac too, but I don't have any 2+-processor<br>
> mac to try it on. Probably does nothing on windows.<br>
><br>
> cheers<br>
> Miller<br>
><br>
> On Thu, May 06, 2010 at 08:13:43PM +0200, Ingo Scherzinger wrote:<br>
> > I just noticed that the -nosleep flag dosn't seem to do anything. When I<br>
> > take a look at the system monitor it says about pd "sleeping" until I do<br>
> > something. Even while doing some "light" things it keeps saying<br>
"sleeping".<br>
> > Is there any condition I have to set in the system to recognise the<br>
> > -nosleep flag. Realtime is turned on. I had to change some audio<br>
properties<br>
> > to be able to use -rt without being root. Is there something similar<br>
about<br>
> > "-nosleep"? Does the "-nosleep" flag actually help anything? Especially<br>
when<br>
> > the system load gets heavy?<br>
> ><br>
> ><br>
> ><br>
> > Ingo<br>
> ><br>
><br>
> > _______________________________________________<br>
> > <a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
> > UNSUBSCRIBE and account-management -><br>
<a href="http://lists.puredata.info/listinfo/pd-" target="_blank">http://lists.puredata.info/listinfo/pd-</a><br>
> list<br>
<br>
<br>
_______________________________________________<br>
<a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Pedro Lopes<br>contacto: <a href="mailto:jazz@radiozero.pt">jazz@radiozero.pt</a><br>website: <a href="http://web.ist.utl.pt/Pedro.Lopes">http://web.ist.utl.pt/Pedro.Lopes</a> <br>