Timers in drivers vs userland

Alfred Perlstein alfred at freebsd.org
Mon Oct 20 17:39:38 UTC 2008


Have you tried using rtprio?

You'll have to be really careful though so as not to jam up the
system using it.

-Alfred

* Len Gross <sandiegobiker at gmail.com> [081018 17:28] wrote:
> Slight correction; I should have said more accurate usleep, not "timer."
> 
> -- Len
> 
> On Sat, Oct 18, 2008 at 3:12 PM, Len Gross <sandiegobiker at gmail.com> wrote:
> > If I place a timer directly in a driver (like Ethernet)  will it be
> > subject to less jitter and more consistency than if it were in
> > Userland?
> >
> > I know FreeBSD is not "real time," but I need to be able to run a
> > polling algorithm with about 1 ms accuracy.
> >
> > Thanks in advance.
> >
> > (Please tell me if there is a better list for this question.)
> >
> > -- Len
> >
> _______________________________________________
> freebsd-net at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"

-- 
- Alfred Perlstein


More information about the freebsd-net mailing list