Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Starting Galileo takes a while...
Starting Galileo takes a while... [message #351817] Tue, 28 July 2009 09:57 Go to next message
Michael Moser is currently offline Michael MoserFriend
Messages: 914
Registered: July 2009
Senior Member
Galileo startup takes pretty long (I would say about a minute on my machine). And only during the last 10 or so seconds one gets the progress bar at the bottom of the splashscreen, which is then of course finished pretty quickly, but since it appears so late I find it only marginally useful. With Ganymede it appeared much earlier (and overall I am pretty sure, the startup took a bit shorter).

Just out of curiosity: what is eclipse doing so long during program start? Are there so many pre-loaded classes or packages? And why is the progressbar only appearing so late?

I have installed the J2EE version, in case that matters.

Michael
Re: Starting Galileo takes a while... [message #371069 is a reply to message #351817] Wed, 29 July 2009 04:15 Go to previous messageGo to next message
Prakash G.R. is currently offline Prakash G.R.Friend
Messages: 621
Registered: July 2009
Senior Member
Michael Moser wrote:
> Galileo startup takes pretty long (I would say about a minute on my machine). And only during the last 10 or so seconds one gets the progress bar at the bottom of the splashscreen, which is then of course finished pretty quickly, but since it appears so late I find it only marginally useful. With Ganymede it appeared much earlier (and overall I am pretty sure, the startup took a bit shorter).
>
> Just out of curiosity: what is eclipse doing so long during program start? Are there so many pre-loaded classes or packages? And why is the progressbar only appearing so late?
>
> I have installed the J2EE version, in case that matters.
>
> Michael
>

What are the additional plugins that you have installed?

- Prakash

---
http://blog.eclipse-tips.com
Re: Starting Galileo takes a while... [message #372212 is a reply to message #371069] Wed, 29 July 2009 08:47 Go to previous messageGo to next message
Michael Moser is currently offline Michael MoserFriend
Messages: 914
Registered: July 2009
Senior Member
Prakash G.R. wrote:
> Michael Moser wrote:
>> ...
>> I have installed the J2EE version, in case that matters.
>>
>> Michael
>
> What are the additional plugins that you have installed?
>
> - Prakash
>

Well, according to the package comparisson page (http://www.eclipse.org/downloads/packages/compare-packages) there are quite some for the J2EE package...

Michael
Re: Starting Galileo takes a while... [message #372233 is a reply to message #371069] Wed, 29 July 2009 08:51 Go to previous messageGo to next message
Michael Moser is currently offline Michael MoserFriend
Messages: 914
Registered: July 2009
Senior Member
And to make my question clearer:

I am not amazed or annoyed by the fact, that the startup takes long, I am only puzzled, why the progressbar appears so late during the process (which IMHO makes it less useful, than it could be).

Michael
Re: Starting Galileo takes a while... [message #372583 is a reply to message #372233] Wed, 29 July 2009 09:55 Go to previous messageGo to next message
Prakash G.R. is currently offline Prakash G.R.Friend
Messages: 621
Registered: July 2009
Senior Member
Michael Moser wrote:
> And to make my question clearer:
>
> I am not amazed or annoyed by the fact, that the startup takes long, I am only puzzled, why the progressbar appears so late during the process (which IMHO makes it less useful, than it could be).
>
> Michael

Generally the splash screen appears much fast and I was wondering if you
had any other external plugins (say for subversion or code checking etc)
Assuming you are getting this behaviour on plain JEE package, it appears
like a bug to me. Do you have any special set up? Like loading Eclipse
from a USB or network?

- Prakash
---
http://blog.eclipse-tips.com
Re: Starting Galileo takes a while... [message #423010 is a reply to message #351817] Thu, 30 July 2009 12:43 Go to previous messageGo to next message
Andras Milassin is currently offline Andras MilassinFriend
Messages: 4
Registered: July 2009
Junior Member
Michael Moser wrote:
> Galileo startup takes pretty long (I would say about a minute on my machine). And only during the last 10 or so seconds one gets the progress bar at the bottom of the splashscreen, which is then of course finished pretty quickly, but since it appears so late I find it only marginally useful. With Ganymede it appeared much earlier (and overall I am pretty sure, the startup took a bit shorter).
>
> Just out of curiosity: what is eclipse doing so long during program start? Are there so many pre-loaded classes or packages? And why is the progressbar only appearing so late?
>
> I have installed the J2EE version, in case that matters.
>
> Michael
>
I would suggest adding some configuration lines to the config.ini (after
vmargs). These properties speed up the start greatly. It can be that
some of the properties aren't needed for the best performance. At least
it didn't cause any problems for me so far.

The settings:
-Xms512m
-Xmx512m
-XX:PermSize=256m
-XX:MaxPermSize=256m
-XX:+UseConcMarkSweepGC
-XX:+CMSClassUnloadingEnabled
-XX:+CMSPermGenSweepingEnabled
-Xverify:none

Regards,
Andras Milassin
Re: Starting Galileo takes a while... [message #443991 is a reply to message #351817] Fri, 31 July 2009 16:09 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse-news.rizzoweb.com

Michael Moser wrote:
> Galileo startup takes pretty long (I would say about a minute on my
> machine). And only during the last 10 or so seconds one gets the
> progress bar at the bottom of the splashscreen, which is then of
> course finished pretty quickly, but since it appears so late I find
> it only marginally useful. With Ganymede it appeared much earlier
> (and overall I am pretty sure, the startup took a bit shorter).
>
> Just out of curiosity: what is eclipse doing so long during program
> start? Are there so many pre-loaded classes or packages? And why is
> the progressbar only appearing so late?
>
> I have installed the J2EE version, in case that matters.

It would help to know the operating system and hardware you are running
on. As a counter-example, I run on Mac OS X on a dual-core MacBook Pro
with 4GB of RAM (about 1.5 years old) and I noticed no difference in
startup times between Galileo and Ganymede. It starts up pretty quickly
for me, both the JEE package and the RCP/Plug-in development package.

Eric
Re: Starting Galileo takes a while... [message #483428 is a reply to message #351817] Tue, 01 September 2009 15:09 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.domain.invalid

Michael Moser a écrit :
> Galileo startup takes pretty long (I would say about a minute on my machine). And only during the last 10 or so seconds one gets the progress bar at the bottom of the splashscreen, which is then of course finished pretty quickly, but since it appears so late I find it only marginally useful. With Ganymede it appeared much earlier (and overall I am pretty sure, the startup took a bit shorter).
>
> Just out of curiosity: what is eclipse doing so long during program start? Are there so many pre-loaded classes or packages? And why is the progressbar only appearing so late?
>
> I have installed the J2EE version, in case that matters.

Could you have the "-clean" command line option ? This option might not
be included in the progress bar...
Re: Starting Galileo takes a while... [message #485336 is a reply to message #483428] Fri, 11 September 2009 12:26 Go to previous messageGo to next message
Michael Moser is currently offline Michael MoserFriend
Messages: 914
Registered: July 2009
Senior Member
Name wrote:
> Michael Moser a écrit :
>> Galileo startup takes pretty long (I would say about a minute on my
>> machine). And only during the last 10 or so seconds one gets the
>> progress bar at the bottom of the splashscreen, which is then of
>> course finished pretty quickly, but since it appears so late I find
>> it only marginally useful. With Ganymede it appeared much earlier
>> (and overall I am pretty sure, the startup took a bit shorter).
>>
>> Just out of curiosity: what is eclipse doing so long during program
>> start? Are there so many pre-loaded classes or packages? And why is
>> the progressbar only appearing so late?
>>
>> I have installed the J2EE version, in case that matters.
>
> Could you have the "-clean" command line option ? This option might
> not be included in the progress bar...

Yes, I have the -clean option set. Without it I had too much trouble (constantly seeing old states) when developing plugins...

Michael
Re: Starting Galileo takes a while... [message #485337 is a reply to message #423010] Fri, 11 September 2009 12:30 Go to previous messageGo to next message
Michael Moser is currently offline Michael MoserFriend
Messages: 914
Registered: July 2009
Senior Member
Andras Milassin wrote:
>> ...
> I would suggest adding some configuration lines to the config.ini
> (after vmargs). These properties speed up the start greatly. It can
> be that some of the properties aren't needed for the best
> performance. At least it didn't cause any problems for me so far.
>
> The settings:
> -Xms512m
> -Xmx512m
> -XX:PermSize=256m
> -XX:MaxPermSize=256m
> -XX:+UseConcMarkSweepGC
> -XX:+CMSClassUnloadingEnabled
> -XX:+CMSPermGenSweepingEnabled
> -Xverify:none

Thanks. I tried those options but, alas, the difference was barely noticable or rather, I had the impression, they made things even worse:
70 secs until the progress bar appeared, progress bar done and app ready after 10 more secs.

Michael
Re: Starting Galileo takes a while... [message #485339 is a reply to message #443991] Fri, 11 September 2009 12:37 Go to previous messageGo to next message
Michael Moser is currently offline Michael MoserFriend
Messages: 914
Registered: July 2009
Senior Member
Eric Rizzo wrote:
>> ...
> It would help to know the operating system and hardware you are
> running on. As a counter-example, I run on Mac OS X on a dual-core
> MacBook Pro with 4GB of RAM (about 1.5 years old) and I noticed no
> difference in startup times between Galileo and Ganymede. It starts
> up pretty quickly for me, both the JEE package and the RCP/Plug-in
> development package.

I have Galileo J2EE plus Jazz (RTC 2.0) plugins installed.

Running on a Windows XP laptop with dual cores 1.7GHz and 3 GB RAM.
The startup is clearly CPU bound (after ~15 secs there is practically no disk activity any more but task manager shows both cores 100% busy). The progress bar appears after ~70 seconds and is then done after <10 seconds.

Michael
Re: Starting Galileo takes a while... [message #485473 is a reply to message #485336] Fri, 11 September 2009 21:12 Go to previous messageGo to next message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3070
Registered: July 2009
Senior Member
On 9/11/09 8:26 AM, Michael Moser wrote:
> Name wrote:
>> Michael Moser a écrit :
>>> Galileo startup takes pretty long (I would say about a minute on my
>>> machine). And only during the last 10 or so seconds one gets the
>>> progress bar at the bottom of the splashscreen, which is then of
>>> course finished pretty quickly, but since it appears so late I find
>>> it only marginally useful. With Ganymede it appeared much earlier
>>> (and overall I am pretty sure, the startup took a bit shorter).
>>>
>>> Just out of curiosity: what is eclipse doing so long during program
>>> start? Are there so many pre-loaded classes or packages? And why is
>>> the progressbar only appearing so late?
>>>
>>> I have installed the J2EE version, in case that matters.
>>
>> Could you have the "-clean" command line option ? This option might
>> not be included in the progress bar...
>
> Yes, I have the -clean option set. Without it I had too much trouble (constantly seeing old states) when developing plugins...

You should definitely try removing -clean to see if startup time
improves; last time I discussed it with those who know, that option
forces p2 to do a lot of work during startup.
Any problems you have during plug-in development should not be related
to -clean since plug-ins are tested in a separate instance of Eclipse,
not the one that your developing in.

Hope this helps,
Eric
Re: Starting Galileo takes a while... [message #485575 is a reply to message #485473] Sun, 13 September 2009 20:20 Go to previous message
Michael Moser is currently offline Michael MoserFriend
Messages: 914
Registered: July 2009
Senior Member
Eric Rizzo wrote:
>> ...
> You should definitely try removing -clean to see if startup time
> improves; last time I discussed it with those who know, that option
> forces p2 to do a lot of work during startup.

Wow - you are right! The startup time is dramatically shorter. All complaints wiped away. In contrast: I'm impressed! :-)

> Any problems you have during plug-in development should not be related
> to -clean since plug-ins are tested in a separate instance of Eclipse,
> not the one that your developing in.

I know. "Plugin-development" was the wrong term. Enabling/disabling of (different - sometimes colliding - versions of) plugins would have been more precise. Before the Ganymede version I had activated/deactivated different eclipse plugins not by using Eclipse's configuration manager but by moving .link files in and out of the links folder. And that often heavily interfered with the built-in config mgmt. unless one specified the -clean option.

But the links mechanism doesn't seem to work any more anyway (at least not as expected) and so I had switched to the "official" way to manage plugins in the last version. So I can now also remove that relict. Very good!

Cheers and thanks,
Michael
Previous Topic:Undo Manager Highlights?
Next Topic:Save Changes Dialog
Goto Forum:
  


Current Time: Fri Apr 19 08:32:48 GMT 2024

Powered by FUDForum. Page generated in 0.08171 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top