View previous topic :: View next topic |
Author |
Message |
Mr. Anderson l33t


Joined: 22 Apr 2004 Posts: 762
|
Posted: Wed Jan 30, 2008 2:11 am Post subject: [gcc]gcc-4.3: -fdirectives-only |
|
|
Es soll ein release candidate möglicherweise schon im Februar rauskommen. Ums kurz zu machen - ich hab das hier entdeckt:
Quote: | A new command-line option -fdirectives-only has been added. It enables a special preprocessing mode which improves the performance of applications like distcc and ccache. |
(aus dem Changelog)
Da stehen ja schöne Zeiten bevor. Weiß jemand, was genau das macht? |
|
Back to top |
|
 |
Treborius Guru


Joined: 18 Oct 2005 Posts: 585 Location: Berlin
|
|
Back to top |
|
 |
Mr. Anderson l33t


Joined: 22 Apr 2004 Posts: 762
|
Posted: Wed Jan 30, 2008 11:53 pm Post subject: |
|
|
GCC 4.3 hat viele interessante Aspekte. Es wird auch interessant zu sehen, ob es das eine oder andere Programm gibt, das spürbar von der MPFR-Lib profitiert.
Wo der parallel mode der libstdc++ ganz genau ansetzt ist mir noch nicht klar. Wird ein Programm, das eigentlich nur mit einem Thread läuft, durch ein Übersetzen im parallel mode innerhalb der Aufrufe in std dann doch parallel? |
|
Back to top |
|
 |
Treborius Guru


Joined: 18 Oct 2005 Posts: 585 Location: Berlin
|
Posted: Thu Jan 31, 2008 11:25 am Post subject: |
|
|
Mr. Anderson wrote: | GCC 4.3 hat viele interessante Aspekte. Es wird auch interessant zu sehen, ob es das eine oder andere Programm gibt, das spürbar von der MPFR-Lib profitiert.
Wo der parallel mode der libstdc++ ganz genau ansetzt ist mir noch nicht klar. Wird ein Programm, das eigentlich nur mit einem Thread läuft, durch ein Übersetzen im parallel mode innerhalb der Aufrufe in std dann doch parallel? |
ja, openmp ist so effektiv, das der overhead beim erzeugen der threads minimal ist :
wird sich zeigen ob der geschwindigkeitsvorteil ersichtlich ist, denn ich denke das
die "threadgrösse" bei std::sort oder so eher minimal ist ...
das programm erzeugt dann eben bei jedem solchem aufrufe mehere threads, nicht wie bei
konventionellen threads, wo das ganze programm in wenigen grossen threads läuft _________________ Systems running gentoo :
Desktop, Laptop, ZOTAC AD-10 media-center, odroid-xu4 server / wLan-router |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|