Kernel preemption

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


On Mon, 2005-02-14 at 10:51 +0100,
mats.lindberg at se.transport.bombardier.com 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
(10ms).

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 : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20050215/dc465b34/attachment.bin


More information about the freebsd-questions mailing list