optimize msleep with PCATCH flag

Julian Elischer julian at elischer.org
Sat May 20 18:01:09 UTC 2006


David Xu wrote:

>On Saturday 20 May 2006 09:49, Julian Elischer wrote:
>  
>
>>looks like you need to do a lot more samples to get a better error
>>value.. (8 may not be enough)
>>    
>>
>
>Is 40 enough ? this time, the system runs in single user mode, so
>any noise is eliminated.
>  
>


That is a much clearer picture.. Thanks!

>x plain_PCATCH.st
>+ PCATCH_optimized.st
>+--------------------------------------------------------------------------+
>|      +                                                                   |
>|      +    +                                                              |
>|      +    +                                                              |
>|      +    +                  x x                                         |
>|   +  ++++ +                  x xx                                        |
>|  ++++++++++ +          xx x xxxxx                      x                 |
>|+ +++++++++++++ +    x xxx+xxxxxxxxx xxx   x x   xxx    xx   x x         x|
>|   |____A____|          |_______M____A___________|                        |
>+--------------------------------------------------------------------------+
>    N           Min           Max        Median           Avg        Stddev
>x  40         31199         38404       32691.5     33376.775     1740.5576
>+  40         28245         31794       29300.5       29380.8     649.64192
>Difference at 95.0% confidence
>	-3995.98 +/- 584.857
>	-11.9723% +/- 1.75229%
>	(Student's t, pooled s = 1313.69)
>_______________________________________________
>freebsd-threads at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-threads
>To unsubscribe, send any mail to "freebsd-threads-unsubscribe at freebsd.org"
>  
>


More information about the freebsd-threads mailing list