[mythtv-users] Mythbuntu 8.10 and Realtime Priority

James Crow james at ultratans.com
Fri Feb 20 19:52:13 UTC 2009


On Fri, 2009-02-20 at 14:20 -0500, James Crow wrote:
> On Fri, 2009-02-20 at 10:59 -0800, Mark Knecht wrote:
> > On Fri, Feb 20, 2009 at 10:19 AM, James Crow <james at ultratans.com> wrote:
> > > On Fri, 2009-02-20 at 10:03 -0800, Mark Knecht wrote:
<snip>
> 
> The kernel is stock Mythbuntu. Here is the info:
> james at mythbedrm:/boot$ grep
> CONFIG_PREEMPT_RT /boot/config-2.6.27-9-generic 
> james at mythbedrm:/boot$ cat /proc/sys/kernel/sched_rt_period_us 
> 1000000
> james at mythbedrm:/boot$ cat /proc/sys/kernel/sched_rt_runtime_us 
> 950000
> james at mythbedrm:/boot$ 
> 
> The lack of the kernel options in my config file would indicate that I
> am not using a realtime kernel. Does the presence of
> the /proc/sys/kernel/* files indicate some of the RT patches are
> included?
> 
> Thanks,
> James

 I found a RT enabled Ubuntu kernel and installed it. The problem with
it is that it is not SMP. 
james at mythbedrm:~$ grep PREEMPT_RT /boot/config-2.6.27-3-rt 
CONFIG_PREEMPT_RT=y
james at mythbedrm:~$ cat /proc/sys/kernel/sched_rt_period_us 
1000000
james at mythbedrm:~$ cat /proc/sys/kernel/sched_rt_runtime_us 
950000

It would appear that I am definitely running with a RT enabled kernel. I
also have lost one core of my AMD64 x2 CPU.

I started playback of a recording and the output of top showed
mythfrontend with a PR of 20 not RT like some of the kernel threads. The
log file shows that the FE is trying realtime:

2009-02-20 14:47:48.100 Using realtime priority.

Does anyone else have RT and can point out my problem?

Thanks,
James




More information about the mythtv-users mailing list