3 ms·
The more I think about it the less sense a ram disk makes, I will admit it, I have abused them in the past, once for battlefield3 because the load times on my s
by somat 4y ago
The more I think about it the less sense a ram disk makes, I will admit it, I have abused them in the past, once for battlefield3 because the load times on my setup were awful and once for a company, they wanted a lookup using a specific database product that had no way to do in memory tables.
But resorting to a ramdisk means you have failed. most of the time the page cache offers the semantics you actually want, memory quick access backed up by persistent storage. You are saying, I want a filesystem api with ram speed and are willing to jump through the hoops required, manually syncing your storage at startup and shutdown, to reach that specification.
- throwaway81523 4y ago> most of the time the page cache offers the semantics you actually want, memory quick access backed up by persistent storage. If you are thinking about a ram disk it is likely because you want guaranteed low latency. With a cache you get hosed by delays when pages are flushed. I remember having to run daemons just to keep caches warm by periodically accessing data that I might need later without having to wait for it.
- bombcar 4y agoRAM disks had their heyday in the 32 bit era, where computers could be limited to 4GB of RAM but if you wanted to you could get a much larger RAMdisk.