EnableCompressionEnableCompression
EnableCompression
指定 Microsoft ReadyBoost™ 缓存是否使用压缩。EnableCompression
specifies whether the Microsoft ReadyBoost™ cache uses compression.
禁用压缩可以提高 CPU 使用率并降低电池损耗。Disabling compression can improve CPU usage and decrease battery consumption.
启用压缩可能有必要的系统具有低 RAM 或缓存空间,以确保可以存储所需的页。Enabling compression may be necessary for systems with a low amount of RAM or cache space, to ensure that the necessary pages can be stored.
对于使用 1 千兆字节 (GB) RAM 的便携式计算机,建议使用内部快速闪存设备缓存大小为至少 4 GB,以避免对缓存压缩的需求。For a portable computer with 1 gigabyte (GB) of RAM, we recommend using a fast internal flash device with a cache size of at least 4 GB, to avoid the need for cache compression.
对于使用 2 GB 或更大的 RAM 的便携式计算机,建议使用内部快速闪存设备缓存大小为至少 8 GB,以避免对缓存压缩的需求。For a portable computer with 2 GB or more of RAM, we recommend using a fast internal flash device with a cache size of at least 8 GB, to avoid the need for cache compression.
值Values
truetrue |
指定 ReadyBoost 缓存使用压缩。Specifies that the ReadyBoost cache uses compression. 这是默认值。This is the default value. |
falsefalse |
指定 ReadyBoost 缓存不使用压缩。Specifies that the ReadyBoost cache does not use compression. |
父层次结构Parent Hierarchy
microsoft-windows-systemmaintenanceservice- | CacheList | Cache | EnableCompressionmicrosoft-windows-systemmaintenanceservice- | CacheList | Cache | EnableCompression
有效配置阶段Valid Configuration Passes
专用化specialize
适用于Applies To
有关受支持的 Windows 版本和体系结构,该组件支持的列表,请参阅microsoft-windows-systemmaintenanceservice-。For a list of the supported Windows editions and architectures that this component supports, see microsoft-windows-systemmaintenanceservice-.
XML 示例XML Example
下面的 XML 输出示例显示了两个 ReadyBoost 设备的配置。The following XML output example shows a configuration of two ReadyBoost devices. 此示例在系统上,第一台设备不使用压缩,而另一台设备使用压缩。On this sample system, the first device does not use compression, while the second device uses compression.
<CacheList>
<Cache>
<CacheID>ReadyBoostCache1</CacheID>
<DiskID>1</DiskID>
<PartitionID>1</PartitionID>
<CacheSizeMB>1024</CacheSizeMB>
<EnableCompression>false</EnableCompression>
<EnableEncryption>false</EnableEncryption>
</Cache>
<Cache>
<CacheID>ReadyBoostCache2</CacheID>
<DiskID>2</DiskID>
<PartitionID>1</PartitionID>
<EnableCompression>true</EnableCompression>
<EnableEncryption>true</EnableEncryption>
</Cache>
</CacheList>