I am envisioning a linux architecture like this:
--------------------
| LEGACY APPLICATION |
----------------------------------------
| AMAZING APPS | LINUX KVM PLATFORM |
-----------------------------------------
| LINUX KERNEL WITH RT_PREEMPT PATCH |
-----------------------------------------
Now this envisioned architecture is to achieve "Wrapping in of new functionality" around the old application.
For example:
- I would like to take a new linux hardware, like super fast I9 12 Core system.
- Install a Linux based virtual machine on it which emulates the hardware which the legacy application sat on.
Then run the legacy application on that virtualized platform (So the inputs/outputs would still be the same).
Run my new "Amazing App" system directly on the linux kernel.
Now:
- If I set CPU affinity of "linux kvm platform / Legacy Application" to 6 out of 12 cores. (taskset #1)
- Set CPU affinity of "Amazing Apps" to other 6 cores. (taskset #2)
My question is:
How will this affect the real time guarantees of "Legacy Application"? I will install RT_PREEMPT patch, but not sure if this assumes availability of all the CPU cores?