Re: [Asterisk-Users] real-time priority , -p switch

2005-08-13 Thread Tzafrir Cohen
On Fri, Aug 12, 2005 at 09:47:21AM -0600, Joseph wrote: Though is the way to verify that asterisk is running with -p switch? If Asterisk has failed to get real-time priority it should print an appropriate error message and exit. I've modified the startup script to start asterisk with -p;

Re: [Asterisk-Users] real-time priority , -p switch

2005-08-12 Thread Peter Svensson
On Thu, 11 Aug 2005, Joseph wrote: In this case could somebody explain to me why run asterisk with ''-p switch? According to asterisk man explanation for -p is as follow: If supported by the operating system (and executing as root), attempt to run with realtime priority for increased

Re: [Asterisk-Users] real-time priority , -p switch

2005-08-12 Thread Joseph
On Fri, 2005-08-12 at 08:26 +0200, Peter Svensson wrote: Since Linux is not RTOS, why some folks are using this -p switch? It has no effect on standard Linux box. Linux is not a hard realtime os with guaranteed timing. What the -p flag does is to request the realtime scheduler. This

Re: [Asterisk-Users] real-time priority , -p switch

2005-08-11 Thread Joseph
In this case could somebody explain to me why run asterisk with ''-p switch? According to asterisk man explanation for -p is as follow: If supported by the operating system (and executing as root), attempt to run with realtime priority for increased performance and responsiveness within the