* tike64 <[email protected]> wrote:
> Steven Rostedt <[email protected]> wrote:
> > Also, have you tried this with a nanosleep instead of a select.
> > Select's timeout is just that, a timeout. It's not suppose to be
> > accurate, as long as it doesn't expire early. The reason I state
> > this, is that select uses a different mechanism than nanosleep, and
> > that can indeed affect the jitter.
>
> Ok, understood; I tried this:
>
> t = raw_timer();
> ts.tv_nsec = 5000000;
> ts.tv_sec = 0;
> nanosleep(&ts, 0);
> t = raw_timer() - t;
>
> It is better but I still see 8ms occasional delays when listing
> nfs-mounted directories onto FB. And, what is funny, also this version
> makes the average delay 20ms as if it made the jiffy 20ms.
ARM has no high resolution timers support yet in the -rt tree.
Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]