Here it works:
$ pd -nosleep
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.

The system is:
$ Linux 2.6.31-9-rt #152-Ubuntu SMP PREEMPT RT Thu Oct 15 05:01:14 UTC 2009 i686 GNU/Linux
(Ubuntu 9.10 rt)
(The CPU is a AMD Turion 64 X2 TL-60.)

On Fri, May 7, 2010 at 8:31 AM, Ingo Scherzinger <ingo@miamiwave.com> wrote:
Well, I tried running Pd both as a normal user (with realtime rights) and
root (from the console). In either case case the gnome-system-monitor said
"sleeping" unless I went over 50% CPU usage for a moment with that
particular pd patch.
I'm using an AMD Athlon II X2 250 dual core with 3.0 GHz.

Ingo

> -----Ursprüngliche Nachricht-----
> Von: Miller Puckette [mailto:mpuckett@imusic1.ucsd.edu]
> Gesendet: Freitag, 7. Mai 2010 05:31
> An: Ingo Scherzinger
> Cc: 'pd-list'
> Betreff: Re: [PD] -nosleep flag not doing anything? (Ubuntu 10.4 -
Pd-extended
> 0.42.5)
>
> Hi Ingo,
>
> I've tested this on linux (although not recently) and it seemed to work.
> Naturally, you need at least a 2-processor machine, otherwise the machine
> will freeze.
>
> Should theoretically work on Mac too, but I don't have any 2+-processor
> mac to try it on.  Probably does nothing on windows.
>
> cheers
> Miller
>
> On Thu, May 06, 2010 at 08:13:43PM +0200, Ingo Scherzinger wrote:
> > I just noticed that the -nosleep flag dosn't seem to do anything. When I
> > take a look at the system monitor it says about pd "sleeping" until I do
> > something. Even while doing some "light" things it keeps saying
"sleeping".
> > Is there any condition I have to set in the system to recognise the
> > -nosleep flag. Realtime is turned on. I had to change some audio
properties
> > to be able to use -rt without being root. Is there something similar
about
> > "-nosleep"? Does the "-nosleep" flag actually help anything? Especially
when
> > the system load gets heavy?
> >
> >
> >
> > Ingo
> >
>
> > _______________________________________________
> > Pd-list@iem.at mailing list
> > UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-
> list


_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list



--
Pedro Lopes
contacto: jazz@radiozero.pt
website: http://web.ist.utl.pt/Pedro.Lopes