Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Windows › Tool to preload windows cache?
New Posts  All Forums:Forum Nav:

Tool to preload windows cache? - Page 9

post #81 of 109
Seems to just be Dayz that is dumping it as soon as it loads, which is annoying seeing as it lacks optimisation.

Also could someone please clarify my understanding, I have no experience with this sort of thing.

Caching an entire folder through Techie's tool provides all the speed benefits of installing a game to a ram disk with the added benefit of being dynamic in that I can simply clear it and drop another folder instead of having to install and uninstall? and this will give me faster load times in games? will this also give me more fps in-game even if it is a small amount?

Thanks.
2600k
(18 items)
 
  
CPUMotherboardGraphicsRAM
i7 2600k 4.5Ghz 1.36v ASUS P8Z68-V Gigabyte R9 290x Kingston 16GB 
Hard DriveHard DriveCoolingCooling
256GB Samsung 840 Pro Series SSD  Western Digital 2TB XSPC Raystorm D5 Vario Kit - Socket 1155 Raysto... Koolance R9 290/X Block 
OSMonitorKeyboardPower
Windows 10 Acer 4K 28" Monitor CB281HK Ducky Shine 3 750watt Corsair TX750  
CaseMouseMouse PadAudio
Corsair Carbide Air 540  Logitech G502 Razer Goliathus Extended Edition Beyerdynamic DT990 / Magni 2 Uber / Modi 2 Uber 
OtherOther
Lamptron FC8 NZXT 2m Led Strip 
  hide details  
Reply
2600k
(18 items)
 
  
CPUMotherboardGraphicsRAM
i7 2600k 4.5Ghz 1.36v ASUS P8Z68-V Gigabyte R9 290x Kingston 16GB 
Hard DriveHard DriveCoolingCooling
256GB Samsung 840 Pro Series SSD  Western Digital 2TB XSPC Raystorm D5 Vario Kit - Socket 1155 Raysto... Koolance R9 290/X Block 
OSMonitorKeyboardPower
Windows 10 Acer 4K 28" Monitor CB281HK Ducky Shine 3 750watt Corsair TX750  
CaseMouseMouse PadAudio
Corsair Carbide Air 540  Logitech G502 Razer Goliathus Extended Edition Beyerdynamic DT990 / Magni 2 Uber / Modi 2 Uber 
OtherOther
Lamptron FC8 NZXT 2m Led Strip 
  hide details  
Reply
post #82 of 109
    Yes, it provides similar performance benefits to an actual RAM disk.  As you may know, different RAM disk softwares have different performance speeds on the same computer, but I haven't actually benchmarked the Windows cache engine to compare its performance speed to some of them.
    Also, you can't easily clear the cache, but When you cache other files/folders, files will get bumped out of the cache to make room for the new ones.  Something to check with Dayz: Perhaps it's using a lot of RAM (even briefly), thus causing the cache to empty?
    File caching shouldn't really boost FPS that much, since that's dependent on CPU and GPU power; however, it should reduce stuttering or lag when loading additional game resources during game-play, since those reads will be very fast.
 
