Hi !, here is my score


Dual PII 266 MHz, Mother SoyoK6, Kernel 2.2.7, pgcc-2.90.29 (egcs-1.0.3)

> pi 100,000,000   2   

Process: 15.545582 secs.      This is for gcc -O
Thread 0: 15.545071 secs.    
Thread 1: 15.541418 secs.
Estimation of pi is 3.141593


Process: 8.056982 secs.       And this one for gcc -06
Thread 0: 8.056476 secs.
Thread 1: 8.048393 secs.
Estimation of pi is 3.141593


Regards,
             Roberto Pasianot



On Mon, 3 May 1999 [EMAIL PROTECTED] wrote:

> 
> 
> 
> Hi,
> 
> I just joined this group. For the record, I built a 2.2.4 kernel with SMP
> enabled and it started fine
> on my dual PPro box [TYAN S1668 motherboard, 440FX PCI-ISA]. Since there
> are no "official" benchmarks
> to verify dual processor speed, I wrote the following applet based on the
> "Parallel programming mini-howto".
> This applet calculates the value of PI given the number of interations (say
> 100000) and the number of threads.
> It would be interesting for others to build and run this, then report some
> results for comparison. In particular, I'm interested in BX chipsets and
> how shared memory configurations differ. Building the applet:
> 
>      gcc -O pi.c -o pi -D_REENTRANT -lpthread -lm
>      ./pi 100000 2  // times 2 threads calculating PI using 100000
> iterations
> 
> Source code:
> 
> (See attached file: pi.c)
> 
> 
> Here are my timings: (dual PPRO 150 MHz)
> 
> Process: 0.029640 secs.
> Thread 0: 0.028207 secs.
> Thread 1: 0.028114 secs
> Estimation of pi is 3.141593
> 
> The total process took 29.6 ms. which consists of 2 threads running in
> parallel (thread 0 = 28.2 ms, thread 1 = 28.1 ms).
> 
> On another note, I am building a dual Celeron PCI card (custom design) and
> would like to combine Real-time Linux with SMP into an embedded, bootable
> kernel. Anyone ever work on this?
> 
> Regards,
> 
> Terry Arden
> 

                   



-
Linux SMP list: FIRST see FAQ at http://www.irisa.fr/prive/mentre/smp-faq/
To Unsubscribe: send "unsubscribe linux-smp" to [EMAIL PROTECTED]

Reply via email to