Design and deployment of PVS write cache capacity

Source: Internet
Author: User

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

  1. You can deploy the write cache

  • Cache on provisioningserver

  • Cache on target device Ram

  • Cache on target device harddrive

  1. Set the write cache to target side.

    Benefits

    1. It keeps the write "close" to the target;

    2. Minimizes the load on theprovisioning servers

    3. This disk can also be usedfor data, which needs to be persistent

Disadvantages

    1. It requires more resourceson the target side

       

  1. 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

  1. 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.

     

  1. 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

  1. 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.

    1. For example, you can copy a large number of files to the write cache;

    2. Applications cache a large number of files, such as database files;

  2. Theoretically, the write cache cannot exceed the vdisk size. Of course, this will not happen in 99.99999% cases;

  3. How to Reduce the write cache size and improve read/write Efficiency

    1. Folder Redirection: Keep the user profile small by redirecting profile folders suchas desktop, my documents, application data and so on.

    2. 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.

  4. Files permanently saved on the local hard disk after the device is restarted

    1. Windows pagefile ..

    2. Windows event log.

    3. Citrix related logs.

    4. Anti-virus pattern.

    5. App-V/Application streaming cache in case a shared cacheconcept cannot be used.

    6. 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:

  5. Permanent

    1. 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;

    2. 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.

  6. 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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.