From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 03:41:33 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8BB37106569F for ; Tue, 7 Oct 2008 03:41:33 +0000 (UTC) (envelope-from unga888@yahoo.com) Received: from web57003.mail.re3.yahoo.com (web57003.mail.re3.yahoo.com [66.196.97.107]) by mx1.freebsd.org (Postfix) with SMTP id 1CC4F8FC18 for ; Tue, 7 Oct 2008 03:41:32 +0000 (UTC) (envelope-from unga888@yahoo.com) Received: (qmail 59532 invoked by uid 60001); 7 Oct 2008 03:41:31 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Message-ID; b=e0Z0OWVPtItA30ttV0dLohCNV3KPi6pDeSJ8oWji3WVvPU8bn/Gt7JCJ9F/d0UOKzC11y7PxHStye93WoRKMhTqJ9QJQZigaGFNEh+Hzhw+6J6eIVzrrSpRqfz2sX7g/PQP7jGkMjnXZ/QUsJwUYzH1Snr6G/shuni92vh/P6go=; X-YMail-OSG: 8OjoUhkVM1k1D8Jr0CNAFkPgORXFQR7lgpOgKg9wXhYp3YB5uljSUsjoopnkz7rFnjEnwVsDTqNTEaozcDXHI8o53rs_yZMx.kOHS_jG8mvco1PHxV7qQ0Nj2i54nM2UIlb1gIxhtFvWTL3AGIhZJyvEt8Q- Received: from [220.255.7.193] by web57003.mail.re3.yahoo.com via HTTP; Mon, 06 Oct 2008 20:41:31 PDT X-Mailer: YahooMailWebService/0.7.218.2 Date: Mon, 6 Oct 2008 20:41:31 -0700 (PDT) From: Unga To: Wojciech Puchar In-Reply-To: <20081006221523.P3921@wojtek.tensor.gdynia.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <830154.59280.qm@web57003.mail.re3.yahoo.com> Cc: freebsd-questions@freebsd.org Subject: Re: TRUE realtime priority X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: unga888@yahoo.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 03:41:33 -0000 --- On Tue, 10/7/08, Wojciech Puchar 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