Troubleshooting
Why WinLC RTX 2008 slows the VM clock in VMware
Short answer
Starting the RTX services drops the guest clock to roughly one displayed second per ten elapsed seconds because WinLC RTX carries a real-time kernel the hypervisor cannot schedule deterministically. Confirm the drift against an independent reference, then move the runtime: a Windows-based controller for non-real-time work, or RTX on physical hardware it is documented for. No RTX Properties setting repairs it.

On this page
- What happens when the RTX services start
- Prove the platform is the fault, not a setting
- Measuring the drift: one displayed second per ten in the reported guest
- Why a real-time kernel cannot share a guest with a hypervisor
- Choosing the platform by the timing the application needs
- Moving RTX to hardware it is documented for
- Questions asked
WinLC RTX 2008 slows a VMware guest clock because the runtime carries a real-time kernel, and a hypervisor cannot give that kernel the deterministic processor and timer access it is built on. In the reported case, a Windows XP Pro SP2 guest on VMware 6.5 dropped to roughly one displayed second per ten elapsed seconds the moment the RTX services started, and S7 response times to the WinCC 6.2 SP2 station grew excessively long. Treat that as an execution-platform fault, not an RTX Properties setting: prove it with a start-and-stop clock comparison against an independent reference, then choose the platform by the timing the application needs. A non-real-time job such as emulating several S7-400 programs on one computer belongs on a Windows-based controller runtime; RTX belongs on physical hardware it is documented for.
What happens when the RTX services start #
The drift has a precise trigger: activating the RTX services. The WinAC RTX 2008 manual documents that WinLC RTX runs at a higher priority than any Windows application, because it sits on a real-time kernel that must own the processor between cycle ticks. A hypervisor owns the physical timer and the processor cores and lends slices of both to each guest. When the RTX services come up, a scheduler that needs guaranteed timer delivery runs on top of one that can only make statistical promises, and the guest clock is the first visible casualty.
VMware's own timekeeping documentation tells ordinary guests to use a lower timer interrupt rate where possible, because interrupt rate is a first-order factor in guest clock accuracy; a real-time kernel needs the opposite trade, guaranteed delivery of every tick, and the hypervisor cannot grant that from inside the guest. This is also a different fault from the startup failure where RTSS never initializes, covered in why WinLC RTX RTSS initialization failure happens on a VM. Here the runtime starts, then degrades the clock.
Prove the platform is the fault, not a setting #
Work through the comparison before touching any configuration. The goal is a reproducible association between RTX service state and clock behavior, which no tuning inside the guest can produce by accident.
- Establish the baseline. Stop the controller application and the RTX services with their normal controls, leave every VM setting unchanged, and compare the guest clock with a stopwatch next to the screen over a fixed window such as 60 s. Expected reading: the guest tracks the reference.
- Start the RTX services through RTX Properties and repeat the same window. Record reference time, guest time, and host and guest processor utilization. Expected fault signature: the slowdown appears at this transition, not during boot.
- Stop and start the services once more. Expected reading: the association reproduces. One slow spell during startup alone is not the signature.
- Separate timing from load. If the second guest with its WinLC instance is running, stop it and repeat. Expected reading: the drift persists with a single guest, so concurrency is not the cause.
- Time the WinCC path with the independent clock, never the guest clock: toggle a test value in one controller and measure when the change reaches the HMI, then repeat for the second controller. Expected reading: each S7 link reaches its own instance, and the response delay tracks the RTX state. A connected link proves reachability, not timeliness.
- Change one variable at a time. Do not edit S7 connection settings while adjusting VM processor allocation, because that destroys the comparison that locates the delay.
Skip time-synchronization fixes. NTP, the Windows time service (w32time) and VMware Tools periodic synchronization are the documented guest options for ordinary timer drift, and they trim small offsets well. None of them changes scheduling, so the backlog regrows as fast as the sync removes it.
Measuring the drift: one displayed second per ten in the reported guest #
Inputs, each with its source:
- Reference clock: a stopwatch outside the VM, reading 60.0 s over the test window. Any independent clock works; the 60 s window is an example choice that keeps the arithmetic easy to check.
- Guest clock: Windows XP Pro SP2 on VMware 6.5 with the RTX services running, advancing 6.0 s in the same window. This applies the reported ratio, about one displayed second per ten elapsed seconds, to the window.
- Extrapolation interval: 3600 s, one hour of real operation.
The rule, in words: time lost equals reference time minus guest time; the loss rate is time lost divided by reference time; the hourly backlog is the loss rate multiplied by 3600 s.
Arithmetic:
- Time lost: 60.0 s - 6.0 s = 54.0 s.
- Loss rate: 54.0 s / 60.0 s = 0.90, so the guest holds only 90% of wall time.
- Hourly backlog: 0.90 x 3600 s = 3240 s, about 54 min.
Result: while the RTX services run, this guest falls 3240 s per hour behind, and the gap grows without bound.
Decision: a clock drifting at that rate cannot serve as the time base for timeouts, timestamps or synchronization, and correction software built for small offsets cannot close a gap growing at 3240 s per hour. The threshold that convicts the platform is the start-and-stop association: any guest whose clock falls measurably behind only while the RTX services run is disqualified as a host for the real-time runtime, because the hypervisor, not a guest setting, owns the scheduling the kernel needs. Move the runtime. One boundary to keep while you do: a runtime whose timing you cannot trust must never drive physical outputs on a running machine, so repeat this qualification on the physical platform before any real I/O is connected.
Why a real-time kernel cannot share a guest with a hypervisor #
Determinism means completing each operation within a predictable bound, not achieving a good average. A guest can run ordinary Windows workloads satisfactorily while failing the one requirement a real-time extension cannot waive. Siemens documents WinAC RTX as hard real-time software control, and positions WinAC Basis as the choice when real-time processing is not needed; the two products differ exactly where the reported case splits, in the kernel.
General guest tuning still has its place for ordinary slowness: fixing slow automation VMs on a Windows 11 host works that problem with allocation and host settings. It cannot help here, because no allocation setting transfers scheduling authority to a kernel inside the guest. Other real-time runtimes meet the same wall from the opposite direction: why TwinCAT 3 XAR cannot start with Hyper-V enabled records a real-time runtime refusing to start beside a hypervisor at all. RTX starting and then running badly is the same conflict with a slower symptom.
Choosing the platform by the timing the application needs #
The reported application needs several S7-400 programs on one computer, two S7 links to WinCC 6.2 SP2, and no real-time execution. Choose the platform against that list, not against whether a program loads.
| Execution choice | Timing behavior | Decision |
|---|---|---|
| WinLC RTX 2008 in the VMware guest | The clock collapse begins exactly when the RTX services start | Do not commission this configuration for control; the platform is the fault |
| Windows-based runtime in the guest, as in the reported Basis 4.1 comparison | No real-time kernel, so it tolerates hypervisor scheduling and ran well in the comparison | The fit for non-real-time emulation of several programs; resolve licensing through the manufacturer or an authorized distributor |
| WinAC RTX on a physical platform | Removes the hypervisor scheduling layer entirely | The documented home for RTX; use it when the application genuinely requires deterministic control |
The successful Basis 4.1 result is a technical comparison, not a procurement path, because that release had left the catalog and could not be licensed. The legitimate route is to present the requirement, several independent S7 programs with external WinCC connections and no real-time constraint, to the manufacturer or an authorized distributor and take the currently sold product that matches, verifying its concurrent-instance rules and its active runtime license on the deployed target before counting on continuous service. Working around activation for an obsolete release is never an option.
Moving RTX to hardware it is documented for #
If a future application needs deterministic control, RTX belongs on a physical platform that meets the runtime's documented requirements; the WinAC RTX 2008 manual, for instance, documents operating-mode LEDs on purpose-built industrial hardware such as the Microbox PC 427B and Panel PC 477B. When you reach for that machine, shortlist an industrial mini PC for the cabinet and match it to the operating-system and hardware list in the runtime's documentation rather than to VM convenience. Commission in stages: back up the PLC projects, the WinCC connection configuration and the license records first; bring up one controller and repeat the start-and-stop clock comparison above; add the second instance and the second S7 link only after that baseline is clean.
Questions asked
Does VMware Tools time synchronization fix the slowdown?
No. Periodic synchronization, NTP and the Windows time service trim small offsets in an ordinary guest, but they act on the displayed clock, not on scheduling. The real-time kernel still receives processor time only when the hypervisor allows it, so the backlog regrows as fast as the sync removes it. Treat the drift as an execution-platform fault and move the runtime instead of tuning the guest.
Why did WinLC Basis 4.1 run well in the same virtual machine?
WinLC Basis has no real-time kernel. It executes as an ordinary Windows application, so hypervisor scheduling does not threaten its timing, and the product documentation positions it for applications where real-time processing is not needed. That is exactly why the guest that starves RTX hosted Basis without visible drift in the reported comparison.
Does the measured clock ratio mean every PLC timer runs ten times slow?
No. The measured ratio describes the guest operating system clock, not the controller's cycle and timer execution, which the RTX kernel handles with its own timing. Never convert a wall-clock ratio into timer behavior. What the measurement proves is platform unsuitability, and the practical symptom is unpredictable timing, which is what the long WinCC response times showed.
How do I run several S7-400 programs on one computer without RTX?
Use the manufacturer's current Windows-based controller products, one instance per program, each with its own communication endpoint for the WinCC connection, or split the programs across separate small controllers on the network. Confirm the current portfolio, the concurrent-instance rules and the license scope with the manufacturer or an authorized distributor, because product names and availability change between releases.
