15 ms·
Electrolysis – run web content in a separate process from Firefox
- mahouse 12y agoI tried it myself. Most of the bugs that are there explained in that wiki page aren't really occurring (I guess they were fixed in the meantime), but I noticed creating and destroying new tabs was much much slower, and that made me disable it.
- mconley_ 12y agoe10s engineer here. There are certainly some performance things to iron out. Right now, we're just trying to make the base browser functions work properly, and then we'll start tackling the performance problems.
- mahouse 12y agoI know ;) I'm looking forward to Electrolysis, since having only one process is what makes me use Chrome: the renderer hangs a lot, especially with complex pages (such as TweetDeck for me), and when that happens, the whole browser hangs.
- ck2 12y agoI feel like people stealth copy links from my comments sometimes. Maybe I am just paranoid, lol Anyway, I'll add this: http://arewee10syet.com/ http://arewee10syet.com/
- tosh 12y agoConfirmed: I did find the wiki page through your comment and thought it would be a great submission. You are not paranoid if they are really watching you :D
- ck2 12y agoYeah don't feel bad, someone else did it to my Chrome runs Android apps submission the other day too. I've got more useless points than I know what to do with so no problem with others having some. ps. I think a better title that might not get mod-changed would be "Mozilla: Electrolysis"
- tosh 12y agoTitle updated :)
- blueskin_ 12y agoYay, now firefox can waste just as much memory as Chrome. Guess 1GB for the whole browser wasn't enough; they had to go for ~100MB/tab. Got to keep up with Chrome after all.</s> If I use chrome for normal browsing (I don't normally because its feature set is poor, customisability is a dirty words, and I don't like the privacy risk), it can rapidly slurp 4GB or more of memory (with perhaps two key addons, adblock and DoNotTrackMe). Even firefox at its worst rarely if ever goes over 1.5GB, even with very heavy customisation and plenty of privacy/adblocking/etc addons. >Performance would improve because the browser UI would not be affected by poor performance of content code (be it layout or JavaScript). What about by the overhead from task switching hundreds of processes and mapping all the memory when each one takes up 50MB or more?
- ck2 12y agoExcept in Firefox, at least for now, you can turn it off and make it monolithic again if that is your desire. I've had too many stalled pages for my liking so I welcome this when it is finally stable and extensions catch up.
- blueskin_ 12y agoGreat, now what happens when they do a google and stealth remove that feature? (cf: The option to have the tab close button on the right, the status bar, the option to disable javascript, the option to have tabs in a sane place instead of on top...) Somehow, I doubt disabling multiple processes will be within the scope of an addon.
- ck2 12y agoYou can switch to Palemoon, Waterfox, Cyberfox, or one of the other forks that still run all the extensions? Firefox is not for lack of options, I'd say it is the *nix of the browser world. ps. You can also solve all of the tab issues with TabMixPlus and the UI issues with ClassicThemeRestorer - my Firefox 33 looks virtually identical to Firefox 4
- 12y ago
- whoisthemachine 12y agoI use this occasionally, it works okay. I have to say though, with the introduction of the GGC, and all of the improvements to the JS runtime recently in Firefox, that it has gotten much faster. Electrolysis should bring "smoothness" to the entire UI as one site should not be able to halt the UI thread for the rest of the browser any more.
- T3RMINATED 12y agoChrome has been doing this for years now... Mozilla you are so far behind you lost the edge.
- silon3 12y agoIs there a "Ctrl+tab" extension that works properly with this?
- cpeterso 12y agoThere is an undocumented about:config pref "browser.ctrlTab.previews" that enables a tab preview switcher. The switcher works with e10s, but not the tab previews. You can watch e10s bug 863512 for more info: https://bugzilla.mozilla.org/show_bug.cgi?id=863512 https://bugzilla.mozilla.org/show_bug.cgi?id=863512
- pearjuice 12y agoAfter versioning, functionality and UI they now copy sandbox-mode from the Chromium project. I don't think there's much time left before you won't be able to make the distinction between Firefox and Chromium anymore.
- SimeVidas 12y agoFirefox has nicer curves :P
- taeric 12y agoIs this really different than anything else in "pop programming culture?" Consider the spread of various paradigm practices in the different runtimes. And this is not a condemnation of the practice. Just saying it really isn't that different than most anything else. I will say that it is not that troubling. Far more troubling would be either a) multiple completely inconsistent browsers dominating the field or b) a homogenous ecosystem in the web. At least, I think so.
- quotemstr 12y agoYou mean that Chrome copied IE's sandboxing?
- gsnedders 12y agoFrom what I've heard from both Google and MS people, Chrome had it first, it's just IE announced it (and shipped it in a beta) first. Alternatively, if you don't want to trust word of mouth — there's no way the Chrome team did their entire sandboxing implementation in the five months between IE announcing it and the announcement of Chrome, it's just too much work.
- deleted 12y ago[deleted]
- wjoe 12y agoI was wondering about the benefits of this. Supposedly having tabs in different processes should improve performance of the browser in general, as slow running scripts in one tab process won't slow down the main UI process. I have come across this problem before, including the whole browser freezing from some slow JS. But does this need to be done with separate processes? Surely running tabs in a different thread to the UI should solve this issue too? I'm a bit concerned about the effect this could have on RAM usage and plugin compatibility - the linked wiki page already lists two plugins that I can't live without (NoScript and Tree Style Tabs) as being incompatible. Hopefully that will be fixed before this becomes default in a release.
- cwzwarich 12y agoPart of it is probably that browsers use so much shared global data that it is easier to just make another process. There are also fault isolation and security benefits you get from splitting the web content into a process that can have a tighter sandbox policy.
- mconley_ 12y agoAnother argument for running in multiple-processes as opposed to multiple-threads is that a crashing thread will bring down the whole browser. A crashing content process, on the other hand, can just "crash" the tab, and show an interface for reviving that tab.
- jude- 12y agoI'm really glad Mozilla has been working on this. A lot of comments here talk about UI responsiveness being the key benefit, but another huge win is that it limits the damage a browser zero-day can do. With this model, a compromised tab will no longer be able to directly read the contents of other tabs, since the other tabs live in separate address spaces. This of course assumes a compromised tab can't go on to compromise the browser kernel (i.e. the process that manages tabs and shared tab state) or trick the kernel into giving it unauthorized data from other tabs. However, formally verifying that a kernel implementation prevents this is feasible in practice [1]. [1] http://goto.ucsd.edu/quark/ http://goto.ucsd.edu/quark/
- pcwalton 12y ago> With this model, a compromised tab will no longer be able to directly read the contents of other tabs, since the other tabs live in separate address spaces. ... assuming those tabs are cross-origin. > This of course assumes a compromised tab can't go on to compromise the browser kernel Also assumes that a compromised tab can't go on to compromise the OS kernel.
- jude- 12y ago> ... assuming those tabs are cross-origin. Not sure why this has to be a condition. Perhaps tabs loading pages from the same origin will both have read/write access to some shared data in the browser kernel (like the site's cookies), but they still run in separate address spaces regardless. A compromised tab won't be able to directly access another tab's RAM, as is the case with single-process browsers. > Also assumes that a compromised tab can't go on to compromise the OS kernel. Very true. However, my argument was that a multi-process model limits (but obviously does not eliminate) the impact of zero-days. In the single process model, the attacker could compromise any tab and have all tab state available with no additional effort. In the multi-process model, the attacker would have to compromise the right tab, compromise a different tab and trick the browser kernel to performing the requisite operations, or somehow bypass the OS's memory protection. Each of these require more work than before.
- 12y ago
- ksec 12y agoRealistically Speaking, I think this is still at least another 6 months to 1 year away from moving to Aurora or Beta Channel.
- asadotzler 12y agoI think we'll see it in Aurora sooner than 6 months. Care to wager?
- zz1 12y agoLooking forward to it!
- notorious1212 12y agoI got the option to enable this the last time my Nightly installation was updated. It's been working well so far, but plugins are leaving a lot to be desired. On OS X Yosemite, full screen flash video will make the entire browser crash with the tab. On OS X Mavericks, it looks like the native Firefox PDF viewer is no longer available, and the adobe plugin was not working at all in its place. I'm excited about e10s though, I think this is definitely the right way to go for all browsers!
- cpeterso 12y agoWARNING! If you run Firefox Nightly to test Electrolysis (e10s), you should not share your e10s-enabled user profile with other Firefox release channels: Aurora, Beta, or Release! The Nightly channel has many e10s bug fixes that are not fixed in Aurora, Beta, or Release.
- reubano 12y agoThis is a main reason I don't use Chrome. Since each tab is running under a sep process, there is no easy way to tell how much total memory is being used. Despite all the improvements, Firefox still has some pretty bad memory leaks and often runs over a gig of memory with just 5 or 6 tabs open. If they go this route, mem leaks will be harder to spot.
- kalmi10 12y agoChrome has a built-in Task Manager (Shift+Esc). One can even see the memory consumption and CPU usage of each tab and extension.
- reubano 12y agoThat doesn't work for me on a mac. But what about total usage? If I have to add up the mem used for each tab it won't be helpful.
- grrowl 12y agoFind it under Window > Task Manager, or detailed memory usage information by navigating to "chrome://memory" The latter displays total memory usage at the top of the page. edit: As child poster noted, total memory is overcounted as it seems to be quite difficult to audit exactly what memory is shared within each child process. (see https://code.google.com/p/chromium/issues/detail?id=25454 https://code.google.com/p/chromium/issues/detail?id=25454 )
- reubano 12y ago"Note: This page will show memory use for all running browsers, not just Chrome. (Bug: We seriously overcount our own memory usage: Issue 25454.)"
- coldtea 12y ago>This is a main reason I don't use Chrome. Since each tab is running under a sep process, there is no easy way to tell how much total memory is being used. Seeing "how much memory is being used" is a major use case for you using a browser? If a browsers works fast and doesn't leak memory, one shouldn't care how much memory exactly is used.
- Animats 12y ago"Electrolysis" finally works? Several years ago, Mozilla gave up on it. This is progress. Now the question is how tightly locked down the page processes are. Can they access files? Or is all file and persistent state access via some separate process? Done right, each page process should execute in a jail, lacking the privileges to alter external files or persistent state.