Re: [Bluemusic-users] feature request?
Brought to you by:
kunstmusik
From: Steven Y. <ste...@gm...> - 2006-07-17 18:38:03
|
Hi Hector, Sorry I got confused, should I go ahead an implement your original request? If so, I am wondering if it is better to present something like "Priority: " with a number box and just use chrt to make it easier for all linux (and osx?) users to do, or maybe it'd just be more flexible if I did it as a generic "run this command after starting csound"? steven On 7/17/06, Hector Centeno-Garcia <h.c...@sy...> wrote: > The problem with --sched is that I need to run everything as root. Also > I tried and for some reason I wasn't able to get any sound output from > Csound . Also I use other programs at the same time (ardour and > rosegarden) and trying to run everything as root makes things a little > bit complicated regarding the file administration. I'm not very > knowledgeable about the way thread priorities work in Linux, but, > shouldn't be possible to use the --sched option when your system and > kernel are enabled to allow users to create realtime threads? (like when > you use the realtime-lsm patch or the rlimits aware PAM) Maybe this is a > request for the Csound team. > > Thanks Steven! > > > Hector. > > Steven Yi wrote: > > Hi Hector, > > > > I could add this but what about using --sched with different priorities? > > > > --sched=N > > Linux only. Same as --sched, but allows specifying a priority value: > > if N is positive (in the range 1 to 99) the scheduling policy SCHED_RR > > will be used with a priority of N; otherwise, SCHED_OTHER is used with > > the nice level set to N. Can also be used in the format > > --sched=N,MAXCPU,TIME to enable the use of a "watchdog" thread that > > terminates Csound if the average CPU usage exceeds MAXCPU percents > > over a peroid of TIME seconds (new in Csound 5.00). > > > > Not sure if that'll do the same thing as chrt, but didn't know if you > > gave it a try already or not. If so, I'll see if I can put that > > feature in. > > > > steven > > > > > > On 7/16/06, Hector Centeno-Garcia <h.c...@sy...> wrote: > > > >> Steven, > >> > >> > >> I don't know if this would be a feature request because maybe it is > >> already possible to do and I don't know who to do it. I would like to be > >> able to execute a command always right after starting csound. This is > >> because I always need to set the csound thread to a higher priority in > >> order to no get clicks and cracks while something changes graphically. > >> Usually I perform the command chrt -f -p 50 `pidof "csound"` So I was > >> wondering if you could add a field in the configuration panel to enter > >> csound post-run commands to be executed when rendering realtime. I > >> couldn't find a way of doing this outside of Blue, something like > >> configuring a binary to always execute with certain priority. > >> > >> Thank you! > >> > >> > >> Hector > >> > >> > >> > >> ------------------------------------------------------------------------- > >> Using Tomcat but need to do more? Need to support web services, security? > >> Get stuff done quickly with pre-integrated technology to make your job easier > >> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > >> _______________________________________________ > >> Bluemusic-users mailing list > >> Blu...@li... > >> https://lists.sourceforge.net/lists/listinfo/bluemusic-users > >> > >> > > > > > > ------------------------------------------------------------------------- > > Using Tomcat but need to do more? Need to support web services, security? > > Get stuff done quickly with pre-integrated technology to make your job easier > > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > > Bluemusic-users mailing list > > Blu...@li... > > https://lists.sourceforge.net/lists/listinfo/bluemusic-users > > > > > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Bluemusic-users mailing list > Blu...@li... > https://lists.sourceforge.net/lists/listinfo/bluemusic-users > |