NGen (Native Image Generation) During Exchange 2007 SP2 Rollup Installation


In response to customer feedback with regards to native image generation (NGen) taking too long (and in some cases leading the user to believe that the installation process had hanged), we separated the NGen process into pre and post-installation NGen processing since Exchange 2007 SP2 Rollups. During pre-install only non-Exchange binaries will be processed (the computer might have had updates installed for non-Exchange files that Exchange depends on, such as .Net framework hotfixes). The idea behind this is to keep Exchange services running while doing non-Exchange related work; only making Exchange unavailable when absolutely necessary. The post-install NGen of Exchange files can still take some time but the time will generally be much less with this pre-install feature.

During post-install NGen, as implied above, only Exchange files are processed. We have a progress bar for post- install NGen to show when (approximately) it will complete. We would like to display a similar progress bar during the pre-install NGen as well, but since we do not know how many files will be processed, we cannot estimate completion of the task.

– Exchange SE Team


Comments (4)
  1. henry324 says:

    great point of views

  2. Mike Crowley says:

    Cool, sounds like a useful idea.  The obvious question – Can we expect this change in 2010 as well?

  3. Martin says:

    What about to use more CPU cores during generation?

    Is it strange to see on 8 core system 1 core on 100 percent and others sleeping.

    Really installing SPs on exchange now is frustrating comparing with time of Exchane 5.5, 2000 and 2003

  4. Medical Health Quote says:

    Good idea to separate. I did notice the long wait times (sometimes) and I always just suspected I lost the connection.

Comments are closed.