Discussion:
[ECB-list] Strange Performance Problem Opening ECB Windows
Chris Gordon-Smith
2013-11-09 23:25:51 UTC
Permalink
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
Przemysław Wojnowski
2013-11-14 21:26:02 UTC
Permalink
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
Post by Chris Gordon-Smith
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
https://lists.sourceforge.net/lists/listinfo/ecb-list
Chris Gordon-Smith
2013-11-15 00:50:52 UTC
Permalink
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
Post by Przemysław Wojnowski
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
Post by Chris Gordon-Smith
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
https://lists.sourceforge.net/lists/listinfo/ecb-list
------------------------------------------------------------------------------
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
_______________________________________________
Ecb-list mailing list
https://lists.sourceforge.net/lists/listinfo/ecb-list
Przemysław Wojnowski
2013-11-15 16:24:56 UTC
Permalink
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
Post by 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).
- 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
Post by Przemysław Wojnowski
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
Post by Chris Gordon-Smith
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
https://lists.sourceforge.net/lists/listinfo/ecb-list
------------------------------------------------------------------------------
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
_______________________________________________
Ecb-list mailing list
https://lists.sourceforge.net/lists/listinfo/ecb-list
------------------------------------------------------------------------------
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
_______________________________________________
Ecb-list mailing list
https://lists.sourceforge.net/lists/listinfo/ecb-list
Christian Hilberg
2013-11-15 17:58:04 UTC
Permalink
Hi Chris,
Post by 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).
- 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/
Chris Gordon-Smith
2013-11-15 19:02:24 UTC
Permalink
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
Post by Christian Hilberg
Hi Chris,
Post by 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).
- 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
------------------------------------------------------------------------------
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
_______________________________________________
Ecb-list mailing list
https://lists.sourceforge.net/lists/listinfo/ecb-list
Loading...