[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sc-users] Allocating large memsize (in server.options)
> also - the large scale things you do, is there not a way to do smaller chunks that you can mix together? Just wondering if it might make things easier for you in the end.
yes, I can break down my process into several chunks. I'm hesitant to
do that because my GUI and associated spatial processing is already
phenomenally complex ... and adding more steps will frustrate.
There's also that issue of the gap between trial & analysis .... you
know ... try an idea, listen, accept or reject it, try an other idea
etc. As it stands my process is 'try an idea' ... 'wait for a couple
of hours' ... 'listen' ... 'try to remember what it was I did' ...
'accept/reject' .... if you get my drift.... which is why I was so
keen to get Supernova running (on a 16 CPU machine I have access to).
I can also try reducing the number of early reflections I am modelling.
Etienne
> Best,
>
> Josh
>
> On Sep 22, 2010, at 7:29 PM, e deleflie wrote:
>
>> Josh,
>>
>> I just noticed that I was setting the memory allocations twice in my
>> code (I had one part of my GUI externalised as an independent tool).
>> Anyway ... when I fix that ... I can now successfully allocate 2 Gigs
>> when I use local. Still get a crash when I use Internal. Unfortunately
>> ... the 2Gig is still not enough!
>>
>>> it would mean it is allocated dynamically and should just cause a failed allocation (rather then a crash). Also - DelayL (and their ilk) round up to the next power of two. Allocating otherwise doesn't (I believe).
>>
>> ah, OK ... that may make a significant different because I am
>> allocating several thousand buffers. Trying now.
>>
>> Etienne
>>
>> On Thu, Sep 23, 2010 at 12:17 PM, Josh Parmenter <josh@xxxxxxxxxxxxxxxxx> wrote:
>>> can you try it without Jack and see if that makes a difference?
>>>
>>> Josh
>>>
>>> On Sep 22, 2010, at 7:15 PM, e deleflie wrote:
>>>
>>>> Josh,
>>>>
>>>> I am on OSX. scserver ... (not Supernova). When I execute the
>>>> following manually, I get no crash.
>>>>
>>>> Server.default = Server.local;
>>>> s = Server.default;
>>>> s.options.device="JackRouter";
>>>> s.options.sampleRate = 48000.0;
>>>> s.options.numOutputBusChannels = 16;
>>>> s.options.maxNodes = 65536;
>>>> s.options.memSize = 2097152; // 1048576
>>>> s.options.maxSynthDefs = 16384;
>>>> s.options.numAudioBusChannels = 7200;
>>>> s.boot;
>>>>
>>>> However, when those lines are executed within the context of my
>>>> (complex) app, I get a crash with no error reporting whatsoever.
>>>> Unless I half the memSize.
>>>>
>>>>> you have sounds moving over half a mile???
>>>>
>>>> no, only over around 300m ... but the 2nd and 3rd bounce reflections
>>>> on walls means that distances can easily blow out to over 1km.
>>>>
>>>>> That's a lot of delay time.
>>>>
>>>> yes.
>>>>
>>>> Etienne
>>>>
>>>>> Josh
>>>>>
>>>>> On Sep 22, 2010, at 7:03 PM, e deleflie wrote:
>>>>>
>>>>>>> What processing are you doing?
>>>>>>
>>>>>> I have 400 moving sound sources ... each with 7 reflections on walls.
>>>>>> (i.e. 3200 sounds). Each sound uses a DelayL to simulate Doppler
>>>>>> shifts. (Each DelayL uses about 2 or 3 seconds of buffer).
>>>>>>
>>>>>> Etienne
>>>>>>
>>>>>>> hjh
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> James Harkins /// dewdrop world
>>>>>>> jamshark70@xxxxxxxxxxxxxxxxx
>>>>>>> http://www.dewdrop-world.net
>>>>>>>
>>>>>>> "Come said the Muse,
>>>>>>> Sing me a song no poet has yet chanted,
>>>>>>> Sing me the universal." -- Whitman
>>>>>>>
>>>>>>> blog: http://www.dewdrop-world.net/words
>>>>>>> audio clips: http://www.dewdrop-world.net/audio
>>>>>>> more audio: http://soundcloud.com/dewdrop_world/tracks
>>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> sc-users mailing list
>>>>>>
>>>>>> info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
>>>>>> archive: https://listarc.bham.ac.uk/marchives/sc-users/
>>>>>> search: https://listarc.bham.ac.uk/lists/sc-users/search/
>>>>>
>>>>> ******************************************
>>>>> /* Joshua D. Parmenter
>>>>> http://www.realizedsound.net/josh/
>>>>>
>>>>> “Every composer – at all times and in all cases – gives his own interpretation of how modern society is structured: whether actively or passively, consciously or unconsciously, he makes choices in this regard. He may be conservative or he may subject himself to continual renewal; or he may strive for a revolutionary, historical or social palingenesis." - Luigi Nono
>>>>> */
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> sc-users mailing list
>>>>>
>>>>> info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
>>>>> archive: https://listarc.bham.ac.uk/marchives/sc-users/
>>>>> search: https://listarc.bham.ac.uk/lists/sc-users/search/
>>>>>
>>>>
>>>> _______________________________________________
>>>> sc-users mailing list
>>>>
>>>> info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
>>>> archive: https://listarc.bham.ac.uk/marchives/sc-users/
>>>> search: https://listarc.bham.ac.uk/lists/sc-users/search/
>>>
>>> ******************************************
>>> /* Joshua D. Parmenter
>>> http://www.realizedsound.net/josh/
>>>
>>> “Every composer – at all times and in all cases – gives his own interpretation of how modern society is structured: whether actively or passively, consciously or unconsciously, he makes choices in this regard. He may be conservative or he may subject himself to continual renewal; or he may strive for a revolutionary, historical or social palingenesis." - Luigi Nono
>>> */
>>>
>>>
>>> _______________________________________________
>>> sc-users mailing list
>>>
>>> info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
>>> archive: https://listarc.bham.ac.uk/marchives/sc-users/
>>> search: https://listarc.bham.ac.uk/lists/sc-users/search/
>>>
>>
>> _______________________________________________
>> sc-users mailing list
>>
>> info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
>> archive: https://listarc.bham.ac.uk/marchives/sc-users/
>> search: https://listarc.bham.ac.uk/lists/sc-users/search/
>
> ******************************************
> /* Joshua D. Parmenter
> http://www.realizedsound.net/josh/
>
> “Every composer – at all times and in all cases – gives his own interpretation of how modern society is structured: whether actively or passively, consciously or unconsciously, he makes choices in this regard. He may be conservative or he may subject himself to continual renewal; or he may strive for a revolutionary, historical or social palingenesis." - Luigi Nono
> */
>
>
> _______________________________________________
> sc-users mailing list
>
> info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
> archive: https://listarc.bham.ac.uk/marchives/sc-users/
> search: https://listarc.bham.ac.uk/lists/sc-users/search/
>
_______________________________________________
sc-users mailing list
info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/