Welcome Guest Search | Active Topics | Members | Log In | Register

Re: Performance problem with an ASP.NET application - XP far quicker than W2K3 Server! Options · View
Steven Cheng [MSFT]
Posted: Wednesday, May 07, 2008 9:05:04 AM


Rank: Guest
Groups: Guest

Joined: 9/17/2007
Posts: 11,670
Points: -1,200
Date parsed: 07/05/2008 09:05:04
Date: Wed, 07 May 2008 09:05:04 GMT

Hi Rob,

Have you got any further progress on this issue? We're still monitoring
this thread, if there is anything else we can help, welcome to post here.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg@microsoft.com.

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.


>From: "Rob" <bluetic@newsgroup.nospam>
>References: <OajwkrgqIHA.4476@TK2MSFTNGP04.phx.gbl>
<2yghVNnqIHA.1784@TK2MSFTNGHUB02.phx.gbl>
>Subject: Re: Performance problem with an ASP.NET application - XP far
quicker than W2K3 Server!
>Date: Wed, 30 Apr 2008 08:58:34 +0100

>thanks for the reply.
>
>I'm in the process of downloading and installing a trial copy of team
suite
>(it's not part of MSDN premium subscription).
>
>I'll come back with my findings (if any) when I have conducted tests.
>
>Kind regards,
>Rob
>
>
>"Steven Cheng [MSFT]" <stcheng@online.microsoft.com> wrote in message
>news:2yghVNnqIHA.1784@TK2MSFTNGHUB02.phx.gbl...
>> Hi Rob,
>>
>> If there is nothing particular get changed and you deploy the ASP.NET
>> application with the same precompilation model, I think we may need to do
>> some performance monitoring and try looking for the ponit where the most
>> time spent.
>>
>> I think it would be helpful to use some profiling tools to analyze your
>> ASP.NET application. The visual studio(from 2005) provide performance
>> profiling tools that can help analyze an application and give you some
>> useful performance data such as most called function/modules, longest
time
>> function/modules.
>>
>> Here are some reference about the profiling tools and how to perform
>> profiling on an ASP.NET application.
>>
>> #Analyzing Application Performance using Profiling Tools
>> http://msdn.microsoft.com/en-us/library/z9z62c29.aspx
>>
>> #How to: Create a Profiler Session for ASP.NET Applications
>> http://msdn.microsoft.com/en-us/library/2s0xxa1d.aspx
>>
>> Sincerely,
>>
>> Steven Cheng
>>
>> Microsoft MSDN Online Support Lead
>>
>>
>> Delighting our customers is our #1 priority. We welcome your comments and
>> suggestions about how we can improve the support we provide to you.
Please
>> feel free to let my manager know what you think of the level of service
>> provided. You can send feedback directly to my manager at:
>> msdnmg@microsoft.com.
>>
>> ==================================================
>> Get notification to my posts through email? Please refer to
>>
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
>> ications.
>>
>> Note: The MSDN Managed Newsgroup support offering is for non-urgent
issues
>> where an initial response from the community or a Microsoft Support
>> Engineer within 1 business day is acceptable. Please note that each
follow
>> up response may take approximately 2 business days as the support
>> professional working with you may need further investigation to reach the
>> most efficient resolution. The offering is not appropriate for situations
>> that require urgent, real-time or phone-based interactions or complex
>> project analysis and dump analysis issues. Issues of this nature are best
>> handled working with a dedicated Microsoft Support Engineer by contacting
>> Microsoft Customer Support Services (CSS) at
>> http://msdn.microsoft.com/subscriptions/support/default.aspx.
>> ==================================================
>> This posting is provided "AS IS" with no warranties, and confers no
>> rights.
>>
>>
>>
>>
>>
>> --------------------
>>>From: "Rob" <bluetic@newsgroup.nospam>
>>>Subject: Performance problem with an ASP.NET application - XP far quicker
>> than W2K3 Server!
>>>Date: Tue, 29 Apr 2008 16:08:08 +0100
>>
>>>
>>>We have a performance problem with an ASP.NET application written in VB
>>>running in the Framework 1.1.
>>>
>>>
>>>
>>>The application receives details of where a job is to be done and returns
>> a
>>>list of possible appointments taking account of existing jobs, resource
>>>availability etc. Each appointment day is divided into a number of time
>>>slots (e.g. 08:00 to 13:00 etc.) any of which may overlap with any other.
>>>
>>>
>>>
>>>When running on XP the response time is a few seconds. When running the
>>>identical source code but recompiled on Windows 2003 Server the response
>>>time is three times longer (and sometimes more). Changes to performance
>>>settings have bee tried but with no effect.
>>>
>>>
>>>
>>>A test environment has been set up with two identical machines one with
>> XP,
>>>the other with W2003S. No other applications were hosted on the
machines.
>>>
>>>
>>>
>>>The data is held on SQL Server but the first thing the program does is
>> read
>>>it into a number of ADO.NET DataTables within a DataSet. From then on
all
>>>the data manipulation is on the DataTables and collections. The main
>> table
>>>(with the current jobs) has a few hundred records.
>>>
>>>
>>>
>>>All the collections and DataSets are strongly typed.
>>>
>>>
>>>
>>>High level pseudo code follows.
>>>
>>>
>>>
>>>Build dataset of all existing jobs, resource availability information
etc.
>>>from SQL Server
>>>
>>>For each day in the period
>>>
>>> For each slot in day
>>>
>>> Build a collection of jobs for the day
and
>>>slot from the DataSet
>>>
>>> Build a collection for resource
>> availability
>>>from the DataSet
>>>
>>> Do until all the jobs in the collection
>> have
>>>been allocated
>>>
>>> Do until all the jobs in
>> the
>>>collection have a provisional allocation
>>>
>>> Make a
>>>provisional allocation of the "best" job/resource pair
>>>
>>> Loop
>>>
>>> Make an allocation of the
>>>"best" provisional allocation
>>>
>>> Update the collections to
>>>reflect the allocation
>>>
>>> Update the DataSet to
>>>reflect the allocation
>>>
>>> Loop
>>>
>>> Next slot
>>>
>>>Next day
>>>
>>>Return a list of allocations
>>>
>>>
>>>
>>>The question is: why does the code take 3 times longer on Windows 2003
>>>Server in comparison with XP?
>>>
>>>
>>>
>>
>
>
>

Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

YAFPro Theme Created by Jaben Cargman (Tiny Gecko)
Powered by Yet Another Forum.net version 1.9.1.1 (NET v2.0) - 9/10/2007
Copyright © 2003-2006 Yet Another Forum.net. All rights reserved.
This page was generated in 0.049 seconds.