Cache flush time

Software-based VM-centric and flash-friendly VM storage + free version

Moderators: anton (staff), art (staff), Max (staff), Anatoly (staff)

Post Reply
Klas
Posts: 13
Joined: Mon Aug 27, 2012 10:49 am

Tue Feb 17, 2015 1:19 pm

Regarding L2 and L1 cache and flush times.
We found a parameter in the configuration file named CacheBlockExpiryPeriodMS and need more information about that.

Is it possible to define cache flush time differently on read and write?
Using L2 cache of several TB we do not want to flush that after a few seconds (that way it would not be used) and on the other hand the write cache should only be for seconds.
User avatar
Anatoly (staff)
Staff
Posts: 1675
Joined: Tue Mar 01, 2011 8:28 am
Contact:

Fri Feb 20, 2015 2:18 pm

CacheBlockExpiryPeriodMS is time that cache waits before trying to write dirty block to disk. After the block data is written, it remains in memory for further serves reads. It doesnt mean, that those dirty block will be deleted shortly, first very old dirty blocks will be wiped out to release some space for newly incoming blocks.
This parameter has no meaning for write-through mode, it works only for write-back mode.
It is not recommended to change this parameter, because it might cause instability.
I hope that helped
Best regards,
Anatoly Vilchinsky
Global Engineering and Support Manager
www.starwind.com
av@starwind.com
Post Reply