Suggestion: performance data for Writes

Report bugs or suggestions around FancyCache
Post Reply
magic-man
Level 6
Level 6
Posts: 73
Joined: Tue Nov 02, 2010 12:18 am
Location: Trinidad, California

Suggestion: performance data for Writes

Post by magic-man »

At the bottom of the Performance Statistics screen, next to the Read Hit Rate, could we have a Writes Prevented statistic? (Write bytes deferred / Write Bytes) * 100 for percentage.
User avatar
Support
Support Team
Support Team
Posts: 3633
Joined: Sun Dec 21, 2008 2:42 am

Re: Suggestion: performance data for Writes

Post by Support »

:) Thanks. I think this is easy to add it.
User avatar
Support
Support Team
Support Team
Posts: 3633
Joined: Sun Dec 21, 2008 2:42 am

Re: Suggestion: performance data for Writes

Post by Support »

added in FC 0.6.1
magic-man
Level 6
Level 6
Posts: 73
Joined: Tue Nov 02, 2010 12:18 am
Location: Trinidad, California

Re: Suggestion: performance data for Writes

Post by magic-man »

Thank you... I did notice one thing...
One of the big selling points in Fancycache -VS- the 'other' cache software is that only FancyCache recognized TRIM, using it to reduce the writes to the SSD for cached data as well as saving on other writes.
I think it might be better to either:
Have the writes deferred (Write bytes deferred / writebytes) * 100 and just below that Write bytes Prevented 100-((Write bytes deferred / writebytes) * 100)
OR
change Write Bytes deferred to write bytes prevented only : 100-((Write bytes deferred / writebytes) * 100)

With the first method, we get the best of both worlds. You have such a unique cache program that we need the stats to brag about it.
User avatar
Support
Support Team
Support Team
Posts: 3633
Joined: Sun Dec 21, 2008 2:42 am

Re: Suggestion: performance data for Writes

Post by Support »

Thanks.

well, we know users want to view the percentage that is prevented. However currently we are not able to get the exact value for this statistics item.
The formula "100 - (write bytes deferred / total write bytes) * 100" doesn't exactly refer to the Write bytes Prevented because there are "Deferring Blocks (Current)" waiting for write. In consideration of performance, the value of "Deferring Blocks" is counted in blocks instead of bytes. So we don't know the exact bytes prevented. Besides, "write bytes deferred" is not updated if the Defer-Write is in pausing state.
magic-man
Level 6
Level 6
Posts: 73
Joined: Tue Nov 02, 2010 12:18 am
Location: Trinidad, California

Re: Suggestion: performance data for Writes

Post by magic-man »

Yeah, I guess it would be kinda hard... Unless the value is only updated when the cache is flushed... But still the issue with a paused cache...
:)
Hmmm... Actually, even if the write cache is paused, the writes prevented percentage would be accurate on flush since there are writes happening outside the cache which would reduce the percentage.
User avatar
Support
Support Team
Support Team
Posts: 3633
Joined: Sun Dec 21, 2008 2:42 am

Re: Suggestion: performance data for Writes

Post by Support »

magic-man wrote:Unless the value is only updated when the cache is flushed
:) thanks. Have studied the possiblity. But according to the current program design, there are still some difficulties to be overcome.
Post Reply