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不能生效將導致雙倍的網絡流量產生,增加網絡負載:
強烈推薦看看上面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