Re: IIS Slow with little load problem

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/13/04


Date: Tue, 12 Oct 2004 18:40:13 -0700

Based on your description, the server's behavior sounds normal. I honestly
haven't had anyone ask me for switches to make the server behave
abnormally...

IIS will likely cache access to those class files such that subsequent
access is fast and never goes to disk. But the first hits that do NOT come
from the memory cache will obviously not perform as well -- especially if it
is for hundreds of class files with hundreds of individual seeks to the disk
for possibly fragmented files.

This behavior would of course be completely by-design -- for the single
user, you are seeing cold-set behavior, and that's why we have caches. As
soon as you have multiple users, you are seeing hot-set behavior, and the
fact that the cache can have a 2 orders magnitude difference is a *good*
thing. Sounds about right given10ms HDD access speed vs 10ns RAM access
speed.

I don't know of the registry keys, but you may be able to tweak how long IIS
keeps items in cache memory -- but you'd then have to balance against
possible increased memory pressure and cache eviction changes -- remember,
as soon as you start tuning and tweaking registry keys, we assume you fully
know what you are doing. Honestly, I'm not certain this extra layer of
complexity/optimization is worthwhile for gains of less than a second on a
development server and settings that you will likely not apply on the
production server.

I suggest that if things aren't broken, don't go "fixing" it...

-- 
//David
IIS
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"bill page" <bill-insert-at-digitalgarden.com> wrote in message
news:efmvlzFsEHA.3588@tk2msftngp13.phx.gbl...
I think it is abnormal because it is different than the past.  This is a
development environment so instead of loading cabs, we're loading individual
classes.  Several hundred in fact.  The browser is loading them as fast as
it can.  The disparity is quite large.  If two people are running, files are
served up in <10 ms.  If one person loads the applet, the response varies
but is often >1000 ms.  That's 2 orders of magnitude.  If you really think
it's cache etc, do you know of any settings to affect this?
bill


Relevant Pages

  • Re: IIS6 caching
    ... On the server side, IIS6 will cache static files in kernel mode response ... No. IIS compression was not enabled. ... >>>> a client site or proxy caching issue. ...
    (microsoft.public.inetserver.iis)
  • Re: IIS6 caching
    ... I do not have an ETA on Windows Server 2003 SP1. ... IIS6 will cache static files in kernel mode response ... Cache hits obviously still show up in the log files -- I ... > generated by IIS in user mode. ...
    (microsoft.public.inetserver.iis)
  • Re: IIS 6.0 caching pages and unable to refresh page on workstation
    ... I am not running any proxy cache between server & workstation. ... You asked me to disable static cache in IIS. ... And how do you go about disabling the client side cache on CTRL-F5? ...
    (microsoft.public.inetserver.iis)
  • Re: unable to copy from webfolder
    ... No, cfm is added to the server, I think whats happening ... >Your IIS server doesn't understand what a cfm file is. ... I was thinking that the cache ...
    (microsoft.public.inetserver.iis)
  • POHMELFS high performance network filesystem release.
    ... I'm please to announce POHMEL high performance network filesystem. ... POHMELFS stands for Parallel Optimized Host Message Exchange Layered File System. ... Local coherent cache for data and metadata. ... Very fast and scalable multithreaded userspace server. ...
    (Linux-Kernel)