Re: IIS Slow with little load problem
From: David Wang [Msft] (someone_at_online.microsoft.com)
Date: 10/13/04
- Next message: David Wang [Msft]: "Re: can IIS disallow page reloads() by code ?"
- Previous message: johndoe_at_driver.net: "Re: Cannot start IIS on Win XP with newly installed SP2 - HELP..."
- In reply to: bill page: "Re: IIS Slow with little load problem"
- Next in thread: bill page: "Re: IIS Slow with little load problem"
- Reply: bill page: "Re: IIS Slow with little load problem"
- Messages sorted by: [ date ] [ thread ]
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
- Next message: David Wang [Msft]: "Re: can IIS disallow page reloads() by code ?"
- Previous message: johndoe_at_driver.net: "Re: Cannot start IIS on Win XP with newly installed SP2 - HELP..."
- In reply to: bill page: "Re: IIS Slow with little load problem"
- Next in thread: bill page: "Re: IIS Slow with little load problem"
- Reply: bill page: "Re: IIS Slow with little load problem"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|