Tip: This article was an e-mail I wrote in November 5, 2011, because the content will be referenced in a new blog to be published, so I will re-post it here. Because of the content of the past three years, technology is constantly improving. Some of the content is no longer suitable for the present and only for understanding the development of technology.
Citrix blogs often have some in-depth blogs, which are suitable for masters. Some blogs are also good at induction and suitable for experience summarization. Today, I saw a blog post about the latter. I will explain the Capacity Design and deployment of PVS write cache for your reference.
The author of PVS writecache sizing & considerations made a questionnaire survey after writing an article. The author actually investigates how PVS users configure write cache: pvswrite cache sizing & considerations-Follow up
We Abstract The Essentials of some of the first blogs:
I. Deployment location
You can deploy the write cache
Cache on provisioningserver
Cache on target device Ram
Cache on target device harddrive
Set the write cache to target side.
Benefits
It keeps the write "close" to the target;
Minimizes the load on theprovisioning servers
This disk can also be usedfor data, which needs to be persistent
Disadvantages
-
It requires more resourceson the target side
Author's tendency:
Personally I prefer using a target side hard disk for storingthe write cache for virtual hosted tops and xenapps.
Ii. Local Disks
Advantages and disadvantages of writing cache deployment for Ephemeral disks and shared storage:
Option 1-write cache disk on sharedstorage
Pro:
High level of performance (typically)
Easy to scale
Central monitoring andmanagement
Virtual targets can bemoved between hypervisor hosts for load balancing and/or management reasons
Con:
Complexity
Cost
Available disk space onhypervisor hosts is wasted
Option 2-write cache disk on localdisk
Pro:
Cheap (compared to sharedstorage)
Low Complexity
Con:
Can be a performancebottleneck/hard to scale
Virtual targets are "tied" to a hypervisor host
Hypervisor hosts must havelocal drives
There is no such sword to tell you which one is the best, and the actual choices of users are different.
Author's Point of View
Personally I prefer to use local disks for provisioned xenappservers whenever possible from an performance and management point of view.
The hard disk on the blade is not suitable, because the blade usually has only two hard disks, which cannot meet the concurrent needs of the virtual desktop.
Iii. Disk size
It is impossible to estimate the size of the write cache, because it depends largely on the user's behavior and the working mode of the application.
For example, you can copy a large number of files to the write cache;
Applications cache a large number of files, such as database files;
Theoretically, the write cache cannot exceed the vdisk size. Of course, this will not happen in 99.99999% cases;
How to Reduce the write cache size and improve read/write Efficiency
Folder Redirection: Keep the user profile small by redirecting profile folders suchas desktop, my documents, application data and so on.
Use the app-V shared cache or the latest citrixapplication streaming. The latter now has a vhd Mount feature (similarto app-V shared cache) and does not build a streaming cache locally.
Files permanently saved on the local hard disk after the device is restarted
Windows pagefile ..
Windows event log.
Citrix related logs.
Anti-virus pattern.
App-V/Application streaming cache in case a shared cacheconcept cannot be used.
EdgeSight dB.
4. Local Disks
After redirecting the write cache and other items to the target's local permanent disk, we need to consider two things:
Permanent
Remember that writing files on a permanent disk violates the original intention of central PVS management. We need to consider how to manage or delete these files;
The size of the disk drive. If the capacity of the local disk is insufficient to support the write cache, if not, the write cache will be written to the PVS server.
Example
Assume that there is a xenapp server with 50 concurrent users, each user has a 20 m user profile, and each user has created a 50 m working environment (such as a temporary file). The calculation result is as follows:
1.0 GB user profiles (50x20 MB)
2.5 GB user workspace (50x50 MB)
1.0 GB system workspace (assumed, different for everyenvironment)
= 4.5 GB write cache file
4.5 GB write cache file
4.0 GB pagefile (check out kb889654/kb2021748)
0.1 GB windows Event Logs
0.1 GB Citrix logs
0.3 GB EdgeSight
1.0 GB other
4.0 GB dedicated dump file (see update section below)
2.0 GB buffer (some room to grow)
= 16 GB local disk size required per xenapp target
V. Survey results
1.0 GB other
4.0 GB dedicated dump file (see update section below)
2.0 GB buffer (some room to grow)
= 16 GB local disk size required per xenapp target
V. Survey results
650) This. width = 650; "Title =" 1.png" style = "float: none;" src = "http://s3.51cto.com/wyfs02/M00/40/08/wKioL1POEUyD4LxEAADV5UahFfM931.jpg" alt = "wkiol1poeuyd4lxeaadv5uahffm931.jpg"/>
650) This. width = 650; "Title =" 2.png" style = "float: none;" src = "http://s3.51cto.com/wyfs02/M02/40/08/wKiom1POEDKypDw7AADXF5u3UpA384.jpg" alt = "wkiom1poedkypdw7aadxf5u3upa384.jpg"/>
650) This. width = 650; "Title =" 3.png" style = "float: none;" src = "http://s3.51cto.com/wyfs02/M01/40/08/wKioL1POEU3jVKtPAAFumDbtYCY102.jpg" alt = "wkiol1poeu3jvktpaafumdbtycy102.jpg"/>
650) This. width = 650; "Title =" 4.png" style = "float: none;" src = "http://s3.51cto.com/wyfs02/M00/40/08/wKiom1POEDPjr_pKAADU7_5yeFY715.jpg" alt = "wkiom1poedpjr_pkaadu7_5yefy715.jpg"/>
650) This. width = 650; "Title =" 5.png" style = "float: none;" src = "http://s3.51cto.com/wyfs02/M00/40/08/wKiom1POEDOA-u70AADMOXVgU5g265.jpg" alt = "wKiom1POEDOA-u70AADMOXVgU5g265.jpg"/>
650) This. width = 650; "Title =" 6.png" style = "float: none;" src = "http://s3.51cto.com/wyfs02/M02/40/08/wKioL1POEU7RTjcqAAG5J8-DmzY998.jpg" alt = "wKioL1POEU7RTjcqAAG5J8-DmzY998.jpg"/>
650) This. width = 650; "Title =" 7.png" style = "float: none;" src = "http://s3.51cto.com/wyfs02/M01/40/08/wKioL1POEU_xCJBZAAFnQYn5W54522.jpg" alt = "wkiol1poeu_xcjbzaafnqyn5w54522.jpg"/>
650) This. width = 650; "Title =" 8.png" style = "float: none;" src = "http://s3.51cto.com/wyfs02/M01/40/08/wKiom1POEDWgCwmTAACwviwFozU504.jpg" alt = "wkiom1poedwgcwmtaacwviwfozu504.jpg"/>
This article is from the Citrix virtual world, you have me blog, please be sure to keep this source http://virtualworld.blog.51cto.com/1412963/1441381
Design and deployment of PVS write cache capacity