Re: IIS Slow with little load problem

From: bill page (bill-insert-at-digitalgarden.com)
Date: 10/15/04


Date: Fri, 15 Oct 2004 14:16:35 -0400

Not sure that you understand. The best example is bringing up the applet.
I'm not sure how many classes are needed for the initial load, but I just
did it and it took almost 2 minutes from the click on the asp page until the
applet actually showed. I also just did what I talked about before and
started 2 browsers and clicked on both as simultaneously as I could. They
were both up in under 20 seconds (obviously this isn't 2 orders of
magnitude). In both cases there are probably a dozen sql server calls
before the applet actually is up (probably 1/2 in asp and 1/2 in jdbc). I
would expect that bringing up an applet would be all 'hot' as you call it
given that IE is trying to load say 150 classes immediately. Again, up
until recently, the load time was more like the 2 load scenario. The
users don't see this behavior because they get the cabinet files and that
loads in seconds. In the development environment where I/we change a piece
of code, test, change again etc waiting 2 minutes each time (rather than 20
seconds) to bring up the application is fairly annoying.

thanks for you input

bill

"David Wang [Msft]" <someone@online.microsoft.com> wrote in message
news:uYO9HcMsEHA.2192@TK2MSFTNGP14.phx.gbl...
> 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...
>



Relevant Pages

  • Re: IIS Slow with little load problem
    ... Tracing on the SQL Server ... Can't you load up a local test HTML page to get the ... Applet running -- in which case, you are dealing with a local filesystem ... > IIS will likely cache access to those class files such that subsequent ...
    (microsoft.public.inetserver.iis)
  • Re: Self-signed security certificates.. (oh, the evil)
    ... >> the user if server B is up and running. ... >> * You tried to solve this by writing an Applet on the page from ... Can you post the html you use to load the applet? ... > I tried to open the jar file with winzip and i got "failed to load ...
    (comp.lang.java.programmer)
  • Re: Self-signed security certificates.. (oh, the evil)
    ... >>> the user if server B is up and running. ... >>> server A. This Applet tried to open something on Server B. ... >> load: class Helloserver.class not found. ... >> I tried to open the jar file with winzip and i got "failed to load ...
    (comp.lang.java.programmer)
  • Re: loss of data depending on security permissions
    ... > hosts the Applet. ... You don't need extra security permissions to load a URL from the server ... Save the downloaded image to a file and do a binary compare. ...
    (comp.lang.java.programmer)
  • Site crashes on Empty Applet..????
    ... customized applet I built a year ago that scrolls news items in an applet ... it takes folks 10 sec to 5 minutes to load the ... News items will continually scroll from ... not load for 5 minutes on either browser (of course, ...
    (comp.lang.java.help)

Loading