From: Dominik Westner <westner@logicunited.com>
Subject: Re: Ubench on Mac OS X / G4
Date: Thu, 23 May 2002 23:08:43 +0200
   
Here are my results for an Apple Powerbook G4 667MHz / 512MB : 
Mach kernel version: 
         Darwin Kernel Version 5.4: 
Wed Apr 10 09:27:47 PDT 2002; root:xnu/xnu-201.19.3.obj~1/RELEASE_PPC 
Kernel configured for up to 2 processors. 
1 processor is physically available. 
Processor type: ppc7450 (PowerPC 7450) 
Processor active: 0 
Primary memory available: 512.00 megabytes. 

With the lame non optimized default settings: 
[icebox:~/Sources/ubench-0.32] westner% ./ubench 
Unix Benchmark Utility v.0.3 
Copyright (C) July, 1999 PhysTech, Inc. 
Author: Sergei Viznyuk <sv@phystech.com> 
http://www.phystech.com/download/ubench.html 
Darwin 5.4 Darwin Kernel Version 5.4: Wed Apr 10 09:27:47 PDT 2002; 
root:xnu/xnu-201.19.3.obj~1/RELEASE_PPC  Power Macintosh 
Ubench CPU:    26532 
Ubench MEM:    12542 
-------------------- 
Ubench AVG:    19537 

With gcc 3.1 and Apple recommened optimizations: 
CFLAGS = -O3 -faltivec -mcpu=7450 -mdynamic-no-pic -funroll-loops 
-ffast-math -fstrict-aliasing 

[icebox:~/Sources/ubench-0.32] westner% ./ubench 
Unix Benchmark Utility v.0.3 
Copyright (C) July, 1999 PhysTech, Inc. 
Author: Sergei Viznyuk <sv@phystech.com> 
http://www.phystech.com/download/ubench.html 
Darwin 5.4 Darwin Kernel Version 5.4: Wed Apr 10 09:27:47 PDT 2002; 
root:xnu/xnu-201.19.3.obj~1/RELEASE_PPC  Power Macintosh 
Ubench CPU:    35600 
Ubench MEM:    33014 
-------------------- 
Ubench AVG:    34307 

And on a Dual 450MHz PowerMac G4 640MB 

CFLAGS = -O3 -faltivec -mcpu=7400 -mdynamic-no-pic -funroll-loops 
-ffast-math -fstrict-aliasing 

[letsbuyit:~/Sources] westner% hostinfo 
Mach kernel version: 
         Darwin Kernel Version 5.4: 
Wed Apr 10 09:27:47 PDT 2002; root:xnu/xnu-201.19.3.obj~1/RELEASE_PPC 
Kernel configured for up to 2 processors. 
2 processors are physically available. 
Processor type: ppc7400 (PowerPC 7400) 
Processors active: 0 1 
Primary memory available: 640.00 megabytes. 

[letsbuyit:~/Sources/ubench-0.32] westner% ./ubench 
Unix Benchmark Utility v.0.3 
Copyright (C) July, 1999 PhysTech, Inc. 
Author: Sergei Viznyuk <sv@phystech.com> 
http://www.phystech.com/download/ubench.html 
Darwin 5.4 Darwin Kernel Version 5.4: Wed Apr 10 09:27:47 PDT 2002; 
root:xnu/xnu-201.19.3.obj~1/RELEASE_PPC  Power Macintosh 
Ubench CPU:    57192 
Ubench MEM:    84687 
-------------------- 
Ubench AVG:    70939 


I actually wanted to try an altivec optimized version of ubench, but the 
calculations seemed a little obscure on first sight ;-) 
My guess is that one could easily get above 100. 

Greetings 

Dominik