mabellon wrote: I don't think I would trust defer writes.
I am not sure whether you are making a general comment, or referring to a specific case. But do you think that in general a Ramdisk is safer than a deferred write cache?
mabellon wrote: I don't think I would trust defer writes.
JimF wrote:I am not sure whether you are making a general comment, or referring to a specific case. But do you think that in general a Ramdisk is safer than a deferred write cache?
In theory if an SSD/L2 is being used as the write cache, the non-volatile nature would much improve the situation. In the event of powerfailure/crash, after reboot, the system could notice writes in L2 that had not been flushed to disk yet. However given that L2 isn't persistent in FancyCache yet, I highly doubt anything like this is done for writes. I could certainly be wrong.
In theory if an SSD/L2 is being used as the write cache, the non-volatile nature would much improve the situation. In the event of powerfailure/crash, after reboot, the system could notice writes in L2 that had not been flushed to disk yet.
kalua wrote:In theory if an SSD/L2 is being used as the write cache, the non-volatile nature would much improve the situation. In the event of powerfailure/crash, after reboot, the system could notice writes in L2 that had not been flushed to disk yet.
Dangerous since the boot process before FC is loaded could change the disk, and then FC flushing the old buffers from L2 could corrupt it.
fmartin wrote:Hi,
I'm happy to see there's feedback from the company. I've been using FC since 7.2 and hoped that cache pestistence would be introduced sooner or later; but since we're now at 8.0 and it seems to me things are going in another direction, I thought I'd throw in a few cents.
I think most of us started using FC because of SSD Caching. Unfortunately, as we found out, it is not persistent.
I also think many of us are in the same boat: we have a smaller size SSD that we could use for read-caching of an existing system on a HDD. Because of the SSD's size, we can't or don't want to move all the files to the SSD, it'd be much more convenient if only the frequently used files would be on the SSD as a cache.
In theory, the solution looks simple: a piece of software that monitors file use, and if a given file is accessed frequently, it copies it to the SSD cache; and the next time the file is accessed, it is opened from the SSD. The files could be assigned 'point values' depending on usage frequency and last use time; when the SSD capacity is reached, the ones with the lowest point value are flushed to make place for new files.
Being 'quasi-read-only' (or write-around) would make it safer compared to write-back and write-through, and especially deferred write. The software file-access database could also solve the removed cache drive issue: if the drive is removed, then the next time it is installed, the cache is rebuilt according to the database (which can monitor file use even when a cache drive is not present, or caching turned off).
Please let me know what you think
Thanks
Mradr wrote:New update to V#: [0.8.0].[5]
They perty much already have that, well besides the SSD persistent caching, they already do the "point system" of frequency used items. Atm, I feel the community doesn't want to use the SSD as a a write cache device by any means, so that will also be sort of shot down ^^;
Return to Bug Report and Suggestion
Users browsing this forum: No registered users and 2 guests