Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[gcc]gcc-4.3: -fdirectives-only
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) Diskussionsforum
View previous topic :: View next topic  
Author Message
Mr. Anderson
l33t
l33t


Joined: 22 Apr 2004
Posts: 762

PostPosted: Wed Jan 30, 2008 2:11 am    Post subject: [gcc]gcc-4.3: -fdirectives-only Reply with quote

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
View user's profile Send private message
Treborius
Guru
Guru


Joined: 18 Oct 2005
Posts: 585
Location: Berlin

PostPosted: Wed Jan 30, 2008 11:37 pm    Post subject: Reply with quote

viel interssanter ist meiner meinung nach das hier :

http://gcc.gnu.org/onlinedocs/libstdc++/parallel_mode.html
_________________
Systems running gentoo :
Desktop, Laptop, ZOTAC AD-10 media-center, odroid-xu4 server / wLan-router
Back to top
View user's profile Send private message
Mr. Anderson
l33t
l33t


Joined: 22 Apr 2004
Posts: 762

PostPosted: Wed Jan 30, 2008 11:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
Treborius
Guru
Guru


Joined: 18 Oct 2005
Posts: 585
Location: Berlin

PostPosted: Thu Jan 31, 2008 11:25 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) Diskussionsforum All times are GMT
Page 1 of 1

 
Jump to:  
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