Subject: Re: Visual Studio compiles slowly, low CPU usage
Date: Tue, 9 Sep 2003 08:44:24 +0200
Lines: 185
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <
[email protected]>
Newsgroups: microsoft.public.dotnet.languages.csharp
NNTP-Posting-Host: f14m-9-109.d1.club-internet.fr 212.195.96.109
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP11.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.csharp:183360
X-Tomcat-NG: microsoft.public.dotnet.languages.csharp
Hi Scot,
The ASPNET user exists (we really need it because we are developing a web
app). So the problem must be somewhere else.
Thanks anyway for the info.
Bruno.
"Scot Rose [MSFT]" <
[email protected]> a écrit dans le message de
Yes, BUT the .Net environment somehow has to see the ASP net User
(Acording to that article) thats why I brought it up. Make sure that account
exists and has proper
permissions...
Want to know more? Check out the MSDN Library at
http://msdn.microsoft.com
or the Microsoft Knowledge Base at
http://support.microsoft.com
Scot Rose, MCSD
Microsoft Visual Basic Developer Support
Email : (e-mail address removed) <Remove word online. from address>
This posting is provided "AS IS", with no warranties, and confers no
rights.
--------------------
From: "Bruno Jouhier [MVP]" <
[email protected]>
References: <
[email protected]>
<
[email protected]>
Subject: Re: Visual Studio compiles slowly, low CPU usage
Date: Fri, 5 Sep 2003 22:36:14 +0200
Lines: 116
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <ubSSc1#
[email protected]>
Newsgroups: microsoft.public.dotnet.languages.csharp
NNTP-Posting-Host: f13v-10-213.d1.club-internet.fr 212.195.181.213
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP10.phx.gbl
Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.languages.csharp:182726
X-Tomcat-NG: microsoft.public.dotnet.languages.csharp
Hi Scot,
Yes, we are running under a domain at work, and not at home. I looked at
the
link but I don't think it explains our problem:
* The problem is not with the .NET apps that we create but with Visual
Studio .NET itself.
* Visual Studio starts normally (so the problem is not at load time). The
problem shows up at the end of compilation: CPU usage is very low (2% or
less) and stays like this for more than 1 minute before completing and
moving to the next project of our solution.
* We are running Studio 2003, so the underlying framework is 1.1 rather
than
1.0.
One note: our solution mixes J# and C# projects. The first project that
takes the longuest to compile is a J# project which is referenced by all
our
other projects. Depending on what we are building, we have between 5 and
46
projects in the solution but the problem does not seem to be related to
the
number of projects in the solution.
Also, recently we have rewritten our resource handling to use the .NET
mechanisms (resx files) rather than our old Java scheme, and it seems
that
the slow compile pb has worsened at about the same time. So, it may be
related to the build of satellite assemblies.
What I can't understand is why the compiler sits almost idle for long
seconds before completing compilation. It really looks like it's waiting
for
some kind of network response (from the domain controller???).
Bruno.
"Scot Rose [MSFT]" <
[email protected]> a écrit dans le message
de
Hi Bruno, Are you on a Domain at work? If so see
318738 FIX: .NET Programs Are Slow to Load When Running Under a Domain
http://support.microsoft.com/?id=318738
This is 'supposed' to be fixed, but might be worth a look. You may need
to
to have an ASPNet account set up according to the article..
Want to know more? Check out the MSDN Library at
http://msdn.microsoft.com
or the Microsoft Knowledge Base at
http://support.microsoft.com
Scot Rose, MCSD
Microsoft Visual Basic Developer Support
Email : (e-mail address removed) <Remove word online. from address>
This posting is provided "AS IS", with no warranties, and confers no
rights.
--------------------
From: "Bruno Jouhier [MVP]" <
[email protected]>
Subject: Visual Studio compiles slowly, low CPU usage
Date: Mon, 1 Sep 2003 21:20:35 +0200
Lines: 30
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <
[email protected]>
Newsgroups:
microsoft.public.dotnet.languages.csharp,microsoft.public.dotnet.vjsharp
NNTP-Posting-Host: f06a-12-232.d1.club-internet.fr 212.194.131.232
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP10.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.vjsharp:4386
microsoft.public.dotnet.languages.csharp:181364
X-Tomcat-NG: microsoft.public.dotnet.languages.csharp
I'm currently experiencing a strange phenomenon:
At my Office, Visual Studio takes a very long time to compile our
solution
(more than 1 minute for the first project).
At home, Visual Studio compiles the same solution much faster (about
10
seconds for the first project).
My home computer is only marginally faster than the one I have at the
office
(P4 2.53 vs. P4 2.4, same amount of RAM).
On the slow machine, the CPU usage is very low, especially at the end
of
the
compilation phase (once the progress bar is at the end, waiting for
the
"build complete" message). This low CPU phase seems to account for the
difference in overall time. There is no other process taking CPU
during
that
time (the "overall" CPU usage is 0 or very close to 0).
Also, we observe the same slowness on all the machines that we have in
our
office. And the behavior is not due to the corporate antivirus because
we
turned it off.
I'm puzzled (and a bit frustrated). Could this be due to the fact that
we
are on a corporate LAN and that .NET needs to run more expensive
security
checks that block on network requests. This my only hypothesis so far
because I saw small bursts of activity in lsass.exe during the low CPU
phase.
Anybody experienced something like this? Any clues on what could cause
this?
Bruno.