[Beowulf] Re: Stroustrup regarding multicore
Many of your questions may have already been answered in earlier discussions or in the FAQ. The search results page will indicate current discussions as well as past list serves, articles, and papers.
David Mathog mathog at caltech.eduTue Aug 26 13:36:16 PDT 2008
- Previous message: [Beowulf] Infiniband modular switches
- Next message: [Beowulf] Re: Stroustrup regarding multicore
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Alan Louis Scheinine <alscheinine at tuffmail.us> wrote: > I forgot to mention, function calls in Fortran, C or C++ seem to kill efficiency, That's pretty much true for any language when those calls are inside inner loops. There are exceptions though - inlined functions in C with a "good" compiler will not have the call overhead because the compiler will just replicate the code in place and compile it there. It is not a good thing to depend on though, since some other compiler may not be able to pull off the same trick. So in general it is usually best, if your goal is to have the code run fast everywhere, to locate such compute intensive loops (with valgrind, or whatever) and squeeze the function overhead out of them. Regards, David Mathog mathog at caltech.edu Manager, Sequence Analysis Facility, Biology Division, Caltech
- Previous message: [Beowulf] Infiniband modular switches
- Next message: [Beowulf] Re: Stroustrup regarding multicore
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Beowulf mailing list
