Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

problem with eclipse speed

Altera_Forum
Honored Contributor II
1,173 Views

I use Nios II IDE 5.0, PC speed is 2.533 Ghz 

 

but speed of editor is more like 0.5, it's 

horrible slow, the editor always hangs when I type characters 

(I only use 2 finger system) 

e.g. if I type "//" after short time jawa.exe goes up to 100%  

and e.g. scrolling hangs for short time. 

you can forget all the features of Eclipse if it is slower as I can type ! 

I tried to switch off everything, but it does not help. 

 

 

any ideas
0 Kudos
9 Replies
Altera_Forum
Honored Contributor II
410 Views

ctl alt del: You did try reboot?

0 Kudos
Altera_Forum
Honored Contributor II
410 Views

i tried reboot, no changes, virus scan deactivated etc. 

same behavior is at a second PC, 

there is some automatic in the background that disturbes typing 

characters,scrolling etc. 

it's really irritating
0 Kudos
Altera_Forum
Honored Contributor II
410 Views

go to http://www.eclipse.org/ (http://www.eclipse.org/) select bug and search with keywords such as "perfomance slow response,,," 

 

There are a few hundred hits, and some which could be relevant. Seems that huge files which require indexing can be slooooow.  

One of them may be interesting/useful: search for "[Editor] Responsiveness horrible with large program". 

 

Apart from that, I have no idea. Never had any such problem, but nor have I had huge projects.
0 Kudos
Altera_Forum
Honored Contributor II
410 Views

thanks, I read this thread, 

but I have no idea, what option to switch off to get "no hangs",  

sometimes it disturbs less, sometimes more. 

 

I worked with a 333Mhz PC with Visual Studio 6 and Visual Studio 2003 

and I was happy with the speed (IntelliSense worked well),  

now with my 2.55 Ghz PC (1GByte RAM) and NIOS IDE,  

I have the feeling as if I worked with my first  

286-PC(10Mhz,20MegaByte Hard disk). Everything I have seen which  

uses JAVA is slow, simple slow. 

Sorry I don't want to bother the developers of Eclispe, they make great  

work, but at the moment I'm not happy with the speed of this editor. 

 

Does anyone has a setup for visual c (error parser ?) or works with  

visual c or visual studio ?. 

Is there any other debugger which works with NIOS II setup?
0 Kudos
Altera_Forum
Honored Contributor II
410 Views

do you have large files/projects as they speak about in the aforementioned eclipse list? If you dont, and see this slowish behaviour in even smaller projects there may be some special problem of your setup, because as mentioned I dont see any slowdown of the editor which I take note of. So it CAN work. 

 

Only thing which I find slow is compilation. It even takes a fair amount of time (15s or more) to figure out which files are outdated and gets on doing the job. 

 

Moving to another ide-platform... I guess and this is only a guess, you will be very much on your own.
0 Kudos
Altera_Forum
Honored Contributor II
410 Views

I have the same problem, here are some of the things I'm trying: 

 

- reinstall on a brand-new PC without all the cruft of my everyday system 

- try out the Linux version (still trying to get Altera to give it to me) 

- try different windows and java versions 

 

I don't know yet if it's a Windows, Java, Eclipse, CDT or Nios problem or a combination. 

 

Andrew
0 Kudos
Altera_Forum
Honored Contributor II
410 Views

- I made a complete new setup with quartus 5.0 on a new harddisk,  

because I wanted to keep the older version 4.2, so no garbage  

from older times. 

 

- I don't have enough experience to work with linux.  

 

- I work with Win xp prof and home, nothing else is supported 

I don't want to play with different Java versions  

because I need a stable system  

(i think nios uses jre under ..altera\quartus50\bin\jre) 

(everything else works at the moment). 

 

I have seen the same problem at another PC, same Nios project, 

so I think its a general problem and not a problem with my PC. 

When I enter some keys, short time after that, there is a short  

peak of 100% cpu usage of jawaw.exe. It' not long, let's say one  

second or less, but there is no continuous typing of characters  

possible, it's simple confusing. 

The project is also not very huge, about 30 smaller files. 

I have read that main goal of Eclipse 3.1 will be improved  

performance. Perhaps Altera can make a build with Eclipse 3.1  

in the near future ?.
0 Kudos
Altera_Forum
Honored Contributor II
410 Views

Hi Fisher, 

 

I cannot say whether we will have eclipse 3.1 in the next release, but I do know it is being evaluated currently.. we'll see!  

 

Back to your problem: I have never experienced anything like this, that bad, myself... the largest software projects I have worked with have had 30-50 user files and code in the range of 20,000-30,000 lines(user code, not including the system library).  

 

However, I have not tried all the eclipse bells and whistles which index everything... you allude to trying to restore default eclipse settings. This is a good idea. There is an easy way to do this, though: just back-up your existing eclipse workspace (by default this is in nios2/bin/eclipse/workspace) and rename the directory or delete it. Then, re-start eclipse..it should be as if you had installed for the first time and all of your settings were removed. You will need to re-import your Nios projects, but after this you should be able to see if the problem occurs again.
0 Kudos
Altera_Forum
Honored Contributor II
410 Views

I am also using a clean install of 5.0 on XP. I am not having the severe slowdown that Fisher is seeing, but it is definitely slower to compile than the 4.1 version. Side-by-side comparison shows the 5.0 IDE to be 30% to 50% slower to compile. With small projects this goes up to 200% to 300% due to the pre and post housekeeping "generating markers" of the 5.0 build process. Unchecking tthe C++ indexer boxes in the application and syslib properties does not seem to speed things up at all. Maybe it is not really being turned off? What is this generating markers business anyway?

0 Kudos
Reply