Overkill?

FAQ, getting help, user experience about FancyCache
Post Reply
robalm
Level 2
Level 2
Posts: 7
Joined: Fri Mar 09, 2012 10:58 pm

Overkill?

Post by robalm »

Hello!

I recently upgraded to 16GB ram (I now have 4x4Gb DDR3 1600Mhz) and I decided to try fancy cache.
I made the following settings on my C: drive (Intel ssd 80gb)

Image

As you can see I have given 4gb ram to C: Is it just overkill to give so much ram?
(unnecessary to waste 4gb if there is not any difference if I use less)

And by the way, is the other settings properly set?
(for maximun performance)

Thanks
fsommer1968
Level 4
Level 4
Posts: 27
Joined: Fri Jan 07, 2011 3:11 pm

Re: Overkill?

Post by fsommer1968 »

Click on performance monitor ans leave the window open for a while (couple of hours if possible) and work as appropriate. The cache hit and cache utilization gives you an indication whether 4GB RAM are oversized.
A blocksize smaller than 4KB is waste of computing power and RAM, because the cluster size of the filesystem is at least 4KB. In general a recommendation for the block size is at least the blocksize of the filesystem.
Presumed that the computer is Notebook/Netbook/etc with a working battery or a Desktop machine with a UPS, setting the latency to a longer value (120 seconds or more) will most likely increase the performance and (if case of a SSD) extends the lifetime of the storage. But the drawback is that if the computer losts the power, a blue screen happens or any other OS malfunction occurs, the filesystem is by 100% corrupt and the data is lost.
robalm
Level 2
Level 2
Posts: 7
Joined: Fri Mar 09, 2012 10:58 pm

Re: Overkill?

Post by robalm »

fsommer1968 wrote:Click on performance monitor ans leave the window open for a while (couple of hours if possible) and work as appropriate. The cache hit and cache utilization gives you an indication whether 4GB RAM are oversized.
A blocksize smaller than 4KB is waste of computing power and RAM, because the cluster size of the filesystem is at least 4KB. In general a recommendation for the block size is at least the blocksize of the filesystem.
Presumed that the computer is Notebook/Netbook/etc with a working battery or a Desktop machine with a UPS, setting the latency to a longer value (120 seconds or more) will most likely increase the performance and (if case of a SSD) extends the lifetime of the storage. But the drawback is that if the computer losts the power, a blue screen happens or any other OS malfunction occurs, the filesystem is by 100% corrupt and the data is lost.

Thank you very much for your help and tips.
I did what you said, I had the performance monitor up a couple of hours and ran a couple of program, mostly surfing the web (a lot of youtube videos)
And this is the result I got:

Image

Is it bad or good?

Thank you

Edit: here is a better picture:
Image
fsommer1968
Level 4
Level 4
Posts: 27
Joined: Fri Jan 07, 2011 3:11 pm

Re: Overkill?

Post by fsommer1968 »

Hi,

as you can see even after a couple of hours only 1,5 GB were totally written and 1,18GB are remaining free. This means a lot of unused cache. Set the cache for this drive to 0,5 GB and see whether the cache statistics reduce significant (write bytes (deferred, urgent) == 0 is best, write deferred 96% is perfect, 50% would be good). To my experience the read cache hit rate with FC is not very high, the Windows OS itself has a well working cache mechanism.
There are three other drives in your system. Enable FC for this drives as well ( I would start wich 0,5GB cache for each drive). And check with the FC performance monitor. The rest of the RAM I would give back to the OS.
robalm
Level 2
Level 2
Posts: 7
Joined: Fri Mar 09, 2012 10:58 pm

Re: Overkill?

Post by robalm »

fsommer1968 wrote:Hi,

as you can see even after a couple of hours only 1,5 GB were totally written and 1,18GB are remaining free. This means a lot of unused cache. Set the cache for this drive to 0,5 GB and see whether the cache statistics reduce significant (write bytes (deferred, urgent) == 0 is best, write deferred 96% is perfect, 50% would be good). To my experience the read cache hit rate with FC is not very high, the Windows OS itself has a well working cache mechanism.
There are three other drives in your system. Enable FC for this drives as well ( I would start wich 0,5GB cache for each drive). And check with the FC performance monitor. The rest of the RAM I would give back to the OS.
Thank you very match i will test your tips.
You say: "I would start wich 0,5GB cache for each drive" but what settings should i use for them? (they are mechanical drives D: is for games and E:/F: downloads)

