Bug 182282 - startup sequence performance
Summary: startup sequence performance
Status: RESOLVED WONTFIX
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: Framework (show other bugs)
Version: 3.2.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: equinox.framework-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo, performance
Depends on:
Blocks:
 
Reported: 2007-04-13 04:43 EDT by Eric Jodet CLA
Modified: 2019-05-23 10:01 EDT (History)
2 users (show)

See Also:


Attachments
thread detail (3.99 KB, text/file)
2007-04-13 04:44 EDT, Eric Jodet CLA
no flags Details
vm snapshots (273.50 KB, application/x-zip-compressed)
2007-04-13 04:46 EDT, Eric Jodet CLA
no flags Details
jvm dumps (242.60 KB, application/x-zip-compressed)
2007-04-16 07:24 EDT, Eric Jodet CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Jodet CLA 2007-04-13 04:43:37 EDT
using RAD v7.0.0.3 with org.eclipse.osgi_3.2.2.R32x_v20070118
against a 110 + projects workspace.

- cold or warm startup
- customized shortcut to activate the -consolelog option

Test scenario
- double click the RAD icon
- the MS-DOS console opens, and though after some time, the splash screen appears, the startup sequence sounds like freezing

- took several vm snapshots (to be attached)and the vm is busy running the same  code (see to be attached file)

--> I'm not saying there is an issue here, but may be we should investigate what's happening at RAD startup, and check whether we can improve corresponding code.
Comment 1 Eric Jodet CLA 2007-04-13 04:44:50 EDT
Created attachment 63701 [details]
thread detail
Comment 2 Eric Jodet CLA 2007-04-13 04:46:15 EDT
Created attachment 63704 [details]
vm snapshots
Comment 3 Thomas Watson CLA 2007-04-13 08:44:36 EDT
Are you running with -clean?  can you attach the config.ini you are using?

It looks like eclipse update is re-installing all the bundles every time you startup.  That will happen if you are using -clean to launch or if you are clearing out your configuration area before starting or if this is the very first time you are starting eclipse against a new configuration/installation.  The following frames in you dumps indicate that eclipse update is re-initializing the system each startup:

4XESTACKTRACE          at org/eclipse/update/internal/configurator/ConfigurationActivator.installBundles(Bytecode PC:354)
4XESTACKTRACE          at org/eclipse/update/internal/configurator/ConfigurationActivator.start(Bytecode PC:39)
Comment 4 Pascal Rapicault CLA 2007-04-13 09:16:12 EDT
What is the content of the eclipse.ini?
What is the layout of this installation of RAD? Are the plug-ins in a shared cache?
Comment 5 Eric Jodet CLA 2007-04-13 09:28:12 EDT
(In reply to comment #3 and #4)
I use a standard RAD install, with standard shortcuts - no -clean option
Same for my config.ini file:
-vm
C:\Program Files\IBM\SDP70\jdk\jre\bin\java.exe
-vmargs
-Xquickstart
-Xms40m
-Xmx768m
-Xgcpolicy:gencon
-Xscmx96m
-Xshareclasses:singleJVM,keep
-Xnolinenumbers
-XX:MaxPermSize=512M
Comment 6 Eric Jodet CLA 2007-04-16 07:23:11 EDT
(In reply to comment #5)
re-rechecked everything and found that one of my 3 RAD shortcuts had the -clean option - sorry for that.
Still, the startup sequence sounds really slower compared to v7.0.0.1.

Removed the option and took new jvm snapshots (to be attached)
Comment 7 Eric Jodet CLA 2007-04-16 07:24:13 EDT
Created attachment 63892 [details]
jvm dumps
Comment 8 Thomas Watson CLA 2007-04-16 10:29:22 EDT
(In reply to comment #6)
> (In reply to comment #5)
> re-rechecked everything and found that one of my 3 RAD shortcuts had the -clean
> option - sorry for that.
> Still, the startup sequence sounds really slower compared to v7.0.0.1.
> Removed the option and took new jvm snapshots (to be attached)

Can you give us more information?  Do you have any performance numbers when comparing the two versions side by side on the same hardware etc.

The dumps you provide are all well passed the initial framework startup sequence and are into the application code.
Comment 9 Eric Jodet CLA 2007-04-16 10:48:21 EDT
(In reply to comment #8)
unfortunately no: had to uninstall v7.0.0.1 before installing v7.0.0.3,
and did not took measures with the previous verison.
I'll try and take yourkit snapshots this week.
Comment 10 Thomas Watson CLA 2007-08-01 17:53:05 EDT
Need more information to make any progress.  Do you have any more performance numbers from yourkit which would be helpful?