Edited by Techie007 - 4/3/14 at 9:23am
My desktop PC
(14 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i7-3770K Gigabyte P67A-D3-B3 NVIDIA GeForce 8400 GS  1x Corsair 8 GB 
Hard DriveHard DriveHard DriveOS
Kingston SV300S3 WesternDigital WD10EZEX Samsung HD154UI Windows 7 Ultimate SP1 x64 
MonitorMonitorKeyboardPower
Daewoo L947BK Gateway FPD1530 HTK-2001 Dynex DX-400WPS 
MouseAudio
Kensington K72400 Realtek ALC889 
  hide details  
Reply
My desktop PC
(14 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i7-3770K Gigabyte P67A-D3-B3 NVIDIA GeForce 8400 GS  1x Corsair 8 GB 
Hard DriveHard DriveHard DriveOS
Kingston SV300S3 WesternDigital WD10EZEX Samsung HD154UI Windows 7 Ultimate SP1 x64 
MonitorMonitorKeyboardPower
Daewoo L947BK Gateway FPD1530 HTK-2001 Dynex DX-400WPS 
MouseAudio
Kensington K72400 Realtek ALC889 
  hide details  
Reply
post #83 of 109
    Cache Folder version 1.0.1 is now available.  Download like to the latest version: CacheFolder.zip.  There are numerous improvements, including command-line flags for background priority and initial wait-time.  Feedback is welcome. smile.gif
 
Edited by Techie007 - 8/1/16 at 11:56am
My desktop PC
(14 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i7-3770K Gigabyte P67A-D3-B3 NVIDIA GeForce 8400 GS  1x Corsair 8 GB 
Hard DriveHard DriveHard DriveOS
Kingston SV300S3 WesternDigital WD10EZEX Samsung HD154UI Windows 7 Ultimate SP1 x64 
MonitorMonitorKeyboardPower
Daewoo L947BK Gateway FPD1530 HTK-2001 Dynex DX-400WPS 
MouseAudio
Kensington K72400 Realtek ALC889 
  hide details  
Reply
My desktop PC
(14 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i7-3770K Gigabyte P67A-D3-B3 NVIDIA GeForce 8400 GS  1x Corsair 8 GB 
Hard DriveHard DriveHard DriveOS
Kingston SV300S3 WesternDigital WD10EZEX Samsung HD154UI Windows 7 Ultimate SP1 x64 
MonitorMonitorKeyboardPower
Daewoo L947BK Gateway FPD1530 HTK-2001 Dynex DX-400WPS 
MouseAudio
Kensington K72400 Realtek ALC889 
  hide details  
Reply
post #84 of 109
Awesome!

I can confirm that DayZ wipes the cache regardless of RAM usage and no matter when you try to re-cache the folder, if the DayZ executable is running it empties it as it's being cached.
post #85 of 109
Thanks for clearing that up Techie.

Also, I thought I was clearing the cache with rammap as I can empty the standby 'cache' and it becomes zeroed or free memory.

With dayz dumping the cache I'm fairly sure it's not being pushed out. I have 16GB total, 8GB free after I cache Dayz which is only 6GB. Once the game loads the filled cache that was dayz simply returns to free memory.

Will download 1.0.1 tomorrow and let you know how it goes.
Edited by Im Batman - 4/3/14 at 9:01am
2600k
(18 items)
 
  
CPUMotherboardGraphicsRAM
i7 2600k 4.5Ghz 1.36v ASUS P8Z68-V Gigabyte R9 290x Kingston 16GB 
Hard DriveHard DriveCoolingCooling
256GB Samsung 840 Pro Series SSD  Western Digital 2TB XSPC Raystorm D5 Vario Kit - Socket 1155 Raysto... Koolance R9 290/X Block 
OSMonitorKeyboardPower
Windows 10 Acer 4K 28" Monitor CB281HK Ducky Shine 3 750watt Corsair TX750  
CaseMouseMouse PadAudio
Corsair Carbide Air 540  Logitech G502 Razer Goliathus Extended Edition Beyerdynamic DT990 / Magni 2 Uber / Modi 2 Uber 
OtherOther
Lamptron FC8 NZXT 2m Led Strip 
  hide details  
Reply
2600k
(18 items)
 
  
CPUMotherboardGraphicsRAM
i7 2600k 4.5Ghz 1.36v ASUS P8Z68-V Gigabyte R9 290x Kingston 16GB 
Hard DriveHard DriveCoolingCooling
256GB Samsung 840 Pro Series SSD  Western Digital 2TB XSPC Raystorm D5 Vario Kit - Socket 1155 Raysto... Koolance R9 290/X Block 
OSMonitorKeyboardPower
Windows 10 Acer 4K 28" Monitor CB281HK Ducky Shine 3 750watt Corsair TX750  
CaseMouseMouse PadAudio
Corsair Carbide Air 540  Logitech G502 Razer Goliathus Extended Edition Beyerdynamic DT990 / Magni 2 Uber / Modi 2 Uber 
OtherOther
Lamptron FC8 NZXT 2m Led Strip 
  hide details  
Reply
post #86 of 109
Quote:
Originally Posted by Techie007 View Post

... you can't easily clear the cache ...

From Vista onwards the cache can be cleared with Sysinternal RamMap => Empty => Empty Standby List:




EDIT - 1.0.1 works even better, thanks a lot for your superb work Techie! thumb.gifthumb.gifthumb.gif
Edited by TELVM - 4/3/14 at 9:20am
HAL-9011
(14 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II 960T X6 4.1GHz ASUS M4A89GTD Pro Radeon HD 6870 16 GB DDR3 1600MHz 8·8·8·24 
Hard DriveHard DriveHard DriveOptical Drive
OCZ Vertex 4 128GB OCZ Vertex 2 120GB WD Caviar Black 1TB LG DVD-RW 
CoolingCoolingOSOS
Noctua NH-D14 Accelero S1 R.2 + 2x NF-F12 Se7en x64 Se7en x32 
PowerCase
Antec TP-650W CM HAF 912 + 
  hide details  
Reply
HAL-9011
(14 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II 960T X6 4.1GHz ASUS M4A89GTD Pro Radeon HD 6870 16 GB DDR3 1600MHz 8·8·8·24 
Hard DriveHard DriveHard DriveOptical Drive
OCZ Vertex 4 128GB OCZ Vertex 2 120GB WD Caviar Black 1TB LG DVD-RW 
CoolingCoolingOSOS
Noctua NH-D14 Accelero S1 R.2 + 2x NF-F12 Se7en x64 Se7en x32 
PowerCase
Antec TP-650W CM HAF 912 + 
  hide details  
Reply
post #87 of 109
    Thank you for the correction.  That indeed does work.  After clearing the cache, Superfetch goes right to work loading it up again.  But the files I manually cache have to be read from the disk all over again, as would be expected.  I got my erroneous information from this page.
My desktop PC
(14 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i7-3770K Gigabyte P67A-D3-B3 NVIDIA GeForce 8400 GS  1x Corsair 8 GB 
Hard DriveHard DriveHard DriveOS
Kingston SV300S3 WesternDigital WD10EZEX Samsung HD154UI Windows 7 Ultimate SP1 x64 
MonitorMonitorKeyboardPower
Daewoo L947BK Gateway FPD1530 HTK-2001 Dynex DX-400WPS 
MouseAudio
Kensington K72400 Realtek ALC889 
  hide details  
Reply
My desktop PC
(14 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i7-3770K Gigabyte P67A-D3-B3 NVIDIA GeForce 8400 GS  1x Corsair 8 GB 
Hard DriveHard DriveHard DriveOS
Kingston SV300S3 WesternDigital WD10EZEX Samsung HD154UI Windows 7 Ultimate SP1 x64 
MonitorMonitorKeyboardPower
Daewoo L947BK Gateway FPD1530 HTK-2001 Dynex DX-400WPS 
MouseAudio
Kensington K72400 Realtek ALC889 
  hide details  
Reply
post #88 of 109
Thread Starter 
So how do the command line switches work with the context menu?

Maybe this is something you couple implement with a simple .ini file?
post #89 of 109
    You can change the command line for the Explorer context menu option by editing the default value found in HKEY_CLASSES_ROOT\Folder\shell\cache\command.  I could make the program ask for any desired command-line options when you answer [Yes] to the installation dialog.  Would you like that better than editing the registry?
My desktop PC
(14 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i7-3770K Gigabyte P67A-D3-B3 NVIDIA GeForce 8400 GS  1x Corsair 8 GB 
Hard DriveHard DriveHard DriveOS
Kingston SV300S3 WesternDigital WD10EZEX Samsung HD154UI Windows 7 Ultimate SP1 x64 
MonitorMonitorKeyboardPower
Daewoo L947BK Gateway FPD1530 HTK-2001 Dynex DX-400WPS 
MouseAudio
Kensington K72400 Realtek ALC889 
  hide details  
Reply
My desktop PC
(14 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i7-3770K Gigabyte P67A-D3-B3 NVIDIA GeForce 8400 GS  1x Corsair 8 GB 
Hard DriveHard DriveHard DriveOS
Kingston SV300S3 WesternDigital WD10EZEX Samsung HD154UI Windows 7 Ultimate SP1 x64 
MonitorMonitorKeyboardPower
Daewoo L947BK Gateway FPD1530 HTK-2001 Dynex DX-400WPS 
MouseAudio
Kensington K72400 Realtek ALC889 
  hide details  
Reply
post #90 of 109
Thread Starter 
Hmm...well that would certainly be easier than editing the registry. I timed some loads to see how well it works:

Path of Exile

uncached 58s
same time, normal 47s
same time, background 63s
fully cached 16s


Trine 2

HDD
uncached 11s
same time, normal 38s
same time, background 11s
cached 5s

Sometimes background mode helps, sometimes it hurts. I use path of exile as a test cause its behavior is really bizarre, and I dont think it's reflective of most games....all the assets are in one huge file, and the reads seem outright random. I'm guessing the reason the full speed caching during startup actually loaded faster was that forcing a chunk of that file into RAM sped up the random reads so much that it outweighed the detrimental effect of the simultaneous unprioritized I/O. With Trine 2 its a pretty epic difference though - it loads almost 4x slower if you try to cache and load the game at the same time, unless you use background mode....then your initial load goes through at normal uncached speed. But after a minute or two, you'll have it fully cached, so you can basically get all the benefits without having to wait for it to cache first. Nice!

I wonder if it would be possible to make a custom shortcut to a game/program that would simultaneously launch the game and start caching in the background?

And just in case anyone needed convincing how fast game loads out of RAM are....I tested the same loads on my RAID 0 SSDs (which push about 1GB/sec sequential).

Path of exile
Raid SSDs - 26s
cached - 16s

Trine 2
RAID SSDs- 7s
cached - 5s

Still like 30-40% faster than an already unreasonably fast SSD RAID 0 array. tongue.gif
Edited by Darius510 - 4/3/14 at 7:43pm
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Windows
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Windows › Tool to preload windows cache?