WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ppc-devel

Re: [XenPPC] [PATCH] Flush the ERAT early for secondary CPUs

To: Segher Boessenkool <segher@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [XenPPC] [PATCH] Flush the ERAT early for secondary CPUs
From: Amos Waterland <apw@xxxxxxxxxx>
Date: Sat, 11 Nov 2006 11:19:14 -0500
Cc: xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sat, 11 Nov 2006 08:19:23 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <5E3B2BE8-E7A1-463B-B861-9E32463404AE@xxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-ppc-devel-request@lists.xensource.com?subject=help>
List-id: Xen PPC development <xen-ppc-devel.lists.xensource.com>
List-post: <mailto:xen-ppc-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20061109213538.GA32246@xxxxxxxxxxxxxxxxxxxxx> <5E3B2BE8-E7A1-463B-B861-9E32463404AE@xxxxxxxxxxxxxxxxxxx>
Sender: xen-ppc-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.12-2006-07-14
On Fri, Nov 10, 2006 at 03:55:26AM +0100, Segher Boessenkool wrote:
> > p = probability of success = .997 (897 / 900)
> > q = probability of failure = .003 (1.0 - .997)
> > n = number of trials       = 2323
> > X = number of successes    = 2323
> >
> >Applying these to the binomial probability formula, we get:
> >
> > P(2323) = 2323! / ((2323 - 2323)! * 2323!) * .997**2323 * .003** 
> >(2323-2323)
> >         = .0009307922
> >
> >So we conclude that the probability that our trials with this patch
> >applied achieved exactly 2323 successes because of chance alone is . 
> >0009.
> 
> Not prematurely rounding p to a useless precision gives you
> 
>       p**2323 ~ 0.000428

Sure.  I just rounded early because most online tools that people would
use to verify the calculation cannot deal with the higher precion.

> even.  And that just calculates the chance that 2323 tries all
> succeed given that the chance for one to succeed is 897/900; it
> doesn't compare two hypotheses at all.

What?  The null hypothesis is that this patch has no effect.  Since the
probability of observing 2323/2323 successes is .000428, we reject the
null hypothesis under a 95% confidence interval.  No?


_______________________________________________
Xen-ppc-devel mailing list
Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ppc-devel

<Prev in Thread] Current Thread [Next in Thread>