From owner-freebsd-questions@FreeBSD.ORG Mon Feb 14 17:06:44 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2E57616A4CE for ; Mon, 14 Feb 2005 17:06:44 +0000 (GMT) Received: from smtp109.mail.sc5.yahoo.com (smtp109.mail.sc5.yahoo.com [66.163.170.7]) by mx1.FreeBSD.org (Postfix) with SMTP id DC29A43D2D for ; Mon, 14 Feb 2005 17:06:43 +0000 (GMT) (envelope-from kaeru@jaring.my) Received: from unknown (HELO wolverine.cerebro.net.my) (khairil?yusof@219.95.129.69 with plain) by smtp109.mail.sc5.yahoo.com with SMTP; 14 Feb 2005 17:06:43 -0000 From: Khairil Yusof To: mats.lindberg@se.transport.bombardier.com In-Reply-To: References: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-ikMj7/6kf9gJUv6NLlj+" Date: Tue, 15 Feb 2005 01:07:15 +0800 Message-Id: <1108400835.11968.138.camel@wolverine> Mime-Version: 1.0 X-Mailer: Evolution 2.0.3 FreeBSD GNOME Team Port cc: freebsd-questions@freebsd.org Subject: Re: Kernel preemption X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Feb 2005 17:06:44 -0000 --=-ikMj7/6kf9gJUv6NLlj+ Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Mon, 2005-02-14 at 10:51 +0100, mats.lindberg@se.transport.bombardier.com wrote: > Hello, > I'm interested in using freebsd in a 'not so realtime, but...' software=20 > project. > In our running environment there are a 3 processes that need high=20 > priority. > The processes never need much cpu but they should be able to respond to=20 > network (tcp) activity within 10-20ms. Have you tried running your process using rtprio(8)? You might also check out the HZ option of the kernel and lower granularity of operation to 1000HZ (1ms) instead of the default 100HZ (10ms). See /usr/src/sys/conf/NOTES --=-ikMj7/6kf9gJUv6NLlj+ Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQBCENrDDAqnLW/+/X8RAqqrAKDdO4Dl13TGBOZbqrGmLwZ6vRV0rwCfbcnk p0Nm+1SDzoERMzxec3guB5g= =Caei -----END PGP SIGNATURE----- --=-ikMj7/6kf9gJUv6NLlj+--