Date: Mon, 20 Oct 2008 10:39:38 -0700 From: Alfred Perlstein <alfred@freebsd.org> To: Len Gross <sandiegobiker@gmail.com> Cc: "freebsd-net@freebsd.org" <freebsd-net@freebsd.org> Subject: Re: Timers in drivers vs userland Message-ID: <20081020173938.GL22503@elvis.mu.org> In-Reply-To: <27cb3ada0810181728w3f41e3d0pe2fca8102b0c7206@mail.gmail.com> References: <27cb3ada0810181512qeab4020g912096848212ad86@mail.gmail.com> <27cb3ada0810181728w3f41e3d0pe2fca8102b0c7206@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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@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@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@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" -- - Alfred Perlstein
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081020173938.GL22503>