Date: Mon, 6 Oct 2008 20:41:31 -0700 (PDT) From: Unga <unga888@yahoo.com> To: Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl> Cc: freebsd-questions@freebsd.org Subject: Re: TRUE realtime priority Message-ID: <830154.59280.qm@web57003.mail.re3.yahoo.com> In-Reply-To: <20081006221523.P3921@wojtek.tensor.gdynia.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
--- On Tue, 10/7/08, Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl> wrote:
Hello Wojciech
> is it possible on FreeBSD
>
Its soft RT. Try to use the latest ULE scheduler.
> 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.
>
VM (interrupt priority) runs higher priority than RT in FreeBSD. The interrupt priority preempts RT.
To fix it, don't have any VM activity. Increase your RAM.
> 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.
>
When a postman deliver mail, do you check whether are they to you before accept or just blindly accept all and check later? :)
Best regards
Unga
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?830154.59280.qm>
