Re: Inexplicable slowdowns
- From: Frank Rizzo <none@xxxxxxxx>
- Date: Thu, 08 Mar 2007 09:32:04 -0800
Luke Zhang [MSFT] wrote:
Hello,
What is the task of the particular thread? What code it will execute? If you have source code on hand, you may add some debug code in it, for example, log exact time in a file after each of steps has been finished, so that you can know which code cause the delay.
The task is to basically schedule an entity into a time slot. So the tasks has to consider hundreds of business rules and find a time slot. The operation is totally memory based (and can take a bit of time). At the end of the operation, the results are written to the database. However, I profiled the SQL operation and it is taking no time at all.
I also noticed that the server was operating at the end of available physical memory (typically 200 mb free out of total of 6GB available) and as a result of perfmon monitoring, I saw that these slowdowns occur when the available physical memory dips to 100mb or so. I am thinking that the operation is forced into the paging file/virtual memory. However, I still can't explain the magnitude of the slowdown, e.g. operation that normally takes a second will take 80 seconds.
Regards
.
Sincerely,
Luke Zhang
Microsoft Online Community Support
==================================================
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.
- Follow-Ups:
- Re: Inexplicable slowdowns
- From: Willy Denoyette [MVP]
- Re: Inexplicable slowdowns
- References:
- Inexplicable slowdowns
- From: Frank Rizzo
- Re: Inexplicable slowdowns
- From: Kevin Frey
- Re: Inexplicable slowdowns
- From: Frank Rizzo
- Re: Inexplicable slowdowns
- From: Luke Zhang [MSFT]
- Inexplicable slowdowns
- Prev by Date: Re: Is Islam Really a Religion of Terror?
- Next by Date: Re: CSharp with COM components in 64bit
- Previous by thread: Re: Inexplicable slowdowns
- Next by thread: Re: Inexplicable slowdowns
- Index(es):
Relevant Pages
|