Csound Csound-dev Csound-tekno Search About

[Csnd] re al-time performance optimization on powerbook pro....

Date2008-09-19 13:18
Frompeiman
Subject[Csnd] re al-time performance optimization on powerbook pro....
I have been thinking, in your experience what is the most reliable
platform/set-up to run csound (with blue). I'm not using csound for live
performance but I would like to have the ability to audition instruments
live as I'm composing, without getting glitches or freezes. Right now after
about 40-50 instances of an instrument that uses oscil3 x 2 (also used for
envelope control) and pretty large tables for good resolution (on csound64,
osx, powerbook pro) I get nasty glitches and have to increase buffer size up
to 4096 or more. There is no way of decreasing the number of notes as I'm
using the score for additive synthesis. Of course I understand that I'm
being demanding and again I'm not looking for realtime stability on stage,
but is there a better set-up/platform that can handle this? What is a good
buffer size setting on an osx intel laptop (I have 1GB RAM)? 

Has someone done a test as to how much RAM and what set-up is needed for x
number of high precision oscillators to run smoothly on different platforms?     

Thanks
Peiman



-- 
View this message in context: http://www.nabble.com/real-time-performance-optimization-on-powerbook-pro....-tp19571293p19571293.html
Sent from the Csound - General mailing list archive at Nabble.com.


Date2008-09-19 17:32
From"Brian Redfern"
Subject[Csnd] Re: re al-time performance optimization on powerbook pro....
AttachmentsNone  None  

Date2008-09-19 17:38
From"peiman khosravi"
Subject[Csnd] Re: Re: re al-time performance optimization on powerbook pro....
AttachmentsNone  None  

Date2008-09-19 17:47
From"Brian Redfern"
Subject[Csnd] Re: Re: Re: re al-time performance optimization on powerbook pro....
AttachmentsNone  None  

Date2008-09-19 19:00
From"Andres Cabrera"
Subject[Csnd] Re: Re: Re: re al-time performance optimization on powerbook pro....
AttachmentsNone  

Date2008-09-19 19:06
From"peiman khosravi"
Subject[Csnd] Re: Re: Re: Re: re al-time performance optimization on powerbook pro....
AttachmentsNone  None  

Date2008-09-19 19:07
From"peiman khosravi"
Subject[Csnd] Re: Re: Re: Re: re al-time performance optimization on powerbook pro....
AttachmentsNone  None  

Date2008-09-19 19:20
FromkCk
Subject[Csnd] Re: Re: re al-time performance optimization on powerbook pro....


peiman wrote:
> 
>  It would be nice to be able to run osx in unix mode without the desktop
> though!!!
> 
you could try logging in as ">console". i have not tried this but have heard
that it works with some versions of OSX.  if you only need the command line
for what you are doing this should give you more resources. 
later.
kurt
-- 
View this message in context: http://www.nabble.com/real-time-performance-optimization-on-powerbook-pro....-tp19571293p19577282.html
Sent from the Csound - General mailing list archive at Nabble.com.


Date2008-09-20 01:55
Frompeiman khosravi
Subject[Csnd] Re: Re: Re: re al-time performance optimization on powerbook pro....
Hi

I tried this once but the problem is that it doesn't support any  
graphics at all. So I won't be able to run blue or even a text editor  
(as far as I know anyway). I'm just downloading this:
http://code.goto10.org/projects/puredyne/

Looks very very exiting!! You can run it from  USB key as well which  
if it works will be awesome. Next have to see if blue is installable  
on it!

Best
Peiman

On 19 Sep 2008, at 19:20, kCk wrote:

>
>
>
> peiman wrote:
>>
>>  It would be nice to be able to run osx in unix mode without the  
>> desktop
>> though!!!
>>
> you could try logging in as ">console". i have not tried this but  
> have heard
> that it works with some versions of OSX.  if you only need the  
> command line
> for what you are doing this should give you more resources.
> later.
> kurt
> -- 
> View this message in context: http://www.nabble.com/real-time- 
> performance-optimization-on-powerbook-pro....-tp19571293p19577282.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
> "unsubscribe csound"


Date2008-09-20 02:01
From"Brian Redfern"
Subject[Csnd] Re: Re: Re: Re: re al-time performance optimization on powerbook pro....
AttachmentsNone  None  

Date2008-09-20 02:10
From"Andres Cabrera"
Subject[Csnd] Re: Re: Re: Re: re al-time performance optimization on powerbook pro....
AttachmentsNone  

