[ECB-list] Strange Performance Problem Opening ECB Windows

6 views
Skip to first unread message

Chris Gordon-Smith

unread,
Nov 9, 2013, 6:25:51 PM11/9/13
to ecb-...@lists.sourceforge.net
Hello All

I'm having a performance problem with ECB since I upgraded to Debian 7
(Wheezy). First I navigate to a file in the directories buffer - no
problem. If I then close the ECB windows and then try to re-open them,
it takes ages for the re-open (sometimes up to 15 seconds). Closing the
ECB windows and re-opening them again is fine.

In short, opening the ECB windows after I have already navigated to a
file in a directory is very slow, but re-opening again after that is
fine. If I navigate to a file in another directory I get the same
problem. If I get impatient waiting for the ECB windows to open, I can
hit any key (eg space) and they open quickly. However, I then get the
same slow response next time I open the ECB windows.

CPU load is high during the period of slow response.

Its really weird, and very annoying. Does anyone have any ideas. Any
help would be much appreciated.

Chris Gordon-Smith
www.simsoup.info

------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Ecb-list mailing list
Ecb-...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecb-list

Przemysław Wojnowski

unread,
Nov 14, 2013, 4:26:02 PM11/14/13
to ecb-...@lists.sourceforge.net
Hi.

What do you mean by closing/reopening ECB windows? Is it a call to
ecb-toggle-ecb-windows?

I'm using ECB from Alex Ott Github and CEDET from BZR and cannot
reproduce this problem.

What ECB, CEDET and Emacs versions are you using? And what types of file?

Cheers,
Przemek

W dniu 10.11.2013 00:25, Chris Gordon-Smith pisze:
------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk

Chris Gordon-Smith

unread,
Nov 14, 2013, 7:50:52 PM11/14/13
to ecb-...@lists.sourceforge.net
Yes, I mean ecb-toggle-ecb-windows (sorry, I should have made that clearer).

I'm using the ECB and Emacs versions included with my Linux distribution
- Debian GNU/Linux 7.2 (wheezy).

Specifically:

- GNU Emacs 23.4.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.10)
- ECB 2.40+cvs20110608-3
- CEDET seems to be included as part of Emacs 23.4.1

The files I'm looking at are C++ source files (*.cpp).

CPU: I'm running on a Zotax ZBox DVD with a dual core Atom D525 and a
dual core Atom D510.

Any thoughts much appreciated.

Chris Gordon-Smith
www.simsoup.info

Przemysław Wojnowski

unread,
Nov 15, 2013, 11:24:56 AM11/15/13
to ecb-...@lists.sourceforge.net
Unfortunately I don't have your environment and cannot recreate the
issue. But I do remember that there was an issue with idle scheduler, in
some version of CEDET, where the processor usage was going to 100%.

The only advice I have is to use ECB and CEDET from repositories. Usage
in both cases is straightforward, so there should be no problems.
Probably it's not what you would like to hear, but even if there was a
bug, then a fix would be included in the repository version anyway...

Przemek

W dniu 15.11.2013 01:50, Chris Gordon-Smith pisze:

Christian Hilberg

unread,
Nov 15, 2013, 12:58:04 PM11/15/13
to ecb-...@lists.sourceforge.net
Hi Chris,

Am Freitag 15 November 2013, um 01:50:52 schrieb Chris Gordon-Smith:
> Yes, I mean ecb-toggle-ecb-windows (sorry, I should have made that clearer).
>
> I'm using the ECB and Emacs versions included with my Linux distribution
> - Debian GNU/Linux 7.2 (wheezy).
>
> Specifically:
>
> - GNU Emacs 23.4.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.10)
> - ECB 2.40+cvs20110608-3
> - CEDET seems to be included as part of Emacs 23.4.1

I remember I've struggled with similar oddities a while back,
and while grepping the web, I found that the Emacs 23 built-in
CEDET was reported troublesome, in conjunction with ECB at least.
Unfortunately, I do not have the links handy which I found back
then and forgot about by now. :)

The advise given was to actually install CEDET and ECB locally
and configure your .emacs file to use your local CEDET. It should
then override the built-in one.

This is a working setup for me on Debian/Wheezy with packaged Emacs 23.4,
while CEDET 1.0.1 and ECB 2.40 are source releases, installed for my user
as non-packaged variants.

(Bye)^2,

Chris

--
kernel concepts GmbH Tel: +49-271-771091-11
Sieghuetter Hauptweg 48
D-57072 Siegen
http://www.kernelconcepts.de/
signature.asc

Chris Gordon-Smith

unread,
Nov 15, 2013, 2:02:24 PM11/15/13
to ecb-...@lists.sourceforge.net
Hello Christan and Przemyslaw

That has worked! Thanks very much.

I now have:

- Debian Wheezy
- Emacs 23.4.1 (standard with Debian Wheezy)
- CEDET 1.0.1 (from Sourceforge)
- ECB 2.40 (from Sourceforge)

(I tried CEDET 1.1, bur that didn't work)

For some reason, its a bit slow opening the first *.cpp file, but
everything OK after that.

I've used ECB for a few years, and really like it.

Hope the setup will be easier for the next Debian release.

Best Regards

Chris
www.simsoup.info
Reply all
Reply to author
Forward
0 new messages