Skip to main content

quick starter not quick for me

6 replies [Last post]
peter_warren
Offline
Joined: 2003-06-24
Points: 0

Based on comments in this forum, it looks like some people are noticing fast applet load times with 1.6.0_10. That is not the case for me. For me cold start applet load times with 1.6.0_10 are just as slow as 1.6.0_05, which is about 3x slower than 1.5. Anyone have any ideas why I might be witnessing continued slow applet launches?

I'm using XP Pro SP2 with an Athlon 64 3500+ and 1GB RAM.

Firefox 2.0.0.12 - cold start
without applet = 4 secs
with applet = 37 secs

IE7 - cold start
with applet = 37 secs

My java version based on the console output is:
Java Plug-in 1.6.0_10-ea
Using JRE version 1.6.0_10-ea Java HotSpot(TM) Client VM

To test, I'm using a super basic applet that is loaded from the local file system, so network latency, etc. shouldn't be an issue.

<br />
public class BasicApplet extends Applet {<br />
    private JLabel label = new JLabel("Hello");</p>
<p>    public void init() {<br />
        this.add(label);<br />
    }<br />
}<br />

Any ideas?

Thanks,
Peter

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
linuxhippy
Offline
Joined: 2004-01-07
Points: 0

Even without quickstarter the 37s are horrible slow - on my machine java starts up without quickstarter in about 10s.

I think your problem is not caused by slow disc-IO, bu rather some configuration problems.
* Is your harddrive busy in the 37s when starting java
* Do you have a virus scanner, what happens if you disable it
* Do you have high CPU useage during the 37s startup (task manager)

lg Clemens

peter_warren
Offline
Joined: 2003-06-24
Points: 0

Thanks for the response.

- yes, the hard drive is busy the whole time.
- no virus protection
- very low cpu use during startup

Load times noticeably degraded with 1.6. Also, I have at least one other user experiencing similar slowness on win xp pro. On the one Vista machine I tested, load time is perfectly acceptable (~5 secs).

Peter

peter_warren
Offline
Joined: 2003-06-24
Points: 0

oh, and I've also cleared all the cached resources and applications from the java control panel -- no impact on load time.

linuxhippy
Offline
Joined: 2004-01-07
Points: 0

This seems really strange, I only know a few cases where quickstarter does not work:
- Notebooks in Battery-Mode, to not waste power
- RAM used by applications, so no RAM available for caching.

I assume you have enough free RAM, so that quickstarter can cache the ~20-50mb.
How fast is the startup if you start it with applet, close it, restart it and do this a few times?
This should in theorie have the same effect than quickstartet.
Further you could make sure its really UpdateN your browser is starting up (maybe through the java-console or by printing System.getProperty("java.version") to the applet).

I am really unexperienced with Windows, but I guess there are some tools which can do IO monitoring, maybe you could monitor the IO happening at startup?

lg Clemens

rogyeu
Offline
Joined: 2006-07-30
Points: 0

>>Further you could make sure its really UpdateN your browser is starting up (maybe through
>>the java-console or by printing System.getProperty("java.version") to the applet).

2nd to that. You can default to open the Java Console from Control Panel. That allows you to examine the version of plug-in you are using.

Which build of 6uN are you using (the latest is b13 as of writing)?

Thanks,
Roger Y.

peter_warren
Offline
Joined: 2003-06-24
Points: 0

I was using 6u10b12, just upgraded to 6u10b13 - same results. 38 sec cold start time w/applet. 2 sec warm start w/o applet.

verified my jre version via the java console:

Java Plug-in 1.6.0_10-beta
Using JRE version 1.6.0_10-beta Java HotSpot(TM) Client VM

I'll look into i/o monitoring and see if I can tell you exactly what is being loaded. If anyone has suggestions for what software to use, please let me know.

Thanks,
Peter