A question about Free OS Managed memory.. Topic is solved

FAQ, getting help, user experience about PrimoCache
Post Reply
RobF99
Level 8
Level 8
Posts: 130
Joined: Fri Sep 19, 2014 5:14 am

A question about Free OS Managed memory..

Post by RobF99 »

Let's take a system with 8 Gb for example and use 4 Gb for L1Cache. There are approx. 3 Gb free which Windows is going to use for caching. Which caching takes precedence? PrimoCache or Windows? So in that event isn't there some redundancy there? On an 8 Gb system - would you recommend allocating 6 Gb for PrimoCache and then having 2 Gb available to OS? This way PrimoCache is pretty much using most free memory for caching? What would you recommend for L1 Cache on an 8 Gb system?

Thanks
Bjameson
Level 6
Level 6
Posts: 62
Joined: Mon Nov 08, 2010 12:00 pm

Re: A question about Free OS Managed memory..

Post by Bjameson »

Windows uses a file cache, while Primo caches physical disk sectors. Which means that both caches may at some point contain the same data. Which cache takes precedence, I'm not sure. I guess the Windows one does. But since Primo speeds up the whole thing dramatically (with or without a large Windows cache), it seems to me that allocating more memory to Primocache is the right way to go.

However, allocating six GB out of eight will surely starve Windows of working space. Programs will either refuse to run, or Windows will start swapping out data. The page file will grow and the whole thing slows down. Experiment: try allocating two or three Gigs to Primocache. Run your most used programs and watch the pagefile.sys. It shouldn't grow excessively. If it does, decrease Primocache until you find a balance. I use 4 GB for my boot drive. That's enough for Windows 7 and 8.1 and to run Visual Studio and other disk intensive programs on top. So allocating 3/4 of your memory seems a bit of overkill. Start with 2 GB and see how far you can go before things start slowing down.
Post Reply