Log in

No account? Create an account

Previous Entry | Next Entry

Release managers just made the call that Firefox 3.0 will release with a known bug which brings Linux systems to their knees. Firefox's system-killing performance bug

The second-class Linux support policies of the Mozilla foundation continue... I imagine the reasoning went something like it has always gone in the past: "the platform that matters most is the one where we, the Foundation, get the most market penetration."

Webkit, here I come.

Update 2008-05-23: There are now two proposed workable solutions.


( 56 comments — Leave a comment )
Page 1 of 2
<<[1] [2] >>
May. 20th, 2008 08:07 pm (UTC)
most people will get a patched version anyway
Most users will be getting their updates from the distributions, not Mozilla directly. And I've talked with most of them and most of them are waiting for a patch before shipping/updating. So don't worry, most normal people won't be hit by this one. Very few of our users actually get their builds from mozilla.org directly.

And, also, the Mozilla community (and the corporation!) invested a huge amount in Linux this time around. Firefox 3 is the browser that Linux users always wanted. Our native theme code is new and feels great. (In fact, that's where the "native" theme code from WebKit comes from!) It's a first class platform for us, hands down.

Christopher Blizzard
May. 20th, 2008 08:30 pm (UTC)
Re: most people will get a patched version anyway

The problem is that no one knows what the solution is. The patches that are proposed on the bug are not the solution: the problem is calling fsync. Reducing the number of times that fsync is called by 50% doesn't change that fact that calling fsync at all brings the system to its knees. I repeat: there is no patch for distributions to apply. And--even more disturbingly--it appears that no one has any idea how SQLite actually works. In short: Mozilla has spent little time investigating this problem even though it makes an entire platform completely unusable (after a sufficient quantity of profile data has accumulated).

It's going to be PR disaster if it's released in this state. Linux users will swear off Firefox for years if they experience this kind of system-killing performance. The browser market is heating up; Mozilla can't afford to take that chance.

Re: most people will get a patched version anyway - (Anonymous) - May. 20th, 2008 09:44 pm (UTC) - Expand
Re: most people will get a patched version anyway - (Anonymous) - May. 22nd, 2008 04:57 pm (UTC) - Expand
Re: most people will get a patched version anyway - (Anonymous) - May. 20th, 2008 10:05 pm (UTC) - Expand
Re: most people will get a patched version anyway - (Anonymous) - May. 22nd, 2008 11:10 am (UTC) - Expand
Re: most people will get a patched version anyway - (Anonymous) - May. 23rd, 2008 08:18 am (UTC) - Expand
May. 20th, 2008 08:11 pm (UTC)
Missing words
"We would like linux distros to take this patch for their builds if at all possible for 3.0."

While still serious, I would assume most people's builds will be provided by their distro's.
May. 20th, 2008 08:15 pm (UTC)
do you think that apple would care more?
May. 20th, 2008 08:46 pm (UTC)
patch to be taken by Linux distributors, and in first FF3 update
The patch in that bug will be in 3.0.1 (if it's not in 3.0 -- we've just said that we won't respin specifically for it, but if there's a respin done we will take it), and we're making sure that Linux distributors take the patch if their users are likely to be on ext3 or other filesystems that effectively convert an fsync into a full-filesystem sync. We believe that the bad Linux jbd behaviour will affect few users of FF3.0, given that it's going to be patched in the packages that the vast majority of our Linux users use. (Spinning and testing RC2 would only get the fix into the hands of those remaining users a couple of weeks sooner, versus shipping FF3 and then getting 3.0.1 out on schedule.)

We've invested a ton in improving the Linux experience in Firefox and Gecko, including a bunch of work on native theme code that I think you might find in another layout engine now :), and I think that shows in the product. We take our cross-platform commitment quite seriously, and I think it stands up very well against that of any other web technology stack.

Mike Shaver
May. 20th, 2008 08:50 pm (UTC)
I didnt understand why you say that there will be no patch, and the bug report says there is one.
What am i missing here?
May. 20th, 2008 08:55 pm (UTC)
Re: Question
I posted that there would be no patch at the exact same time that the bug changed to reflect acceptance of one of the proposed patches. However, I still believe, as I have tested it, that it is not the right solution.
May. 20th, 2008 08:54 pm (UTC)
Reply to topic
I like WebKit as well, but you don't have a WebKit browser for GNOME/Ubuntu.
Midori doesn't count at all, as it is similar to an near-alpha release.

Another thing that bugs me is that I don't know exactly what WebKit renders or not. Seriously.
I googled a month ago and got this in a forum: http://www.neowin.net/forum/index.php?s=093d1cd056e12f6688d7ca24fa7ba7ed&showtopic=628125

Reall bad.

May. 22nd, 2008 04:06 am (UTC)
Re: Reply to topic - (Anonymous) - May. 24th, 2008 01:10 am (UTC) - Expand
Re: Reply to topic - (Anonymous) - May. 28th, 2008 12:26 pm (UTC) - Expand
May. 20th, 2008 09:15 pm (UTC)
The bug is in the kernel
... which doesn't implement fsync(2) as it should. A PR disaster for Linus?
May. 20th, 2008 09:17 pm (UTC)
Re: The bug is in the kernel
You know, ext2 has been around since 1994 and this is the first time using fsync this way has come up. Are you really going to point fingers?
Re: The bug is in the kernel - jldugger - May. 20th, 2008 10:13 pm (UTC) - Expand
Re: The bug is in the kernel - (Anonymous) - May. 20th, 2008 10:17 pm (UTC) - Expand
Re: The bug is in the kernel - zlynx - May. 25th, 2008 01:28 am (UTC) - Expand
May. 20th, 2008 09:19 pm (UTC)
Is the bug really that severe? I've been running all of the beta series on Linux, haven't encountered anything like what is being described... ext3 and high system load seem to be mentioned often, both of which describe my source-built system...
May. 20th, 2008 09:22 pm (UTC)
Seeing the performance degrade requires the accumulation of about two months worth of browsing history in the new sqlite data format.
(no subject) - (Anonymous) - May. 22nd, 2008 12:18 am (UTC) - Expand
May. 20th, 2008 09:22 pm (UTC)
how to reproduce?
The question for me is more: how do I reproduce this behaviour? I have just pushed my load average to 25 and don't see long freezes. Short ones (1-2 seconds max.) are to be expected from a heavily loaded system. I am using ext3 and my places.sqlite is 23 MB. What am I doing wrong?
May. 20th, 2008 10:14 pm (UTC)
.. to know. i have to reboot my desktop system, which i never halt, twice a week. good to know the problem is firefox. i will switch to epiphany asap. anyway, my main OS right now is not Linux anymore. I switched to OSX and i'm glad of it. I'm really tired about gnome and it's kind of development. And i'm on linux since 1998, i am a sys admin. my desktop should always work because without it i can't bring money to my wallet. i'll be back on linux when i'll be able to mount again nfs shares in user space through gnome interface, when i will be able to install fonts again and when the develpers will stop to talk about mono, silverlight and which is the best gnome game to include. Start to develop something like Book Fonts, ICC profile manager, etcc.. Start to develop something PROFESIONAL.

May. 21st, 2008 08:59 am (UTC)
Re: good
I wonder whether epiphany will be affected as well. Even though it stores history and bookmarks in its own XML format, xulrunner automatically stores its shit in sqlite format.

If it is not used, we could easily patch the epiphany startup code so that these files are removed, though.
Re: good - dysynderesis - May. 22nd, 2008 02:43 am (UTC) - Expand
(Deleted comment)
May. 20th, 2008 10:52 pm (UTC)
Because with a database you can do a lot of things you can't do without.
I'm using Firefox 3 beta 5 and then rc1 since the beginning of April and I'm really happy of it. The new library/history/bookmarks manager, the awesomebar, they're really good. I was becoming very disaffected about firefox on linux but this release is wonderful.
May. 21st, 2008 05:42 am (UTC)
please no...
This is exactly the reason I switched from KDE to Gnome. KDE (and Konqueror) did excessive fsyncs, which killed the performance on laptop drives.

I recently updated Liferea 1.4.14. Suddenly it's very very slow. And no wonder, it also uses SQlite now.
May. 21st, 2008 11:54 am (UTC)
I think that this is a (know) ext3 journaling problem. I don't think mozilla is doing anything wrong - I'm using firefox 3 nightlies on Ubuntu and I don't have any problem.

And I don't think it's wrong to prioritize win32 over Linux - arguing that they should have the same priority is like when debian tried to give the same priority to all the architectures. The vast majority of users (x86) got harmed by this policy. Same would happen for Firefox. Just because Mozilla has a sensible policy doesn't means they hate Linux.
May. 21st, 2008 12:46 pm (UTC)
> diegocgI - think that this is a (know) ext3 journaling problem. I don't think mozilla is doing anything wrong - I'm using firefox 3 nightlies on Ubuntu and I don't have any problem.

No, it's not, fsync on ext3 will sync the entire buffer in memory, which is bad for performance. That doesn't change the fact that it shouldn't be used like this in the first place though.

http://www.flamingspork.com/projects/libeatmydata/ = solution, a bad one, but it works. I use it for a few other things (pidgin for example does a lot of fsync for absolutely no reasons, cached buddylist icons for example..), I couldn't get it working with firefox though for some reason.
May. 21st, 2008 01:46 pm (UTC)
Every time someone acts like a dick about something like this, more people waste time fueling the fire. I imagine some idiot (like one of the Epiphany advocates above, who always know better than the Mozilla Foundation) will end up sending it to Slashdot and then another hour of people's lives goes on the fire.

Not one human being is going to use a 3.0.0 Linux tarball. Quite a few human beings will use a 3.0.0 Windows binary. So the exact reason for punting it is correct; that breaking process for the sake of a binary that nobody will use isn't worth it.

"PR disaster". I wonder whose fault that will be. MoCo's, for following a reasonable release process, or the same attention whores that whine *every time* a new Mozilla release happens?

- Chris
May. 21st, 2008 02:47 pm (UTC)

Except that the problem, of course, is that Mozilla has punted the responsibility to distributions. There isn't a known-good patch, yet. Instead of prioritizing finding a solution, the policy is: pass the buck downstream.

The sick irony here is that downstream diverging from upstream is exactly what the entire Iceweasel debacle was and continues to be all about.

Edited at 2008-05-21 02:47 pm (UTC)
Re: DOING. IT. WRONG. - ext_99532 - May. 21st, 2008 04:26 pm (UTC) - Expand
Re: DOING. IT. WRONG. - ext_94355 - May. 21st, 2008 07:31 pm (UTC) - Expand
Re: DOING. IT. WRONG. - ext_50297 - May. 21st, 2008 04:27 pm (UTC) - Expand
Re: DOING. IT. WRONG. - (Anonymous) - May. 21st, 2008 07:17 pm (UTC) - Expand
May. 22nd, 2008 12:19 am (UTC)
As with a lot of people, I've used Beta 5 and RC 1 on Ubuntu. No patch/reduction applied, as far as I know, and it runs fine. I love it; if anything, it runs faster than FF 2.
May. 22nd, 2008 09:55 pm (UTC)
Re: Beta...?
youre wrong. read the bug again. ubuntu already uses the patch. i use the nightlies and while it works perfectly fine in windows and osx its unbearably slow in linux.

and like jason said ppl might move away from ff. i for one did not know why ff is so insanely slow in lin, nor did i care enough to search why.

i just dropped it altogether and went back to opera. you could ask why i didnt go back to ff2 and the answer is rather simple as well. im not so much the fan of slow leakware.
Re: Beta...? - (Anonymous) - May. 23rd, 2008 08:16 am (UTC) - Expand
Page 1 of 2
<<[1] [2] >>
( 56 comments — Leave a comment )


color, uphair, smile
Jason D. Clinton

Latest Month

September 2011


Powered by LiveJournal.com
Designed by Tiffany Chow