phk at phk.freebsd.dk
Wed Apr 9 05:00:57 PDT 2003
In message <20030409114957.GN83126 at cicely9.cicely.de>, Bernd Walter writes:
>I need a realtime behavour in the (-current) kernel with 1ms
>resolution and a presision of 500us.
You are in trouble.
>I thought about these two ways:
>- use timeout(9), but it seems that on i386 we only have a
> resolution of 10ms.
> And I don't know of what presision quality I can expect.
> Can the resolution changed to 1ms as we have on alpha?
You can change this by changing the "hz" of the kernel.
I belive this can be done from either the loader or the kernel
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
More information about the freebsd-hackers