i want to store windows 10 OS temp files/folders in ramdisk. i will be creating a persistent ramdisk which will be loaded at boot up.
is it a good idea? how much RAM should i dedicate to this?
My installed RAM size 16 GB
Storing Temp files from Win10 is not a problem, I use a 3 GB RamDisk for this (from 12GB RAM avail). But since the Anniversary Update (winver 1607), there seems to be something changed in the system routines. You should have UNCHECKED the option "Hard Drive Emulation". With this option enabled I found out, that MS Office will fail to write files in the RamDisk and OpenOffice/LibreOffice will fail writing any files everywhere, because it cannot write to the temp folder (it creates a backup file there) for a reason I cannot understand since normal file operations in such a RamDisk are no problem. If you disable the Emulation, everything is fine.
Wondering whether the option to turn off hard drive emulation results in byte-addressing RAM rather than emulating a block device. As Windows 10 also supports byte-level addressing for IMC-connected persistent memory devices (e.g. NVDIMM, 3D Xpoint and the like), less layering or avoiding protocols emulation would normally result in better performance.
Hard drive emulation adds another layer that emulates a regular hard disk drive, with cylinders, heads, sectors and partitions. Other than that, the data is stored in the same way and any difference in performance is rather small (less than 5% in tests).