Re: ASP.NET Performance on Windows Server 2003

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: David Wang [Msft] (someone_at_online.microsoft.com)
Date: 10/09/04


Date: Sat, 9 Oct 2004 03:01:43 -0700

If you do find such an article, I'd be interested in the URL.

*sigh* I can only tell you the technical reasons why it can be faster on
IIS6. No fancy graphs/charts. ;-)

ASP.Net 1.1 has code to specifically take advantage of several IIS6 features
vs IIS5:
1. VectorSend -- this allows the entire page to be sent with one single
user/kernel transition = lower overhead transmitting response. Plus it is
asynchronous, which helps scalability.
2. Declarative caching takes advantage of HTTP.SYS Kernel-mode response
cache -- ASP.Net pages can declare an @ directive which will directly cause
the page to be cached in the fast kernel-mode response cache if possible.
3. Dynamic compression that actually works on IIS6

Biggest out-of-box "issue" between IIS6 and ASP.Net to watch out for is
Application Pools and ASP.Net -- you don't want too many Application Pools
and you want to turn all the recycling features off except for Private Bytes
limit.

ASP.Net isolates by AppDomain, not processes, and .Net Framework is
expensive overhead on a per-process basis -- so you really only want few
processes that stay running ASP.Net and NOT lots of processes that
recycle/idle-timout constantly. IIS6 defaults are great for ASP/COM apps,
not so good for ASP.Net.

-- 
//David
IIS
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"Michael S. Collier" <mike_collier@stercomm.com> wrote in message
news:eY2hNBLrEHA.2900@TK2MSFTNGP12.phx.gbl...
No.
I haven't done anything yet.  I am simply looking for an article.  I know
that I read it before, but stupidly I didn't bookmark it.  This article just
discusses the performance improvements available to ASP.NET applications
under IIS 6.  I know IIS6 is better/faster, I'm just looking for a good
article I can show my coworkers (charts are good - managers seem to like
those better).  ;)
Thanks,
Mike
"Egbert Nierop (MVP for IIS)" <egbert_nierop@nospam.invalid> wrote in
message news:%23aLDlkKrEHA.2856@TK2MSFTNGP10.phx.gbl...
> "Michael S. Collier" <mike_collier@stercomm.com> wrote in message
> news:OQXY5IJrEHA.3416@TK2MSFTNGP15.phx.gbl...
>> I'm trying to find an article showing the performance difference between
>> an ASP.NET 1.1 application running on Windows 2000 vs. Windows 2003 (IIS
>> 6).  I found it in the past, but I'm not having much luck now.  I know
>> that ASP.NET apps are supposed to run faster on Windows 2003, but I would
>> like a good
>> article to show to others (and a good reference for myself).  Any help
>> would be greatly appreciated.
>
> Hi do you have ISAPI filters in IIS6 that kept IIS6 (during upgrade) in
> IIS5 compat mode?
> Did you upgrade IIS5 or just install a fresh win2003?
>
>
> -- 
> compatible web farm Session replacement for Asp and Asp.Net
> http://www.nieropwebconsult.nl/asp_session_manager.htm
>
>
>> I seem to recall an article being in MSDN Magazine or the GotDotNet site,
>> but so far my searches have been unsuccessful.
>>
>>
>> Thanks!
>>
>>
>


Relevant Pages

  • Re: ASP.NET Performance on Windows Server 2003
    ... ASP.Net 1.1 has code to specifically take advantage of several IIS6 features ... the page to be cached in the fast kernel-mode response cache if possible. ... > IIS5 compat mode? ...
    (microsoft.public.inetserver.iis)
  • Re: Where can I get IIS 6 and can I install it on XP?
    ... the difference you mentioned is actually due to the different process model of IIS5 and IIS6. ... #ASP.NET apps account difference between IIS 5.0 and IIS 6.0 http://objectsharp.com/cs/blogs/bryan/archive/2004/06/11/626.aspx ...
    (microsoft.public.dotnet.languages.vb)
  • Re: IIS6, Integrated Windows Auth, and IE6 Integrated Windows Auth
    ... Your log entry snippets suggests that on IIS5, ... a successful 200 -- this may be due to how you are repro'ing the issue (i.e. ... Both servers are in the same domain. ... This is the web log entry from the IIS6 website: ...
    (microsoft.public.inetserver.iis)
  • Re: Where can I get IIS 6 and can I install it on XP?
    ... I found one on IIS6 but the things it tells me to do, do not work on IIS5. ... In order to run a web site on IIS6 written in .net 2.0 at the same time it's running other sites written in .net 1.1 I had to set up a separate process I think it was called. ... I'm just using my XP pc and IIS5 for testing apps and the 2003 server with IIS6 is the production pc. ... It is coupled with the windows operating system. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Is custom logging possible with IIS 6.0 ?
    ... IIS5 wrote in one order, IIS6 wrote in another. ... >> The custom IIS logging module isn't an ISAPI filter. ... parser/analysis application uses different column order? ...
    (microsoft.public.inetserver.iis)