OSFMount V3.3
For the release of OSFMount V3.3 we did extensive work on the RAM Drive device driver (the physical disk emulation option).
The changes have resulted in a significant improvement in RAM disk performance. 14% faster for random small reads and 100% for sequential writes (so up to double the performance).
Changes included
Benchmarks before change
RAM drive settings: 4GB RAM Drive, GPT partition, NTFS file system, Physical disk emulation, Emulated drive type: Fixed HDD.
Test hardware: Ryzen 5600X with old slow DDR4 3600MT/s, 32GB.
Benchmarking app: PerformanceTest Advanced Disk test.
OSFMount version: 3.2
Note as well that the numbers below are MiB/second. To convert to MB/sec multiply by 1.049.

Benchmarks after changes
All setting the same, except OSFMount V3.3 was now used.

For the release of OSFMount V3.3 we did extensive work on the RAM Drive device driver (the physical disk emulation option).
The changes have resulted in a significant improvement in RAM disk performance. 14% faster for random small reads and 100% for sequential writes (so up to double the performance).
Changes included
- Improvement to concurrency (threading) & device IO queue behavior.
- A internal switch and additional code path was added to use either RtlCopyMemory or streaming stores (Non-Temporal memory copy), depending on the size of the transfer and if it is a read or write operation. Writes will now more often use streaming stores, which in theory use 30% less memory bandwidth as the Read For Ownership (RFO) step isn't required.
- The maximum transfer size was increased in the driver to 2MB (previously large transfer were slit into many small transfers, increasing the latency)
- Other minor changes to compiler settings and caching some internal variables between operations.
Benchmarks before change
RAM drive settings: 4GB RAM Drive, GPT partition, NTFS file system, Physical disk emulation, Emulated drive type: Fixed HDD.
Test hardware: Ryzen 5600X with old slow DDR4 3600MT/s, 32GB.
Benchmarking app: PerformanceTest Advanced Disk test.
OSFMount version: 3.2
Note as well that the numbers below are MiB/second. To convert to MB/sec multiply by 1.049.
Benchmarks after changes
All setting the same, except OSFMount V3.3 was now used.
Comment