Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Feb 2005 01:07:15 +0800
From:      Khairil Yusof <kaeru@jaring.my>
To:        mats.lindberg@se.transport.bombardier.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Kernel preemption
Message-ID:  <1108400835.11968.138.camel@wolverine>
In-Reply-To: <OF796D306A.AA481924-ONC1256FA8.00348AC1-C1256FA8.0035F36B@UK.BOMBARDIER.TRANSPORT.COM>
References:   <OF796D306A.AA481924-ONC1256FA8.00348AC1-C1256FA8.0035F36B@UK.BOMBARDIER.TRANSPORT.COM>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-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+--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1108400835.11968.138.camel>