<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>article PSM Performance Tuning in PAM Self-Hosted Articles</title>
    <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-articles/psm-performance-tuning/ta-p/1428510</link>
    <description>&lt;H3&gt;Question&lt;/H3&gt;
What are some steps to take for PSM performance tuning?

&lt;H3&gt;Answer&lt;/H3&gt;
&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH colspan="1" rowspan="1"&gt;Change&lt;/TH&gt;&lt;TH colspan="1" rowspan="1"&gt;Justification&lt;/TH&gt;&lt;TH colspan="1" rowspan="1"&gt;Problem&lt;/TH&gt;&lt;TH colspan="1" rowspan="1"&gt;Implementation&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1"&gt;Lower PSM Quality&lt;/TD&gt;&lt;TD colspan="1" rowspan="1"&gt;From version 9.8, the param "FramesPerSecond" in PVWA&amp;nbsp;became obsolete, and PSM always recorded sessions at 10 FPS unless there is a load on the machine, where depending on CPU threshold the quality would be lowered up to 2 FPS.&lt;/TD&gt;&lt;TD colspan="1" rowspan="1"&gt;The&amp;nbsp;&lt;STRONG&gt;first few sessions&lt;/STRONG&gt;&amp;nbsp;would&amp;nbsp;&lt;STRONG&gt;always&lt;/STRONG&gt;&amp;nbsp;be recorded at the&amp;nbsp;&lt;STRONG&gt;max quality (10 fps)&lt;/STRONG&gt;, thus taking&amp;nbsp;&lt;STRONG&gt;more CPU %&lt;/STRONG&gt;&amp;nbsp;&lt;STRONG&gt;until&lt;/STRONG&gt;&amp;nbsp;a certain point where&amp;nbsp;&lt;STRONG&gt;quality&lt;/STRONG&gt;&amp;nbsp;would be&amp;nbsp;&lt;STRONG&gt;reduced&lt;/STRONG&gt;, so the&amp;nbsp;&lt;STRONG&gt;customer&lt;/STRONG&gt;&amp;nbsp;had&amp;nbsp;&lt;STRONG&gt;no way&lt;/STRONG&gt;&amp;nbsp;of knowing how to&amp;nbsp;&lt;STRONG&gt;gauge&lt;/STRONG&gt;&amp;nbsp;the&amp;nbsp;&lt;STRONG&gt;performance&lt;/STRONG&gt;&amp;nbsp;because it wasn't linear.&lt;BR /&gt;			By&amp;nbsp;&lt;STRONG&gt;reverting&lt;/STRONG&gt;&amp;nbsp;this change manually, we were able to&lt;STRONG&gt;&amp;nbsp;get consistent sessions&lt;/STRONG&gt;&amp;nbsp;and&lt;STRONG&gt;&amp;nbsp;approach scaling better&lt;/STRONG&gt;&amp;nbsp;during early deployments, the quality at&amp;nbsp;&lt;STRONG&gt;2-3 FPS is still really good&lt;/STRONG&gt;&amp;nbsp;for just desktop recording&lt;/TD&gt;&lt;TD colspan="1" rowspan="1"&gt;
&lt;OL&gt;&lt;LI&gt;Login to PWA as administrator -&amp;gt; Navigate to -&amp;gt; Privileged Session Management--&amp;gt;General Settings--&amp;gt;Recorder Settings--&amp;gt;&lt;STRONG&gt;FramesPerSecond&lt;/STRONG&gt;&amp;nbsp;-&amp;gt;&amp;nbsp;&lt;STRONG&gt;Change value to&lt;/STRONG&gt;&amp;nbsp;&lt;STRONG&gt;2&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;Login to PSM machine and browse to where PSM is installed - &amp;gt; Open basic_psm.ini &amp;nbsp;with notepad -&amp;gt; add this line at the bottom -&amp;gt;&amp;nbsp;&lt;STRONG&gt;EnableDynamicFPS=No&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Restart PSM service.&lt;/STRONG&gt;&lt;/LI&gt;&lt;/OL&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1"&gt;
&lt;P&gt;&lt;U&gt;Slow RDP Connection from PSM Server to Targets when missing certificates&lt;/U&gt;&lt;/P&gt;
&lt;/TD&gt;&lt;TD colspan="1" rowspan="1"&gt;Most customers don't use RDS certificates, which means when PSM tries to RDP it waits the internal timeout time before giving up and connecting through (roughly 15 secs+, the problem is better explained&amp;nbsp;&lt;A href="http://technotes.khitrenovich.com/speed-ssl-handshake-isolated-environments/" target="_blank"&gt;here&lt;/A&gt;).&lt;/TD&gt;&lt;TD colspan="1" rowspan="1"&gt;
&lt;P&gt;This can have a&amp;nbsp;&lt;STRONG&gt;bad effect on POC presentations&lt;/STRONG&gt;, training courses, and PROD&amp;nbsp;&lt;STRONG&gt;deployments&lt;/STRONG&gt;&amp;nbsp;-&amp;gt; End user's&amp;nbsp;&lt;STRONG&gt;complaints&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;What we've always done in the past is completely disable the certificate check, but recently I stumbled on a case where if PSM is in Azure, it needs to have a certificate check otherwise connection doesn't work.&lt;/P&gt;
&lt;P&gt;The solution was to just&amp;nbsp;&lt;STRONG&gt;lower the timeout to 3 secs&lt;/STRONG&gt;&amp;nbsp;instead of completely disabling it. So I think it's a good enough middle ground where we both lower it and not completely disable it (from an official standpoint).&lt;/P&gt;
&lt;/TD&gt;&lt;TD colspan="1" rowspan="1"&gt;
&lt;OL&gt;&lt;LI&gt;Login to PSM machine -&amp;gt; Run (windows + r) -&amp;gt; type secpol.msc -&amp;gt; navigate to Public Key Policies -&amp;gt; Certificate Path Validation Settings -&amp;gt; Network Retrieval -&amp;gt; Tick “&lt;STRONG&gt;Define these policies&lt;/STRONG&gt;” -&amp;gt;&amp;nbsp;&lt;STRONG&gt;Lower both boxes to 3 secs&lt;/STRONG&gt;.&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://community.cyberark.com/s/article/00003575" target="_blank"&gt;Solution # 3575&lt;/A&gt;&lt;/LI&gt;&lt;/OL&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1"&gt;&lt;U&gt;Slow&amp;nbsp;&lt;STRONG&gt;non-RDP&amp;nbsp;&lt;/STRONG&gt;connection component startup&lt;/U&gt;&lt;/TD&gt;&lt;TD colspan="1" rowspan="1"&gt;
&lt;P&gt;RDS Has a built-in session manager that defines how to distribute CPU/DISK resources per each connection, depending on the connection type (RDP, IE, SQL, MMC).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;&lt;TD colspan="1" rowspan="1"&gt;
&lt;P&gt;It uses a flag called&amp;nbsp;&lt;STRONG&gt;TS Fair Share&lt;/STRONG&gt;, which prioritizes different sessions and allocates resources dynamically.&lt;/P&gt;
&lt;P&gt;Meaning, that some sessions will run fast (Like native RDP and IE) because they will get prioritized and some not (Like TOAD, PLSQL, Checkpoint, or Any local customer app), this breaks our PSM behavior as our sessions are predetermined and shouldn't be treated as adaptive programs.&lt;/P&gt;
&lt;/TD&gt;&lt;TD colspan="1" rowspan="1"&gt;
&lt;OL&gt;&lt;LI&gt;Login to PSM machine -&amp;gt; Run (windows + r) -&amp;gt; type regedit
				&lt;OL&gt;&lt;LI&gt;
&lt;P&gt;HKEY_LOCAL_MACHINE → SYSTEM → CurrentControlSet → Services → TSFairShare → Disk → "EnableFairShare" 1 → Change to 0.&lt;/P&gt;
&lt;/LI&gt;&lt;LI&gt;
&lt;P&gt;HKEY_LOCAL_MACHINE → SYSTEM → CurrentControlSet → Services → TSFairShare → NetFS→ "EnableFairShare" 1 → Change to 0.&lt;/P&gt;
&lt;/LI&gt;&lt;/OL&gt;
&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://community.cyberark.com/s/article/00004242" target="_blank"&gt;Solution #&amp;nbsp;424&lt;/A&gt;&lt;/LI&gt;&lt;/OL&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1"&gt;Slow connection from PSM to target servers requiring NLA&lt;/TD&gt;&lt;TD colspan="1" rowspan="1"&gt;PSMs are generally installed on a server that will not have access to the internet. As a result, they cannot perform automatic root certificate updates regularly. If they cannot update root certs, they will continue to attempt to do this update on each RDP connection - causing a 15-30 second timeout on each connection attempt.&lt;/TD&gt;&lt;TD colspan="1" rowspan="1"&gt;
&lt;P&gt;See&amp;nbsp;&lt;A href="https://community.cyberark.com/s/article/00003843" target="_blank"&gt;Solution 00003843&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The PSM will go to the internet to automatically update root certificates using the Windows Update website when connecting to NLA-enabled Windows servers.&lt;/P&gt;
&lt;P&gt;When there is no internet connection from the PSM server (especially first installed), you may experience&amp;nbsp;extremely&amp;nbsp;slow RDP from PSM to NLA-enabled Windows Servers. Direct RDP client to these servers&amp;nbsp;takes 2 seconds to establish, through PSM it runs into 20+ seconds or even more.&lt;/P&gt;
&lt;/TD&gt;&lt;TD colspan="1" rowspan="1"&gt;
&lt;P&gt;On the PSM server, use GPEDIT.msc to change "Turn off Automatic Root Certificates Update" to "Enabled" and then reboot PSM.&lt;BR /&gt;			&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Location:&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Computer Configuration |&amp;nbsp;Administrative Templates |&amp;nbsp;System |&amp;nbsp;Internet Communication Management |&amp;nbsp;Internet Communication settings&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
    <pubDate>Sun, 02 Nov 2025 05:00:32 GMT</pubDate>
    <dc:creator>CyberArkAlumni</dc:creator>
    <dc:date>2025-11-02T05:00:32Z</dc:date>
    <item>
      <title>PSM Performance Tuning</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-articles/psm-performance-tuning/ta-p/1428510</link>
      <description>&lt;H3&gt;Question&lt;/H3&gt;
What are some steps to take for PSM performance tuning?

&lt;H3&gt;Answer&lt;/H3&gt;
&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH colspan="1" rowspan="1"&gt;Change&lt;/TH&gt;&lt;TH colspan="1" rowspan="1"&gt;Justification&lt;/TH&gt;&lt;TH colspan="1" rowspan="1"&gt;Problem&lt;/TH&gt;&lt;TH colspan="1" rowspan="1"&gt;Implementation&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1"&gt;Lower PSM Quality&lt;/TD&gt;&lt;TD colspan="1" rowspan="1"&gt;From version 9.8, the param "FramesPerSecond" in PVWA&amp;nbsp;became obsolete, and PSM always recorded sessions at 10 FPS unless there is a load on the machine, where depending on CPU threshold the quality would be lowered up to 2 FPS.&lt;/TD&gt;&lt;TD colspan="1" rowspan="1"&gt;The&amp;nbsp;&lt;STRONG&gt;first few sessions&lt;/STRONG&gt;&amp;nbsp;would&amp;nbsp;&lt;STRONG&gt;always&lt;/STRONG&gt;&amp;nbsp;be recorded at the&amp;nbsp;&lt;STRONG&gt;max quality (10 fps)&lt;/STRONG&gt;, thus taking&amp;nbsp;&lt;STRONG&gt;more CPU %&lt;/STRONG&gt;&amp;nbsp;&lt;STRONG&gt;until&lt;/STRONG&gt;&amp;nbsp;a certain point where&amp;nbsp;&lt;STRONG&gt;quality&lt;/STRONG&gt;&amp;nbsp;would be&amp;nbsp;&lt;STRONG&gt;reduced&lt;/STRONG&gt;, so the&amp;nbsp;&lt;STRONG&gt;customer&lt;/STRONG&gt;&amp;nbsp;had&amp;nbsp;&lt;STRONG&gt;no way&lt;/STRONG&gt;&amp;nbsp;of knowing how to&amp;nbsp;&lt;STRONG&gt;gauge&lt;/STRONG&gt;&amp;nbsp;the&amp;nbsp;&lt;STRONG&gt;performance&lt;/STRONG&gt;&amp;nbsp;because it wasn't linear.&lt;BR /&gt;			By&amp;nbsp;&lt;STRONG&gt;reverting&lt;/STRONG&gt;&amp;nbsp;this change manually, we were able to&lt;STRONG&gt;&amp;nbsp;get consistent sessions&lt;/STRONG&gt;&amp;nbsp;and&lt;STRONG&gt;&amp;nbsp;approach scaling better&lt;/STRONG&gt;&amp;nbsp;during early deployments, the quality at&amp;nbsp;&lt;STRONG&gt;2-3 FPS is still really good&lt;/STRONG&gt;&amp;nbsp;for just desktop recording&lt;/TD&gt;&lt;TD colspan="1" rowspan="1"&gt;
&lt;OL&gt;&lt;LI&gt;Login to PWA as administrator -&amp;gt; Navigate to -&amp;gt; Privileged Session Management--&amp;gt;General Settings--&amp;gt;Recorder Settings--&amp;gt;&lt;STRONG&gt;FramesPerSecond&lt;/STRONG&gt;&amp;nbsp;-&amp;gt;&amp;nbsp;&lt;STRONG&gt;Change value to&lt;/STRONG&gt;&amp;nbsp;&lt;STRONG&gt;2&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;Login to PSM machine and browse to where PSM is installed - &amp;gt; Open basic_psm.ini &amp;nbsp;with notepad -&amp;gt; add this line at the bottom -&amp;gt;&amp;nbsp;&lt;STRONG&gt;EnableDynamicFPS=No&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Restart PSM service.&lt;/STRONG&gt;&lt;/LI&gt;&lt;/OL&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1"&gt;
&lt;P&gt;&lt;U&gt;Slow RDP Connection from PSM Server to Targets when missing certificates&lt;/U&gt;&lt;/P&gt;
&lt;/TD&gt;&lt;TD colspan="1" rowspan="1"&gt;Most customers don't use RDS certificates, which means when PSM tries to RDP it waits the internal timeout time before giving up and connecting through (roughly 15 secs+, the problem is better explained&amp;nbsp;&lt;A href="http://technotes.khitrenovich.com/speed-ssl-handshake-isolated-environments/" target="_blank"&gt;here&lt;/A&gt;).&lt;/TD&gt;&lt;TD colspan="1" rowspan="1"&gt;
&lt;P&gt;This can have a&amp;nbsp;&lt;STRONG&gt;bad effect on POC presentations&lt;/STRONG&gt;, training courses, and PROD&amp;nbsp;&lt;STRONG&gt;deployments&lt;/STRONG&gt;&amp;nbsp;-&amp;gt; End user's&amp;nbsp;&lt;STRONG&gt;complaints&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;What we've always done in the past is completely disable the certificate check, but recently I stumbled on a case where if PSM is in Azure, it needs to have a certificate check otherwise connection doesn't work.&lt;/P&gt;
&lt;P&gt;The solution was to just&amp;nbsp;&lt;STRONG&gt;lower the timeout to 3 secs&lt;/STRONG&gt;&amp;nbsp;instead of completely disabling it. So I think it's a good enough middle ground where we both lower it and not completely disable it (from an official standpoint).&lt;/P&gt;
&lt;/TD&gt;&lt;TD colspan="1" rowspan="1"&gt;
&lt;OL&gt;&lt;LI&gt;Login to PSM machine -&amp;gt; Run (windows + r) -&amp;gt; type secpol.msc -&amp;gt; navigate to Public Key Policies -&amp;gt; Certificate Path Validation Settings -&amp;gt; Network Retrieval -&amp;gt; Tick “&lt;STRONG&gt;Define these policies&lt;/STRONG&gt;” -&amp;gt;&amp;nbsp;&lt;STRONG&gt;Lower both boxes to 3 secs&lt;/STRONG&gt;.&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://community.cyberark.com/s/article/00003575" target="_blank"&gt;Solution # 3575&lt;/A&gt;&lt;/LI&gt;&lt;/OL&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1"&gt;&lt;U&gt;Slow&amp;nbsp;&lt;STRONG&gt;non-RDP&amp;nbsp;&lt;/STRONG&gt;connection component startup&lt;/U&gt;&lt;/TD&gt;&lt;TD colspan="1" rowspan="1"&gt;
&lt;P&gt;RDS Has a built-in session manager that defines how to distribute CPU/DISK resources per each connection, depending on the connection type (RDP, IE, SQL, MMC).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;&lt;TD colspan="1" rowspan="1"&gt;
&lt;P&gt;It uses a flag called&amp;nbsp;&lt;STRONG&gt;TS Fair Share&lt;/STRONG&gt;, which prioritizes different sessions and allocates resources dynamically.&lt;/P&gt;
&lt;P&gt;Meaning, that some sessions will run fast (Like native RDP and IE) because they will get prioritized and some not (Like TOAD, PLSQL, Checkpoint, or Any local customer app), this breaks our PSM behavior as our sessions are predetermined and shouldn't be treated as adaptive programs.&lt;/P&gt;
&lt;/TD&gt;&lt;TD colspan="1" rowspan="1"&gt;
&lt;OL&gt;&lt;LI&gt;Login to PSM machine -&amp;gt; Run (windows + r) -&amp;gt; type regedit
				&lt;OL&gt;&lt;LI&gt;
&lt;P&gt;HKEY_LOCAL_MACHINE → SYSTEM → CurrentControlSet → Services → TSFairShare → Disk → "EnableFairShare" 1 → Change to 0.&lt;/P&gt;
&lt;/LI&gt;&lt;LI&gt;
&lt;P&gt;HKEY_LOCAL_MACHINE → SYSTEM → CurrentControlSet → Services → TSFairShare → NetFS→ "EnableFairShare" 1 → Change to 0.&lt;/P&gt;
&lt;/LI&gt;&lt;/OL&gt;
&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://community.cyberark.com/s/article/00004242" target="_blank"&gt;Solution #&amp;nbsp;424&lt;/A&gt;&lt;/LI&gt;&lt;/OL&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1"&gt;Slow connection from PSM to target servers requiring NLA&lt;/TD&gt;&lt;TD colspan="1" rowspan="1"&gt;PSMs are generally installed on a server that will not have access to the internet. As a result, they cannot perform automatic root certificate updates regularly. If they cannot update root certs, they will continue to attempt to do this update on each RDP connection - causing a 15-30 second timeout on each connection attempt.&lt;/TD&gt;&lt;TD colspan="1" rowspan="1"&gt;
&lt;P&gt;See&amp;nbsp;&lt;A href="https://community.cyberark.com/s/article/00003843" target="_blank"&gt;Solution 00003843&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The PSM will go to the internet to automatically update root certificates using the Windows Update website when connecting to NLA-enabled Windows servers.&lt;/P&gt;
&lt;P&gt;When there is no internet connection from the PSM server (especially first installed), you may experience&amp;nbsp;extremely&amp;nbsp;slow RDP from PSM to NLA-enabled Windows Servers. Direct RDP client to these servers&amp;nbsp;takes 2 seconds to establish, through PSM it runs into 20+ seconds or even more.&lt;/P&gt;
&lt;/TD&gt;&lt;TD colspan="1" rowspan="1"&gt;
&lt;P&gt;On the PSM server, use GPEDIT.msc to change "Turn off Automatic Root Certificates Update" to "Enabled" and then reboot PSM.&lt;BR /&gt;			&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Location:&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Computer Configuration |&amp;nbsp;Administrative Templates |&amp;nbsp;System |&amp;nbsp;Internet Communication Management |&amp;nbsp;Internet Communication settings&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Sun, 02 Nov 2025 05:00:32 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-articles/psm-performance-tuning/ta-p/1428510</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2025-11-02T05:00:32Z</dc:date>
    </item>
  </channel>
</rss>

