I created a ram drive using the function _io_mfs_install, and _io_register_file_system for the file system. I write to the disk using fwrite. All goes well without errors, but it is slow: around 45kB/s. Not what I expected of a ram drive. This is after compiler optimizations.
Any idea how to speed up the ram drive? What is the maximum it could theoretically reach?