PVS可以通过CIFS Share方式存储vDisk,我们可以阅读一篇Citrix Blogs: Provisioning Servicesand CIFS Stores – Tuning For Performance.  为什么会有blog中这么一说呢?以前,我们一直说不要使用CIFS Share因为PVS不能把内容缓存下来,我们知道Windows2008可以cache内容但是PVS不能做到这一点。似乎看起来默认安装PVS的时候关闭了一些功能,但是如果不把Write Cache放在File Server(服务器端),PVS 默认disabled的注册表可以re-enable,并且System Cahce会正常工作。

如果PVS的System Cache不能生效将导致双倍的网络流量产生,增加网络负载:

Provisioning Services and CIFS Shares_第1张图片


强烈推荐看看上面Citrix Blog那篇文章介绍,有更详细的说明介绍。

 

PVS使用CIFS Share,需要修改的注册表:

Recommended Registry Values:

  • Windows 2003 File server:

  • HKLM\SYSTEM\CurrentControlSet\services\LanmanServer\Parameters

  • “autodisconnect”     = dword:0000ffff

 

  • Windows 2008 R2 File Server

  • HKLM\SYSTEM\CurrentControlSet\services\LanmanServer\Parameters

  • “autodisconnect”     = dword:0000ffff

  • ‘Smb2″ =     dword:00000001

 

  • Windows 2003 x64 Provisioning Server

  • HKLM\SYSTEM\CurrentControlSet\services\LanmanWorkstation\Parameters

  • “EnableOplocks”     = dword:0x00000001

  • HKLM\SYSTEM\CurrentControlSet\services\mrxsmb\Parameters

  • “OplocksDisabled”     = dword:0x00000000

  • “CscEnabled”     = dword:0x00000001

  • HKLM\SYSTEM\CurrentControlSet\services\LanmanServer\Parameters

  • “autodisconnect”     = dword:0x0000ffff

 

  • Windows 2008 R2 Provisioning Server

  • HKLM\SYSTEM\CurrentControlSet\services\LanmanWorkstation\Parameters

  • “EnableOplocks”     = dword:0x00000001

  • HKLM\SYSTEM\CurrentControlSet\services\mrxsmb\Parameters

  • “OplocksDisabled”     = dword:0x00000000

  • “CscEnabled”     = dword:0x00000001

  • HKLM\SYSTEM\CurrentControlSet\services\LanmanServer\Parameters

  • “autodisconnect”     = dword:0x0000ffff

  • “Smb2″ =     dword:0x00000001