Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
LinuxDNA Firefox 3.6.3 IPO + PGO ICC patch
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Thaidog
Veteran
Veteran


Joined: 19 May 2004
Posts: 1053

PostPosted: Tue Apr 27, 2010 5:30 am    Post subject: LinuxDNA Firefox 3.6.3 IPO + PGO ICC patch Reply with quote

The following patch was made by Chi at LinuxDNA based on the work we have been doing with Intel to get Firefox compiling with both PGO and IPO optimizations with ICC:

wget http://www.linuxdna.com/dna-32bit-firefox-3.6.3.patch

Remember to use the -ipo1 flag for IPO instead of -ipo - You will need more than 2gigs of ram for this compile - fyi.

FireFox 3.6.3 source:

ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/3.6.3/

Have fun!!! 8)
_________________
Registered Linux User: 437619
"I'm a big believer in technology over politics" - Linus Torvalds
Back to top
View user's profile Send private message
mothersh1p
n00b
n00b


Joined: 21 Apr 2010
Posts: 15

PostPosted: Tue Apr 27, 2010 12:07 pm    Post subject: Re: LinuxDNA Firefox 3.6.3 IPO + PGO ICC patch Reply with quote

Thaidog wrote:
The following patch was made by Chi at LinuxDNA based on the work we have been doing with Intel to get Firefox compiling with both PGO and IPO optimizations with ICC:

wget http://www.linuxdna.com/dna-32bit-firefox-3.6.3.patch

Remember to use the -ipo1 flag for IPO instead of -ipo - You will need more than 2gigs of ram for this compile - fyi.

FireFox 3.6.3 source:

ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/3.6.3/

Have fun!!! 8)


Here is an optimized .mozconfig to use: http://www.chihoang.de/index.php?id=1357
Back to top
View user's profile Send private message
Shining Arcanine
Veteran
Veteran


Joined: 24 Sep 2009
Posts: 1110

PostPosted: Tue Apr 27, 2010 12:10 pm    Post subject: Reply with quote

Does anyone have any benchmarks comparing this to a regular installation of the Firefox ebuild from the portage tree? It would be nice to see if there is a tangible improvement.
Back to top
View user's profile Send private message
mothersh1p
n00b
n00b


Joined: 21 Apr 2010
Posts: 15

PostPosted: Tue Apr 27, 2010 12:24 pm    Post subject: Reply with quote

Shining Arcanine wrote:
Does anyone have any benchmarks comparing this to a regular installation of the Firefox ebuild from the portage tree? It would be nice to see if there is a tangible improvement.


The following score is on LXXX's 3.5 firefox PGO build with ICC on a
Pentium M 1.73ghz:
Score: 209
Richards: 789
DeltaBlue: 48.7
Crypto: 416
RayTrace: 146
EarleyBoyer: 210
RegExp: 120
Splay: 297

Here is another v8-Benchmark on firefox-3.5-gcc with -O3 on a Pentium
M 2.0 Ghz.
Score: 196
Richards: 937
DeltaBlue: 56.0
Crypto: 463
RayTrace: 130
EarleyBoyer: 164
RegExp: 111

Here is another v8-Benchmark with firefox-3.5-gcc-pgo-enabled-03 on a
Pentium M 2.0 Ghz:
Score: 226
Richards: 951
DeltaBlue: 66.8
Crypto: 547
RayTrace: 142
EarleyBoyer: 199
RegExp: 136

Here is a rather uninteresting Benchmark with Firefox-3.5 compiled
with gcc on a Pentium-M 2.1 Ghz:
Score: 255
Richards: 1017
DeltaBlue: 66.9
Crypto: 585
RayTrace: 129
EarleyBoyer: 226
RegExp: 141
Splay: 429

My highest score with ICC and Firefox on a Pentium-M 2.1 Ghz was ~ 277!
Back to top
View user's profile Send private message
Shining Arcanine
Veteran
Veteran


Joined: 24 Sep 2009
Posts: 1110

PostPosted: Tue Apr 27, 2010 12:58 pm    Post subject: Reply with quote

Do you have any benchmarks where the hardware running regular Firefox and this one is common to both of them?
Back to top
View user's profile Send private message
broch
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jul 2005
Posts: 94

PostPosted: Tue Apr 27, 2010 1:10 pm    Post subject: Reply with quote

firefox 3.6.3 icc
HP dv5000 (dual core T2500, 2GB RAM nvidia 7400Go), 32-bit
V8 benchmark results:
Score: 281
Richards: 905
DeltaBlue: 55.1
Crypto: 638
RayTrace: 230
EarleyBoyer: 222
RegExp: 205
Splay: 417

SunSpider:
1253.6ms +/- 1.4%

I used somewhat different mozconfig and a little bit different patches (http://software.intel.com/en-us/articles/build-firefox-35-with-intel-c-compiler/)

I could not run -ipo1 optimization (RAM limitations) only -ip (single file optimization). I tried different configuration settings, but this (^) is as far as i could get. GCC 4.4 and GCC 4.5 produced worse results.

Thanks for great job.
Back to top
View user's profile Send private message
mothersh1p
n00b
n00b


Joined: 21 Apr 2010
Posts: 15

PostPosted: Tue Apr 27, 2010 7:54 pm    Post subject: Reply with quote

Shining Arcanine wrote:
Do you have any benchmarks where the hardware running regular Firefox and this one is common to both of them?


FSC Amilo Xa 3530 2,1 Ghz Turion 64 Ultra X2, 4 GB RAM

Firefox 3.6.2 gcc Firefox 3.6.3 icc

v8: v8:
=== ===
Score: 235 Score: 193
Richards: 935 Richards: 812
DeltaBlue: 45.9 DeltaBlue: 32.4
Crypto: 647 Crypto: 487
RayTrace: 174 RayTrace: 144
EarleyBoyer: 169 EarleyBoyer: 141
RegExp: 153 RegExp: 13
Splay: 319 Splay: 296

SunSpider: SunSpider:
========== ==========
Total: 1730.0ms +/- 5.2% 1882.2ms +/- 1.8%


v8
===

Score: 2921
Richards: 2450
DeltaBlue: 2216
Crypto: 2356
RayTrace: 3727
EarleyBoyer: 7292
RegExp: 876
Splay: 5947

Total: 720.0ms +/- 3.9%


Hence ICC is slower (maybe it's because of my AMD-CPU!?).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software 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