Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > .NET General

Vista - Heavy load on terminal servers?

Reply
 
Old 01-14-2009   #1 (permalink)
BrunoH


 
 

Heavy load on terminal servers?

Hi,

is there anybody with experiences on developing .net applications on
terminal servers? I recently experienced some issues that have arisen
while developing a really small application that should run on terminal
servers. Actually, it even will be started by a service in 20 to 40 user
sessions at the same time - and that's where I run into problems. The
application is written in C# and at the moment it is just a simple form
with just a label control on it.

JIT seems to compile the assembly seperately for every user session and
as a result, CPU load raises up to 100 percent for a few seconds
(depending on how many cores or CPUs are present). It's just a peak but
I'm not really happy with that peak Is there any way to reduce this
heavy load? Ngen.exe was my first thought but it didn't help. Also I
tried to store my assembly in GAC (c:\windows\assembly) which also
didn't have an effect. Any ideas?

The next issue I experienced was memory usage. On my local vista client
the program used about 4MB of memory according to the task manager. But
when I run my program on a terminal server it suddenly uses around 10 MB
of memory which is kind of confusing to me. Usually I wouldn't give much
about it but not when I think of 40 users running a program that uses 10
MB of memory which makes 400 MB in total just to show a small form. I
already removed all unnecessary dependancies from my project which
reduced memory usage from 15MB down to 10MB but for this project it is
still quite much. Any ideas on this?

Thanks in advance

My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
NIC dies under heavy load Vista networking & sharing
Home Edition and Terminal Servers Vista networking & sharing
Vista Business too heavy? Vista installation & setup
Re: EasyTransfer - heavy stuff .... Vista General
Heavy HDD Usage at startup Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46