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
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
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
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
It's posible the difference is in the choice of audio API (oss vs. alsa) or something like that -- "nosleep" prevents Pd from explicitly sleeping but sometimes transferring data to DACs blocks the process.
cheers Miller
On Fri, May 07, 2010 at 03:36:33PM +0100, Pedro Lopes wrote:
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
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Yes, exactly! Oss doesn't seem to accept the -nosleep flag. When using alsa it works. However, using oss without the -rt and -nosleep flags gives me about the same or even slightly better performance than using alsa with these flags active. Looks like oss has some different internal system priorities compared to alsa.
Anyway, thank you - it's doing something now! Ingo
It's posible the difference is in the choice of audio API (oss vs. alsa) or something like that -- "nosleep" prevents Pd from explicitly sleeping but sometimes transferring data to DACs blocks the process.
cheers Miller
On Fri, May 07, 2010 at 03:36:33PM +0100, Pedro Lopes wrote:
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
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-
list
Quoting Miller:
Should theoretically work on Mac too, but I don't have any 2+-processor mac to try it on. Probably does nothing on windows.
In Windows XP SP3, 32 bit, using the following puredata:
D:\XP32\Program Files\pd\bin>pd -version Pd version 0.41-4extended compiled 03:33:30 Jun 4 2009
The -nosleep fills one CPU entirely. So seems to be working. The system is the same I've reported above for Ubuntu 9.10.