Optimizing the Subsystem for Deployment

The tables below list recommended RTSS Subsystem configuration settings for deployment of RTX64 Runtime with your product. You can configure these settings using the RTX64 Control Panel.

Subsystem Configuration Options

Change internal system behavior

Control Panel Setting Recommended Value for Deployment
Change the HAL Timer Period Your application's Timer Period must always be more than the HAL Timer Period setting. The default HAL setting is 100.
Free the Stack on TerminateThread calls Free the stack on TerminateThread calls
Use priority inversion Use priority inversion (default)

Change memory allocation behavior

Control Panel Setting Recommended Value for Deployment

Set the default behavior for Subsystem and application memory allocation

  • Request from Windows (non-deterministic)
  • Request from local memory (deterministic)
Request from local memory pool (deterministic)

Local memory pool size

 

Based on local memory usage of your application. Before deployment, you can query the local memory usage by calling RtQueryLocalMemory.

NOTE: The optional RT-TCP/IP Stack component may require additional local memory. If you have purchased the RT-TCP/IP Stack and wish to deploy it, you must allocate adequate local memory for it.

Auto expand Disabled
Auto shrink Disabled

Change Monitoring Settings

Control Panel Setting Recommended Value for Deployment
Enable instrumentation within the subsystem for tracing real-time applications Disabled for lowest latencies

Configure watchdog timer settings

Control Panel Setting Recommended Value for Deployment

Monitor for runaway threads

  • Timeout
Disabled for performance purposes

Configure exception support

Control Panel Setting Recommended Value for Deployment

Choose a method for treating a faulting process

Terminate Faulting Processes (default)
Choose a method for each exception type Structured Exception Handling (default)

NOTE: For optimal performance when running RTX64 on a laptop, we recommend that you convert Display adapters to Microsoft Basic Display Adapter in the Windows Device Manager. If you choose not to convert display adapters, you may experience latency.

Related Topics