MozillaZine

Ted's PGO build

Discussion of third-party/unofficial Firefox/Thunderbird/SeaMonkey builds.
SantaFe

User avatar
 
Posts: 196
Joined: May 25th, 2003, 10:48 pm
Location: Shunting Box Cars.

Post Posted February 26th, 2008, 4:24 am

Ted Mielczarek wrote:By "No bookmarks" I assume you mean on a fresh profile? That's filed, I see that with trunk builds too. Not sure what you mean by "navigation not working", I haven't extensively tested it, but I'm able to browse around with it and I don't see anything obviously wrong.
Just tried it using a new profile & copying my bookmarks.html file to it. While I had bookmarks, the bookmarks toolbar is empty, and also noticed the back/forward buttons don/t work. Otherwise it.s pretty fast.

Forgot to say you're previous build works fine & fast, no problems at all. ;)

Ted Mielczarek
 
Posts: 1269
Joined: November 5th, 2002, 7:32 am
Location: PA

Post Posted February 26th, 2008, 6:10 am

This is good testing, this is why we want to get it turned on for nightlies ASAP, because it can expose existing bugs in unfortunate ways.

trieste
 
Posts: 616
Joined: September 4th, 2003, 4:15 am
Location: Singapore

Post Posted February 26th, 2008, 6:59 am

I used it for my existing profile.

It initially opened fine (with 2 existing tabs), and when I opened a new tab with the purpose of going to another website, it crashed. Crash Reporter immediately opened. In total I think about 5 crash reports were sent as the build failed to open for 4 restarts. When it finally worked, the bookmarks menu had been cleared with even the 3 root folders displaying (no title). Thankfully I had the sense to export my bookmarks first.

The crash had caused 2 places.sqlite-corrupt to appear in my profile folder. I replaced the sterile places.sqlite with the larger 'corrupt' one with no incident in the end.

I had first decided to replace the experimental PGO build with the 20080226 nightly that fixed Bug 419152, but that caused the bookmarks menu to become unresponsive (cannot load bookmarks from left-click, middle-click gives a JavaScript popup error), though still intact. Reverting to the 20080224 build with the bilinear zoom patch returned everything back to sanity.

Ted Mielczarek
 
Posts: 1269
Joined: November 5th, 2002, 7:32 am
Location: PA

Post Posted February 26th, 2008, 7:28 am

Sounds like sqlite is pretty unhappy with the PGO in this build. Thanks for the testing, sorry about your profile! We may have to disable PGO on sqlite before we get this turned on for real, at least until the bugs are shaken out of it.

Sammo

User avatar
 
Posts: 294
Joined: November 25th, 2002, 7:36 pm
Location: Oregon

Post Posted February 26th, 2008, 8:02 am

Bookmarks will not show up from an existing profile that already works with your other build. :(
- Sammo -

trieste
 
Posts: 616
Joined: September 4th, 2003, 4:15 am
Location: Singapore

Post Posted February 26th, 2008, 9:02 am

No worries Ted, nothing much went wrong with the profile, importing bookmarks.html did the trick.

Really appreciate all the effort you and the rest are putting into this getting PGO up and running!

J.Yousey

User avatar
 
Posts: 31
Joined: March 16th, 2007, 4:39 pm

Post Posted February 26th, 2008, 1:30 pm

Why is it that, when I attempt to download either of the win32 builds: upon initiation of the download, I have a split file, which doesn't merge upon completion? (and get an error stating that I should try a reinstall, after clicking Firefox.exe)

Edited to add: OK- I found a work around by using "Download Express" download manager for this unique site specific problem for me & I'm testing the first build, now :)

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b4pre) Gecko/2008022517 Minefield/3.0b4pre
XP pro, P4, Minefield

Ted Mielczarek
 
Posts: 1269
Joined: November 5th, 2002, 7:32 am
Location: PA

Post Posted February 27th, 2008, 5:23 pm

Tonight's respin was built with PGO. Looks like we finally got it in!

RyanVM
 
Posts: 1264
Joined: June 16th, 2004, 6:00 am
Location: Exton, PA

Post Posted February 27th, 2008, 5:49 pm

Ted, are there bugs filed for sqlite and the other modules which break with PGO enabled?

swsnyder
 
Posts: 225
Joined: August 12th, 2004, 9:13 am

Post Posted February 28th, 2008, 11:10 am

Another data point. Win32 build using MozillaBuild v1.2 on a Win2K/SP4 system.

Pulled the trunk of SeaMonkey 2.0.apre1 around noon on 27 Feb. Built according to Ted's doc. The compile/link/profile/relink/packaging sequence seemed to work correctly, but SeaMonkey crashed on start-up. (At the end of the installation you are asked if you want to start SM now. It crashed during this start-up. It also crashed at running from the desktop icon.)

Erased the @OBJDIR, rebuilt normally ("build" target, not "profilebuild") and all is well.

FYI.

Ken_F
 
Posts: 15
Joined: June 15th, 2007, 11:20 pm

Post Posted February 28th, 2008, 1:21 pm

Here's a screenshot showing the performance improvement with Ted's PGO Firefox 3.0b4 build over tete's PGO Firefox 3.0b3 with SSE3 optimizations.

Image

The latest Firefox 3.0b4 build (Feb 28) did the same benchmark in 2184ms, although it is 10-20% slower in bits-in-byte, bitwise-and, recursive, and format-xparb.

Ted Mielczarek
 
Posts: 1269
Joined: November 5th, 2002, 7:32 am
Location: PA

Post Posted February 28th, 2008, 3:49 pm

swsnyder: would be interesting to rebuild that with debug symbols (set MOZ_DEBUG_SYMBOLS=1 in your mozconfig) and get a stack, to find out where it's crashing. Wouldn't surprise me if SeaMonkey has some modules of its own that are fragile to PGO. We can turn those off in their respective Makefiles till they get sorted out.

elfurbe

User avatar
 
Posts: 447
Joined: May 24th, 2004, 9:48 am
Location: Tucson, AZ

Post Posted February 28th, 2008, 8:24 pm

I got a PGO build to roll on my G4 Mac. It's got pretty straight-forward GCC options on it (-Os -mcpu=7450 -faltivec), I built against the 10.5 SDK, and it seems to run like a champ. So much snappier than my previous 2.0.0.12 build.

One problem I ran into. I used the python script referenced in the doc, but it seemed to cause a hang in the browser when it launched, so I had to force-quit Minefield at which point the build routine happily continued, did a clean and a rebuild. There was some mention of a crash in the terminal I think but I wasn't logging the output so once it scrolled by it was gone. Anyway, it did produce a working appbundle, so if nothing, it failed very gracefully. I'm wondering if that experience where the profile-generating browser hangs is known or if that's my own special problem?

Ted Mielczarek
 
Posts: 1269
Joined: November 5th, 2002, 7:32 am
Location: PA

Post Posted February 29th, 2008, 5:16 am

elfurbe: yeah, I haven't got PGO actually working on Mac yet, my profiled builds also hang on startup. We might have to limit the modules where it's enabled. Rob Sayre told me he got a PGO build working with it enabled in just spidermonkey, so that might be a good place to start. You can follow along in bug 419348.

bernano397
 
Posts: 4
Joined: June 28th, 2006, 11:06 am

Post Posted March 1st, 2008, 1:24 pm

Hi!
Is there somebody working on builds for OS X?
Thanks,
Bernhard

Return to Third Party/Unofficial Builds


Who is online

Users browsing this forum: No registered users and 2 guests