Re: [PATCH] scheduler: fix x86 regression in native_sched_clock

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Michael Buesch <[email protected]> wrote:

> > i cannot see how. You can verify msleep by running something like this:
> > 
> >   while :; do time usleep 111000; done
> > 
> > you should see a steady stream of:
> > 
> >  real    0m0.113s
> >  real    0m0.113s
> >  real    0m0.113s
> > 
> > (on an idle system). If it fluctuates, with occasional longer delays, 
> > there's some timer problem present.
> 
> Does the sleeping and timing use different time references?

yes. But the real paranoid can do this from another box:

  while :; do time ssh testbox usleep 111000; done

	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]
  Powered by Linux