Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Performance / April 2007

Tip: Looking for answers? Try searching our database.

Performance problems in Terminal Server

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
paulo - 05 Apr 2007 12:39 GMT
Hello,

We have a considerable large .NET application running in Terminal
Services, where other applications are also used (Office, Reflection,
Web applications).
We are getting major slowdowns at times, where all terminal clients lock
up for a couple of seconds and then come back.
There is also a problem that may be linked to this: our application
sometimes grows really large (Private Bytes and Working Set over 200MB).
However, when monitoring our managed code via profiling, there are some
peaks, but the managed heap consumption is never over 80-100MB. Why this
difference?
We are new to deploying .NET applications in Terminal Server
environments and would like to hear any advice on how to improve the
performance.
Thank you for any help given.

Regards,
paulo
Henning Krause [MVP - Exchange] - 05 Apr 2007 13:14 GMT
Hello,

in a terminal server environment, you should ngen your assemblies. This
causes the assemblies to be shared among processes in memory, thus removing
pressure from the private bytes heap.

Best regards,
Henning Krause

> Hello,
>
[quoted text clipped - 14 lines]
> Regards,
> paulo
paulo - 05 Apr 2007 14:51 GMT
Hello Henning,

Thank you for your reply. I forgot to say that our assemblies are
processed with ngen on the Terminal Server machine. So the problem I
reported happens with ngen assemblies.

Regards,
paulo

> Hello,
>
[quoted text clipped - 24 lines]
>> Regards,
>> paulo
Steven Cheng[MSFT] - 06 Apr 2007 06:56 GMT
Hi Paulo,

As for your .NET application, is there any particular operations that
involve some unmanaged component(through interop) which may cause resource
limitation? Based on my research, there are some such issue(performance hit
in terminal service environment) that caused by network or OS specific
problem. Here are some web document about terminal service specific issue:

#Windows Server 2003 Terminal Server Capacity and Scaling
http://www.microsoft.com/windowsserver2003/techinfo/overview/tsscaling.mspx

#TS + Citrix Troubleshooting
http://ts.veranoest.net/ts_performance.htm

You can have a look to see whether that help some.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead



==================================================

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.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.