[THIN] Re: thread quanta and chkroot.cmd thingy

  • From: "Timothy Mangan" <tmangan@xxxxxxxxxxxx>
  • To: <thin@xxxxxxxxxxxxx>
  • Date: Mon, 15 Sep 2003 09:03:54 -0400

I would concur in your doubts about background in *almost* all cases, and
probably all cases on a Terminal Server.

In background mode, the quanta (maximum amount of time a process is allowed
to run without yielding to another process) the same for all processes; in
application mode the quanta for a foreground process is the same, but the
quanta for background processes are reduced by a factor a three.

Running in background mode can decrease responsiveness to users when there
are background processes that can run for substantial periods of time.  

Application mode can also increase context switching (nothing is free),
which is likely to be the reason someone would recommend background mode.  I
do not believe a moderate increase in context switching is much of a
penalty, so you are better off in application mode.

I have done simulation testing to look at the responsiveness of a Terminal
Server under these modes (and other possible settings affecting the Quanta)
and have concluded that Application mode is the best settings offered under
the Server OS.

Regards,

Tim
Founder, TMurgent Technologies.
-----Original Message-----
From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf
Of Brian Lilley
Sent: Monday, September 15, 2003 8:33 AM
To: 'thin@xxxxxxxxxxxxx'
Subject: [THIN] thread quanta and chkroot.cmd thingy

chaps, I have a memory like a seive,

could somone please remind me of what chkroot.cmd's function in life is..

also, for you performance tuning bods out there... I have a question about
the basic performance setting in windows 2k.. I read in the Metaframe tuning
guide by the guy from Citrix that it is recommended that the performance
setting in win2k be set to background processing in order to provide equal
thread quantum for all process priorities, i.e. 20/20/20 or something like
that..

well, I'm no expert but I would disagree with this because why would you
want to give equal priority to threads that have been specifically
programmed to execute in the background??  

I think also that a mistake is generally made where people describe users
running on a terminal server as being 'background'... my guess is, that this
is not correct either... just because they cannot be seen, they are still
'foreground' applications in the context of the windows execution
environment.  This is a very basic setting and I would like to get it right
for our standard farm server build as I have over 40 to build over the next
few months ??

Any guidance appreciated....

Brian Lilley
Systems Integration

m +44 (0)7929 002501  
t   +44 (0)1249 665421
e  brian.lilley@xxxxxxxxxxxxxx



**********************************************************************
The information contained in this e-mail message is intended
only for the individuals named above.  If you are not the 
intended recipient, you should be aware that any 
dissemination, distribution, forwarding or other duplication 
of this communication is strictly prohibited.  The views 
expressed in this e-mail are those of the individual author 
and not necessarily those of Vivista Limited.  
Prior to taking any action based upon this e-mail message 
you should seek appropriate confirmation of its authenticity.
If you have received this e-mail in error, please immediately 
notify the sender by using the e-mail reply facility.
**********************************************************************


_____________________________________________________________________

This message has been checked for all known viruses on behalf of Vivista by
MessageLabs. 

http://www.messagelabs.com or Email: mailsweeper.info@xxxxxxxxxxxxx

Vivista formerly Securicor Information Systems for further information
http://www.vivista.co.uk  

********************************************************
This Week's Sponsor:  ThinPrint
http://www.thinprint.com
**********************************************************
Useful Thin Client Computing Links are available at:
http://thethin.net/links.cfm

For Archives, to Unsubscribe, Subscribe or 
set Digest or Vacation mode use the below link:
http://thethin.net/citrixlist.cfm

********************************************************
This Week's Sponsor:  ThinPrint
http://www.thinprint.com
**********************************************************
Useful Thin Client Computing Links are available at:
http://thethin.net/links.cfm

For Archives, to Unsubscribe, Subscribe or 
set Digest or Vacation mode use the below link:
http://thethin.net/citrixlist.cfm

Other related posts: