Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I read that using a Linux kernel (Ubuntu rt kernel) was able to increase the response time of a Java application by 4x.

My only problem is that I must run a program that only has a Windows installation on the same machine.

My question is: Will running a rt kernel through a virtual machine on the Windows box completely defeat the purpose of using the rt kernel?

Thanks, Matt

share|improve this question

1 Answer 1

up vote 2 down vote accepted

Will running a rt kernel through a virtual machine on the windows box completely defeat the purpose of using the rt kernel?

Yes.

The VM itself is competing for real CPU time/priority. The RT scheduling will have no major effect.

If you're desperate and you can, flip the problem: Install Ubuntu on bare metal and run Windows in VirtualBox.

share|improve this answer
    
Thanks for the answer Oli. The windows program interacts with the java program by mouse. Is WINE an viable idea for running the windows program, will the windows program in wine be able to interact by mouse with the java program running on linux? –  user10403 Feb 8 '11 at 1:04
    
How do you mean by interacting by mouse? The Windows program sends mouse events directly to the java app? That could cause issues with both VM and WINE ideas. –  Oli Feb 8 '11 at 1:22
    
Not directly, it actually moves the mouse on the screen and clicks like a user would. I'm thinking of just running some tests. What version of a linux realtime kernel would you suggest a newbie install as dual boot for now? –  user10403 Feb 8 '11 at 1:42

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.