Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Apr 2003 14:00:46 +0200
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        ticso@cicely.de
Cc:        hackers@freebsd.org
Subject:   Re: realtime problem 
Message-ID:  <32990.1049889646@critter.freebsd.dk>
In-Reply-To: Your message of "Wed, 09 Apr 2003 13:49:58 %2B0200." <20030409114957.GN83126@cicely9.cicely.de> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20030409114957.GN83126@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
config file.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@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.



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