Re: Interesting scheduling times

Richard Gooch (rgooch@atnf.csiro.au)
Fri, 18 Sep 1998 17:51:24 +1000


Petko Manolov writes:
> Linus Torvalds wrote:
> >
> > PS. Here's the patch to make 2.1.122 perform as it should wrt scheduling,
> > and not save the FP register state all the time. Embarrassing.
>
> OK, i've applied your patch and got strange results:
> first time i run Richards prog i got 4us. All next
> values were 6us. I reboot the machine and the result
> was the same!
> I'm afraid i don't understand what exactly the patch
> does. At first glance only the sequence of lines is
> changed - so what? Or there is some relatione between
> "fnsave" and setting task switch bit?

Actually, after some further testing, I get the same result! The first
time it's faster, then subsequent runs are slower (when using RT
processes). For non-RT processes, the times are stable. Strange.

Regards,

Richard....

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/