[Dune] Timings for the changes in dune-common r4695

Oliver Sander sander at mi.fu-berlin.de
Tue Aug 15 14:03:12 CEST 2006


Faszinierend, Captain.  Ich gebe zu ich habe keine Messungen gemacht,
aber in jedem Buch über Compilerbau wird Loop-Unrolling als die
erste Optimierungstechnik genannt, und die Schleifen sind in diesem
Fall wirklich einfach.

Kannst Du es bei Gelegenheit nochmal mit anderen Compilern testen?
Falls sich die Ergebnisse nicht ändern wird man wohl nicht drum
herumkommen, das TMP wieder einzubauen :-(

Grüße,
Oliver

************************************************************************
* Oliver Sander                ** email: sander at mi.fu-berlin.de        *
* Freie Universität Berlin     ** phone: + 49 (30) 838 75217           *
* Institut für Mathematik II   ** URL  : page.mi.fu-berlin.de/~sander  *
* Arnimallee 6                 ** -------------------------------------*
* 14195 Berlin, Germany        ** Member of MATHEON (www.matheon.de)   *
************************************************************************

On Tue, 15 Aug 2006, Markus Blatt wrote:

> Hi,
>
> it seems to me, that the template metaprogramms were useful. At least
> for small blocksizes.
>
> I have attached timings for solving a laplacian on a structured 2d
> 250x250 grid with AMG (with 2 steps jacobi pre and postsmoothing) as a
> preconditioner to CG. (BS is the blocksize, T the time for solving,
> TIT the time for one iteration). The code was compiled with g++-4.0
> and -O3 -DNDEBUG options.
>
> It seems to be that at least for small blocksizes there is a
> difference. Probably one should test also bigger block sizes, but
> right now my time is limited.
>
> Cheers,
>
> Markus
> -- 
> DUNE -- The Distributed And Unified Numerics Environment
> <http://www.dune-project.org>
>


More information about the Dune mailing list