After upgrading Windows 7 SP1, mscorsvw.exe mad CPU

  

This week is completely under Windows 7 SP1. After Microsoft officially released all users' Windows 7 SP1 online upgrade, some friends encountered an embarrassing problem, that is, found The system has become very slow. Open the task manager and find that a process named mscorsvw.exe has a CPU usage of 80% or even 100%. Of course, not all friends will encounter this phenomenon, because this is related to the software you installed and running before upgrading SP1 online.

So, what exactly is this mscorsvw.exe? What should I do?

About this question, Microsoft's MSDN official blog has such an answer:

http://blogs.msdn.com/b/davidnotario/archive/2005/04/27/412838.aspx

A good friend in English can refer to the detailed information directly. Friends who don't like English then read it down. The soft media Xiaobian put the contents into the Win7 home.

What is mscorsvw.exe, why does it madly occupy the CPU of my computer? What is “New CLR Optimization Service”?

mscorsvw.exe is a pre-compiled .net assembly in the background (software note: assembly meaning). Once it has finished executing, it stops. In general, when you install the .NET distribution, it will pre-compile those high-priority assemblies in 5 to 10 minutes, then wait until your computer is idle to handle those low-priority assemblies. Once it's all processed, it will terminate and you will no longer see mscorsvw.exe. It's important to note that when you see that the CPU is 100% occupied, this happens when it is in a low-priority process, so it tries not to let other processes you are running preempt the CPU. Once all the assemblies have been compiled, the assemblies will be able to share memory pages across processes. In general, the hot start at this time will be much faster, so we will not discard your other processes.

After reading the above instructions, it's a little dizzy. This process can be turned off for non-programmer developers.

How to close this process:

When you want to close the mscorsvw.exe process directly from Win7's task manager, you will find that this process is not finished.

If you really want to eliminate mscorsvw.exe from your task manager, you can do this:

1, close by command:

ngen.exe Executequeueditems This allows all subsequent queued processes to start working.


2. This program can be closed by closing the service.


Microsoft.NET Runtime Optimization Service is a .NET runtime optimization service process, shut down This service is ok!


mscorsvw.exe File Analysis

File Properties as shown below:


Process File: mscorsvw.exe
< Process name: .NET Runtime Optimization Service

English description: mscorsvw.exe is a process belonging to Microsoft .NET Framework. This program is a non-essential process, but should not be terminated unless suspected to be Causing problems.

Process analysis: Microsoft Visual Studio 2005 Framework pre-compilation tool.

Process location: unknown

Purpose of Program: The background of precompiled .net assemblies

Author: Microsoft

belongs: Microsoft .NET Framework

Security Level (0-5): 0 (N/A is not dangerous 5 most dangerous)

Spyware: No

Adware: No

Virus: No

Trojan: No

System Process: Yes

Application: No

Background Program: Yes

Use Access: No

Access to the Internet: No



Additional information about ngen.exe can be found on the official Microsoft website:

< Br>

Native Image Generator (Ngen.exe) - .NET Framework Tools

Update: November 2007

Native Image Generator (Ngen.exe) is a A tool to improve the performance of hosted applications. Ngen.exe creates a native image (a file containing compiled processor-specific machine code) and installs them into the native image cache on the local machine. Instead of using a real-time (JIT) compiler to compile the original assembly, the runtime can use the native image from the cache.

In the .NET Framework version 2.0, Ngen.exe has changed a lot:

  • The installation of the assembly will also install its dependencies, which simplifies the syntax of Ngen.exe.
  • You can now share native images between application domains.
  • You can recreate an image that has expired with the new operation update .
  • Operation can be postponed by a service on the computer that uses idle time to generate and install images.
  • Remove some of the factors that make the image invalid.

    For additional information on how to use Ngen.exe and native imaging services, see Native Image Services: http://msdn.microsoft.com/en-us/library/ms165074. Aspx.

  • Copyright © Windows knowledge All Rights Reserved