Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / March 2006

Tip: Looking for answers? Try searching our database.

Ngen process during installation of .net framework 1.1

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Sameeksha - 23 Mar 2006 05:04 GMT
Hi everyone,

I have observed that the ngen process appears in the list of processes
in
taskmgr while .net framework 1.1 gets installed. This process consumes
0-50%
of cpu and 0-20K of RAM.
I would like to know if this process can be a cause of slowing down
performance of a high speed application. The installer of this
application
examines whether .net framework is installed, if it is not installed it
first
installs .net 1.1 and then continues with its own installation.
It would be great if anyone knows about problems related to ngen during

installation of .net framework 1.1, say, under low memory conditions,
or for
particular OSs, or for particular hardware configuration
Signature

Thanks,
Sameeksha
MCAD.Net

Naveen - 23 Mar 2006 13:29 GMT
Hi,

In .NET Framework 1.1 all ngen work was done synchronously at
install-time since Microsoft did not support asynchronous compilation.
Pre-compiling all the .NET Framework 1.1 assemblies synchronously would
have increased the amount of time taken to install the redist. Thus the
only assemblies included were mscorlib, System, System.Windows.Forms,
System.Design, System.Drawing, System.Drawing.Design, System.Xml and
CustomMarshalers.

In .NET Framework 2.0 Microsoft have the .NET Runtime Optimization
Service which can compile assemblies in the background. As a
consequence, when .NET Framework 2.0 is installed, 8 assemblies are
compiled synchronously while the rest (another 19 including
System.Data, System.Web and System.Web.Services) are compiled at
machine idle-time by the service.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.