That blisteringly quick storage know-how discovered within the next-gen consoles is coming to PCs too, debuting first with the RTX IO know-how in Nvidia’s new GeForce RTX 30-series graphics playing cards. Microsoft simply pulled again the curtain a bit extra on the way it works.
Yes, the creator of Windows is explaining how SSD know-how works in a graphics card. No, it’s not as weird because it sounds.
Both the Xbox Series X and Nvidia’s RTX IO faucet into Microsoft’s DirectStorage, a brand new DirectX API. Microsoft teased that it could be coming to PCs after the Xbox Series X announcement. This week, the corporate revealed a bit extra about how the know-how helps your SSD and GPU work extra intently collectively to scale back (and presumably remove) loading instances—although you’ll want a speedy NVMe drive to reap the benefits of it.
“With Nvidia RTX IO, vast worlds will load instantly. Picking up where you left off will be instant. This is a very big deal for next-generation gaming,” Nvidia CEO Jensen Huang stated whereas introducing the know-how. Instantaneous loading can also be a key promoting level for the Xbox Series X and PlayStation 5 launching later this 12 months.
How Microsoft DirectStorage and RTX IO work
“Games have pushed PC IO and file systems to the breaking point,” Huang stated. DirectStorage was constructed to smash previous that. Traditionally, CPUs have each known as recreation belongings out of your storage and decompressed them, passing the info by the system reminiscence over to your graphics card. Microsoft’s Andrew Yeung defined why that labored effectively earlier than, however not in an period of blazing-fast PCIe 4.zero NVMe drives:
“Previous gen video games had an asset streaming finances on the order of 50MB/s which even at smaller 64ok block sizes (ie. one texture tile) quantities to solely a whole lot of IO requests per second. With multi-gigabyte a second succesful NVMe drives, to reap the benefits of the total bandwidth, this shortly explodes to tens of hundreds of IO requests a second. Taking the Series X’s 2.4GB/s succesful drive and the identical 64ok block sizes for instance, that quantities to >35,000 IO requests per second to saturate it.
Existing APIs require the [game] to handle and deal with every of those requests separately first by submitting the request, ready for it to finish, after which dealing with its completion. The overhead of every request isn’t very massive and wasn’t a choke level for older video games working on slower onerous drives, however multiplied tens of hundreds of instances per second, IO overhead can shortly change into too costly stopping video games from with the ability to reap the benefits of the elevated NVMe drive bandwidths.”
In at the moment’s world of 100GB-plus video games with huge file textures and ludicrously quick PCIe 4.zero SSDs, that conventional CPU handoff has change into the bottleneck.
But whereas CPU threads want to finish a job earlier than transferring onto the following one, GPUs excel at executing many duties in parallel. DirectStorage takes benefit of that by letting ultra-fast NVMe SSDs ship knowledge on to the ultra-fast devoted VRAM in your video card. It’s primarily slicing out the pokey middle-man, whereas additionally releasing up your CPU to do different work.
Yeung says DirectStorage presents a number of instruments for builders to maximise storage efficiency: “by reducing per-request NVMe overhead, enabling batched many-at-a-time parallel IO requests which can be efficiently fed to the GPU, and giving games finer grain control over when they get notified of IO request completion instead of having to react to every tiny IO completion.”
Check out our information to the perfect SSDs in the event you’re pondering of snatching up a shiny new NVMe SSD within the meantime, or our NVMe SSD explainer if you wish to study extra concerning the tech inside this ultra-fast storage.
- The GeForce RTX 3080 and RTX 3090 are…