UNSOLVED

dwilk1973

updated

12 years ago

D

dwilk1973

1 Rookie

•

63 Posts

0

9153

March 30th, 2011 18:00

how to change hash cache

In the OPerational best practice it describes how to change this.  Where is this done?  I want to increase the hash cache on our excahnge server.   In the document it says:

Therefore, to adequately size the hash cache, set the --hashcachemax value as

follows:

--hashcachemax = 2 x Y

where Y is the size of the database to be backed up in gigabytes.

Can someone outline the steps to do this?  The Exchange DB is 500GB.

  • rpervan

    266 Posts

    1622

    2

    Posted March 31st, 2011 01:00

    Hello dwilk,

    Just create "avtar.cmd" flag file to involve "filecachemax" and "hashcachemax"  parameters in Avamar's  "var" directory  >>> "\Program Files\avs\var"  and place following on it ....

    --filecachemax=-

    --hashcachemax=-

    Please just calculate the Value according to the formula "--hashcachemax = 2 x Y" you have ... and that is it !

    Also please restart the Avamar client after it then run a test backup again.

    regards,

    -r

  • rpervan

    266 Posts

    1622

    0

    Posted April 5th, 2011 11:00

    dwilk1973 ,  any news on this one maybe ?

    regards,

    -r

  • dwilk1973

    1 Rookie

    •

    63 Posts

    1622

    0

    Posted April 12th, 2011 10:00

    honestly it did not seem to improve backup performance maybe just slightly.  Worth knowing how to do though.

  • rpervan

    266 Posts

    1623

    0

    Posted April 12th, 2011 10:00

    Which exact values have you set on client' avtar.cmd file ?

  • rpervan

    266 Posts

    1623

    0

    Posted April 12th, 2011 11:00

    and how much RAM you have on this machine ?

    DB size ?

  • dwilk1973

    1 Rookie

    •

    63 Posts

    1623

    0

    Posted April 12th, 2011 11:00

    8GB RAM and 500GB datastore

  • dwilk1973

    1 Rookie

    •

    63 Posts

    1623

    0

    Posted April 12th, 2011 11:00

    contents of avatar.cmd

    --filecachemax=100
    --hashcachemax=800

  • dwilk1973

    1 Rookie

    •

    63 Posts

    388

    0

    Posted April 12th, 2011 12:00

    great summay!  So the only values in teh avtar.cmd would be the hash and file cahce settings correct?

  • rpervan

    266 Posts

    388

    0

    Posted April 12th, 2011 12:00

    David,

    Maybe you could do following:

      - stop Avamar services, processes.
      - rename existing "f_cache.dat" and "p_cache.dat" to the "orig_f_cache.dat" and "orig_p_cache.dat"
      - modify the "avtar.cmd" with below parameters:
                      ==================
                      --filecachemax=-16
                      --hashcachemax=-8
                      --verbose=2
                      --stats
                      --comstats
                      ==================
        - start Avamar services again.

    This action will re-createt new "f_cache.dat" and "p_cache.dat" files with our settings, and this should works fine then.
    If this not work ... please just drop me an email with group summary output and I will review it.

    regards,

    Rej

  • rpervan

    266 Posts

    1623

    0

    Posted April 12th, 2011 12:00

    David,

    SUMMARY:
    =========

    You have:  8GB RAM
    DB size:     500GB


    RECOMMENDATION
    =================
    --filecachemax = 2 x N x 44 MB where N is the number of millions of files in the backup.  I suppose this is NOT file server, so we would use one in calculation.
    --hashcachemax = 2 x Y MB where Y is the size of the database to be backed up in gigabytes


    TO DO:
    ======
    According to this please put following in the "avatar.cmd", restart services ... and let us know results .
    ==================
    --filecachemax=-16
    --hashcachemax=-8
    ==================

    regards,
    Rej