6 Replies Latest reply on Apr 10, 2017 12:12 AM by CarolPL

    Cache Setting

    CarolPL

      Hello,

      How can I find what is the actual cache settings in a server?

      Thank you

        • Re:  Cache Setting
          Duc Ta Hieu

          Hi Carol,

           

          What server are you referring to and what is the version?

            • Re:  Cache Setting
              CarolPL

              Hi Duc,

               

              Thanks for your response.

              The server is an archive server; version 2014 R2.

               

              Thank you

                • Re:  Cache Setting
                  Duc Ta Hieu

                  The Cache settings are defined in the Archive Tuning Parameters.

                  In PI SMT, go to Operation > Tuning Parameters > Archive (tab).

                  Here, you can see the definition and value of each tuning parameter.

                  If you are interested in the Read Cache settings, the relevant tuning parameters include:

                  Generally speaking, you should not change the cache settings as the default values should be sufficient.

                  Do you plan on making any changes?

                  If so, why?

                    • Re:  Cache Setting
                      CarolPL

                      Hi Duc,

                       

                      I am running some performance testing on a server and wanted to know how long it should take for the cache values be swept out.

                      Otherwise, the results would not reflect regular conditions.

                       

                      Thank you

                        • Re:  Cache Setting
                          Duc Ta Hieu

                          By default, I believe inactive records are flushed from the Read Cache every 10 minutes.

                          The Read Cache also gets trimmed based on the tuning parameters I highlighted previously.

                           

                          It is possible to interact with the Read Cache through the Command Line using the administrator tools located in %PISERVER%\adm\.

                           

                          You can clear the entire Read Cache with the following command:

                               piartool -cad * -reset

                           

                          Or you can clear the Read Cache for particular tags with the following command:

                               piartool -cad <tagmask> -reset

                           

                          Let me know if this helps.