Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Firefox pgo use flag, xorg and cpu usage
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Darknight
Guru
Guru


Joined: 26 Jan 2004
Posts: 483
Location: Italy

PostPosted: Tue Jul 19, 2011 11:18 am    Post subject: Firefox pgo use flag, xorg and cpu usage Reply with quote

I recently discovered the pgo use flag which is supposed to increase firefox performance by increasing build time.
I had to add a couple of use flags to enable pgo. One was xvfb for xorg-server.

First: why those extra use flags? How are they related to a gcc feature used to compile firefox?
Second: I noticed some pretty high cpu usage by X when loading pages in firefox, when I first open the browser one cpu core goes up 100% and stays there until most pages (tabs) are loaded. I don't remember this happening without pgo. Is this related to xvfb? Are there xorg or nvidia-drivers options I can use to help my poor cpu?
Back to top
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 2158
Location: Berlin, Germany

PostPosted: Tue Jul 19, 2011 4:19 pm    Post subject: Reply with quote

pgo will run Firefox code inside a virtual X server in order to generate profiling data for the compiler.
Back to top
View user's profile Send private message
Darknight
Guru
Guru


Joined: 26 Jan 2004
Posts: 483
Location: Italy

PostPosted: Wed Jul 20, 2011 7:38 am    Post subject: Reply with quote

Thanks, that explains the use flags.
Could the cpu usage be related to a more efficient firefox code generating more frequent calls to X functions per time unit?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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