[THIN] Re: SMB Current Commands and SMB tuning

  • From: "Andrew Wood" <andrew.wood@xxxxxxxxxxxxxxxx>
  • To: <thin@xxxxxxxxxxxxx>
  • Date: Tue, 16 Nov 2010 08:03:20 -0000

Joe's figures are the ones recommended - bear in mind you need to change the
file servers as well 


To answer your question Dan, perhaps your servers are fairly flat because
the SMB commands were relatively constant when you did the test and by the
looks of it, operating relatively well. When did you do the test? During the
day? First thing in the morning? At the end of the day? Mid afternoon? If
you were to set off some big file copies on a server - does the number go
up? If you tune the values on the TS servers and the file servers, does the
file copy take less time?


What are those perfmon values on your file servers/domain controllers? What
is the maxmpxct value on the file servers those citrix servers communicate


"I've got an un-tuned server that hit 57 today without any reported issues"
- its possible you did have a problem, it slowed for a second or two, or
wasn't as responsive as it could have been. "No Issues" often equals "no one
said anything to me" - Maybe no one would have reported it because, unless
it was prolonged, or regular, or stopped your CEO from checking Facebook few
would raise a helpdesk call along the lines of "5 minutes ago the citrix
server paused for a second or two, but its ok, it got better"


This is a great article to read - which details SMB tuning across Windows
2003 x32/x64->windows2008R2






From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf
Of Joe Shonk
Sent: 16 November 2010 05:01
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Re: SMB Current Commands and SMB tuning


Here are the recommended settings from Microsoft:


Microsoft Recommended Optimization Settings for Terminal Service

                MaxWorkItems = 8196

                MaxMpxCt = 2048

                MaxRawWorkItems = 512

                MaxFreeConnections = 100

                MinFreeConnections = 32


                MaxCmds = 2048

                RegistryLazyFlushInterval = 60





From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf
Of Dan Dill
Sent: Monday, November 15, 2010 6:11 PM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] SMB Current Commands and SMB tuning




I've been digging into SMB tuning for our PS 4.5 Server 2003 x64 citrix farm
as our farm currently doesn't have MaxMpxCt or MaxCmds set on our servers.
I am confused by the results of the Redirector\Current Commands output in
perfmon.  That counter is defined as: "counts the number of requests to the
Redirector that are currently queued for service" however the graph over
time is quite flat when I could expect a queue graph to look spikey.  Is
that counter a combination of the outstanding SMB requests plus something


I've got an un-tuned server that hit 57 today without any reported issues
when I would have expected it to cap at 50 or start exhibiting problems at
that level.


Anyone know why those counters are fairly flat?  Is there a better way to
see if I'm hitting MaxCmds or do people just set it higher regardless?



Description: cid:image001.png@01CB850F.E2705F50





Dan Dill |Systems Engineer | Harsch Investment Properties 


PNG image

Other related posts: