<?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 How do I optimize CPU performance for PSM? in PAM Self-Hosted Articles</title>
    <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-articles/how-do-i-optimize-cpu-performance-for-psm/ta-p/1429169</link>
    <description>&lt;DIV&gt;How do I optimize CPU performance for PSM?&lt;/DIV&gt;
&lt;H3&gt;Steps&lt;/H3&gt;
The general recommendations below can be used to enhance the CPU performance of PSM Servers.&amp;nbsp;These recommendations are relevant for implementations with both physical and virtualized PSM servers (VMs).&lt;BR /&gt;&lt;BR /&gt;Enhancing CPU performance of PSM:&amp;nbsp;&lt;BR /&gt;The following changes are recommended for enhancing performance&amp;nbsp;and stabilizing loaded PSM implementations.&lt;BR /&gt;&lt;BR /&gt;1. Disable RemoteApp:&lt;BR /&gt;- Disabling RemoteApp will improve performance. v9.7+ Introduced the ability to selectively disable RemoteApp for specific connections, but will not directly improve performance.&lt;BR /&gt;&lt;BR /&gt;2. Upgrade to PSM v9.7+:&lt;BR /&gt;- Upgrading PSM to v9.7+ will allow you to disable RemoteApp selectively for specific connections, but will not directly improve performance.&lt;BR /&gt;&lt;BR /&gt;3. Changes in Timeout Values in PSM Connection Components:&lt;BR /&gt;- These changes will help with ensuring stability of loaded environments, but will not directly improve performance.&lt;BR /&gt;- Recommended timeout values will determine the amount of time the end-user will need to wait on specific failure scenarios, so this should be considered when setting higher timeout values.&lt;BR /&gt;- In loaded environments, configuring timeout values that are double or triple the default values will probably suffice for most implementations.&lt;BR /&gt;--- Configuration locations:&lt;BR /&gt;&lt;EM&gt;----- Connection Components--&amp;gt;{ConnectionComponent}--&amp;gt;Target Settings--&amp;gt;ConnectionComponentInitTimeout&lt;BR /&gt;----- Connection Components--&amp;gt;{ConnectionComponent}--&amp;gt;Target Settings--&amp;gt;Lock Application Window--&amp;gt;Timeout&lt;BR /&gt;----- Privileged Session Management--&amp;gt;General Settings--&amp;gt;Connection Client Settings--&amp;gt;Capabilities--&amp;gt;SSH Keystrokes Audit--&amp;gt;Default Settings--&amp;gt;AuditCommunicationTimeout&lt;BR /&gt;----- Privileged Session Management--&amp;gt;General Settings--&amp;gt;Connection Client Settings--&amp;gt;Capabilities--&amp;gt;SSH Keystrokes Audit--&amp;gt;Default Settings--&amp;gt;ConnectionComponentGracefulTerminationTimeout&lt;BR /&gt;----- Privileged Session Management--&amp;gt;General Settings--&amp;gt;Connection Client Settings--&amp;gt;Capabilities--&amp;gt;SSH Keystrokes Audit--&amp;gt;Default Settings--&amp;gt;AuditServerInitializationTimeout&lt;BR /&gt;----- Privileged Session Management--&amp;gt;General Settings--&amp;gt;Session Settings--&amp;gt;Advanced Settings--&amp;gt;VirtualChannelTimeout&lt;BR /&gt;----- Privileged Session Management--&amp;gt;General Settings--&amp;gt;Session Settings--&amp;gt;Advanced Settings--&amp;gt;RecorderConnectionTimeout&lt;BR /&gt;----- Privileged Session Management--&amp;gt;General Settings--&amp;gt;Session Settings--&amp;gt;Advanced Settings--&amp;gt;SessionKeeperConnectionTimeout&lt;BR /&gt;----- Privileged Session Management--&amp;gt;General Settings--&amp;gt;Session Settings--&amp;gt;Advanced Settings--&amp;gt;SessionKeeperShutdownTimeout&lt;BR /&gt;----- Privileged Session Management--&amp;gt;General Settings--&amp;gt;Session Settings--&amp;gt;Advanced Settings--&amp;gt;SessionLauncherTimeout&lt;BR /&gt;----- Privileged Session Management--&amp;gt;General Settings--&amp;gt;Session Settings--&amp;gt;Advanced Settings--&amp;gt;InitSessionTimeout&lt;/EM&gt;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;4. Reduce recorded frames per second:&lt;BR /&gt;- This change will greatly improve performance, however it is recommended to avoid reducing the number of recorded-frames-per-second too much (below 3 frames per second) so the video recording will not miss important session activity.&lt;BR /&gt;&lt;EM&gt;--- Configuration location:&lt;BR /&gt;----- Privileged Session Management--&amp;gt;General Settings--&amp;gt;Recorder Settings--&amp;gt;FramesPerSecond&lt;/EM&gt;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;5. Consider disabling video recording for SSH sessions:&lt;BR /&gt;- Since the number one consumer of CPU resources in PSM is the video recording of the session, you may want to consider disabling video recordings for specific types of sessions (or specific platforms).&lt;BR /&gt;- SSH sessions are audited and command-line based and therefore are good candidates for not having video recordings.&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;6. Limit session resolution:&lt;BR /&gt;- On sessions with RemoteApp disabled, consider lowering the session resolution of the connection component so video recording resolution will decrease and improve performance.&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;7. Best practices for PSM benchmark testing:&lt;BR /&gt;- Avoid loading the client machine as well as the target machine (Client -&amp;gt; PSM -&amp;gt; Target)&lt;BR /&gt;--- Monitor CPU and memory load on those machines.&lt;BR /&gt;--- It is advised to perform capacity planning before performing any tests so additional machines can be added as required.&lt;BR /&gt;- Disable trace logging on the PSM machine (both under Server Settings and Connection Client Settings).&lt;BR /&gt;- On tests which involve the utilization of the PSM RemoteApp feature, take into account the use of multiple monitors on the client machine (or virtual desktops in case of connecting the client machine via RDP from another machine). Decreasing the video recording resolution will improve performance. On non-RemoteApp tests, take into account the resolution of the connection component being tested.

&lt;P class="MsoNormal"&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;&lt;B&gt;&lt;U&gt;Q:&lt;/U&gt;&lt;/B&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;How do I optimize CPU performance for PSM?&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;&lt;U&gt;&lt;B&gt;A:&amp;nbsp;&lt;/B&gt;&lt;/U&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;The general recommendations below can be used to enhance the CPU performance of PSM Servers.&amp;nbsp;These recommendations are relevant for implementations with both physical and virtualized PSM servers (VMs).&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;&lt;B&gt;Enhancing CPU performance of PSM:&lt;/B&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;The following changes are recommended for enhancing performance&amp;nbsp;and stabilizing loaded PSM implementations.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="MsoNormal" style=""&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;1. Disable RemoteApp:&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;- Disabling RemoteApp will improve performance. v9.7+ Introduced the ability to selectively disable RemoteApp for specific connections, but will not directly improve performance.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style=""&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="MsoNormal" style=""&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;2. Upgrade to PSM v9.7+:&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;- Upgrading PSM to v9.7+ will allow you to disable RemoteApp selectively for specific connections, but will not directly improve performance.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style=""&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="MsoNormal" style=""&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;3. Changes in Timeout Values in PSM Connection Components:&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style=""&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;- These changes will help with ensuring stability of loaded environments, but will not directly improve performance.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style=""&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;- Recommended timeout values will determine the amount of time the end-user will need to wait on specific failure scenarios, so this should be considered when setting higher timeout values.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style=""&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;- In loaded environments, configuring timeout values that are double or triple the default values will probably suffice for most implementations.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style=""&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;--- Configuration locations:&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style=""&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;----- Connection Components--&amp;gt;{ConnectionComponent}--&amp;gt;Target Settings--&amp;gt;ConnectionComponentInitTimeout&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style=""&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;----- Connection Components--&amp;gt;{ConnectionComponent}--&amp;gt;Target Settings--&amp;gt;Lock Application Window--&amp;gt;Timeout&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style=""&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;----- Privileged Session Management--&amp;gt;General Settings--&amp;gt;Connection Client Settings--&amp;gt;Capabilities--&amp;gt;SSH Keystrokes Audit--&amp;gt;Default Settings--&amp;gt;AuditCommunicationTimeout&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style=""&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;----- Privileged Session Management--&amp;gt;General Settings--&amp;gt;Connection Client Settings--&amp;gt;Capabilities--&amp;gt;SSH Keystrokes Audit--&amp;gt;Default Settings--&amp;gt;ConnectionComponentGracefulTerminationTimeout&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style=""&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;----- Privileged Session Management--&amp;gt;General Settings--&amp;gt;Connection Client Settings--&amp;gt;Capabilities--&amp;gt;SSH Keystrokes Audit--&amp;gt;Default Settings--&amp;gt;AuditServerInitializationTimeout&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style=""&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;----- Privileged Session Management--&amp;gt;General Settings--&amp;gt;Session Settings--&amp;gt;Advanced Settings--&amp;gt;VirtualChannelTimeout&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style=""&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;----- Privileged Session Management--&amp;gt;General Settings--&amp;gt;Session Settings--&amp;gt;Advanced Settings--&amp;gt;RecorderConnectionTimeout&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style=""&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;----- Privileged Session Management--&amp;gt;General Settings--&amp;gt;Session Settings--&amp;gt;Advanced Settings--&amp;gt;SessionKeeperConnectionTimeout&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style=""&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;----- Privileged Session Management--&amp;gt;General Settings--&amp;gt;Session Settings--&amp;gt;Advanced Settings--&amp;gt;SessionKeeperShutdownTimeout&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style=""&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;----- Privileged Session Management--&amp;gt;General Settings--&amp;gt;Session Settings--&amp;gt;Advanced Settings--&amp;gt;SessionLauncherTimeout&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;----- Privileged Session Management--&amp;gt;General Settings--&amp;gt;Session Settings--&amp;gt;Advanced Settings--&amp;gt;InitSessionTimeout&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style=""&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="MsoNormal" style=""&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;4. Reduce recorded frames per second:&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style=""&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;- This change will greatly improve performance, however it is recommended to avoid reducing the number of recorded-frames-per-second too much (below 3 frames per second) so the video recording will not miss important session activity.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style=""&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;--- Configuration location:&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style=""&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;----- Privileged Session Management--&amp;gt;General Settings--&amp;gt;Recorder Settings--&amp;gt;FramesPerSecond&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style=""&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="MsoNormal" style=""&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;5. Consider disabling video recording for SSH sessions:&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style=""&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;- Since the number one consumer of CPU resources in PSM is the video recording of the session, you may want to consider disabling video recordings for specific types of sessions (or specific platforms).&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;- SSH sessions are audited and command-line based and therefore are good candidates for not having video recordings.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style=""&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="MsoNormal" style=""&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;6. Limit session resolution:&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;- On sessions with RemoteApp disabled, consider lowering the session resolution of the connection component so video recording resolution will decrease and improve performance.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style=""&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="MsoNormal" style=""&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;7. Best practices for PSM benchmark testing:&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style=""&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;- Avoid loading the client machine as well as the target machine (Client -&amp;gt; PSM -&amp;gt; Target)&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style=""&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;--- Monitor CPU and memory load on those machines.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style=""&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;--- It is advised to perform capacity planning before performing any tests so additional machines can be added as required.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style=""&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;- Disable trace logging on the PSM machine (both under Server Settings and Connection Client Settings).&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;- On tests which involve the utilization of the PSM RemoteApp feature, take into account the use of multiple monitors on the client machine (or virtual desktops in case of connecting the client machine via RDP from another machine). Decreasing the video recording resolution will improve performance. On non-RemoteApp tests, take into account the resolution of the connection component being tested.&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 25 Oct 2025 05:00:18 GMT</pubDate>
    <dc:creator>CyberArkAlumni</dc:creator>
    <dc:date>2025-10-25T05:00:18Z</dc:date>
    <item>
      <title>How do I optimize CPU performance for PSM?</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-articles/how-do-i-optimize-cpu-performance-for-psm/ta-p/1429169</link>
      <description>&lt;DIV&gt;How do I optimize CPU performance for PSM?&lt;/DIV&gt;
&lt;H3&gt;Steps&lt;/H3&gt;
The general recommendations below can be used to enhance the CPU performance of PSM Servers.&amp;nbsp;These recommendations are relevant for implementations with both physical and virtualized PSM servers (VMs).&lt;BR /&gt;&lt;BR /&gt;Enhancing CPU performance of PSM:&amp;nbsp;&lt;BR /&gt;The following changes are recommended for enhancing performance&amp;nbsp;and stabilizing loaded PSM implementations.&lt;BR /&gt;&lt;BR /&gt;1. Disable RemoteApp:&lt;BR /&gt;- Disabling RemoteApp will improve performance. v9.7+ Introduced the ability to selectively disable RemoteApp for specific connections, but will not directly improve performance.&lt;BR /&gt;&lt;BR /&gt;2. Upgrade to PSM v9.7+:&lt;BR /&gt;- Upgrading PSM to v9.7+ will allow you to disable RemoteApp selectively for specific connections, but will not directly improve performance.&lt;BR /&gt;&lt;BR /&gt;3. Changes in Timeout Values in PSM Connection Components:&lt;BR /&gt;- These changes will help with ensuring stability of loaded environments, but will not directly improve performance.&lt;BR /&gt;- Recommended timeout values will determine the amount of time the end-user will need to wait on specific failure scenarios, so this should be considered when setting higher timeout values.&lt;BR /&gt;- In loaded environments, configuring timeout values that are double or triple the default values will probably suffice for most implementations.&lt;BR /&gt;--- Configuration locations:&lt;BR /&gt;&lt;EM&gt;----- Connection Components--&amp;gt;{ConnectionComponent}--&amp;gt;Target Settings--&amp;gt;ConnectionComponentInitTimeout&lt;BR /&gt;----- Connection Components--&amp;gt;{ConnectionComponent}--&amp;gt;Target Settings--&amp;gt;Lock Application Window--&amp;gt;Timeout&lt;BR /&gt;----- Privileged Session Management--&amp;gt;General Settings--&amp;gt;Connection Client Settings--&amp;gt;Capabilities--&amp;gt;SSH Keystrokes Audit--&amp;gt;Default Settings--&amp;gt;AuditCommunicationTimeout&lt;BR /&gt;----- Privileged Session Management--&amp;gt;General Settings--&amp;gt;Connection Client Settings--&amp;gt;Capabilities--&amp;gt;SSH Keystrokes Audit--&amp;gt;Default Settings--&amp;gt;ConnectionComponentGracefulTerminationTimeout&lt;BR /&gt;----- Privileged Session Management--&amp;gt;General Settings--&amp;gt;Connection Client Settings--&amp;gt;Capabilities--&amp;gt;SSH Keystrokes Audit--&amp;gt;Default Settings--&amp;gt;AuditServerInitializationTimeout&lt;BR /&gt;----- Privileged Session Management--&amp;gt;General Settings--&amp;gt;Session Settings--&amp;gt;Advanced Settings--&amp;gt;VirtualChannelTimeout&lt;BR /&gt;----- Privileged Session Management--&amp;gt;General Settings--&amp;gt;Session Settings--&amp;gt;Advanced Settings--&amp;gt;RecorderConnectionTimeout&lt;BR /&gt;----- Privileged Session Management--&amp;gt;General Settings--&amp;gt;Session Settings--&amp;gt;Advanced Settings--&amp;gt;SessionKeeperConnectionTimeout&lt;BR /&gt;----- Privileged Session Management--&amp;gt;General Settings--&amp;gt;Session Settings--&amp;gt;Advanced Settings--&amp;gt;SessionKeeperShutdownTimeout&lt;BR /&gt;----- Privileged Session Management--&amp;gt;General Settings--&amp;gt;Session Settings--&amp;gt;Advanced Settings--&amp;gt;SessionLauncherTimeout&lt;BR /&gt;----- Privileged Session Management--&amp;gt;General Settings--&amp;gt;Session Settings--&amp;gt;Advanced Settings--&amp;gt;InitSessionTimeout&lt;/EM&gt;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;4. Reduce recorded frames per second:&lt;BR /&gt;- This change will greatly improve performance, however it is recommended to avoid reducing the number of recorded-frames-per-second too much (below 3 frames per second) so the video recording will not miss important session activity.&lt;BR /&gt;&lt;EM&gt;--- Configuration location:&lt;BR /&gt;----- Privileged Session Management--&amp;gt;General Settings--&amp;gt;Recorder Settings--&amp;gt;FramesPerSecond&lt;/EM&gt;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;5. Consider disabling video recording for SSH sessions:&lt;BR /&gt;- Since the number one consumer of CPU resources in PSM is the video recording of the session, you may want to consider disabling video recordings for specific types of sessions (or specific platforms).&lt;BR /&gt;- SSH sessions are audited and command-line based and therefore are good candidates for not having video recordings.&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;6. Limit session resolution:&lt;BR /&gt;- On sessions with RemoteApp disabled, consider lowering the session resolution of the connection component so video recording resolution will decrease and improve performance.&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;7. Best practices for PSM benchmark testing:&lt;BR /&gt;- Avoid loading the client machine as well as the target machine (Client -&amp;gt; PSM -&amp;gt; Target)&lt;BR /&gt;--- Monitor CPU and memory load on those machines.&lt;BR /&gt;--- It is advised to perform capacity planning before performing any tests so additional machines can be added as required.&lt;BR /&gt;- Disable trace logging on the PSM machine (both under Server Settings and Connection Client Settings).&lt;BR /&gt;- On tests which involve the utilization of the PSM RemoteApp feature, take into account the use of multiple monitors on the client machine (or virtual desktops in case of connecting the client machine via RDP from another machine). Decreasing the video recording resolution will improve performance. On non-RemoteApp tests, take into account the resolution of the connection component being tested.

&lt;P class="MsoNormal"&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;&lt;B&gt;&lt;U&gt;Q:&lt;/U&gt;&lt;/B&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;How do I optimize CPU performance for PSM?&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;&lt;U&gt;&lt;B&gt;A:&amp;nbsp;&lt;/B&gt;&lt;/U&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;The general recommendations below can be used to enhance the CPU performance of PSM Servers.&amp;nbsp;These recommendations are relevant for implementations with both physical and virtualized PSM servers (VMs).&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;&lt;B&gt;Enhancing CPU performance of PSM:&lt;/B&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;The following changes are recommended for enhancing performance&amp;nbsp;and stabilizing loaded PSM implementations.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="MsoNormal" style=""&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;1. Disable RemoteApp:&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;- Disabling RemoteApp will improve performance. v9.7+ Introduced the ability to selectively disable RemoteApp for specific connections, but will not directly improve performance.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style=""&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="MsoNormal" style=""&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;2. Upgrade to PSM v9.7+:&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;- Upgrading PSM to v9.7+ will allow you to disable RemoteApp selectively for specific connections, but will not directly improve performance.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style=""&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="MsoNormal" style=""&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;3. Changes in Timeout Values in PSM Connection Components:&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style=""&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;- These changes will help with ensuring stability of loaded environments, but will not directly improve performance.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style=""&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;- Recommended timeout values will determine the amount of time the end-user will need to wait on specific failure scenarios, so this should be considered when setting higher timeout values.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style=""&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;- In loaded environments, configuring timeout values that are double or triple the default values will probably suffice for most implementations.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style=""&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;--- Configuration locations:&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style=""&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;----- Connection Components--&amp;gt;{ConnectionComponent}--&amp;gt;Target Settings--&amp;gt;ConnectionComponentInitTimeout&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style=""&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;----- Connection Components--&amp;gt;{ConnectionComponent}--&amp;gt;Target Settings--&amp;gt;Lock Application Window--&amp;gt;Timeout&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style=""&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;----- Privileged Session Management--&amp;gt;General Settings--&amp;gt;Connection Client Settings--&amp;gt;Capabilities--&amp;gt;SSH Keystrokes Audit--&amp;gt;Default Settings--&amp;gt;AuditCommunicationTimeout&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style=""&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;----- Privileged Session Management--&amp;gt;General Settings--&amp;gt;Connection Client Settings--&amp;gt;Capabilities--&amp;gt;SSH Keystrokes Audit--&amp;gt;Default Settings--&amp;gt;ConnectionComponentGracefulTerminationTimeout&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style=""&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;----- Privileged Session Management--&amp;gt;General Settings--&amp;gt;Connection Client Settings--&amp;gt;Capabilities--&amp;gt;SSH Keystrokes Audit--&amp;gt;Default Settings--&amp;gt;AuditServerInitializationTimeout&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style=""&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;----- Privileged Session Management--&amp;gt;General Settings--&amp;gt;Session Settings--&amp;gt;Advanced Settings--&amp;gt;VirtualChannelTimeout&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style=""&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;----- Privileged Session Management--&amp;gt;General Settings--&amp;gt;Session Settings--&amp;gt;Advanced Settings--&amp;gt;RecorderConnectionTimeout&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style=""&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;----- Privileged Session Management--&amp;gt;General Settings--&amp;gt;Session Settings--&amp;gt;Advanced Settings--&amp;gt;SessionKeeperConnectionTimeout&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style=""&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;----- Privileged Session Management--&amp;gt;General Settings--&amp;gt;Session Settings--&amp;gt;Advanced Settings--&amp;gt;SessionKeeperShutdownTimeout&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style=""&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;----- Privileged Session Management--&amp;gt;General Settings--&amp;gt;Session Settings--&amp;gt;Advanced Settings--&amp;gt;SessionLauncherTimeout&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;----- Privileged Session Management--&amp;gt;General Settings--&amp;gt;Session Settings--&amp;gt;Advanced Settings--&amp;gt;InitSessionTimeout&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style=""&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="MsoNormal" style=""&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;4. Reduce recorded frames per second:&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style=""&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;- This change will greatly improve performance, however it is recommended to avoid reducing the number of recorded-frames-per-second too much (below 3 frames per second) so the video recording will not miss important session activity.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style=""&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;--- Configuration location:&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style=""&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;----- Privileged Session Management--&amp;gt;General Settings--&amp;gt;Recorder Settings--&amp;gt;FramesPerSecond&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style=""&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="MsoNormal" style=""&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;5. Consider disabling video recording for SSH sessions:&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style=""&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;- Since the number one consumer of CPU resources in PSM is the video recording of the session, you may want to consider disabling video recordings for specific types of sessions (or specific platforms).&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;- SSH sessions are audited and command-line based and therefore are good candidates for not having video recordings.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style=""&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="MsoNormal" style=""&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;6. Limit session resolution:&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;- On sessions with RemoteApp disabled, consider lowering the session resolution of the connection component so video recording resolution will decrease and improve performance.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style=""&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="MsoNormal" style=""&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;7. Best practices for PSM benchmark testing:&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style=""&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;- Avoid loading the client machine as well as the target machine (Client -&amp;gt; PSM -&amp;gt; Target)&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style=""&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;--- Monitor CPU and memory load on those machines.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style=""&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;--- It is advised to perform capacity planning before performing any tests so additional machines can be added as required.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style=""&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;- Disable trace logging on the PSM machine (both under Server Settings and Connection Client Settings).&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;FONT face="Verdana, Helvetica, sans-serif" size="2"&gt;- On tests which involve the utilization of the PSM RemoteApp feature, take into account the use of multiple monitors on the client machine (or virtual desktops in case of connecting the client machine via RDP from another machine). Decreasing the video recording resolution will improve performance. On non-RemoteApp tests, take into account the resolution of the connection component being tested.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 25 Oct 2025 05:00:18 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-articles/how-do-i-optimize-cpu-performance-for-psm/ta-p/1429169</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2025-10-25T05:00:18Z</dc:date>
    </item>
  </channel>
</rss>

