Kernel preemption

Khairil Yusof kaeru at
Mon Feb 14 17:06:44 GMT 2005

On Mon, 2005-02-14 at 10:51 +0100,
mats.lindberg at wrote:
> Hello,
> I'm interested in using freebsd in a 'not so realtime, but...' software 
> project.

> In our running environment there are a 3 processes that need high 
> priority.
> The processes never need much cpu but they should be able to respond to 
> 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

See /usr/src/sys/conf/NOTES

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url :

More information about the freebsd-questions mailing list