Date: Mon, 6 Oct 2008 22:21:01 +0200 (CEST) From: Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl> To: freebsd-questions@freebsd.org Subject: TRUE realtime priority Message-ID: <20081006221523.P3921@wojtek.tensor.gdynia.pl>
next in thread | raw e-mail | index | archive | help
is it possible on FreeBSD i run asterisk with realtime priority. it works perfectly no matter how much CPU is loaded by other non-telephony tasks. but with lots of VM pressure it starts to so... like like tha..that... what causes it to behave like that and how to fix it. for example when lots of spam comes to server and lots of resource hungry spamassassin processes are spawned our calls starts to be crappy. CPU load for asterisk rarely exceed few percent! i think having separate computer just for this is stupid, i would do this having no other choice, but can it be done without this. realtime priority is realtime priority anyway - it should work. i understand that asterisk may stall requesting memory when VM pressure is high, but asterisk's thread that processes already set-up call - just moving voicepackets in and out - it doesn't need to allocate more memory so why it's stalled? any network problems are eliminated, the effect happens even with 2 local phones.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081006221523.P3921>