Last modified: 2014-08-26 06:16:32 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T48637, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 46637 - Etherpad lite unusable at about 1000 lines or more (CPU load makes it lag)
Etherpad lite unusable at about 1000 lines or more (CPU load makes it lag)
Status: NEW
Product: Wikimedia
Classification: Unclassified
Etherpad (Other open bugs)
unspecified
All All
: Normal major (vote)
: ---
Assigned To: Nobody - You can work on this!
http://beta.etherpad.org/p/w0joc4GVoM
: upstream
Depends on: 46539
Blocks: 45312
  Show dependency treegraph
 
Reported: 2013-03-28 13:59 UTC by Nemo
Modified: 2014-08-26 06:16 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Nemo 2013-03-28 13:59:03 UTC
Typing on a pad with about 700 lines is practically impossible due to excessive lag, caused by CPU load.
Chrome on fedora 18, Intel(R) Core(TM) i5-3427U CPU @ 1.80GHz: 140 % CPU
Chromium on fedora 18, AMD E-350: all CPU available (100 %)
Chrome or Firefox on OS X, unknown CPU (by etherpad dev): 10 % CPU?

This is a blocker for bug 45312 because etherpad.wmflabs.org can't cover basic needs for our use cases.

Bug upstream still to be filed: «profile it using the chrome-dev-tools, "Collect javascript CPU profile"». 
(Apparently they consider 700 lines to be a lot and our CPUs to be too slow, we'll see how hard it is.)
Comment 1 Andre Klapper 2013-03-28 14:15:44 UTC
(In reply to comment #0)
> Typing on a pad with about 700 lines is practically impossible due to
> excessive lag, caused by CPU load.
> Chrome on fedora 18, Intel(R) Core(TM) i5-3427U CPU @ 1.80GHz: 140 % CPU
> Chromium on fedora 18, AMD E-350: all CPU available (100 %)
> Chrome or Firefox on OS X, unknown CPU (by etherpad dev): 10 % CPU?

From what you list there only seems to be an issue in Chrome.

Using Firefox 18.0.2 on Fedora and http://etherpad.wmflabs.org/pad/p/test , I can write totally fine in line 1100.
I can confirm that Google Chrome 24.0.1312.69 feels sluggish.

> This is a blocker for bug 45312 because etherpad.wmflabs.org can't cover
> basic needs for our use cases.

It's not if so far only one person is affected, in one specific configuration (workaround: Use a different browser), and not sure how often we have such large Etherpad files either (though I can imagine for buglists on bugdays).
Comment 2 Siebrand Mazeland 2013-03-28 14:16:06 UTC
By the way, this component does not appear to have any default CCs. Andre, could you try to track down a maintainer and add them?
Comment 3 Siebrand Mazeland 2013-03-28 14:17:27 UTC
(In reply to comment #1)

> It's not if so far only one person is affected, in one specific configuration
> (workaround: Use a different browser), and not sure how often we have such
> large Etherpad files either (though I can imagine for buglists on bugdays).

The Language Engineering team has this all the time, as all of out meeting notes are on etherpad. See for example http://etherpad.wmflabs.org/pad/p/l10n-team. Two days into the test of Etherpad Lite, we seem to have to go back to regular Etherpad.
Comment 4 Nemo 2013-03-28 14:24:23 UTC
(In reply to comment #1)
> From what you list there only seems to be an issue in Chrome.

No, there's no reported difference between Chrome/Chromium and other browsers.
Comment 5 Andre Klapper 2013-03-28 14:35:28 UTC
Errm, in comment 0 you wrote that Firefox maybe takes 10% but Chrome takes 140% CPU. Plus I don't have problems in Firefox. How does that go together?
Comment 6 Nemo 2013-03-28 15:01:17 UTC
(I didn't receive bugmail for half of the comments above, unsure why.)

(In reply to comment #5)
> Errm, in comment 0 you wrote that Firefox maybe takes 10% but Chrome takes
> 140%
> CPU. Plus I don't have problems in Firefox. How does that go together?

No, I said that both Firefox and Chrome have 10 % CPU usage for that dev who tested. Do you experience a difference between the two browsers?
Comment 7 Greg Grossmeier 2013-05-26 14:18:02 UTC
As Andre said in comment 1: "I can confirm that Google Chrome 24.0.1312.69 feels sluggish."

I also, can confirm that Fx 22.0a2 is NOT sluggish, while Chromium 26.0.1410.43 IS sluggish (both on Debian).

So, again, a reasonable workaround for now is to use Firefox for etherpad lite, but tracking down the real culprit (Chromium? Etherpad life?) should happen. Does someone want to determine where the issue lies and report that problem to the relevant upstream?
Comment 8 Nemo 2013-05-26 17:20:06 UTC
(In reply to comment #7)
> Does someone want to determine where the issue lies and report that problem
> to
> the relevant upstream?

Greg, the upstream report was already linked: https://github.com/ether/etherpad-lite/issues/1763
There was a rush before last release and devs debugged it a lot, but didn't find a real solution yet.
Comment 9 Andre Klapper 2013-07-01 09:04:45 UTC
Upstream comment implies that reason might be https://bugs.webkit.org/show_bug.cgi?id=92594 for WebKit browsers.
Comment 10 Nemo 2013-07-23 17:36:55 UTC
A recently (14 July) merged patch allegedly makes the most common case one order of magnitude faster, worth testing.
https://github.com/ether/etherpad-lite/issues/1763#issuecomment-21423689
https://github.com/ether/etherpad-lite/pull/1833#issuecomment-20943600
Comment 11 Nemo 2013-08-19 13:42:23 UTC
(In reply to comment #10)
> A recently (14 July) merged patch allegedly makes the most common case one
> order of magnitude faster, worth testing.
> https://github.com/ether/etherpad-lite/issues/1763#issuecomment-21423689
> https://github.com/ether/etherpad-lite/pull/1833#issuecomment-20943600

Did it? Are we using that code or not? We no longer have the old etherpad as workaround, how are people managing?
Comment 12 Nemo 2013-10-04 05:06:06 UTC
(In reply to comment #11)
> (In reply to comment #10)
> > A recently (14 July) merged patch allegedly makes the most common case one
> > order of magnitude faster, worth testing.
> > https://github.com/ether/etherpad-lite/issues/1763#issuecomment-21423689
> > https://github.com/ether/etherpad-lite/pull/1833#issuecomment-20943600
> 
> Did it? Are we using that code or not? We no longer have the old etherpad as
> workaround, how are people managing?

I hear that some are still using Chrome to edit the etherpads in question; it gets very slot to use about now, so around 1700 lines it would seem?
For reference, https://etherpad.wikimedia.org/p/i18n-team-04/timeslider#10309
Comment 13 Andre Klapper 2014-03-19 14:20:15 UTC
I'm bumping this down to major as there is a simple workaround (use a different browser) and as it's not critical by definition of https://www.mediawiki.org/wiki/Bugzilla/Fields#Severity
Comment 14 Nemo 2014-08-26 06:16:32 UTC
Just in case someone wonders, this is still relevant and LangEng is still using Google Docs because of this bug.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links