3 ms·
I mean, it's hard to keep up with a NVMe as it is. Anything not specifically intended for that scenario will probably load data too slowly for a RAM disk to im
by dale_glass 5y ago
I mean, it's hard to keep up with a NVMe as it is.
Anything not specifically intended for that scenario will probably load data too slowly for a RAM disk to improve matters, and anything made for a NVMe is going to be made to stream data in real time where it won't make a noticeable difference.
- Koshkin 5y agoOn the other hand, I think mmap from a ramdisk should be as fast as it gets.
- dale_glass 5y agoOnly if everything is already in 100% usable condition. Eg, if you have textures and need things like decoding the PNG/JPG, creating an instance of the Texture class and filling in the fields, re-encoding it into whatever format and resolution your video card wants... that's where you're going to lose a lot of the performance.
- Koshkin 5y agoYes, mmap is most useful when the data is usable "as is."