This content has been machine translated dynamically.
Dieser Inhalt ist eine maschinelle Übersetzung, die dynamisch erstellt wurde. (Haftungsausschluss)
Cet article a été traduit automatiquement de manière dynamique. (Clause de non responsabilité)
Este artículo lo ha traducido una máquina de forma dinámica. (Aviso legal)
此内容已经过机器动态翻译。 放弃
このコンテンツは動的に機械翻訳されています。免責事項
이 콘텐츠는 동적으로 기계 번역되었습니다. 책임 부인
Este texto foi traduzido automaticamente. (Aviso legal)
Questo contenuto è stato tradotto dinamicamente con traduzione automatica.(Esclusione di responsabilità))
This article has been machine translated.
Dieser Artikel wurde maschinell übersetzt. (Haftungsausschluss)
Ce article a été traduit automatiquement. (Clause de non responsabilité)
Este artículo ha sido traducido automáticamente. (Aviso legal)
この記事は機械翻訳されています.免責事項
이 기사는 기계 번역되었습니다.책임 부인
Este artigo foi traduzido automaticamente.(Aviso legal)
这篇文章已经过机器翻译.放弃
Questo articolo è stato tradotto automaticamente.(Esclusione di responsabilità))
Translation failed!
存储读取缓存
读取缓存可提高虚拟机的磁盘性能,因为在首次从外部磁盘读取后,数据会缓存在主机的空闲内存中。当许多虚拟机从单个基础虚拟机克隆时,它能显著提高性能,因为它大大减少了从磁盘读取的块数量。例如,读取缓存可提高 Citrix Virtual Desktops Machine Creation Services™ (MCS) 环境中的性能。
只要数据需要从磁盘读取多次,就可以看到这种性能提升,因为它会被缓存在内存中。这种性能差异在重度 I/O 情况下发生的服务降级时最为明显。例如:
- 当大量最终用户在短时间内启动时(启动风暴)
- 当大量虚拟机被安排同时运行恶意软件扫描时(防病毒风暴)
注意:
为了最有效地利用读取缓存,可能需要增加分配给 XenServer 控制域 (dom0) 的内存量。有关增加 dom0 内存的说明,请参阅 更改控制域内存。
XenCenter® 在虚拟机的常规选项卡上显示读取缓存的状态。
注意:
存储读取缓存适用于 XenServer® 高级版客户。
在以下情况下,读取缓存默认启用:
- XenServer 主机已获得 XenServer 高级版许可。
- 虚拟机连接到基于文件的存储库 (SR) 上的 VDI,例如 NFS、EXT3/EXT4 或 GFS2。读取缓存不能与其他 SR 类型一起使用。
- 虚拟机是从快速克隆或快照创建的,或者虚拟机连接到只读 VDI。
有关读取缓存的详细信息,请参阅 存储读取缓存。
禁用读取缓存
您可以在 NFS、EXT3/EXT4 或 SMB SR 的“属性”对话框中禁用读取缓存。
- 在“资源”窗格中,选择要禁用读取缓存的 SR。
- 在“常规”选项卡中,单击“属性”。
- 在“属性”对话框中,取消选择“启用读取缓存”。
- 单击“确定”。
对于 GFS2 SR,不显示“读取缓存”选项卡,并且无法禁用读取缓存。
启用读取缓存
您可以在 SR 的“属性”对话框中启用读取缓存。
- 在“资源”窗格中,选择要启用读取缓存的 SR。
- 在“常规”选项卡中,单击“属性”。
- 在“属性”对话框中,选择“启用读取缓存”。
- 单击“确定”。
- 重启您希望从更改的设置中受益的任何虚拟机。
相关文档
XenServer 当前版本
This Preview product documentation is Cloud Software Group Confidential.
You agree to hold this documentation confidential pursuant to the terms of your Cloud Software Group Beta/Tech Preview Agreement.
The development, release and timing of any features or functionality described in the Preview documentation remains at our sole discretion and are subject to change without notice or consultation.
The documentation is for informational purposes only and is not a commitment, promise or legal obligation to deliver any material, code or functionality and should not be relied upon in making Cloud Software Group product purchase decisions.
If you do not agree, select I DO NOT AGREE to exit.