TRUE realtime priority

Wojciech Puchar wojtek at wojtek.tensor.gdynia.pl
Mon Oct 6 20:41:31 UTC 2008


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.


More information about the freebsd-questions mailing list