Can Support Realtime OS?

Laurance

New Member
Aug 15, 2023
2
0
1
Can Proxmox VE support Realtime OS? such as FreeRTOS, RTLinux, RT_Thread, or windows RTX?
If it can, what special configuration or change need?Thanks
 
Added: Can I run RT Linux virtual machines from PVE? What conditions or Settings are required?
 
Real-time usually implies complete control of everything to guarantee deadlines and virtualization is exactly the opposite of that. I assume it will run in a VM (just try it?), but I'm not sure what you will get from it that you won't get from other Linuxes (as real-time goes out the window). But I have no experience with this, so maybe that is why I don't really understand the question.
 
  • Like
Reactions: BobhWasatch
I have a similar request. I'm trying to get a robot programming software to run. It is KUKA OfficeLite and being distributed via VM for Hyper-V. In Hyper-V it appears to be working but for safety reasons we don't want to rely on Hyper-V. I successfully converted the vmdx and got it to start up, but after booting and initializing the OS it tries to start the software and fails to initiate a connection and closes. Problem is that the real time OS inside the VM can't communicate correctly and fails to synchronize data streams. VMware Workstation did work for some time but produces the same Problem now.
I am not very experienced with Proxmox and would like to know what I am supposed to do to get PVE to running the VM as closely to Hyper-V if that is even remotely possible.
 
Answering because I do a bit of real-time programming in my day job...

@leesteken is correct. Nothing is actually real-time in a VM since it is just another Linux process. The only real-time in that context is with respect to the VM's clock, which may have arbitrary amounts of jitter with reference to the outside world. It might work for development purposes but I would not rely on real-time in a VM for anything production, at least not without doing a lot of characterization. There are trade-offs that depend a lot on the application requirements.

For example, at my job I've been working with some customers that would like to do this very thing for a fairly complex signal-processing application. The answer we are converging on is to re-architect the solution to change the hard real-time deadlines into throughput requirements + much looser deadlines that un-patched Linux can meet. Then we live with the extra latency that will cause. For a lot of multimedia-type things (speaking very broadly) that approach will work, but not necessarily for other things.

@j.tagscherer I don't know that you can make Proxmox look enough like Hyper-V to make their software work. I think you'd need to know a lot of details about what the vendor's requirements are and work from there. A quick glance at the web site makes it look like the SW isn't hard real-time but probably does need specific behaviors from the serial port or something like that. That said, if this is for a deliverable product not following the vendor's recommendation would be a bad plan IMO.
 
Answering because I do a bit of real-time programming in my day job...

@leesteken is correct. Nothing is actually real-time in a VM since it is just another Linux process. The only real-time in that context is with respect to the VM's clock, which may have arbitrary amounts of jitter with reference to the outside world. It might work for development purposes but I would not rely on real-time in a VM for anything production, at least not without doing a lot of characterization. There are trade-offs that depend a lot on the application requirements.

For example, at my job I've been working with some customers that would like to do this very thing for a fairly complex signal-processing application. The answer we are converging on is to re-architect the solution to change the hard real-time deadlines into throughput requirements + much looser deadlines that un-patched Linux can meet. Then we live with the extra latency that will cause. For a lot of multimedia-type things (speaking very broadly) that approach will work, but not necessarily for other things.

@j.tagscherer I don't know that you can make Proxmox look enough like Hyper-V to make their software work. I think you'd need to know a lot of details about what the vendor's requirements are and work from there. A quick glance at the web site makes it look like the SW isn't hard real-time but probably does need specific behaviors from the serial port or something like that. That said, if this is for a deliverable product not following the vendor's recommendation would be a bad plan IMO.
Thanks, I totally agree with you and would prefer to just use Hyper-V and be done with it but my boss had some security concerns and wanted an evaluation. suffice to say it won't cover this specific application.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!