prsyahmi / GpuRamDrive

RamDrive that is backed by GPU Memory
MIT License
1.05k stars 86 forks source link

Since above 4G decoding and ReBar are a thing now... #56

Open gustarballs1983 opened 8 months ago

gustarballs1983 commented 8 months ago

...will setting higher ReBar limit will increase GPU-Ramdrive Performance..

Since most folks misunderstand how ReBar works, and it is common for people to think that it enables access to GPU vRAM above 256MB, its time to straighten up those ejaculates....

All that ReBar does is increase the maximum size of a single packet in packet transmission between GPU and the system's DRAM, single packet used to be limited to 256MB, but now it can be set as big as imagination allows ( now sky is the new packet size limit).

Hence why i think it should drammatically increase GPU-Ramdisk performance... Am I right?

Unfortuneatly I don't yet have a system with Above 4G decoding & ReBar enabled. I'm working on it, The only system that i have with UEFI, doesn't have the options to enable those... yet..

I'm in the process of adding support for it to the UefiBios, in form of commonly known UefiBios ReBar mod, and Above 4G Decoding is as old as UEFI itself, it's just not visible to toggle and disabled by default, so agin bios needs to be hacked in order to enable it in my case. Other than that I may test GPU-Ramdisk with ReBar enabled with AMD's RX590-GME, and possibly with Intel's Arc A750, if GPU-Ramdisk devs add support for Intel dedicated cards..