Thank you for your help :)

Edit: here is a picture after i change the C: (my ssd) from 4Gb to 512Mb:

Image
fsommer1968
Level 4
Level 4
Posts: 27
Joined: Fri Jan 07, 2011 3:11 pm

Re: Overkill?

Post by fsommer1968 »

Use FCs default values, at next I would taken into account using the "write-only" instead of "read/write" cache configuration for every drive.
motoleon
Level 2
Level 2
Posts: 5
Joined: Wed Jan 04, 2012 12:00 pm

Re: Overkill?

Post by motoleon »

Hi, you are wrong.

write bytes (deferred, urgent) == 0 is best ok

but about the totals:

Read hit rate = 99% is perfect, 50% is very good 10% bad
writes deferred 99% is very bad, 50% good, 10% very good

FOR WRITES, THE LOW % IS THE BEST.
the formula is (write bytes (deferred, urgent)+write bytes (deferred, normal))*100 / write bytes (total)

so if write bytes deferred is low, less writes to HD.

Salu2.
robalm
Level 2
Level 2
Posts: 7
Joined: Fri Mar 09, 2012 10:58 pm

Re: Overkill?

Post by robalm »

Will i get higher performence if i use Block size 4kb? (i use 8kb now)
fsommer1968
Level 4
Level 4
Posts: 27
Joined: Fri Jan 07, 2011 3:11 pm

Re: Overkill?

Post by fsommer1968 »

Not necessarily. At best the cache block size is the same as the cluster size of the filesystem. The default cluster size of NTFS is 4096 Bytes (4KB). But, on large volumes 8KB or more is also possible.

Check e.g. with powershell on every logical disk (WIN7: admin rights required):

Code: Select all

fsutil fsinfo ntfsinfo c:
Sample Output (German Win7 installation, relevant information "Bytes pro Cluster"):

Code: Select all

C:\Windows\system32>fsutil fsinfo ntfsinfo c:
NTFS-Volumeseriennummer :           0x6ca8545563c35151
Version :                           3.1
Anzahl der Sektoren :               0x000000002542daaf
Gesamtzahl Cluster :                0x0000000004a85b55
Freie Cluster :                     0x0000000000f844a5
Insgesamt reserviert :              0x00000000000007e0
Bytes pro Sektor :                  512
Bytes pro Cluster :                 4096
Bytes pro Dateidatensatzsegment :   1024
Cluster pro Dateidatensatzsegment : 0
MFT-gültige Datenlänge :            0x0000000014880000
MFT-Start-LCN :                     0x0000000000000004
MFT2-Start-LCN :                    0x000000000061a800
MFT-Zonenstart :                    0x0000000003850ba0
MFT-Zonenende :                     0x000000000385d3c0
RM-Bezeichner:        0D231DCB-5C27-11E0-A8CF-806E6F6E6263

C:\Windows\system32>
Edit: So if "bytes per cluster" is 4096" set FC cache block size so 4KB. For a different cluster size set FC cache block size accordingly.
Last edited by fsommer1968 on Sun Mar 18, 2012 7:10 pm, edited 1 time in total.
robalm
Level 2
Level 2
Posts: 7
Joined: Fri Mar 09, 2012 10:58 pm

Re: Overkill?

Post by robalm »

Ok tnx.
This is my result:

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. Med ensamrätt.

C:\Windows> fsutil fsinfo ntfsinfo c:
NTFS-volymens serienummer: 0x622c73bb2c738935
Version: 3.1
Antal sektorer: 0x00000000094dc7ff
Antal kluster: 0x000000000129b8ff
Lediga kluster: 0x0000000000a752e1
Reserverade: 0x0000000000000070
Byte per sektor: 512
Byte per fysisk sektor: 512
Byte per kluster: 4096
Byte per filpostsegment: 1024
Kluster per filpostsegment: 0
Mft giltig datalängd: 0x0000000005a80000
Mft första Lcn: 0x00000000000c0000
Mft2 första Lcn: 0x0000000000000002
Mft zonstart: 0x00000000000c5a80
Mft zonslut: 0x00000000000cc820
Resurshanteridentifierare: 78A834E3-695D-19E1-80AA-DFAB36ACCE9B

C:\Windows>
Post Reply