DirectStorage 1.1 with GPU Compression improves game loading significantly
Microsoft announced in 2020 that the DirectStorage API would come to its Windows operating system. DirectStorage, which debuted on Microsoft's Xbox console, promises faster loading times by reducing CPU overhead and increasing IO throughput.
First thought to be a Windows 11 exclusive, Microsoft revealed a year later that DirectStorage would also find its way on PCs running Windows 10. The company released the first stable version of the DirectStorage API for Windows in March 2022.
DirectStorage requires that games are installed on fast NVMe drives, as the benefit of the technology is the largest in this case. Gamers may still see loading improvements on slower hard drives, but not nearly as much.
Microsoft offered a sneak peek of the upcoming DirectStorage 1.1 API for Windows yesterday. One of the main new features of the updated API is support for GPU decompression.
GPU decompression promises faster loading times by moving decompression processes from the CPU to the GPU. Most compression algorithms have been optimized for CPUs in the past, and the majority of games uses CPUs for decompression tasks currently.
With DirectStorage 1.1 comes the option to move the decompression tasks to the GPU. Microsoft created "a highly optimized sample" to benchmark the loading of assets using the CPU and GPU. According to Microsoft, GPU decompression improved the loading time almost by the factor 3. An additional benefit is the dropping of the CPU load during the tasks.
Translated into real-world numbers, the decompression time was reduced from 2.36 to 0.80 seconds, and the CPU load dropped from 100% to 15.08%. The gains are promising, but independent verification is needed.
Windows gamers do need to understand that values may differ depending on the hardware of their devices.
DirectStorage games are compatible with Windows 10 and Windows 11 according to Microsoft, but Windows 11's implementation features further optimizations not available on Windows 10. Games that use the new API will see decompression improvements, which will translate to faster loading times.
As far as required hardware is concerned. The new GPU decompression feature requires a DirectX 12 capable GPU supporting Shader Model 6.0. To benefit from faster loading times in general, Microsoft recommends fast NVMe SSD storage devices and saving games on them.
Now You: do you play games on Windows?
Ah yes the classic gatekeeping by Microsoft to entice users and gamers to move to windows 11 by making a simple update only function or function well on the current OS even though the previous one was perfectly capable of it if Microsoft bothered to try.
It’s a desperate move by Microsoft to push people to Windows 11 but they decided they wouldn’t go all in yet as even they are unsure of themselves and windows 11 and would rather not lose the consumer completely so they gave the windows 10 a gimped version.
This press release has no new information.
“Now You: do you play games on Windows?”
Asking the hard questions.
And what the article doesn’t tell you is that load times are always faster when you use compression, Windows magic sauce or not.
It’s an old trick that has been known for awhile now that if you compress a folder with all of the files for a game (As in, your Steam folder.) using the standard Windows NTFS compression, then the game will load faster. If it’s already on a fast drive, then not much faster (Shaving seconds, really.), but it will work. However, all decompression from this trick (And most likely DirectStorage too.) will use more CPU runtime and more memory. CPU because the files have to be decompressed and compressed on the fly. More memory because two copies of all files are kept in memory. One compressed, one decompressed. But, I’m guessing that DirectStorage’s “trick” is to let go of the compressed copy in memory once it’s no longer needed.
I was interested in this when I first heard of it, but the more I hear, the more it sounds like NTFS compression 2.0. Slightly jazzed up and optimized with maybe a different algorithm, but not the miracle that they were making it out to be.
article missing the most important thing:
The DirectStorage 1.1 and GPU Decompression SDK will be distributed later this year to developers, who will then have to study and experiment to implement it in their games. In short, it will take some time before we see the technology in a purchasable title.
So now hackers can exploit flaws in the GPU architecture while completely bypassing the CPU and M$ can blame it on Nvidia and AMD.