ASP.net, Windows 2000, and SMP/Multiprocessor

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Ohaya (Ohaya_at_NO_SPAM.cox.net)
Date: 02/22/04


Date: Sat, 21 Feb 2004 22:33:06 -0500

Hi,

We are running a website on a Windows 2000 Advanced Server machine with 4
CPUs and Hyperthreading enabled (i.e., 8 virtual processors). The web
server is IIS5.

Our application uses ASP.net, and we originally were testing the application
on a test system with a single CPU and no hyperthreading.

When we moved the application to the production machine (the one with 4
CPUs), we noticed a strange (to me) thing.

Our application is such that we kind of expected processing a request would
not be quick (the processing for a single request is somewhat long-running),
but when we tested on the SMP server, we noted that when a request was sent
to the web server, we'd see CPU Usage on 1 processor go up (to about 100%),
then after awhile, CPU Usage on the next processor would go up and CPU usage
on the 1st processor would drop to almost 0%. Then after awhile, CPU Usage
on the next (3rd) processor would go up, and CPU Usage on the 2nd processor
would drop to almost 0%, etc. This was all during the processing for a
single request to the web server.

I've been doing some searching, trying to figure out what's going on, and I
ran across the following post from 3/4/2004:

http://groups.google.com/groups?q=g:thl3654827175d&dq=&hl=en&lr=&ie=UTF-8&oe=UTF-8&selm=uTr9i5n4CHA.2324%40TK2MSFTNGP10.phx.gbl

The above post seems to be indicating a problem where ASP.net would "queue"
up processing, but it seems like it's mostly talking about a situation where
multiple (i.e., 2) requests come into the web server, and processing of the
2nd request would, under some circumstances, get held up because of this
problem.

We haven't tried the workarounds mentioned in the above post yet (don't have
access to the production system), but I'm wondering if anyone here had
experience with this problem, and if this problem might also manifest itself
to look something like what we're seeing?

Thanks in advance!!

Jim



Relevant Pages

  • Terminal Server 2003 full CPU usage
    ... This almost regardles to the time the server is running. ... one process is maxing out at 80% to 99% CPU ... also RES Powerfuse has been installed. ... another process will take over full CPU usage. ...
    (microsoft.public.windows.terminal_services)
  • Re: Why a Sun Server?
    ... > What do Sun Server, or servers from IBM, HP etc do that make them ... less than 50 processes all vying for CPU and/or disk access simultaneously. ... Each request will be vying ... Sun recently released new server hardware with something like 16 cores ...
    (comp.lang.java.advocacy)
  • Re: how to get client cpu id
    ... > How to get the cpu id of the client from where the request came to the ... > for e.g am sending a request to a server from one system then i want to ...
    (microsoft.public.dotnet.framework.aspnet)
  • Performance Problems.. Server hardware smoked by $500 box?
    ... webserver with a separate db/file server sitting behind it. ... Now granted the development machine has the most Mhz, ... CPU: Intel Pentium III Origin = ... Ubench CPU: 25713 ...
    (freebsd-performance)
  • Performance Problems.. Server hardware smoked by $500 box?
    ... webserver with a separate db/file server sitting behind it. ... Now granted the development machine has the most Mhz, ... CPU: Intel Pentium III Origin = ... Ubench CPU: 25713 ...
    (freebsd-questions)