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 am looking to do some C programming in 12.10 and require a real time kernel for what I need to do.

Ideally, I'm looking to be able to run this in VirtualBox, with guest additions installed. Can anyone advise me on how to achieve this?

What's the best option available in terms of RT kernels ?

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

First consider the linux-lowlatency kernel. It's easily available (just install that package and boot to it) and recieves updates. It's built around the generic kernel with configuration tuned to lower latency. This is a soft-real-time kernel.

Given things are going through abstration layers for virtualisation, it's unlikely that the whole stack will be realtime anyway so personally I'd say soft-rt is fine.


If you want to pursue a true realtime system, you're going to have to build your own kernel. All the PPAs appear to have dried up. It's not hard - it's just slightly painful.

Patches aren't available for every version of the kernel but you'll find them here:

I'd also suggest building from the vanilla source instead of hacking a patch onto the end of the standard Ubuntu kernel. If I were doing this, I'd be following this guide:

share|improve this answer
add comment

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.