Date2008-09-20 02:22
Frompeiman khosravi
Subject[Csnd] Re: Re: Re: Re: Re: re al-time performance optimization on powerbook pro....
OK I just tried the top command (btw I didn't know about it, great command!).

When running csound with blue, the only other programme that is using significant CPU is java actually, but only about 5%. At the point where csound glitches csound's usage suddenly goes up to over 90% CPU. So it seems like I need more ram! I'm surprised at how much CPU firefox is using (just tried it as a test), up to 29%! Not surprising then that when I have the manual page open csound performs so much worst!

I'll do more tests in the morning...

Thanks
Peiman 
 
On 20 Sep 2008, at 02:01, Brian Redfern wrote:

Yeah I don't think that's the issue so much as something else messing with your sound performance, what I would do is run the 'top" command from the bash shell and see what is taking all the resources, then you can see if something else is stealing your cpu away from csound.

On Fri, Sep 19, 2008 at 5:55 PM, peiman khosravi <peimankhosravi@gmail.com> wrote:
Hi

I tried this once but the problem is that it doesn't support any graphics at all. So I won't be able to run blue or even a text editor (as far as I know anyway). I'm just downloading this:
http://code.goto10.org/projects/puredyne/

Looks very very exiting!! You can run it from  USB key as well which if it works will be awesome. Next have to see if blue is installable on it!

Best
Peiman


On 19 Sep 2008, at 19:20, kCk wrote:




peiman wrote:

 It would be nice to be able to run osx in unix mode without the desktop
though!!!

you could try logging in as ">console". i have not tried this but have heard
that it works with some versions of OSX.  if you only need the command line
for what you are doing this should give you more resources.
later.
kurt
--
View this message in context: http://www.nabble.com/real-time-performance-optimization-on-powerbook-pro....-tp19571293p19577282.html
Sent from the Csound - General mailing list archive at Nabble.com.



Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"



Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"



Date2008-09-20 02:26
Frompeiman khosravi
Subject[Csnd] Re: Re: Re: Re: Re: re al-time performance optimization on powerbook pro....
Mmmmm looks good (for the future!). http://code.goto10.org/projects/ 
puredyne/wiki/DocInstallingSoftware


On 20 Sep 2008, at 02:10, Andres Cabrera wrote:

> I'd like to know if it works... Blue should work after you insall
> java. Not sure how you would make installations persistent, but there
> should be a way.
>
> Cheers,
> Andrés
>
> On Fri, Sep 19, 2008 at 7:55 PM, peiman khosravi
>  wrote:
>> Hi
>>
>> I tried this once but the problem is that it doesn't support any  
>> graphics at
>> all. So I won't be able to run blue or even a text editor (as far  
>> as I know
>> anyway). I'm just downloading this:
>> http://code.goto10.org/projects/puredyne/
>>
>> Looks very very exiting!! You can run it from  USB key as well  
>> which if it
>> works will be awesome. Next have to see if blue is installable on it!
>>
>> Best
>> Peiman
>>
>> On 19 Sep 2008, at 19:20, kCk wrote:
>>
>>>
>>>
>>>
>>> peiman wrote:
>>>>
>>>>  It would be nice to be able to run osx in unix mode without the  
>>>> desktop
>>>> though!!!
>>>>
>>> you could try logging in as ">console". i have not tried this but  
>>> have
>>> heard
>>> that it works with some versions of OSX.  if you only need the  
>>> command
>>> line
>>> for what you are doing this should give you more resources.
>>> later.
>>> kurt
>>> --
>>> View this message in context:
>>> http://www.nabble.com/real-time-performance-optimization-on- 
>>> powerbook-pro....-tp19571293p19577282.html
>>> Sent from the Csound - General mailing list archive at Nabble.com.
>>>
>>>
>>>
>>> Send bugs reports to this list.
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
>>> "unsubscribe
>>> csound"
>>
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
>> "unsubscribe
>> csound"
>>
>
>
>
> -- 
>
>
> Andrés
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
> "unsubscribe csound"



Date2008-09-20 07:48
From"Brian Redfern"
Subject[Csnd] Re: Re: Re: Re: Re: Re: re al-time performance optimization on powerbook pro....
AttachmentsNone  None  

Date2008-09-20 15:03
From"peiman khosravi"
Subject[Csnd] Re: Re: Re: Re: Re: Re: Re: re al-time performance optimization on powerbook pro....
AttachmentsNone  None  

Date2008-09-22 08:41
From"Steven Yi"
Subject[Csnd] Re: Re: Re: Re: Re: Re: Re: Re: re al-time performance optimization on powerbook pro....
AttachmentsNone  

