Write cache with Defer Write disabled? Topic is solved

FAQ, getting help, user experience about PrimoCache
Post Reply
matty72
Level 3
Level 3
Posts: 10
Joined: Mon Dec 09, 2013 9:09 pm

Write cache with Defer Write disabled?

Post by matty72 »

Hello, I'm a little puzzled by Write cache.
How does it work when Defer Write is disabled?
Tooltip help comments suggest writes are bypassing the cache altogether.
Are writes therefore being copied into cache by default?
I imagine write cache is less use full than read cache so,
Under what circumstance is it beneficial ?
What is a good % for write cache ?
AlexAT
Level 2
Level 2
Posts: 5
Joined: Thu Jul 05, 2018 10:53 am

Re: Write cache with Defer Write disabled?

Post by AlexAT »

Caching writes with write-through cache can be tad useful if you read a good lot of the written data either frequently or just after writing. Software compilation is a good example: first compiler writes a bloody lot of object files, then linker starts to read and process them. If they fit into OS cache, it's ok, but if they don't, here's where PrimoCache shines :)
mell111
Level 5
Level 5
Posts: 48
Joined: Fri Oct 05, 2018 11:16 am

Re: Write cache with Defer Write disabled?

Post by mell111 »

The only benefit I can see is that if the write cache storage isn't needed due to low writing activity, reads will be made from the cache. Defer Write makes a huge difference when you have heavy simultaneous writing to multiple files. As far as I can tell, PrimoCache essentially sequentializes the writing. It's not documented to do so and I don't know that it does, but the results indicate this. I expect that this would only apply for a drive that is not fragmented (and/or has a lot of continuous free space.) I find that even with plenty of OS cache available, PrimoCache is far superior at doing this.
User avatar
Support
Support Team
Support Team
Posts: 3627
Joined: Sun Dec 21, 2008 2:42 am

Re: Write cache with Defer Write disabled?

Post by Support »

Write cache is to store write-data into cache so if these data is requested to be read back later it can be read from cache instead of source disk. Meanwhile, if Defer-write is not enabled, write-data will also be written to disks immediately.
matty72
Level 3
Level 3
Posts: 10
Joined: Mon Dec 09, 2013 9:09 pm

Re: Write cache with Defer Write disabled?

Post by matty72 »

I now understand. Thanks all, much appreciated.
Post Reply