Doug,

  Very interesting results, what benchmark did you use?

Laszlo (Laca) Peter wrote:
> Hi Doug,
>
> Sorry for the slow response, we're really busy these days...
>
> I think this is awesome.  Although most of these options are floating
> point related, which is not typical for desktop apps, some low level
> libs could probably be optimised better and we should also re-evaluate
> our default optimisation options.
>
> Thanks,
> Laca
>
> On Sun, 2006-05-14 at 21:58 -0700, Doug Scott wrote:
>   
>> Since pkgtool spec files make it easy to build/install apps, I decided to do 
>> some benchmarks to see if you get a decent increase in speed, if you build 
>> platform optimized libraries. Sun Studio 11 has some interesting options to 
>> turn on SSE2, AMD 3DNOW etc instructions so I wanted to turn these on and 
>> see if they give a good increase in performance over the default options 
>> supplied in the JDS build. 
>>
>> The test platform I am using is a Acer Ferrari 4005, running Solaris 11 
>> Nevada build 38. The app is lame from FWlame.spec. For each build, I did 2 
>> runs with the CPU set to 800Mhz and 2000Mhz set using the powernowadm 
>> utility.
>>
>> The first thing I did was to do an un-optimized baseline build by setting 
>> CFLAGS="".
>>
>> The second build was using the JDS optimized flags CFLAGS="%optflags".
>>
>> The last build was built for the platform "pentium_pro+mmx" using the 
>> following -
>>
>> CFLAGS="`echo %optflags | sed -e 's/-xpentium//'` -xarch=sse2a 
>> -xchip=opteron -xcache=64/64/2:1024/64/16 -nofstore -xvector -xbuiltin=%all 
>> -xdepend -xlibmil -xlibmopt"
>>
>> LD_OPTIONS="-R%{_libdir}/\$ISALIST:%{_libdir} -lmvec"
>> And after the configure added #include <sunmedia_intrin.h> to config.h
>>
>> To summarize the result, the JDS options give a [b]95%[/b] increase in 
>> performance over un-optimized baseline build. The pentium_pro+mmx build gave 
>> a [b]151%[/b] increase over the baseline, which is an increase of [b]28%[/b] 
>> over the JDS options.
>>
>> I have attached the raw results and the spec file for the pentium_pro+mmx 
>> build.
>>
>> Doug
>>  
>>
>> This message posted from opensolaris.org
>> _______________________________________________
>> desktop-discuss mailing list
>> desktop-discuss at opensolaris.org
>>     
>
> _______________________________________________
> desktop-discuss mailing list
> desktop-discuss at opensolaris.org
>   


Reply via email to