VSAN-Troubleshooting-Reference-Manual
VSAN-Troubleshooting-Reference-Manual
VSAN-Troubleshooting-Reference-Manual
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Diagnostics and <strong>Troubleshooting</strong> <strong>Reference</strong> <strong>Manual</strong> – Virtual SAN<br />
Some examples of random workloads include Online Transaction Processing (OLTP)<br />
database access, such as Oracle. A common way of testing random I/O is using<br />
DVDStore, which is an online e-commerce test application with a backend<br />
database component, and a client program to generate workload.<br />
Read versus write<br />
We already mentioned that hybrid Virtual SAN configurations use flash for read<br />
caching and write buffering. Sizing cache so that the workload can be largely<br />
contained in cache will produce the most desirable performance results from Virtual<br />
SAN. All of the writes will go to the write buffer in flash, but it is not guaranteed that<br />
all of the reads will come from the read cache, also in flash. However, that is what<br />
you would like to achieve, and avoid any read cache misses.<br />
Read cache sizing is very important; write cache sizing somewhat less so.<br />
Insufficient read cache causes cache misses, which are very expensive operations.<br />
Writes are different; they always go to cache and are eventually destaged. More<br />
write cache means that this destaging happens less often and more efficiently, but<br />
the effect of having less write cache is much less dramatic when compared to read<br />
cache.<br />
In the current release, there is no control over the read/write cache ratios. It is<br />
hard-coded at 70:30 write:read. However, there is the ability via the VM storage<br />
policy to set a read cache reservation for your particular virtual machine, if you<br />
think that it will benefit from having its own dedicated read cache, rather than<br />
sharing it with other virtual machine storage objects. But do so carefully!<br />
Where cache helps and where it may not<br />
Flash as cache helps performance in two important ways. First, frequently read<br />
blocks end up in cache, dramatically improving performance. Second, in hybrid<br />
configurations, all writes are committed to cache first, before being efficiently<br />
destaged to disks – again, dramatically improving performance.<br />
However, data still has to move back and forth between disks and cache. A sustained<br />
sequential write test ends up being a test of the back end disks, as does a sustained<br />
sequential read test. We also mentioned that long periods of “burstiness” could fill<br />
up the cache, and I/O may need to be satisfied from the magnetic disk layer.<br />
Also, you need to be aware that most real-world application workloads take a while<br />
for cache to “warm up” before achieving steady-state performance.<br />
V M W A R E S T O R A G E B U D O C U M E N T A T I O N / 2 5 2