在Nutanix解决方案设计示例中,他们使用单独的数据存储器/容器作为桌面,应用堆栈和可写入的量。
- 创建单独的数据存储或所有人都可以使用一个数据存储有任何优势?
- 除了节省空间,在VM容器上启用压缩还有任何优势吗?
最好的答案杰里米
I think
Storage features on Nutanix such as deduplication, compression, and replication factor\u00a0are configured at the container level. I find this is the main driver for building separate containers:\u00a0so that different feature sets can be applied. See the Prism Web Console Guide, Storage Management section<\/a> for more details on container setup options.<\/p>
To your second question, the answer is actually yes. In addition to space savings, for many workloads you can actually\u00a0see a performance gain with compression. This has to do with the way the Nutanix cluster serves \u201chot\u201d data. Frequently requested data blocks being read on a Nutanix node are held in an in-memory cache so that read requests can be serviced more quickly. In addition to this the storage\u00a0service caches some, but not all, lookup data in memory. Servicing a read from memory is of course much faster than performing a lookup and then reading from disk. The portion of read requests being served from this in-memory cache is called the cache hit ratio, and generally having a higher cache-hit ratio means better performance.<\/p>
So how does compression help with this? The answer is simple when you see it. Compressed data takes up less space in the in-memory cache, allowing for more data to be served from memory. While there is processing involved in decompressing data, the compression algorithms used are quite fast. The delays for de-compressing data tend to be smaller than the delays which can be encountered in performing non-cached data lookups and sourcing data from disk. All of this means that for many workloads you\u2019ll see better performance when compression is enabled.<\/p>
If you\u2019d like to know more, take a look at the Nutanix Bible<\/a> or watch this Tech TopX video<\/a>.\u00a0<\/p> This isn\u2019t a universal truth. I\/O operations for cold data won\u2019t get the same benefit, but for many environments I\u2019ve worked on the answer is yes, there are advantages beyond space savings when you enable compression.<\/p>","className":"post__content__best_answer"}">