Optimizing SIA RDP Session Performance - Standardized Optimization Guide
693
Created On 11/12/26 15:36 PM - Last Modified 11/12/26 16:28 PM
Objective
In the modern enterprise landscape, the widespread adoption of high-resolution displays (e.g., 2560x1440) and 32-bit color depths has created a substantial performance hurdle for remote access.
These configurations demand massive throughput to maintain visual fidelity; without optimization, the volume of pixel data transmitted over network links, including VPNs and residential ISPs, at times renders professional workflows unmanageable.
This issue is becoming more noticeable when the RDP session is routed through the global internet as is the case with Idira SIA.
Unaccelerated rendering is no longer a viable option for architects and administrators who require near-zero latency.
The NSCodec Bottleneck
A critical failure occurs when a Secure Infrastructure Access (SIA) session fails to negotiate modern compression and falls back to the legacy NSCodec (raw bitmap compression). This fallback leads to significant visual artifacts, such as horizontal tearing ("scanlines"), and can cause the session to stall, freeze or drop, during high-motion updates.
Mission Statement
The primary objective, is the aggressive minimization of session network payload, to ensure fluid responsiveness and low-latency interaction. This guide standardizes the configuration required to move the SIA infrastructure away from unoptimized bitmap transfers, toward an efficient, hardware-accelerated pipeline.
Strategic Framework
Optimization is a three-tiered architecture: global configuration at the Idira tenant level, governance at the server level, and precise enforcement during the client handshake.
Environment
Secure Infrastructure Access (formerly DPA) DPA for RDP
Procedure
1. Global Gatekeeping: Enabling GFX in SIA Settings
The Graphics Pipeline (GFX) is the fundamental gatekeeper for all modern RDP performance features. GFX allows for the negotiation of advanced Dynamic Virtual Channels (DVC), specifically
Microsoft::Windows::RDS::Graphics and Microsoft::Windows::RDS::DisplayControl, which are prerequisites for a responsive, hardware-accelerated experience.The Global Override Trap If GFX is disabled at the Idira Cloud level, the session is forced into the legacy NSCodec fallback. This bypasses all sophisticated server-side GPOs and modern RDP features, effectively capping the session’s performance ceiling regardless of the bandwidth available.
Administrative Configuration To open the graphics channel, tenant administrators must configure the RDP proxy settings within the Idira Cloud environment.
- Secure infrastructure access > Settings > RDP Parameters > In-session graphics acceleration > RDP - Set to On
Opening this global channel allows the FreeRDP-based gateway to negotiate modern protocols; the next step is enforcing rendering behaviors on the host.
2. Server-Side Governance: Enforcing Performance GPOs
Host-side policy enforcement is a strategic necessity to ensure a consistent user experience, regardless of the endpoint device's processing power.
The following can be applied to target servers in a single OU linked GPO to enforce the settings consistently.
Note: The below GPO's only work when GFX Acceleration is enabled on the tenant. Do not apply them with GFX off, as it will cause performance degradation (see session 3 in the evidence table).
Path 1: Remote Session Environment
Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Remote Session Environment|
Policy Name
|
Recommended Setting
|
Performance Impact
|
|---|---|---|
|
Enforce Removal of Remote Desktop Wallpaper
|
Enabled
|
Strips desktop background host-side to reduce baseline transfer payload.
|
|
Limit maximum color depth
|
Enabled (16-bit)
|
Caps color palette depth server-side to shrink payload sizes.
|
|
Configure RemoteFX Adaptive Graphics
|
Enabled (Optimize for Minimum Bandwidth Usage)
|
Enables dynamic network characteristics sensing for real-time throttling.
|
|
Configure Image Quality for RemoteFX
|
Enabled (Low)
|
Aggressively compresses frame image data before transmission.
|
|
Do not allow font smoothing
|
Enabled
|
Disables ClearType text rendering to prevent heavy screen redraw traffic.
|
|
Allow Desktop Composition for RD Sessions
|
Disabled
|
Turns off host-side visual effects, transparent windows, and animations.
|
Path 2: Session Connections
Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Connections|
Policy Name
|
Recommended Setting
|
Performance Impact
|
|---|---|---|
|
Select RDP Transport Protocols
|
Enabled (Use both UDP and TCP)
|
Prevents head-of-line blocking and lag spikes on lossy links.
|
|
Select network detection on the server
|
Enabled (Connect-Time & Continuous)
|
Enables real-time latency sensing for dynamic payload throttling.
|
3. Client-Side Overrides: Forcing Efficiency via RDP Parameters
Technical irony often dictates that modern RDP clients prioritize visual fidelity (32-bit color) over performance by default. Even with server GPOs, the client-side handshake may attempt to negotiate sub-optimal settings, leading to "backlog" lag.
The 16-Bit Color Force
To ensure the most efficient transport, users should force a "High Color" 16-bit depth. This bypasses the automatic 32-bit negotiation and significantly lightens the rendering load on the FreeRDP proxy.
Enhanced RDP File adjustments:
The following
.rdp structure should be utilized for connections to targets in order to enforce 16-bit color depth:session bpp:i:16
Example:
full address:s:tenant.rdp.cyberark.cloud
username:s:secureaccess /i user@comapny /s tenant /d my.lab /a tarwindom01.my.lab /n netname /u mike
gatewayhostname:s:tenant.rdp.cyberark.cloud:443
gatewayaccesstoken:s:secureaccess
gatewaycredentialssource:i:5
gatewayusagemethod:i:1
gatewayprofileusagemethod:i:1
auto connect:i:1
smart sizing:i:1
authentication level:i:1
session bpp:i:16
bitmapcachepersistenable:i:0
Note: This can be done on native clients or by editing the .rdp file downloaded from Secure Access Space by the user, but it will invalidate the file's sso key, and require manual authentication during the session.
4. Empirical Proof: Standardized Performance Benchmarks
The following data, captured from a lab tenant, validates the optimization strategy using a 60-second 2K video stream benchmark.
|
Scenario
|
Throughput
|
Raw Frame Size
|
60s Data
|
Visual Experience
|
|---|---|---|---|---|
|
1. GFX OFF / No GPO
|
5.52 MB/s
|
14.75 MB
|
331.2 MB
|
Severe Tearing / Lag
|
|
2. GFX ON / No GPO
|
7.03 MB/s
|
14.75 MB
|
421.8 MB
|
Fluid but high bandwidth
|
|
3. GFX OFF / GPO Enabled
|
5.08 MB/s
|
14.75 MB
|
304.8 MB
|
Worst lag / Stalls
|
|
4. GFX ON / GPO Enabled
|
4.71 MB/s
|
14.75 MB
|
282.6 MB
|
Smooth / Optimized
|
|
5. GFX ON / GPO Enabled/ 16-bit in .rdp file
|
6.35 MB/s
|
7.37 MB
|
381.0 MB
|
Ultra-Fluid / Zero Backlog
|
Technical Analysis:
The "Golden Standard" (Session 5) Session 5 represents the superior configuration. While Session 2 exhibits a raw throughput of 7.03 MB/s (7031 bytes/msec), it suffers from payload backlog because the raw frame size remains at 14.75 MB.
By forcing a 16-bit override, Session 5 achieves a 50% reduction in raw frame size (7.37 MB). This allow for a higher effective frame rate and instantaneous responsiveness.
Critical Note: Recording Overhead Administrators must account for the performance tax of session recording. In SIA, the
ProxyClientRecorderHandler utilizes PNG-based encoding (Initializing encoder of type [Png]). This adds a continuous CPU load on the host to process frame-by-frame captures. In resource-constrained environments, this recording overhead can counteract GPO-based gains, necessitating the strict application of the 16-bit color depth to keep the encoder's input buffer manageable.Conclusion Enterprise-grade remote access requires a multi-layered approach. By aligning the global GFX channel, server governance, and client-side bit-depth, SIA ensures that sessions remain robust even over high-latency links.