I'm developing an application which is supposed to run in real-time on a dedicated cabinet of machines.
I'm having trouble actually meeting realtime as the execution time is occasionally longer than the allotted iteration period. I've been trying to ween the code, but then I noticed the "real-time" priority for processes. Is this something that I can use to my advantage? What is it?
When I run it on a test-bench with VMWare simulating other machines in the cabinet, the communication gets completely lost, so it's not something that I can use in this environment, but I'm curious if it'll make a difference in the full enviornment.
I'm using Windows Server 2003 if that makes a difference.
If I remember correctly, the "real-time" priority for processes is the highest priority that a process can have. If your execution is being pre-empted by other process's, then this may help but may have a detrimental effect (I have a feeling that timer interrupts are ignored while this process is active).
You might want to look at Multimedia Class Scheduler Service
and this may be of interest also