Brian Madden Logo
Your independent source for application and desktop virtualization.
advertisement

Comments on my planned performance registry hacks?, in the Performance Tuning / Server Sizing forum on BrianMadden.com

rated by 0 users
This post has 2 Replies | 1 Follower

Top 500 Contributor
Points 520
Chris Buck Posted: Thu, Jul 10 2008 12:14 PM
I am about to start tweaking a Windows 2003 Enterprise Ed 6GB RAM, Citrix PS4.5 environment. The Citrix servers have 4x 1Gb NICs teamed (servers are Proliant Blades).
I have 20+ Citrix servers which I am planning to tweak. These servers sit behind CAG and AAC servers.

Hope my tweak list is not to long. Doesn't include UI tweaks, logging tweaks etc.

;The following registry tweak specifies whether kernel-mode drivers and kernel-mode system code
;can be paged to disk when not in use. Even if you have enough RAM available, Windows will still
;“page” important operating system components to the pagefile. By enabling the DisablePagingExecutive
;registry key you will prevent Windows from paging this type of data
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management]
"DisablePagingExecutive"=dword:00000001

;Speeds up boot and application load times by pre-loading commonly used files
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SessionManager\Memory Management\PrefetchParameters]
"EnablePrefetcher"="3"

;Disable lazy writes. Lazy writes occur when data is cached instead of immediately written to disk,
;which is the default. If data is being sent across the network or the server has a caching controller
;card, disabling lazy writes improves performance
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters]
"IRPStackSize"=dword:0000000f
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Service\LanmanWorkStation\Parameters]
"UtilizeNTCaching"=dword:00000000

;SizReqBuf value determines how much data is buffered at one time to send to a client. The default
;values in Microsoft Windows 2000 and in Microsoft Windows Server 2003 provide acceptable levels
;of performance in typical scenarios. However, on a high-latency connection, you may want to use
;an increased SizReqBuf value.
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters]
"SizReqBuf=dword:00003904

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"DeleteRoamingCache"=dword:00000001

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Citrix]
"IcaEnableKeepAlive"=dword:00000001
"IcaKeepAliveInterval"=dword:0000003c

I think the following tweak may only be of benefit on a CSG? Or if no CAG/CSG is between the client and the Citrix server?
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
"TcpMaxDataRetransmissions"=dword:0000000a

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
"KeepAliveTime"=dword:0000ea60
"KeepAliveInterval"=dword:000003e8

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Lanmanserver\Parameters]
"MaxWorkItems"=dword:00002004
"MaxMpxCt"=dword:00000800
"MaxRawWorkItems"=dword:00000200
"MaxFreeConnections"=dword:00000064
"MinFreeConnections"=dword:00000020
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Configuration Manager]
"RegistryLazyFlushInterval"=dword:0000003c

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters]
"MaxThreads"=dword:000000ff
"MaxCollectionCount"=dword:0000ffff
”MaxCmds"=dword:00000800

Comments? Suggestions?
  • | Post Points: 35
Not Ranked
Points 45
Take a look at doug browns site, he has a list of good reghacks for PS4.x whith detailed explainations on what the settings do
  • | Post Points: 5
Not Ranked
Points 5
EandD replied on Fri, Nov 7 2008 11:39 PM

Did you implement these changes? Did it improve performance?

  • | Post Points: 5
Page 1 of 1 (3 items) | RSS