From Tom's Hardware: Microsoft’s DirectStorage 1.4 is out, and it brings Zstd compression, for smaller assets and CPU or GPU decompression, to PC games, along with the Game Asset Conditioning Library (GACL) texture tool that can cut compressed texture sizes by up to 50%, at some cost to quality. These features allow for smaller, better-streaming game assets, and they are now in developer hands. The downsides: studios have to rebuild their games to use them, and more work needs to be done on the GPU side.
DirectStorage is a technology for NVMe SSDs that lets games stream assets off your drives with less CPU overhead. Since version 1.1, released in late 2022, a DX12-capable graphics card (GPU) can do the decompression instead of the CPU. The type of workload done is different from the normal one you’d expect; instead of low-queue-depth 4KB reads, I/O tends to be 32KB or larger and can have hundreds of requests queued at once. Phison, a popular SSD controller designer, built and previewed its I/O+ firmware for the new workload type in 2022. DirectStorage 1.4 attacks the other side: smaller packages mean less data to read.
Existing compression support includes GDeflate, which cuts requests into 64KB chunks and stays fully supported, so games that already use DirectStorage are good to go. Zstd (short for Zstandard), an open compression standard new to DirectStorage, can get files smaller by treating a whole request as one piece — Microsoft recommends up to 256KB per request — and is therefore able to find more repeated data for compression. DirectStorage unpacks it on the GPU where it can, with Microsoft’s own open-source GPU program, and on the CPU otherwise. The goal is size: Microsoft says “Zstd makes game assets smaller, especially with GACL.”
View: Full Article