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>

CacheCache