Page 1 of 1

Read only 2nd level Cache

Posted: Wed Mar 23, 2011 5:42 pm
by mbusch
Hi

I am using WinXP SP3 x86 with 8GB installed Memeory. 3GB are available to Windows by default.
I have bought Romex RamDrive to get the 5GB of invisiable Memory available.
I get an performance bosst by putting a 4GB Windows Pagefile onto the Ramdrive.

Now I put a FancyCache 1GB 2nd Level Cache File onto this Ramdrive, too.
I am developing Software. Sometimes my Windows craches, but I have never lost code before (VS2010 File Recovery)
Since I am testing FancyCache I have lost source code two times. I suspect to FancyCache to be responsibile.

S1: To me it seems not possibile to deactivate Write Caching for 2nd Level Cache. But this would be verry important.
S2: I hade no success to use Invisiable Memory for Ramdrive(4GB IM) and FancyCache(1GB IM) in parallel. This would be the best solution.

Thank You in advance
Matthias

Re: Read only 2nd level Cache

Posted: Wed Mar 23, 2011 9:26 pm
by magic-man
mbusch wrote:Hi

I am using WinXP SP3 x86 with 8GB installed Memeory. 3GB are available to Windows by default.
I have bought Romex RamDrive to get the 5GB of invisiable Memory available.
I get an performance bosst by putting a 4GB Windows Pagefile onto the Ramdrive.

Now I put a FancyCache 1GB 2nd Level Cache File onto this Ramdrive, too.
I am developing Software. Sometimes my Windows craches, but I have never lost code before (VS2010 File Recovery)
Since I am testing FancyCache I have lost source code two times. I suspect to FancyCache to be responsibile.

S1: To me it seems not possibile to deactivate Write Caching for 2nd Level Cache. But this would be verry important.
S2: I hade no success to use Invisiable Memory for Ramdrive(4GB IM) and FancyCache(1GB IM) in parallel. This would be the best solution.

Thank You in advance
Matthias
Hmmm... This is my educated opinion, but...
The reason that you lost data with a L2 cache enabled is that you are storing it on a RAMDRIVE.... When Windows crashes, the RAMDRIVE is gone, so FancyCache has no way of reading it back in on reboot.
The way you have the RAM drive set up along with Fancycache is actually going to reduce your performance, anyway. Here is how I would set up the system:
Unless you really NEED a 4 gig pagefile, I would set it up as 2048/2048 on the boot drive to be cached (preferably an SSD IF you have one).
Then set up Fancycache (no RAM DRIVE) to use whatever invisable memory there is and cache the drive. This will cache the pagefile AND all the other stuff to make your system faster. No level 2 cache needed.
Since you have stated that you have a stability issue in Windows, I would not enable any write cache.
With this setup, you will gain the most speed and prevent data loss.

A point of curiosity: Do you know WHY your windows is not stable? if we address this and fix it, then we can get you even MORE speed.
Persoanlly, I use Windows 7 64-bit and have never had a crash. I use write caching since it is so stable (and I am on a very powerful laptop).

Re: Read only 2nd level Cache

Posted: Thu Mar 24, 2011 2:43 am
by Support
I am really sorry for the data loss caused. :(

It is not recomended that take a ramdisk as the 2nd level cache, especially when the ramdisk consists of Invisible Memory. The operations to the Invisible Memory is not same as that to the harddisk. So it might make system unstable if taking a ramdisk as the 2nd level cache.

To use Invisible Memory concurrently, we have to also update the ramdisk program. It is under development.

PS. did you get a mini dump file while crashed? If possible, can you send it to us for diagnosis?