[Asterisk-Users] learning from the audio folks

Kevin Walsh kevin at cursor.biz
Sat Jul 31 18:15:56 MST 2004


Florin Andrei [florin at andrei.myip.org] wrote:
> On Sat, 2004-07-31 at 12:27, Florin Andrei wrote:
> > - if Asterisk doesn't already do that (correct me if i'm wrong), does it
> > make sense to make it run with real-time privileges, just like JACK? (i
> > have no idea how JACK accomplishes that, to me it's just a command-line
> > option that makes it a lot more reliable)
> >
> I mean, a la SCHED_FIFO:
> 
Asterisk will use SCHED_RR if you use the "-p" switch upon startup.
SCHED_RR is an enhancement to SCHED_FIFO, as explained in the
sched_setscheduler(2) manual page.

The other patches you mentioned, in your previous article, are mostly
included in Linux 2.6.  Linux 2.6 is clearly far superior to 2.4,
especially for the purposes of applications such as Asterisk.

-- 
   _/   _/  _/_/_/_/  _/    _/  _/_/_/  _/    _/
  _/_/_/   _/_/      _/    _/    _/    _/_/  _/   K e v i n   W a l s h
 _/ _/    _/          _/ _/     _/    _/  _/_/    kevin at cursor.biz
_/   _/  _/_/_/_/      _/    _/_/_/  _/    _/




More information about the asterisk-users mailing list