473,385 Members | 1,523 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Very long first cold startup problem

A cold start of my application takes about 15 seconds. Further startup takes
only 1 seconds.

After a reboot other cold start takes less than 15 seconds, perhaps 3~4s.

I tried to improve cold start by NGEN everything in the installer.
Now I don't know if I make an error or something in the installer but my
first cold start time didn't improve (after I tested it).

Any ideas on what I could do to improve my 1st cold start?
Aug 17 '06 #1
4 3398
Hello, Lloyd!

LDAfter a reboot other cold start takes less than 15 seconds, perhaps
LD3~4s.

LDI tried to improve cold start by NGEN everything in the installer.
LDNow I don't know if I make an error or something in the installer but
LDmy first cold start time didn't improve (after I tested it).

Then you should find out what takes most time during startup and try to optimize it.
Take a look at for more information about the issue
( http://msdn.microsoft.com/msdnmag/is.../CLRInsideOut/ )

--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com
Aug 17 '06 #2
Thanks for the link!

"Vadym Stetsyak" <va*****@ukr.netwrote in message
news:OV*************@TK2MSFTNGP03.phx.gbl...
Hello, Lloyd!

LDAfter a reboot other cold start takes less than 15 seconds, perhaps
LD3~4s.

LDI tried to improve cold start by NGEN everything in the installer.
LDNow I don't know if I make an error or something in the installer but
LDmy first cold start time didn't improve (after I tested it).

Then you should find out what takes most time during startup and try to
optimize it.
Take a look at for more information about the issue
( http://msdn.microsoft.com/msdnmag/is.../CLRInsideOut/ )

--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com

Aug 17 '06 #3
"Lloyd Dupont" <net.galador@ldwrote in message
news:eT**************@TK2MSFTNGP04.phx.gbl...
Any ideas on what I could do to improve my 1st cold start?
Besides NGEN, it may also be other DLL's your application needs to load in.
Windows has its file cache filled on successive startups.

If fast startup time is necessary you could try a secondary application to
preload your DLL's, ala Acrobat (Adobe Reader Speed Launch) and others.
These go in Startup or a Windows Service and load the modules in at startup
or login.

-- Alan
Aug 17 '06 #4
Clever hey!
Thanks for the tip.

"Alan Pretre" <no@spamwrote in message
news:e0**************@TK2MSFTNGP06.phx.gbl...
"Lloyd Dupont" <net.galador@ldwrote in message
news:eT**************@TK2MSFTNGP04.phx.gbl...
>Any ideas on what I could do to improve my 1st cold start?

Besides NGEN, it may also be other DLL's your application needs to load
in. Windows has its file cache filled on successive startups.

If fast startup time is necessary you could try a secondary application to
preload your DLL's, ala Acrobat (Adobe Reader Speed Launch) and others.
These go in Startup or a Windows Service and load the modules in at
startup or login.

-- Alan


Aug 17 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Harry | last post by:
Using Oracle 8i enterprise on win 2000 (sp3) Installed the standard configuration & whenever I make a connection it takes about 10 secs. It's running on a P1900 with 1gb Ram so no reason there...
3
by: andyjgw | last post by:
Hi I was in the situation of cloning a SQL server database last night. Today, a dependent application was behaving a little erratically though most things were fine after sorting out some ntfs...
3
by: robboll | last post by:
Whenever I query my database using Enterprise Manager, the response time is about a second. When I access the same data via a Cold Fusion webpage, it takes about 15 seconds (or more) to resolve. ...
11
by: Marek | last post by:
What can I do in order to avoid first exception pause? I am sure everyone already experienced this behavior and there must be a solution. regards
2
by: CSDunn | last post by:
Hello, My boss is considering the purchase of a calendar/scheduler program for our school district, and part of the setup calls for the installation of Macromedia's Cold Fusion software. My bosses...
6
by: B B | last post by:
Okay, here is what's happening: I have a reasonably fast laptop (1.4 GHz Mobile M, so comparable to 2.5GHz P4) doing .net development. Running Windows XP pro, SP2 IIS is installed and running...
0
by: tom | last post by:
Hallo, I need help on MIDI file, and precisely about retrieving few note values (mainly the "Velocity" value, corrisponding to the intensity of a played note) while the MIDI is playing.
5
by: Rob R. Ainscough | last post by:
I have a moderately sized web application (30 pages, and 20 DLLs) that takes 10-20 minutes to "Build Solution" after I do a "Clean Solution" -- this is ONLY apparent after a "Clean Solution" I...
52
by: robert | last post by:
I'm very pleased to announce that Foundations of F#, the first book to be published on the F# programming, will finish its first printing run, tomorrow, Friday 25th May. It should reach any...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.