Citrite Two-Six-Niner-Niner
Thursday, May 14, 2009
  Desktop Operation System optimizations for XenDesktop and Provisioning Services: XP, Vista, Windows 7

First thanks to Paul Wilson for starting this process.

The outline of the process that I am following:

  • Process
    • The sum of many small improvements will make the environment noticeably faster (hopefully). Machines need to boot, load OS, load default profile, start Desktop Service, then this shows the system as registered (idle) in the DDC console.
    • Speed up the boot process.
    • Make the system load faster. (system, .default profile)
    • Make the User profile load faster. (users' profiles)
    • Improve system response.
    • Overall system speed.
    • Analyze system response, tools to bench and view performance.
  • XP
    • Speed up the boot process.
      • BIOS / VM Settings
        • PVS: Network is first boot option, unless BDM is used (then CDROM)
        • If private XenServer based storage is used make sure the VM is booting from the local disk first
      • Lower OS timeout values in boot.ini (or through msconfig)
        • 1 -3 seconds can still allow access to change options using this setting.
        • In physical having access to change these options is more relevant. In virtual or provisioned, we have access to mount these vDisks and can modify boot.ini directly if necessary. We also have the flexibility of snapshotting.
      • Disable GUI portions of boot.
        • Change the boot switch to /noguiboot, this can be used in conjunction with /fastdetect
      • Disable unused hardware (drivers) (possible list)
        • Firewire
        • Modem
        • MIDI
        • Multimedia: Game Controllers
        • PCMCIA
      • Remove Fonts
        • Create a FontsRemoved flder inside of c:\windows
        • Drag (move) fronts from the fonts folder to remove
        • Leave commonly used fonts:
          • Verdana
          • Arial
          • Trebuchet
          • Tahoma
          • Times New Roman
          • MS Sans Serif
      • Disable unused services
        • Here is a list I am testing now (disable these)
          • Background Intelligent Transfer Service
          • Distributed Link Tracking Client
          • Error Reporting Service
          • Fast User Switching
          • Help and Support
          • Indexing Service
          • Messenger
          • Machine Debug Manager
          • Network Location Awareness
          • Portable Media Serial Number Service
          • Remote Registry (might impact Group Policy and Troubleshooting, might take this off the list)
          • SSDP Discovery Service
          • Windows Image Acquisition
          • Wireless Zero Configuration
          • WebClient
          • Task Scheduler
      • Disk Defragmentation
        • Remove / se pagefile to none before defragmenting disk.
        • Mount disk on PVS or mount XS disk on another OS to defrag disk when files are not locked.
        • Create new bootable disk and copy files from your optimized disk to freshly formatted disk. (PVS disk creation sort of does this but I deed to verify the comparative defrag.)
        • Boot file defragmentation. Apparently Windows will do this every three days. It can't be forced but you can force idle tasks. Than can do this ahead of schedule. I think.
          • Rundll32.exe advapi32.dll,ProcessIdleTasks
        • Possibly diskeeper or O@O defrag?    
    • Make the system load faster. (system, .default profile)
      • Stop auto startup programs
      • Turn off sounds, logon music, sound profiles? (WAN performance improvements)
      • Delete system sound wav files.
      • NtfsDisableLastAccessUpdate =1
      • NtfsDisable8dot3NameCreation = 1
    • Make the User profile load faster. (users' profiles)

    • Improve system response.
      • Disable menu delay
      • MenuShowDelay =?
        • I like 0 but I have been wondering if in LAN connections som very small value like 50 or 100 to prevent the menus opening when sliding across them on the way to another menu.
      • Adjust for Best performance (where is this key does it exist in Policy templates already?)

    • Overall system speed.
      • Prefetcher for local apps.
        • Internet Explorer
        • HDX (ICA) Client
      • IE optimizations:
        • HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\
          • MaxConnectionsPerServer = 15
          • MaxConnectinsPer1_0Server 15
      • Firefox
        • About:config
          • Network.http.max-connections-per-server = 15
          • Network.http.pipelining = 15
          • Nglayout.initialpaint.delay = 0    
    • Analyze system response, tools to bench and view performance.
      • Analyse system response
        • Bootvis
        • Perfmon
      • Benchmarking
        • Sandra
        • CPU Arithmetic Benchmark
        • CPU Multimedia
        • Research other methods and tools
  • Vista
    • Speed up the boot process.
      • BIOS / VM Settings
        • PVS: Network is first boot option, unless BDM is used (then CDROM)
        • If private XenServer based storage is used make sure the VM is booting from the local disk first
      • Lower OS timeout values in bcdedit (or through msconfig) (there is no more boot.ini and if there is it is ignored.)
        • 1 -3 seconds can still allow access to change options using this setting.
        • In physical having access to change these options is more relevant. In virtual or provisioned, we have access to mount these vDisks and can modify boot.ini directly if necessary. We also have the flexibility of snapshotting.
      • Bcdedit /enum all
        • Bcdedit /default (uid)

      • Disable GUI portions of boot.
        • Change the boot switch to /noguiboot, this can be used in conjunction with /fastdetect
        • This is done through msconfig as checkbox
      • Disable unused hardware (drivers) (possible list)
        • Firewire
        • Modem
        • MIDI
        • Multimedia: Game Controllers
        • PCMCIA
      • Remove Fonts
        • Create a FontsRemoved flder inside of c:\windows
        • Drag (move) fronts from the fonts folder to remove
        • Leave commonly used fonts:
          • Verdana
          • Arial
          • Trebuchet
          • Tahoma
          • Times New Roman
          • MS Sans Serif
      • Disable unused services
        • Here is a list I am testing now (disable these)
          • Application Experience
          • Application Information
          • Background Intelligent Transfer Service
          • Base Filtering Engine
          • Bluetooth
          • Desktop Windows Manager Session Manger
          • Distributed Link Tracking Client
          • Diagnostic Policy
          • Diagnostic System Host
          • EAP Host
          • Function Discover Provider Host
          • IKE and Auth IP IPSec Keying Modules
          • IP Helper
          • MultiMedia Class
          • Network Connections
          • Network List
          • Network Location Awareness
          • Offline Files
          • Protable Device Enumnerator
          • Routing and Remote access
          • Security Center
          • SSDP Discovery
          • Superfetch
          • Tablet PC input
          • Themes
          • Windows Defender
          • Windows Search
          • Windows Update
          • WinHTTP Web Proxy Autodiscovery
          • Error Reporting Service
          • Fast User Switching
          • Help and Support
          • Indexing Service
          • Messenger
          • Machine Debug Manager
          • Network Location Awareness
          • Portable Media Serial Number Service
          • Remote Registry (might impact Group Policy and Troubleshooting, might take this off the list)
          • SSDP Discovery Service
          • Windows Image Acquisition
          • Wireless Zero Configuration
          • WebClient
          • Task Scheduler
      • Disk Defragmentation
        • Remove / se pagefile to none before defragmenting disk.
        • Mount disk on PVS or mount XS disk on another OS to defrag disk when files are not locked.
        • Create new bootable disk and copy files from your optimized disk to freshly formatted disk. (PVS disk creation sort of does this but I deed to verify the comparative defrag.)
        • Boot file defragmentation. Apparently Windows will do this every three days. It can't be forced but you can force idle tasks. Than can do this ahead of schedule. I think.
          • Rundll32.exe advapi32.dll,ProcessIdleTasks
        • Possibly diskeeper or O@O defrag?    
    • Make the system load faster. (system, .default profile)
      • Stop auto startup programs
      • Turn off sounds, logon music, sound profiles? (WAN performance improvements)
      • Delete system sound wav files.
      • NtfsDisableLastAccessUpdate =1
      • NtfsDisable8dot3NameCreation = 1
    • Make the User profile load faster. (users' profiles)

    • Improve system response.
      • Disable menu delay
      • MenuShowDelay =?
        • I like 0 but I have been wondering if in LAN connections som very small value like 50 or 100 to prevent the menus opening when sliding across them on the way to another menu.
      • Adjust for Best performance (where is this key does it exist in Policy templates already?)
      • Disable Windows Vista Security Alerts
        • Security Center > Don't Notify me and don't display
        • Registry key?
      • Adjust NTFS memory allocation:
        • Fsutil behavior set memoryusage 2
        • Fsutil behavior set memoryusage 1
    • Overall system speed.
      • Prefetcher for local apps.
        • Internet Explorer
        • HDX (ICA) Client
      • IE optimizations:
        • HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\
          • MaxConnectionsPerServer = 15
          • MaxConnectinsPer1_0Server 15
      • Firefox
        • About:config
          • Network.http.max-connections-per-server = 15
          • Network.http.pipelining = 15
          • Nglayout.initialpaint.delay = 0
      • Disable unneeded protocols


         

    • Analyze system response, tools to bench and view performance.
      • Analyse system response
        • Reliability Monitor
        • Perfmon
        • Windows System Performance Rating

      • Benchmarking
        • PCMark05
        • Research other methods and tools
  • Windows 7 (most that I have tried duplicate Vista tweaks)
    • Speed up the boot process.
      • BIOS / VM Settings
        • PVS: Network is first boot option, unless BDM is used (then CDROM)
        • If private XenServer based storage is used make sure the VM is booting from the local disk first
      • Lower OS timeout values in bcdedit (or through msconfig) (there is no more boot.ini and if there is it is ignored.)
        • 1 -3 seconds can still allow access to change options using this setting.
        • In physical having access to change these options is more relevant. In virtual or provisioned, we have access to mount these vDisks and can modify boot.ini directly if necessary. We also have the flexibility of snapshotting.
      • Bcdedit /enum all
        • Bcdedit /default (uid)

      • Disable GUI portions of boot.
        • Change the boot switch to /noguiboot, this can be used in conjunction with /fastdetect
        • This is done through msconfig as checkbox
      • Disable unused hardware (drivers) (possible list)
        • Firewire
        • Modem
        • MIDI
        • Multimedia: Game Controllers
        • PCMCIA
      • Remove Fonts
        • Create a FontsRemoved flder inside of c:\windows
        • Drag (move) fronts from the fonts folder to remove
        • Leave commonly used fonts:
          • Verdana
          • Arial
          • Trebuchet
          • Tahoma
          • Times New Roman
          • MS Sans Serif
      • Disable unused services
        • Here is a list I am testing now (disable these)
          • Application Experience
          • Application Information
          • Background Intelligent Transfer Service
          • Base Filtering Engine
          • Bluetooth
          • Desktop Windows Manager Session Manger
          • Distributed Link Tracking Client
          • Diagnostic Policy
          • Diagnostic System Host
          • EAP Host
          • Function Discover Provider Host
          • IKE and Auth IP IPSec Keying Modules
          • IP Helper
          • MultiMedia Class
          • Network Connections
          • Network List
          • Network Location Awareness
          • Offline Files
          • Protable Device Enumnerator
          • Routing and Remote access
          • Security Center
          • SSDP Discovery
          • Superfetch
          • Tablet PC input
          • Themes
          • Windows Defender
          • Windows Search
          • Windows Update
          • WinHTTP Web Proxy Autodiscovery
          • Error Reporting Service
          • Fast User Switching
          • Help and Support
          • Indexing Service
          • Messenger
          • Machine Debug Manager
          • Network Location Awareness
          • Portable Media Serial Number Service
          • Remote Registry (might impact Group Policy and Troubleshooting, might take this off the list)
          • SSDP Discovery Service
          • Windows Image Acquisition
          • Wireless Zero Configuration
          • WebClient
          • Task Scheduler
      • Disk Defragmentation
        • Remove / se pagefile to none before defragmenting disk.
        • Mount disk on PVS or mount XS disk on another OS to defrag disk when files are not locked.
        • Create new bootable disk and copy files from your optimized disk to freshly formatted disk. (PVS disk creation sort of does this but I deed to verify the comparative defrag.)
        • Boot file defragmentation. Apparently Windows will do this every three days. It can't be forced but you can force idle tasks. Than can do this ahead of schedule. I think.
          • Rundll32.exe advapi32.dll,ProcessIdleTasks
        • Possibly diskeeper or O@O defrag?    
    • Make the system load faster. (system, .default profile)
      • Stop auto startup programs
      • Turn off sounds, logon music, sound profiles? (WAN performance improvements)
      • Delete system sound wav files.
      • NtfsDisableLastAccessUpdate =1
      • NtfsDisable8dot3NameCreation = 1
    • Make the User profile load faster. (users' profiles)

    • Improve system response.
      • Disable menu delay
      • MenuShowDelay =?
        • I like 0 but I have been wondering if in LAN connections som very small value like 50 or 100 to prevent the menus opening when sliding across them on the way to another menu.
      • Adjust for Best performance (where is this key does it exist in Policy templates already?)
      • Disable Windows Vista Security Alerts
        • Security Center > Don't Notify me and don't display
        • Registry key?
      • Adjust NTFS memory allocation:
        • Fsutil behavior set memoryusage 2
        • Fsutil behavior set memoryusage 1
    • Overall system speed.
      • Prefetcher for local apps.
        • Internet Explorer
        • HDX (ICA) Client
      • IE optimizations:
        • HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\
          • MaxConnectionsPerServer = 15
          • MaxConnectinsPer1_0Server 15
      • Firefox
        • About:config
          • Network.http.max-connections-per-server = 15
          • Network.http.pipelining = 15
          • Nglayout.initialpaint.delay = 0
      • Disable unneeded protocols


         

    • Analyze system response, tools to bench and view performance.
      • Analyse system response
        • Reliability Monitor
        • Perfmon
        • Windows System Performance Rating

      • Benchmarking
        • PCMark05
        • Research other methods and tools
 
Roy "rat" Tokeshi's Stuff Stuff not quite ready for the main site. Rough stuff that was neat when I saw or thought it.

Name: Roy
Location: Queen Creek, AZ, United States
Archives
07/20/2003 - 07/27/2003 / 07/27/2003 - 08/03/2003 / 08/03/2003 - 08/10/2003 / 08/10/2003 - 08/17/2003 / 08/17/2003 - 08/24/2003 / 08/24/2003 - 08/31/2003 / 08/31/2003 - 09/07/2003 / 09/07/2003 - 09/14/2003 / 09/14/2003 - 09/21/2003 / 09/21/2003 - 09/28/2003 / 09/28/2003 - 10/05/2003 / 10/05/2003 - 10/12/2003 / 10/12/2003 - 10/19/2003 / 10/19/2003 - 10/26/2003 / 10/26/2003 - 11/02/2003 / 11/09/2003 - 11/16/2003 / 11/16/2003 - 11/23/2003 / 11/23/2003 - 11/30/2003 / 12/07/2003 - 12/14/2003 / 12/21/2003 - 12/28/2003 / 12/28/2003 - 01/04/2004 / 01/04/2004 - 01/11/2004 / 01/11/2004 - 01/18/2004 / 01/25/2004 - 02/01/2004 / 02/01/2004 - 02/08/2004 / 02/15/2004 - 02/22/2004 / 02/22/2004 - 02/29/2004 / 02/29/2004 - 03/07/2004 / 03/07/2004 - 03/14/2004 / 03/14/2004 - 03/21/2004 / 03/21/2004 - 03/28/2004 / 03/28/2004 - 04/04/2004 / 04/04/2004 - 04/11/2004 / 04/11/2004 - 04/18/2004 / 04/18/2004 - 04/25/2004 / 04/25/2004 - 05/02/2004 / 05/02/2004 - 05/09/2004 / 05/23/2004 - 05/30/2004 / 06/20/2004 - 06/27/2004 / 06/27/2004 - 07/04/2004 / 07/04/2004 - 07/11/2004 / 07/11/2004 - 07/18/2004 / 07/18/2004 - 07/25/2004 / 07/25/2004 - 08/01/2004 / 08/01/2004 - 08/08/2004 / 08/08/2004 - 08/15/2004 / 08/15/2004 - 08/22/2004 / 08/22/2004 - 08/29/2004 / 08/29/2004 - 09/05/2004 / 09/05/2004 - 09/12/2004 / 09/12/2004 - 09/19/2004 / 09/19/2004 - 09/26/2004 / 09/26/2004 - 10/03/2004 / 10/10/2004 - 10/17/2004 / 10/17/2004 - 10/24/2004 / 10/31/2004 - 11/07/2004 / 11/07/2004 - 11/14/2004 / 12/12/2004 - 12/19/2004 / 12/26/2004 - 01/02/2005 / 01/02/2005 - 01/09/2005 / 01/30/2005 - 02/06/2005 / 02/27/2005 - 03/06/2005 / 04/17/2005 - 04/24/2005 / 06/26/2005 - 07/03/2005 / 07/31/2005 - 08/07/2005 / 08/07/2005 - 08/14/2005 / 08/28/2005 - 09/04/2005 / 10/09/2005 - 10/16/2005 / 11/20/2005 - 11/27/2005 / 12/04/2005 - 12/11/2005 / 01/01/2006 - 01/08/2006 / 01/08/2006 - 01/15/2006 / 01/15/2006 - 01/22/2006 / 01/29/2006 - 02/05/2006 / 02/05/2006 - 02/12/2006 / 02/12/2006 - 02/19/2006 / 02/19/2006 - 02/26/2006 / 02/26/2006 - 03/05/2006 / 03/26/2006 - 04/02/2006 / 05/21/2006 - 05/28/2006 / 06/11/2006 - 06/18/2006 / 06/18/2006 - 06/25/2006 / 06/25/2006 - 07/02/2006 / 07/23/2006 - 07/30/2006 / 08/06/2006 - 08/13/2006 / 08/13/2006 - 08/20/2006 / 08/20/2006 - 08/27/2006 / 09/10/2006 - 09/17/2006 / 09/17/2006 - 09/24/2006 / 09/24/2006 - 10/01/2006 / 10/01/2006 - 10/08/2006 / 10/29/2006 - 11/05/2006 / 11/05/2006 - 11/12/2006 / 12/10/2006 - 12/17/2006 / 12/31/2006 - 01/07/2007 / 02/18/2007 - 02/25/2007 / 03/04/2007 - 03/11/2007 / 04/01/2007 - 04/08/2007 / 05/20/2007 - 05/27/2007 / 06/03/2007 - 06/10/2007 / 07/01/2007 - 07/08/2007 / 07/22/2007 - 07/29/2007 / 08/05/2007 - 08/12/2007 / 08/19/2007 - 08/26/2007 / 08/26/2007 - 09/02/2007 / 09/02/2007 - 09/09/2007 / 09/09/2007 - 09/16/2007 / 11/11/2007 - 11/18/2007 / 03/30/2008 - 04/06/2008 / 05/11/2008 - 05/18/2008 / 05/10/2009 - 05/17/2009 /


Powered by Blogger

Subscribe to
Posts [Atom]