Hi Michael,

I would recommend reading the Intel Optimization Manual. The version
for more recent processors is available at this address:

http://www.intel.com/design/processor/manuals/248966.pdf

which is linked from the following page:

http://www.intel.com/products/processor/manuals/index.htm

There are quite a few examples and many of the topics are relevant to
older/other processors.

Also before putting in an effort to specifically optimise any
particular piece of code I would highly recommend using a
tick-counting profiler such as oprofile to find the actual bottle
necks.

Good luck!

Best,
Bojan




Michael <[EMAIL PROTECTED]> writes:

> C/C++ speed optimization bible/resources/pointers needed, with/without
> using GSL...
>
> I ask this for my friend. I am also interested to know:
>
> Hi all,
>
> I am in the middle of programming to solve an engineering problem
> where the speed is huge concern. The project involving lots of
> numerical integration and then there are several loops/levels of
> optimization on top of the function evaluation engine. As you probably
> know, the key to a successful optimization is a fast underlying
> objective function evaluator. The faster it is, the more promising the
> optimization result(perhaps global optimal). However our project
> requires many numerical integrations which prohibits us from making it
> super fast. At the heart of the numerical integration is a smart
> integrator and a super-fast integrand function evaluator. Even worse,
> our function evaluation is in complex-domain. So the key point is how
> to arrange our C/C++ code to make it highly efficient in every aspect.
> Could anybody give some advice/pointers on how to improve the speed of
> C/C++ program? How to arrange code? How to make it highly efficient
> and super fast? What options do I have if I don't have luxury to use
> multi-threaded, multi-core or distributed computing? But I do have a
> P4 at least. Please recommend some good bibles and resources! Thank
> you!

-- 
Bojan Nikolic               Tel:  +44 1223 339991
Astrophysics Group          Mob:  +44 7894 223621
Cavendish Laboratory        Fax:  +44 1223 354599        
Cambridge CB3 0HE


_______________________________________________
Help-gsl mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gsl

Reply via email to