Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 May 2006 11:00:40 -0700
From:      Julian Elischer <julian@elischer.org>
To:        David Xu <davidxu@freebsd.org>
Cc:        freebsd-threads@freebsd.org
Subject:   Re: optimize msleep with PCATCH flag
Message-ID:  <446F5948.8040508@elischer.org>
In-Reply-To: <200605201112.21415.davidxu@freebsd.org>
References:  <200605200935.54828.davidxu@freebsd.org>	<446E75C2.4080305@elischer.org> <200605201112.21415.davidxu@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-threads
>To unsubscribe, send any mail to "freebsd-threads-unsubscribe@freebsd.org"
>  
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?446F5948.8040508>