Slashdot Mirror


Firefox Finally Confirms 'Largest Change Ever' Featuring Electrolysis In v48 (zdnet.com)

Firefox is finally getting multi-process support. Mozilla has announced that Electrolysis (e10s) will be available to users starting Firefox 48. The foundation finds it the most significant Firefox change since the browser's inception. From a ZDNet report: With Electrolysis, Firefox can use child processes for content (tabs), media playback and legacy plug-ins. This is some way short of Google Chrome, which uses a different process for each tab. However, the result is that Chrome is a huge resource hog: Chrome uses roughly twice as much memory as Firefox on Windows and Linux. Eric Rahm has run some browser tests with Electrolysis, and says: "Overall we see a 10-20 percent increase in memory usage for the 1 content process case (which is what we plan on shipping initially). This seems like a fair trade-off for potential security and performance benefits." With 8 content processes, Rahm says: "we see roughly a doubling of memory usage on the TabsOpenSettled measurement. It's a bit worse on Windows, a bit better on OS X, but it's not 8 times worse."The aforementioned feature will be available in Firefox 48 Beta shortly.

101 of 187 comments (clear)

  1. Honestly? by halivar · · Score: 2, Insightful

    Performance is the least of their problems. Security, first.

    1. Re: Honestly? by Entrope · · Score: 4, Interesting

      Optimization isn't premature if it's totally awesome optimalization, am I right? I'm pretty sure some old Unix guy say "First, make it work, then make it work awesome, then make it work right."

    2. Re:Honestly? by LichtSpektren · · Score: 5, Informative

      Sandboxing all of FF's plugins is good security practice.

      If I understand correctly, Mozilla is re-writing their layout engine in Rust, which should be considerably more secure than Blink (Chrome's engine). But that's still in alpha stage.

    3. Re: Honestly? by LichtSpektren · · Score: 5, Insightful

      Web browsers have to be colossal in size and features because nowadays many people do all of their work, all of their shopping, and interact with all of their multimedia through it. For better or worse, Firefox/Chrome/Safari/IE/Edge are practically entire operating systems, lacking only a kernel.

      If you'd like a browser that "does one thing and does it well", you might want to stick to Lynx. I think most people want more than that though. And if you want more than that, the modularity and security features of the aforementioned browsers are invaluable.

    4. Re: Honestly? by Entrope · · Score: 2

      The concept of premature optimization only assumes that software will eventually achieve representative functionality. Which it does long before anyone decides that it is "done".

      Deciding what level of functionality is representative enough to start optimizing is hard. That's why the rules of optimization are:

      1. Don't.
      2. Don't Yet (for experts only).

    5. Re: Honestly? by Anonymous Coward · · Score: 1

      You're right, the whole "stack up layers of abstractions in a browser as a platform for everything" idea is patently stupid and cannot possibly work.

    6. Re: Honestly? by Anonymous Coward · · Score: 2, Insightful

      Has the security of Rust been independently audited or researched? I hear many claims about Rust, but I never see any real evidence. Just because those who created it say it's secure it doesn't mean that it actually is.

    7. Re:Honestly? by Anonymous Coward · · Score: 1, Interesting

      If I understand correctly, Mozilla is re-writing their layout engine in Rust, which should be considerably more secure than Blink (Chrome's engine). But that's still in alpha stage.

      I keep seeing comments like these, and they're clearly from people who have never tried Rust nor Servo.

      Sorry, guys, but they aren't what they think you are! I encourage you to try them out for yourselves to see what I mean. Don't just rely on hype you read somewhere.

      Rust's one implementation is riddled with bugs. See for youself! There are over 2,400 open bugs right now, and that doesn't include the many thousands that they've supposedly fixed in the past.

      If Rust is supposedly "secure" and good for writing robust software, then why is the Rust implementation and standard library, which are written in Rust by the people who designed Rust, so buggy? Don't give me excuses about it being "complex" or "new", either.

      How are average programmers supposed to benefit from Rust if those who know it the best are creating buggy code using it?

      And then there's Servo. Where to begin, where to begin! It's nowhere near ready for any sort of usage. Try it for yourself. Please do it! See how awful it currently is. It's probably 15 years behind the other browsers. Will it manage to make up those 15 years any time soon? I really doubt it! Will it be able to then surpass the other browser engines, which obviously won't be standing still either? I really doubt it!

      I'm truly scared for Mozilla's future. Firefox is losing users left and right. Rust and Servo aren't accomplishing much. And worse than that, we have people like you who seem to think that Rust and Servo are some glorious saviors, when realistically they're probably just wastes of time and effort.

    8. Re:Honestly? by Anonymous Coward · · Score: 2, Funny

      Good thing that "chrome", "safari", "windows" and "git" do not fall into that trap.

    9. Re:Honestly? by Matheus · · Score: 1

      I'm all for the security benefit of this.

      I'm also all for Firefox not being a bloated steaming pile that crashes constantly. It is, by far, the worst performing browser I use on the daily and that's *including IE11 which should say a lot. I seem to have seen the performance go completely away when I switched to the 64bit port so maybe my experience is specific to Windows x64 but honestly that's not a good excuse since that's no longer a unicorn environment. Both Chrome and IE have plenty of their own problems but Chrome hasn't crashed on me in years. IE has maybe crashed on me a handful of times in the same time. Firefox crashes on me at least daily if not more often when it's in a mood. Firefox's single process is using the same amount of memory as my Chrome's 26 processes combined which has 44 tabs open vs. 17 in FireFox. Firefox also has only very recently been surpassed by a couple of my IE processes as the king of page faults. All of the above number in the 100s of millions for a browser that crashes daily so has only been up for less than 24 hours.

      If it weren't for the fact FireFox renders some very important (to me) websites better than Chrome or IE and that I require the severe sandboxing I get from having 3 completely separate browsers running or FF wouldn't even be on my host. I've got my fingers crossed that these process changes will make using this browser much less painful.

    10. Re:Honestly? by Killall+-9+Bash · · Score: 1

      Mozilla signed their own execution order when they decided to play the popular game of Lets Try to be Like Google!

      You know who's the best at making software similar to Google software? Google is. And that isn't an accomplishment to be proud of.

      Even my beloved Opera has caught the Google Ghey. I think my RJ-45 plug needs a condom.

      --
      "Prediction: within 10 years, Windows will be a Linux distribution." Me, 7-6-2016
    11. Re: Honestly? by HiThere · · Score: 1

      I don't know whether it *has* been independently audited, but it could be if anyone wanted to bother. That's the first step. Then you need to give someone independent a reason to bother.

      --

      I think we've pushed this "anyone can grow up to be president" thing too far.
    12. Re:Honestly? by HiThere · · Score: 1

      Haskell has it's poiints if you don't need to do i./o. Once in get into monads the whole thing becomes more trouble than it's worth. Even Erlang is better. (Actually, Erlang is rather good. My only real complaint is that I need local state, and to do that in Erlang you need to be continually fighting the system.)

      There is a class of problems for which functional languages are optimal. But it doesn't hold most problems. If you allow local state then you can do parallelism by message passing, and expand the range of problems tremendously without adding significant complexity. But no language appears to do this, so I'm reduced to implementing it via oo-languages (yes, I could use C, but that's more difficult) and passing messages via something like ZMQ. This looks like it's going to work, but why isn't there a language that makes it easy?

      --

      I think we've pushed this "anyone can grow up to be president" thing too far.
    13. Re: Honestly? by shaitand · · Score: 1

      Not especially likely for the same reason "absence of evidence to the contrary" regarding it's security isn't much of a metric. Rust is a niche at this point.

    14. Re:Honestly? by shaitand · · Score: 1

      Does a modest change in process management in the browser even need a snazzy name? Seriously, it's an item on a changelog... only notable because I dream it will somehow lead to an end to how plugins impact the browser.

    15. Re:Honestly? by shaitand · · Score: 1

      That and Chrome spies on you and it's UI sucks.

    16. Re:Honestly? by shaitand · · Score: 1

      How about stability first? Call me when it's no longer possible for a misbehaving plugin to freeze the entire application as configured out of the box.

    17. Re: Honestly? by tattood · · Score: 1

      Premature optimization presumes that software will be done. You can optimize when a function stops changing.

      Premature optimization

      --
      WTB [sig], PST!!!
    18. Re: Honestly? by buchner.johannes · · Score: 1

      If you want a browser following the unix-philosophy, you want to go with http://www.uzbl.org/

      But then again, Linux (not GNU/Linux) and X also do not follow the Unix philosophy ...

      --
      NB: The message above might reflect my opinion right now, but not necessarily tomorrow or next year.
    19. Re:Honestly? by buchner.johannes · · Score: 3, Informative

      There are over 2,400 open bugs right now, and that doesn't include the many thousands that they've supposedly fixed in the past.

      Chromium has 51353 open issues, Firefox has >10000, webkit has >10000. So according to your logic, Rust is the best!

      --
      NB: The message above might reflect my opinion right now, but not necessarily tomorrow or next year.
    20. Re:Honestly? by mattventura · · Score: 1

      It's called 'e10s' to the user, because replacing t1e l5s i0n w5s w2h n5s makes so much sense.

    21. Re:Honestly? by goose-incarnated · · Score: 1

      I'm designing one, but not through message passing.

      I'm trying to do a design which has state variables (clearly demarcated) and callable functions that execute on other nodes. This avoids the need for message-passing by allowing functions to execute remotely and asynchronously. It does, of course, mean that functions that access state variables are also marked as such and such functions have only read-only access to state.

      So, limited shared state but not shared memory.

      --
      I'm a minority race. Save your vitriol for white people.
    22. Re:Honestly? by AmiMoJo · · Score: 1

      These changes do actually improve security. Firstly, by separating things out into threads with extremely limited permissions it makes it harder to do anything malicious by compromising them. At the moment everything runs in the main process, with the same permissions.

      Secondly, they are cleaning up the add-on API to make it more secure. That will break some add-ons, but at least bugs in them won't be easily exploitable.

      --
      const int one = 65536; (Silvermoon, Texture.cs)
      SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
    23. Re:Honestly? by AbRASiON · · Score: 1

      Performance is by FAR their biggest problem, you haven't even outlined what security issues you have. You've just thrown a dead cat on the table and walked away. Ugh

    24. Re:Honestly? by HiThere · · Score: 1

      Well, I can see how that might work, but I'd need to understand more about what you're intending. I don't intent the mutable state to be externally readable, only to affect the messages that it passes in response to incoming messages.

      What I think might happen with your proposal is that external read access to the state might be difficult to synchronize leading to various race conditions. I'm sure this can be worked around, but it seems to me that it could add greatly to the complexity.

      --

      I think we've pushed this "anyone can grow up to be president" thing too far.
    25. Re:Honestly? by UnderCoverPenguin · · Score: 1

      Firefox is losing users left and right.

      I stopped using FireFox regularly when Mozilla's attempts to make it more user friendly also took away much of the configuration controls I used.

      Making something dumber is not the right way to make something more user friendly. It's lazy and not actually more friendly - not even to "the average, browse-the-web-and-send-messages/pictures person".

      --
      Don't try to out wierd me, three-eyes. I get stranger things than you, free with my breakfast cereal. --Zaphod Beeblebr
    26. Re:Honestly? by NotInHere · · Score: 2

      Rust can be seen as some kind of imperative Haskell:

      * Like Haskell, Rust has very strong typing, and auto-deriving of types.
      * Guards and case in Haskell becomes match in Rust, with all the pattern matching you can do in Haskell
      * The Result and Option types in Rust are essentially the same as the Either and Maybe types in Haskell

      and many other common things.

    27. Re:Honestly? by phantomfive · · Score: 1

      There is a class of problems for which functional languages are optimal. But it doesn't hold most problems. If you allow local state then you can do parallelism by message passing, and expand the range of problems tremendously without adding significant complexity. But no language appears to do this

      Smalltalk might make you happy, check it out. It's not like C++.

      --
      "First they came for the slanderers and i said nothing."
    28. Re:Honestly? by goose-incarnated · · Score: 1

      Well, I can see how that might work, but I'd need to understand more about what you're intending. I don't intent the mutable state to be externally readable, only to affect the messages that it passes in response to incoming messages.

      Ah, but I'm doing away with messages altogether[1] :-) What I propose is that the line of code[2]:

      foo = funcall (func_ptr, arg1, ... argN)

      might get executed on another computer, so the implementation has to compile a list of state-variables that "func_ptr" reads and pass that stack to func_ptr. As func_ptr will be native code, the implementation will have to ensure at compile-time that func_ptr has all the references to state-variables that it might need during runtime. This obviates the need for many of the problems introduced by message-passing while allowing the implementation runtime to order/reorder expressions so that as many of the remote functions as possible are offloaded onto a remote node.

      What I think might happen with your proposal is that external read access to the state might be difficult to synchronize leading to various race conditions. I'm sure this can be worked around, but it seems to me that it could add greatly to the complexity.

      We'll see; you can't make progress if you don't every now and then attempt to break conventional thought. Probably nothing will come of this (certainly a paper or two), but it might just hit the sweet spot. Certainly, worse ideas than this got very popular very quickly :-)

      [1] At the application/programmer level anyway.

      [2] More likely to be useful in iteration/list comprehension scenarios.

      --
      I'm a minority race. Save your vitriol for white people.
    29. Re:Honestly? by RonVNX · · Score: 1

      Haven't had Firefox crash in years. Over 500 tabs open, dozens of extensions. Whatever your problem is, it's not Firefox. If you think Firefox is bloated you're not paying attention to your Chrome.

    30. Re:Honestly? by HiThere · · Score: 1

      Judging by your example the language would be useless for my purposes because of excessive inter-thread/process communication overhead.

      OTOH, I think that you should probably look carefully at Erlang, as it seems to already handle the case you appear to be talking about quite well.

      --

      I think we've pushed this "anyone can grow up to be president" thing too far.
    31. Re:Honestly? by goose-incarnated · · Score: 1

      Judging by your example the language would be useless for my purposes because of excessive inter-thread/process communication overhead.

      OTOH, I think that you should probably look carefully at Erlang, as it seems to already handle the case you appear to be talking about quite well.

      I've programmed in Erlang for a few years. Played with Haskell as well, adequate in Lisp too :-) But thanks anyway,

      Cheers

      --
      I'm a minority race. Save your vitriol for white people.
  2. Re:FF vs Chrome by mattventura · · Score: 1

    They need to actually fix their process-per-tab first. I keep trying it only to be let down by bugs that make it unusable for me. For example, a userscript I use grabs alt+letter key hotkeys. In non-e10s, it works fine. In e10s, it activates the userscript action as well as the menu bar.

  3. Really? by beheaderaswp · · Score: 1, Interesting

    Gosh... I've got 16Gb of RAM on my PC 6 of which is never used.

    Please use my memory and give me more thread... please.

    Firefox is such a performance dog and they are trying to sell small footprint?

    Sorry- I think Firefox is a hideous browser.

    --
    Another consultant who stuck it out.

    "We are the Priests, of the Temples of Syrinx..."
    1. Re:Really? by Anonymous Coward · · Score: 1

      not going to happen, because: Cell Phones, Chromebooks, Firefoxbooks only have 2GB-4GB of ram

    2. Re:Really? by Anonymous Coward · · Score: 1

      Hmmm... Should I trust real data or your unsubstantiated, purely imaginary, beliefs? Sorry, but your "investigation" concludes the exact opposite of what every one else has confirmed repeatedly. I suspect that's because you're not telling the truth, and instead want to spread FUD. You're like an anti-vaccine nut.

      It's pretty well-established that when it comes to memory use and performance, Firefox beats Chrome hands-down. Faster rendering, better JS performance, lower memory and CPU use, pick a metric. Chrome is a bloated hog in comparison.

      This isn't controversial outside of Slashdot, where the group-thinkers believe Chrome is still lighter and faster because it used to be years ago. Here in reality, that hasn't been true for ages. Sensible users switched back to FF years ago. The privacy minded did as well.

      Why the hell would you *want* to run Chrome these days? Because you want to use as much ram and memory as possible? Because you think the internet is too fast and want to slow things down a bit? Because you really need Google to know as much as possible about you and your habits?

       

    3. Re:Really? by DigiShaman · · Score: 1

      Obviously you're not married to a stay-at-home mom that also works from my now given-to-her gaming PC. It has 16GB installed on it. I don't think I ever used more than 12GB. Most of the time, my wife has 30+ instance of Firefox running, and about 50+ tabs in each instance. Do the math. My i7 constantly runs 30% idle and often 98% of the RAM is in use. Fuck being a gamer, she can bring my rig to it's knees!! Wow!

      Next one I built, I will max it out at 64GB (latest core series supports). That, I just have to go full-tilt Xeon with 128GB. This is getting absurd! Well, can't say she isn't happy; she rungs rings around me when it comes to multi-tasking. Women....

      --
      Life is not for the lazy.
    4. Re:Really? by thegarbz · · Score: 1

      The only effective way to count RAM usage in this context is to measure RAM, kill the process tree, and measure RAM again.

      Or you could use the built in browser memory reporting tools that show exactly what part is taking up how much memory. But that would be too easy wouldn't it.

    5. Re:Really? by shaitand · · Score: 1

      No doubt, Firefox has stability issues and isn't as fast executing some js. If only Chrome didn't suck in comparison on every other front right down to being spyware.

    6. Re:Really? by shaitand · · Score: 1

      I'm a FF fan but Chrome still executes much js faster than FF. As for memory usage, it depends, the first day FF is lighter but it leaks like crazy.

      If you are a typical browser user and have dozens of tabs opened and closed on a daily basis while leaving your browser open after just a couple days the memory consumption will be ridiculous.

    7. Re:Really? by bluefoxlucid · · Score: 1

      The built-in browser tools know which virtual pages are mapped to the same physical pages, even though knowing that information would require getting kernel-level access to read the page table entries for the process? Does Chrome install a kernel module?

      The amount of RAM used by a set of processes which takes the exact same actions (down to the areas of memory allocated and the exact memory addresses used for every byte of data) will be different between Linux and Windows.

    8. Re:Really? by PublicSchill · · Score: 1

      No kidding, I just bought 128GB of ram for a little over $300. Granted that's for a server with 16 ram slots, but still... Unless you're running windows with 1 GB of RAM you're not going to have to worry about your browser using too much of it. To me it's not even a performance issue. It's all the crap they tack on slowly. Soon it's going to be like loading up the yahoo home page. You can "hide" those crapware features now... but how long until they decide it's "integrated" into the browser too much to be "disabled"

    9. Re:Really? by AmiMoJo · · Score: 1

      I've only got 4GB on my laptop and I'm happy with Chrome using tonnes of RAM. The thing is, with an SSD and a modern OS, using lots of RAM isn't an automatic fail these days. In fact, often it's a good idea.

      --
      const int one = 65536; (Silvermoon, Texture.cs)
      SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
    10. Re:Really? by LinuxIsGarbage · · Score: 2

      This is a silly justification. The first problem is you listed Chromebooks, and this is EXACTLY what Chrome does. The RAM usage is still low for a rational number of tabs, a few hundred meg, and nobody is going to have 100 tabs open on a phone.

      I noticed on Android and 32bit (low RAM) Windows systems Chrome seems to kill old background tabs. They will reload if selected, but they are little more than a bookmark.

      In any case I rather use Chrome on these systems than Firefox on any system, as Firefox will bloat up to 1.5-1.9GB RAM usage, even when all tabs except about:blank are closed. Open one more page and everything will crash.

    11. Re:Really? by AvitarX · · Score: 1

      My phone is where I have most tabs (though I think it dumps then from memory and turns them into bookmarks).

      On my computer, when too many tabs are open to see the site icon, I clean up, on my phone I never do, and I'm more likely to end up in a new browser tab from other activities than I am on a desktop.

      --
      Wow, sent an e-mail as suggested when clicking on "use classic" banner, and got a fast response that addressed my msg
    12. Re:Really? by Blaskowicz · · Score: 1

      E10s turns that into e.g. a 700 MB process and a 1 GB process. That works around the 32bit limit.

    13. Re:Really? by thegarbz · · Score: 1

      Isn't that entirely irrelevant and completely out of scope of the software's control?

    14. Re:Really? by bluefoxlucid · · Score: 1

      It's out of the software's control, and still is completely relevant. The strategy of relying on shared pages makes the difference between whether a multiple-process model is *necessarily* huge bloat or easily-optimized to not bloat. For the application developer, it means designing the application to make some runtime state more stable (i.e. it's different per-run, but less-likely to change during a run) or to group strongly-stable state together (e.g. mmap() anonymous memory for blocks of things which repeat down to the child processes but don't change after they're allocated in the parent) reduces total physical memory usage, even though this may increase measured memory usage.

      The software can't make it happen or detect it happening; it can account for it being likely.

    15. Re:Really? by Barny · · Score: 1

      I rely on the 'save tabs on exit' thing to be able to keep a lot open, but not actually loaded. For a laugh, I clicked on all my tabs and watched memory usage climb to 2.8GB and CPU sitting at about 20% used, constantly.

      --
      ...
      /me sighs
  4. This was an interesting comment on Asa's blog by Lennie · · Score: 4, Interesting

    "I am using Firefox Dev Edition with Electrolysis enabled from many months and it looks almost stable now. I dont know if anyone noticed this but the CPU and memory usage reduced drastically with increasing number of tabs (I have about 40 open tabs) with e10 enabled. And with this, Firefox uses lot less resources than Chrome on my system with multiple tabs."

    https://asadotzler.com/2016/06...

    --
    New things are always on the horizon
    1. Re:This was an interesting comment on Asa's blog by Anonymous Coward · · Score: 1

      https://asadotzler.com/2016/06... [asadotzler.com]

      The motherfucker who said we didn't need a status bar, because status bars took up too much precious vertical space, has a fucking position:fixed CSS div on his fucking webpage.

      Fuck you, Asa. You were the cancer that killed Firefox back in 4.0.

  5. It breaks extensions by Lawrence_Bird · · Score: 2

    been dealing with this as a nightly user and have turned off E10s - Though NoScript mostly works now, I have other extensions that have stopped. Unfortunately, at least one of them does not look to be too actively supported anymore. It is also not certain that E10s provides much more than easier recovery, the performance figures I have heard are not that great though I personally did not notice any slow down (or speed up).

    1. Re:It breaks extensions by jlv · · Score: 2

      As I said in the last thread on FireFox... extensions are the only things that keep me using it. If they break extensions, I'll have no reason left to avoid switching.

      (Hint to Mozilla: don't break extensions!)

      If I could only reliably stop Chrome extensions from auto-updating, I'd have made the switch already. Basically, a dumb forced feature on Google's part is what is helping to keep me using FireFox.

  6. Electrolysis? by methano · · Score: 3, Interesting

    Where did they get a name like "Electrolysis"? As a chemist, I tend to think of electrolysis meaning something a lot different that the FF folks do. And as a layman I tend to think of electrolysis as a technique for removing unwanted hair. So they name some code after a hair removal technique. I guess the long list of "names for things" is finally getting exhausted.

    1. Re:Electrolysis? by zero_out · · Score: 2

      I'm guessing it has something to do with splitting water into oxygen and hydrogen, and splitting a single application process into multiple processes.

    2. Re:Electrolysis? by K.+S.+Kyosuke · · Score: 1

      Where did they get a name like "Electrolysis"?

      It's what web pages crave?

      --
      Ezekiel 23:20
    3. Re:Electrolysis? by shaitand · · Score: 1

      Okay, but why have a catchy name for a change in process handling at all? I know they are pleased with themselves but this is just an entry on a changelog.

    4. Re:Electrolysis? by James+Carnley · · Score: 3, Insightful

      This is a huge multi-year project that almost rewrites whole portions of the browser. It's not just an entry on a changelog. It's a major undertaking that people have been discussing using a codename for a very long time. You need codenames because saying "project to split tabs into separate processes" over and over gets old. The name Electrolysis makes sense because that's essentially what they are doing: splitting one monolithic thing into smaller parts.

    5. Re:Electrolysis? by shaitand · · Score: 1

      "This is a huge multi-year project that almost rewrites whole portions of the browser."

      That's down to poor abstraction and design, which hopefully was fixed in that re-write, not how monumental the feature is. That cleaner design is a bigger change than the process handling itself. If they've reworked that much of the code-base then it justifies a version increment that possibly would come with a cool code name the process handling itself... yes just a changelog.

  7. Finally by EvilSS · · Score: 1, Funny

    I've always wanted a web browser that can also get rid of unwanted hair.

    --
    I browse on +1 so AC's need not respond, I won't see it.
  8. Could spell the end of FF if there are problems. by Anonymous Coward · · Score: 5, Insightful

    What worries me the most is how this feature could very well spell the end of Firefox if users run into problems with it.

    The latest web browser market share stats show Firefox at only about 6% to 7% of the market. That puts Firefox, across all platforms both mobile and desktop, well below Chrome, and around where individual versions of other browsers like Safari for iOS and IE are at.

    So Firefox has no leeway at this time. Mozilla really can't afford to lose any more Firefox users than they've already lost.

    Electrolysis hasn't exactly been a smooth project. It goes back many years, and my understanding is that they actually halted/delayed the project at one point, before restarting it. Its release has been pushed back again and again and again.

    There have been cases in the past where Firefox changes have not gone well, and this has resulted in even more users leaving than who would've likely left had there not been problems.

    For example, around the Firefox 4 era, when they switched to their new versioning scheme and rapid releases, many extensions were broken with each new release. This caused untold problems for Firefox users. Many of them moved to Chrome or other browsers at this point. By the time the Firefox devs got their acts together, it was too late; these users would never again use Firefox.

    We saw something similar happen with Australis. Despite widespread dislike from the Firefox community at the time, Australis was pushed on all Firefox users. This was a painful transition for many. In some sense it proved to many that Firefox as they knew it was long dead; Firefox was now just a bad imitation of Chrome. Many Firefox users, when faced with the choice of using a poor imitation of Chrome (i.e. Firefox) or Chrome itself, just chose the lesser of two evils and used Chrome directly. Even if its UI is shitty, at least it's faster than Firefox.

    If Electrolysis ends up breaking extensions for a lot of Firefox users, or if it ends up slowing down Firefox even more for them, I think we may see yet another mass exodus away from Firefox to Chrome and other browsers. That could very well take Firefox from being irrelevant to being completely irrelevant. Nobody will care about Firefox when it has only 2% or even 3% of the browser market. Web developers won't test with it, and sites won't work with it. Search engine providers won't sign deals with Mozilla if Firefox has few users.

    The only thing that might be more devastating would be the extension signing changes that the Firefox developers have talked about.

    I really don't want Firefox to become irrelevant, but I'm getting an awful feeling in my gut that that's exactly what we'll see when the Electrolysis rollout ends up being a major disaster for a lot of Firefox users. This could very well be what finally pushes them over the edge and to other browsers, meaning that Firefox would become irrelevant.

  9. Whatever. by sootman · · Score: 4, Insightful

    You can write the rendering engine in BASIC for all I care, just quit fucking with the UI.

    --
    Dear Slashdot: next time you want to mess with the site, add a rich-text editor for comments.
  10. Re:Maybe just call things what they are. by pecosdave · · Score: 1

    Something like this maybe?

    --
    The preceding post was not a Slashvertisement.
  11. Re:Could spell the end of FF if there are problems by Anonymous Coward · · Score: 2, Insightful

    I wonder why Mozilla has search a hard time understanding that the main draw of their browser is its extensions. Making sure they remain stable should be the #1 priority...at least, it should be higher up than introducing 'features' no one cares about. If Chromium had decent noscript and pentadactyl equivalents, I'd switch and never look back.

  12. Re:FF vs Chrome by ShanghaiBill · · Score: 1

    You can call Chrome a resource hog all you want

    My laptop has 16GB. I am using Chrome and have 18 tabs open. It is using less than 2GB in total. Why should I care if it is a hog as long as plentiful resources are available? The point of having resources is to use them. I am happy to trade memory for responsiveness and reliability.

  13. Re:Yes, but........ by Anonymous Coward · · Score: 1

    Actually, they have. But ensure the extensions you are running are not leaking memory themselves.

  14. You have the wrong story! The question is security by Anonymous Coward · · Score: 1

    The story is that Mozilla can change your settings without your knowledge or permission, per Asa's blog: https://asadotzler.com/2016/06/06/firefox-48-beta-release-and-e10s/

    It starts out simple enough, with some A-B testing:

    "This is a huge change for Firefox, the largest we’ve ever shipped. roll-out plan that ensures we’re going slowly, measuring as we go and that we can throttle up as well as down depending on what we see.
    Here’s what that looks like. When we launch Firefox 48, approximately 1% of eligible Firefox users will get updated to E10S immediately."

    This first statement might imply that they are A-B testing at the installer level, choosing what to install for you. They might be planning on enabling it for everyone in 6 weeks... oh, wait... no:

    "If we run into issues, we can slow the roll-out, pause it, or even disable E10sS for those who got it. We have all the knobs." (bolding mine)

    It's clear that they have access to settings and can override user settings when and as they wish. One might suggest preventing firefox from having network access, but of course that is ridiculous. Instead, we are giving up control of our system to an unknown someone. What if Mozilla was to be hacked? What would prevent someone pushing down some risky settings? I'm not even sure of the risks. But once I hear someone say they have all the knobs to enable and disable settings, it makes me worry about security.

  15. Re:Yes, but........ by Anonymous Coward · · Score: 1

    Firefox has had memory leaks under control for a long time. Regressions ebb and flow with releases but almost surely what you are calling a Firefox memory leak is not an actual memory leak. I'd say more than half of users who talk about memory leaks don't know the difference between a memory leak and large memory footprint.

  16. Re:Copy Pasta by Anonymous Coward · · Score: 2, Insightful

    Exactly. Firefox's 'loss' of market share is due to the increased usage of Android. Going by the actual numbers, people aren't flocking away from Firefox. If you buy a phone and start using it twice as often as you use Firefox on your desktop, Firefox doesn't suddenly lose two-thirds of its users. Their percentage of all web hits drops by two-thirds, but their user count remains the same. Assuming you're the only Firefox user in existence.

  17. add-on developer here by rsilvergun · · Score: 5, Interesting

    This is going to require a full rewrite for me and just about everybody. If they are going to do this I wish they'd at least wait until they had compatibility with Chrome so I could leverage the work I'm doing there. Rewriting an app for a mulitthreaded environment is a nightmare of interlocking callbacks...

    --
    Hi! I make Firefox Plug-ins. Check 'em out @ https://addons.mozilla.org/en-US/firefox/addon/youtube-mp3-podcaster/
  18. Re:The processes are cool again? by MobyDisk · · Score: 2

    These processes ARE using multi-threading. Multi-process has not replaced multi-threading.

  19. Re:FF vs Chrome by Anonymous Coward · · Score: 1, Insightful

    Why does a damn 'web browser' require 2GB of memory? For non-millenials (i.e. people who work outside of marketing and social bs) web browsing isn't remotely a major component of their productive work activity. Computers must do what the users require, and in my work that often requires all 32 GB of memory plus 500 GB + of pagefile storage. I am forced to use Opera 12 as it is the only graphic windows browser compact enough not to interrupt that.

  20. Wait by Anonymous Coward · · Score: 1

    So each tab has a thread? They still can't manage to multithread a bunch of different shit in one tab? My problem with Firefox's single-threading is never that I'm trying to do CPU intensive shit in two tabs at once, it's that some shitty Flash or video is hogging 100% of one CPU core and stuttering when it would work fine if they could just manage to use more than one core to playback the damn content.

  21. Plugins aren't really "sandboxed" by CrashNBrn · · Score: 1

    Tabs and plugins run in the same process: plugin-container.exe

  22. Your house is on fire, they bring you a sandwich. by Anonymous Coward · · Score: 1

    Whereas improved performance in apps is a good thing, the elephant in the room is the lack of privacy.
    Google is state sponsored spyware on a global scale. Microsoft Windows and Facebook are as well.

    see:
    http://betanews.com/2015/08/15/firefox-stealthily-loads-webpages-when-you-hover-over-links-heres-how-to-stop-$
    https://support.mozilla.org/en-US/kb/how-stop-firefox-making-automatic-connections

    There is no lack of performance in a web browser on modern machines. The slowdown is because websites
    all spider-connect to so many script hosts that are for the most part ALL tracking you. CDN's are the
    exception. You should use adblock and noscript. With noscript you have to go to Options/Advanced/XSS
    and remove the "help yourself Google" permissions. Just clear the big box. yahoo and wikipedia go
    with it. You can allow them when you are actually on their pages.

    Between that and all the Google captcha and Cloudflare captchas, the US Gov is fucking up the
    Internet. Like actual Internet spy-ders. Every time you want to go to a site and you aren't already
    "equipped" with Windows 10 global spyware or a Windows phone, you get blocked with match-the-lakes
    and match-street-addresses and match-street-signs. Those are in general saying Google, let me pass to
    the site I want.

    If you don't already know, install NoScript browser add-on and configure it to see exactly how many
    sites even slashdot connects to. Check other sites. They all check-in with Google which is presently
    still in fear of the US Gov.

    Linux versions of Firefox are also affected by these "feature implementations". On Windows however
    you should use Portable versions if you even use Windows at all.
    https://sourceforge.net/projects/portableapps/files/Mozilla%20Firefox%2C%20Portable%20Ed./

    They just extract to any folder you want and just open the executable. There is no install. Then you can
    configure them to shut out the tracking and prefetching. The absolute only hassle in Windows with
    portable apps is if you want to associate filetypes. You don't need to, but you can. It's easy too.

  23. PHP 4 was memory safe too by raymorris · · Score: 1

    Rust is a memory-safe language, meaning it is less vulnerable than C to certain types of bugs. That's great.

    PHP is also memory-safe, as are most languages. Does that mean that writing software in PHP makes it secure? Quite obviously not, especially older versions of PHP. I certainly hope the current Mozilla developers don't have any false sense of security from using Rust.

    Rust has a few tools which help mitigate specific types of vulnerabilities, often turning information leak bugs into denial of service instead. That's nice, but one should be careful not to overestimate the security benefit. If the programmers continue to try to write code that works, it'll still be full of security holes until they start thinking about what happens when things don't work - when a port number is higher than 65536, when http headers contain illegal bytes, etc.

  24. Re:FF vs Chrome by shaitand · · Score: 2

    For anyone in tech (millenial or otherwise) a browser is pretty essential. I have at least 50 tabs open right now from a fresh browser this am. Only about 5 are for something other than work and 3 of them are open to different articles in my home wiki.

    Even if it's just keeping that thing I already searched out earlier open for reference in case I need to go back to it. Many of them will stay open right up till a forced corporate reboot. Human memory is far more valuable than computer memory. Why try to learn or memorize formats, syntax, command options, file locations, etc when the web stores all that information?

    Almost all the apps I work with are web based now. Aside from video/graphics heavy tasks, why do any kind of heavy lifting on your client? Slap a web interface on a server that will do the lifting and access it via a browser.

  25. Re:FF vs Chrome by EndlessNameless · · Score: 2

    Why does a damn 'web browser' require 2GB of memory?

    If your browser uses a separate process for each tab, then you'll have 18 instances of process overhead when 18 tabs are open.

    In Chrome, the rendering engine, plugins, and extensions each run in their own process as well. Some plugins are quite demanding.

    In addition, there must be a fairly comprehensive framework for interprocess communication so plugins can function.

    You trade significant RAM overhead and low/moderate CPU overhead for some security and reliability. The ability to have individual tabs/plugins hang or crash without affecting the others is probably the most practical benefit, as there always seems to be some web site with absolutely retarded scripting that ends up eating an entire CPU core.

    --

    ---
    According to the latest ruleset, this post should be modded as Vorpal Flamebait +5.
  26. Re:Yes, but........ by JustAnotherOldGuy · · Score: 1

    The only extensions I'm using are NoScript and Adblock.

    --
    Just cruising through this digital world at 33 1/3 rpm...
  27. Re:Yes, but........ by JustAnotherOldGuy · · Score: 1

    The only extensions I'm using are NoScript and Adblock, that's it. Period.

    --
    Just cruising through this digital world at 33 1/3 rpm...
  28. Bad Windows Scheduler is driving this by flyingfsck · · Score: 1

    This would make a big performance improvement on Windows. It should make no difference on Linux or OSX.

    --
    Excuse me, but please get off my Pennisetum Clandestinum, eh!
  29. Re:FF vs Chrome by mattventura · · Score: 1

    Because some people might have far more than 18 tabs open, and they might be doing other things with the rest of their RAM. That kind of memory usage isn't going to cut it when 18 tabs becomes 100.

  30. Mozilla, learn about virtual memory management by Anonymous Coward · · Score: 1

    It doesn't take much more RAM to break things into multiple processes. It just looks that way because of copy-on-write pages. Look at active pages in vmstat. I told them to use one process per origin domain, and have each origin have its own storage, and even created a proof of concept on top of webkit in 400 lines of code. Not a single comment against. Just silence. Firefox is dead.

  31. It doesn't help that much, a little bit. by AbRASiON · · Score: 3, Interesting

    Ultra extreme loony browser guy here again...

    Switched to nightlies about 3 months ago to try and get more performance, you'd be extremely surprised just how stable the experience has been.
    Current tabs open : 399

    It still has issues switching from tab to tab to tab and once you have a certain amount open, opening more isn't ideal either, delays can exceed a second or two, super bad times, up to 10 seconds...
    I guess about once a week I do see a crashed tab not take out the browser, so that's good but I'm still not happy with the perf to be honest. (for some reason, the 48 nightlies felt faster than 49, not sure why)

    Sometimes in really bad moments it can take over a second to switch tabs, scrolling is slow, clicking in boxes is slow, the whole thing lags up. If you're going to go multi-core at least give me 1 full core for my current tab, entirely independent of the others, furthermore, the 2 tabs directly to my left and right of my position should be prioritised too.
    (16gb, quad core machine here)

    1. Re:It doesn't help that much, a little bit. by chefmonkey · · Score: 3, Interesting

      If you're going to go multi-core at least give me 1 full core for my current tab...

      A lot of the pain you're feeling is probably due to on-thread content rendering. Since you're already living on the bleeding edge by running nightly, you might as well try turning on async pan/zoom, which renders content on a separate thread. This has some dramatic responsivity improvements. Go into "about:config" and set the pref "apz.drag.enabled" to "true."

    2. Re:It doesn't help that much, a little bit. by chefmonkey · · Score: 2

      Oh, and I forgot to mention -- I run with hundreds of tabs open from time to time as well, and it's usually just one or two bad apples that grind things to a halt. Since you're on 47 or later, you can go to about:performance and see which pages are chewing up CPU time. Closing the top CPU-hogging tabs makes everything work *much* better.

    3. Re:It doesn't help that much, a little bit. by AbRASiON · · Score: 1

      Thanks for that, I'll have a play around. I saw your other reply and wasn't sure if you knew your stuff but I think from this post it's evident.

      I use power close a lot (try it out) - it's quite handy when you're 400 deep in tabs and not sure what dupes you have open.
      You don't develop by any chance do you? I have a cracker suggestion someone said they liked for the awesome bar but sadly hasn't gone anywhere.

    4. Re:It doesn't help that much, a little bit. by chefmonkey · · Score: 1

      You don't develop by any chance do you?

      Not as much as I'd like to, but I have a certain amount of influence over feature implementation. If you want to describe the idea here, I'll pass it along.

    5. Re:It doesn't help that much, a little bit. by AbRASiON · · Score: 1

      https://www.reddit.com/r/firefox/comments/4c1i5k/i_need_pull_to_location_to_replace_switch_to_tab/

      Basically I open a new tab, it's DIRECTLY RIGHT of my current tab (how I prefer my workflow)
      I start to type a URL, awesomebar confirms, I do infact already have what I'm after open, great. I down arrow but I want it to *move* from current location (god knows where, 400 tabs open) into the new slot I just opened.

      I imagine, if I could code, it would be one of the easiest plugins to make ever. I nearly posted on the Mozilla addons forums about it.

  32. Re:FF vs Chrome by 0ld_d0g · · Score: 1

    With 2GB.. you could ship an entire operating system 100 times over that could run applications, far richer and far more responsive, than any web page. I don't see why its acceptable for a web browser to take up that much memory.

  33. Re:Why do we care about hardware anymore? by james_gnz · · Score: 1

    Perhaps I'm not a real-world user (at least not in this decade), but the machine I'm using has 1GB of RAM. (I got the upgrade option instead of going with the default 512MB when I got it, maybe about 8 years ago.) Besides me though, I think memory usage may also be relevant for kids with a low-end smart phone or Raspberry Pi, and/or people living in the third world. I think at least one of those probably does count as legitimate a real-world use.

  34. Re:Could spell the end of FF if there are problems by Lehk228 · · Score: 1

    ever since mozilla abandoned it's goal of technological progress in favor of the promotion of social justice

    --
    Snowden and Manning are heroes.
  35. Re:Funny enough by psyclone · · Score: 1

    Also an OSX user, and Firefox, with the right privacy-minded plugs, works wonders with a long-running low footprint. I use tree tabs so I have at least 30+ tabs open regularly. Neither Chrome nor FF will protect you from shitty javascript - you must prohibit that yourself.

    What a PITA it was just to stop Chrome from running on startup!

  36. Re:Yes, but........ by psyclone · · Score: 1

    You need to uncheck the following "security" options:

      [ ] Block reported attack sites
      [ ] Block reported web forgeries
      [ ] Whatever telemetry data

    Stop the browser then delete the giant sqlite files on disk and set your disk cache to a moderate (not too low, not too high) level. Restart.

    Also use the right amount of privacy-minded extensions to limit remote scripts and resources.

  37. What a terrible idea by aybiss · · Score: 1

    Great, so now I'll need to make sure I have less tabs open than CPU cores or my browser can lock up my entire machine running 18 layers of scripts to fetch me a personalised ad. When will browser developers realise that the internet is just the internet, not the sole purpose of computing?

    --
    It's OK Bender, there's no such thing as 2.
  38. Re:Chrome uses roughly twice as much memory... by Blaskowicz · · Score: 1

    This isn't the 90s, people don't buy a new PC every couple years.

  39. wait, what? by gzuckier · · Score: 1

    I can use the new version of Firefox to remove unwanted body hair? cool!

    --
    Star Trek transporters are just 3d printers.
  40. Chrome parity is the wrong way to win users again by LordLestat · · Score: 1

    More Chrome parity. That is Mozilla's concept to win users back. Let's be like Chrome and we win the browser war. Idiocy. Users use Firefox because it is not Chrome like, because it had no Chrome like extensions and uses no Google technology in their extensions, because it had features in the core which almost no other browser had. But today, it is all about being like Chrome.

  41. Staying with 45esr by allo · · Score: 1

    Until i find a solution for sync with my own server. Firefox removed the sync 1.1 protocol with local-only key (additional to the password) and now allows you to login only with e-mail and password. This means, the firefox server can decipher your data.
    They have some wrapping scheme, but it's just not working when they deliver a modified login page grabbing the plaintext password.
    No go.

  42. Re:Could spell the end of FF if there are problems by allo · · Score: 1

    They just should have stopped changing the API all the time. Too easy? Maybe ... not changing APIs seems to be boring to mozilla devs.