Date2008-09-22 14:38
Frompeiman
Subject[Csnd] Re: Re: Re: Re: Re: Re: Re: Re: re al-time performance optimization on powerbook pro....
Thanks Steven,

In fact most of my problem is solved by using the freeze option in blue!
Ones happy with something I simply convert it to poly and freeze it, then I
can start adding other layers... Great feature!

Best

Peiman 

 

Steven Yi wrote:
> 
> Hi Peiman,
> 
> I just got back from a trip and caught up with this thread.  One thing
> to note is that when using blue with the API on Linux, it is unstable
> and in some cases unusable.  This is not limited to just blue and the
> API, as I know that this has been experienced with AVSynthesis.  Now
> that I"m back from my trip I will continue to explore to find the
> cause of this instability.
> 
> steven
> 
> On Sat, Sep 20, 2008 at 7:03 AM, peiman khosravi
>  wrote:
>> OK right now I'm using the live DVD puredyne. It comes with csound64 and
>> pd
>> pre-installed. I couldn't get the sound to work properly on my mac but on
>> the PC it seems fine.
>>
>> Best
>> Peiman
>>
>> 2008/9/20 Brian Redfern 
>>>
>>> yeah top is great for seeing exactly what is happening "behind the
>>> scenes"
>>> on the mac.
>>>
>>> On Fri, Sep 19, 2008 at 6:22 PM, peiman khosravi
>>>  wrote:
>>>>
>>>> OK I just tried the top command (btw I didn't know about it, great
>>>> command!).
>>>> When running csound with blue, the only other programme that is
>>>> using significant CPU is java actually, but only about 5%. At the point
>>>> where csound glitches csound's usage suddenly goes up to over 90% CPU.
>>>> So it
>>>> seems like I need more ram! I'm surprised at how much CPU firefox is
>>>> using
>>>> (just tried it as a test), up to 29%! Not surprising then that when I
>>>> have
>>>> the manual page open csound performs so much worst!
>>>> I'll do more tests in the morning...
>>>> Thanks
>>>> Peiman
>>>>
>>>> On 20 Sep 2008, at 02:01, Brian Redfern wrote:
>>>>
>>>> Yeah I don't think that's the issue so much as something else messing
>>>> with your sound performance, what I would do is run the 'top" command
>>>> from
>>>> the bash shell and see what is taking all the resources, then you can
>>>> see if
>>>> something else is stealing your cpu away from csound.
>>>>
>>>> On Fri, Sep 19, 2008 at 5:55 PM, peiman khosravi
>>>>  wrote:
>>>>>
>>>>> Hi
>>>>>
>>>>> I tried this once but the problem is that it doesn't support any
>>>>> graphics at all. So I won't be able to run blue or even a text editor
>>>>> (as
>>>>> far as I know anyway). I'm just downloading this:
>>>>> http://code.goto10.org/projects/puredyne/
>>>>>
>>>>> Looks very very exiting!! You can run it from  USB key as well which
>>>>> if
>>>>> it works will be awesome. Next have to see if blue is installable on
>>>>> it!
>>>>>
>>>>> Best
>>>>> Peiman
>>>>>
>>>>> On 19 Sep 2008, at 19:20, kCk wrote:
>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> peiman wrote:
>>>>>>>
>>>>>>>  It would be nice to be able to run osx in unix mode without the
>>>>>>> desktop
>>>>>>> though!!!
>>>>>>>
>>>>>> you could try logging in as ">console". i have not tried this but
>>>>>> have
>>>>>> heard
>>>>>> that it works with some versions of OSX.  if you only need the
>>>>>> command
>>>>>> line
>>>>>> for what you are doing this should give you more resources.
>>>>>> later.
>>>>>> kurt
>>>>>> --
>>>>>> View this message in context:
>>>>>> http://www.nabble.com/real-time-performance-optimization-on-powerbook-pro....-tp19571293p19577282.html
>>>>>> Sent from the Csound - General mailing list archive at Nabble.com.
>>>>>>
>>>>>>
>>>>>>
>>>>>> Send bugs reports to this list.
>>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>>> "unsubscribe csound"
>>>>>
>>>>>
>>>>>
>>>>> Send bugs reports to this list.
>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>> "unsubscribe
>>>>> csound"
>>>>
>>>>
>>>
>>
>>
> 
> 
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
> 
> 

-- 
View this message in context: http://www.nabble.com/real-time-performance-optimization-on-powerbook-pro....-tp19571293p19608131.html
Sent from the Csound - General mailing list archive at Nabble.com.