EnableCompression

Applies To: Windows 7, Windows 8, Windows 8.1, Windows Server 2012 R2

EnableCompression specifies whether the Microsoft® ReadyBoost™ cache uses compression.

Disabling compression can improve CPU usage and decrease battery consumption.

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.

  • 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.

  • 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

true

Specifies that the ReadyBoost cache uses compression.

This is the default value.

false

Specifies that the ReadyBoost cache does not use compression.

Parent Hierarchy

Microsoft-Windows-SystemMaintenanceService | CacheList | Cache | EnableCompression

Valid Configuration Passes

specialize

Applies To

For a list of the supported Windows® editions and architectures that this component supports, see Microsoft-Windows-SystemMaintenanceService.

XML Example

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>

See Also

Concepts

Cache