• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: improving numerical applications performance
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: improving numerical applications performance


  • Subject: Re: improving numerical applications performance
  • From: Amilcar Meneses Viveros <email@hidden>
  • Date: Tue, 18 May 2004 05:56:52 -0500 (CDT)

>> The following table has a better information:
>>
>> OS Mac OS X | Linux | Solaris | Linux
>> CPU POWER PC | Pentium4 | SPARC | Pentium4 Xeon
>> SPEED 400 MHZ | 1.5 GHZ | 2GHZ | 3.06GHZ
>> RAM 512MB | 256MB | 512MB RAM | 512MB
>> -------------------+-----------+-----------+------------
>> TIME 372.95min | 134.58min | 264.6min | 65.5min
>
> It is interesting to normalize, using clock rate, the numbers above...
>
> Normalized times: 372.95 | 504.68 | 1,323 | 501.08
>
> So for the processing you are doing (as generated by the compiler) the
> PPC is the most efficient of all of the processors in terms of clock
> speed, in other words it does more of this work load per clock then the
> other processors.

You are right, I didn't normalize. The problem is that I was in shock
when I get the executions times and I didn't analyze them.

>> how can I improve the performance of a numeric
>> application in a simple way? (i.e. from the gcc compiler)
>
> Not easily, it depends on what your algorithm does and how it works.
>
> Summary of things you can do using altivec...
> <http://developer.apple.com/hardware/ve/summary.html>

>> I have notice tha compilers like vcc can improve the performance if
>> you work with float data, but not with a double data. But, many
>> mathematics functions of the library are (by defautl) in double, and
>> what
>> can I do whether I really need a double precision?
>>
>> Perhaps I used a bad tool for measure the time, in such case, somebody
>> know a better way for do it?
>
> If you haven't already, look at
> <http://developer.apple.com/hardware/ve/vector_libraries.html> and
> <http://developer.apple.com/hardware/ve/algorithms.html> for any vector
> accelerated operations that you can leverage.
>
> The top page for all of this <http://developer.apple.com/hardware/ve/>
>
> -Shawn

Thanks Shawn for your answers, I'm going to read the information that you
refer, .... now I have a lot of homework to do ( he he he )...

Best regards
Amilcar
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Prev by Date: Re: disk:// and help:// security problems
  • Next by Date: Re: disk:// and help:// security problems
  • Previous by thread: Re: improving numerical applications performance
  • Next by thread: Re: improving numerical applications performance
  • Index(es):
    • Date
    • Thread