Page 1 of 1

Guide for noobs 0.7.0beta

Posted: Fri Sep 30, 2011 10:07 am
by ciakko
Hello everyone.
I have several questions.
I tried to search the forums for answers but often are topics of older versions.
I am using fancycache several days. I assigned a L1 cache to the disk and I created an L2 cache with a ramdisk that save data into hardisk before shutdown.
I got great scores with the Sisoft Sandra benchmark. You can look here: http://www.sisoftware.eu/rank2011d/top_ ... cb181&l=it

My first question is:

LRU and LFU algorithm keeps memory of the operations before the reboot? In other words, data stored in the L1 cache before the restart are loaded into memory the next time?

Second question:

The L2 cache is saved before the restart or data is deleted?

Third question:

How LFU works? For example if the L1 cache is full of more frequently used data, for example: 33% of cache with data used 6 times (called A), 33% used 7 times (called B) and 33% used 8 times (called C). In this case when the use of the cache will be required by new incoming data, I suppose that 33% of the cache called "A" will be replaced by the new data. Now suppose that the data called "A" are written back in the cache, what will be their number count? 7? or they will start from 1?

Thanks for your patience

Re: Guide for noobs 0.7.0beta

Posted: Mon Oct 03, 2011 3:37 am
by Support
Hi ciakko,

First I would suggest that do not create L2 cache on a ramdisk. FancyCache treats ramdisks as permanent storage devices but actually ramdisks are not. This may cause some fatal issues especially when the comptuer enters hibermation state.

Regarding your questions, both L1 and L2 are not persistent at the reboot. Later we may implement persistent L2 cache.
ciakko wrote:what will be their number count? 7? or they will start from 1?
start from 1

Re: Guide for noobs 0.7.0beta

Posted: Mon Oct 03, 2011 1:38 pm
by ciakko
Thanks for answers.
I was pretty sure that the caches were not permanent but I found a strange thing.
Every time I load the operating system (windows 7 x64) my cache free space decrease.
So something seems to be preloaded or loaded on startup!
It's normal in the hardisk C but I can't understand what should be loaded in an other physical harddrive containing videos and games.
I have found up to 2 gigabytes of space used.
Could be the same operating system that inserts the data into cache? or what else?

Re: Guide for noobs 0.7.0beta

Posted: Mon Oct 03, 2011 8:45 pm
by badanthony
Support wrote:

"First I would suggest that do not create L2 cache on a ramdisk. FancyCache treats ramdisks as permanent storage devices but actually ramdisks are not. This may cause some fatal issues especially when the comptuer enters hibermation state."

I actually tried that (using volume FancyCache and a ramdisk) and upon reboot the L2 cache showed disabled. I might add, that this happened even though my ramdisk contents were auto saved at shutdown and auto read at startup. I suspect that FancyCache probably initializes before the ramdisk at boot, but I'm no expert so who knows.