09.03.2015 Views

VSAN-Troubleshooting-Reference-Manual

VSAN-Troubleshooting-Reference-Manual

VSAN-Troubleshooting-Reference-Manual

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Diagnostics and <strong>Troubleshooting</strong> <strong>Reference</strong> <strong>Manual</strong> – Virtual SAN<br />

Virtual SAN does not know if all of the data blocks in the cache line are dirty, or only<br />

some of them. If the data block being read is not dirty, it is read from flash like we<br />

saw earlier; if the data block being read is dirty/invalidated, it needs to be read from<br />

the capacity layer. However, Virtual SAN cannot tell the difference.<br />

So potentially the data block on a invalidated line can come from cache or it can<br />

come from the magnetic disk. This is why it is called a “partial hit”. In this last<br />

example, because we are attempting to read an invalid/dirty data block from read<br />

cache, the block has to be fetched from the capacity layer.<br />

In the 6.0 version of Virtual SAN, there is new read cache code which ensures that<br />

there are no invalidated read cache lines that have their latest data on magnetic<br />

disk. This means reads from invalidated cache lines will always get their data from<br />

the flash.<br />

Returning to the original graphs, there are still two that need explaining.<br />

RC IOPS breakdown<br />

This graphs basically details read cache I/O operations. This level of detail gives you<br />

a pretty good idea of how read cache is being utilized on this host. The metrics<br />

shown can be described as follows:<br />

<br />

<br />

<br />

<br />

<br />

Total Reads – Total number of read cache reads per second<br />

RC/Mem Reads – Number of read I/Os were served from the In-Memory<br />

ReadCache<br />

RC/SSD Reads – Number of read I/Os were served from the SSD ReadCache<br />

Total RC hits – Total number of read cache hits<br />

R-a-W-a-R – This is mostly for internal use. Normal workloads don’t have<br />

this pattern, but unfortunately synthetic workload generating tools like<br />

IOMeter does. This metric is to help detect such workloads. Workloads that<br />

exhibit this behavior do not really benefiting from cache, because it is doing<br />

writes after reads, invalidating cache lines.<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 1 9

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!