Slow Cached Read rate
Posted: Sun Nov 10, 2024 3:47 pm
I need assistance to get the best configuration for a more "real-time file-access" cache.
Specifically, I'm wondering how to speed up the Cached Read rate which is incredibly slow at 3 MB\second. But I will detail my config and scenario because they are probably not like a typical user.
I have 18TB HDD with mixed use data, to be cached (data only, no OS). The L1 cache is 8 GB RAM, and the L2 Cache is 45 GB volume on a NVMe SSD (gen3).
The files accessed are random and are usually different after every windows reboot, so I have prefetch options disabled. (If there is a reason this should be enabled anyway, I would love to know that, but I believe it doesn't benefit my scenario if I am opening new files after every reboot?)
Instead of prioritizing recent or common files from previous Windows sessions, I want to setup PrimoCache so that once a file is opened or in-use, that is when it goes directly to PrimoCache for full cache benefits.
However, the 'Cached Read' rate for open file is incredibly slow- 3 MB\second. The problem with this slow rate is that files I want to cache can be very large (up to 10 GB). I also do a lot of file write actions in windows for those files. But I notice that a file write action only gets full benefit if the file is active for an hour (this is how long it would take for the whole file to be in cached read.) Also, I notice that it seems slower than expected on the first write, but if i do the same write action a second time, then I see an even greater speed.
So I'm wondering how to get the fast write action sooner?
Settings:
Write-defer enabled, latency at 300 (but in my testing, this value does not affect anything on the write action.)
Write Mode is Native, with Flush L1 to L2 enabled.
Block size: I have tried all, this has not made any difference that i can see, during the write action.
For the read\write cache spaces- neither L1 or L2 has this enabled (using default shared setting).
As far as I can tell, the thing that makes a huge difference is just waiting a super long time for the active file to be fully loaded in Cached Read. But the slow rate for this to happen does not make sense to me. There is no bottleneck in the system (CPU or RAM), and there is no bottleneck on any of the drives. Both L2 cache volume and the HDD are at 1% activity or less while primocache is running and loading cache read.
Am I missing something in settings? I get that the program was probably not designed for this scenario, so maybe I am sol, but I will keep testing if there is a way to improve the process for real-time (newly opened) files.
I should note that I'm still on the trial period- could there be a limit on cache read rate during trial period?
Appreciate any advice on this, thank you in advance.
Specifically, I'm wondering how to speed up the Cached Read rate which is incredibly slow at 3 MB\second. But I will detail my config and scenario because they are probably not like a typical user.
I have 18TB HDD with mixed use data, to be cached (data only, no OS). The L1 cache is 8 GB RAM, and the L2 Cache is 45 GB volume on a NVMe SSD (gen3).
The files accessed are random and are usually different after every windows reboot, so I have prefetch options disabled. (If there is a reason this should be enabled anyway, I would love to know that, but I believe it doesn't benefit my scenario if I am opening new files after every reboot?)
Instead of prioritizing recent or common files from previous Windows sessions, I want to setup PrimoCache so that once a file is opened or in-use, that is when it goes directly to PrimoCache for full cache benefits.
However, the 'Cached Read' rate for open file is incredibly slow- 3 MB\second. The problem with this slow rate is that files I want to cache can be very large (up to 10 GB). I also do a lot of file write actions in windows for those files. But I notice that a file write action only gets full benefit if the file is active for an hour (this is how long it would take for the whole file to be in cached read.) Also, I notice that it seems slower than expected on the first write, but if i do the same write action a second time, then I see an even greater speed.
So I'm wondering how to get the fast write action sooner?
Settings:
Write-defer enabled, latency at 300 (but in my testing, this value does not affect anything on the write action.)
Write Mode is Native, with Flush L1 to L2 enabled.
Block size: I have tried all, this has not made any difference that i can see, during the write action.
For the read\write cache spaces- neither L1 or L2 has this enabled (using default shared setting).
As far as I can tell, the thing that makes a huge difference is just waiting a super long time for the active file to be fully loaded in Cached Read. But the slow rate for this to happen does not make sense to me. There is no bottleneck in the system (CPU or RAM), and there is no bottleneck on any of the drives. Both L2 cache volume and the HDD are at 1% activity or less while primocache is running and loading cache read.
Am I missing something in settings? I get that the program was probably not designed for this scenario, so maybe I am sol, but I will keep testing if there is a way to improve the process for real-time (newly opened) files.
I should note that I'm still on the trial period- could there be a limit on cache read rate during trial period?
Appreciate any advice on this, thank you in advance.