I just noticed that using RAMMAP from Sysinternals.com, that on the File Details tab, my Z: (Ramdisk) files were listed as being part of the system cache.
I think it makes sense that Windows should NOT cache the RAM Disk?
How do I prevent Windows from caching that drive?
Disable Windows Cache of RAMDRIVE
#1
Posted 05 December 2018 - 04:50 AM
#2
Posted 05 December 2018 - 07:57 PM
Of course that would be nice, but as far as I know, there is no way to control that.
- Olof Lagerkvist likes this
#3
Posted 06 December 2018 - 03:36 AM
I think it makes sense that Windows should NOT cache the RAM Disk?
How do I prevent Windows from caching that drive?
You can do that by setting DisablePagingExecutive (dword) to a value of 1(hex) under HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management. That does require a reboot.
#4
Posted 06 December 2018 - 06:06 AM
Hi,
i guess, this fix it :
https://www.thewindo...ile-sys-windows
https://www.thewindo...-memory-windows
https://blogs.techne...ile-for-anyway/
best regards
Blacky
#5
Posted 10 December 2018 - 05:18 AM
#6
Posted 10 December 2018 - 06:24 AM
can you maybe write a small Tweaking Program for this..
where read out the Reg-keys and make a white(no light) or green light if running.
With a Button to press and maybe works from WinXP/Ros up to Win10 (if's possible?)
(With this Tweakprogramm could maybe other tweaks possible like this)
best regards
Blacky
#7
Posted 10 December 2018 - 06:45 AM
Heeeyy Olof )))can you maybe write a small Tweaking Program for this..where read out the Reg-keys and make a white(no light) or green light if running.With a Button to press and maybe works from WinXP/Ros up to Win10 (if's possible?)(With this Tweakprogramm could maybe other tweaks possible like this)best regardsBlacky
No sorry, I don't know any way to do that. The cache logic is built-in "deeply" into file systems in Windows and certain methods for accessing data in files practically speaking requires the cache logic to be active. This can be turned off by the way applications access files though by not using memory-mapped files and always open files in non-cashed mode, but that requires changes in applications that open files and give them some requirements that are not always easy to meet, for example always reading and writing full sectors and always aligned to sector boundaries etc.
2 user(s) are reading this topic
0 members, 2 guests, 0 anonymous users