473,804 Members | 1,999 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 3423
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.ne twrote in message
news:OV******** *****@TK2MSFTNG P03.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@ld wrote in message
news:eT******** ******@TK2MSFTN GP04.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******** ******@TK2MSFTN GP06.phx.gbl...
"Lloyd Dupont" <net.galador@ld wrote in message
news:eT******** ******@TK2MSFTN GP04.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
14529
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 for slowness. Once I'm connected the queries work pretty much instantanously but to connect using SQLPLUS, Toad, ODBC, OLEDB all take about 10 secs. I connect using OLEDB from Visual Basic development environment & after the 1st connection...
3
3388
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 permissions. I've recovered this database from backup exec before from a hot-backup, this is the first time I've attempted this procedure though. Could I check with the experts here as to whether what I did was OK? Been googling to see if it is...
3
2757
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. I created an index for the fields involved in the query and updated statistics. It makes no difference. Is there anything else I should look at? The table is only about 3000 records. Any suggestions to speed up queries when using Cold Fusion?...
11
1716
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
4724
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 condition for the purchase of this software is that the company we are purchasing from support the entire application, and that our understaffed I.T. department not have to. I was hoping to come up with an application using the calendar control...
6
8585
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 fine All SQL Servers I am referring to share a small (10 computers or so) LAN with a 100MB Switch. No other computers on the LAN exhibit this problem.
0
1750
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
1575
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 have a reasonably power workstation (3.06Ghz dual Zeon with 4GB RAM and 10K RPM hard drives) -- this problem ONLY occurs immediately after I do a Clean Solution and then "Build Solution" -- if I just run Build Solutions (one after another) it only...
52
2552
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 pre-order customers between 5 to 10 days later, meaning if ordered it on Amazon or Borders (or any other online store), it should be with you before the end of May. A few weeks after that it should start appearing in books stores, at least bookstores...
0
9591
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10594
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10331
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9166
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7631
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5529
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4306
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3831
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3001
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.