[mythtv-users] Mythbuntu 8.10 and Realtime Priority

James Crow james at ultratans.com
Fri Feb 20 16:02:40 UTC 2009


On Thu, 2009-02-19 at 09:45 -0500, James Crow wrote:
<snip>
> 
> top - 09:33:35 up 11:32,  3 users,  load average: 0.51, 0.39, 0.32
> Tasks: 147 total,   1 running, 146 sleeping,   0 stopped,   0 zombie
> Cpu(s): 21.9%us,  1.7%sy,  0.0%ni, 76.2%id,  0.0%wa,  0.0%hi,  0.2%si, 
> Mem:   2056260k total,  2036160k used,    20100k free,    14032k buffer
> Swap:  5654840k total,     5836k used,  5649004k free,  1414004k cached
> 
>   PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND   
>  8477 root      20   0  306m 193m  37m S   29  9.6   0:38.92 Xorg      
>  8693 james     20   0  732m 222m  60m S   23 11.1   5:15.91 mythfronte
>  8606 james     20   0  193m 6176 4288 S    1  0.3   0:00.22 gnome-scre
>  8949 james     20   0 19100 1344  988 R    1  0.1   0:00.20 top       
>     1 root      20   0  5232 2012  608 S    0  0.1   0:00.88 init      
>     2 root      15  -5     0    0    0 S    0  0.0   0:00.00 kthreadd  
>     3 root      RT  -5     0    0    0 S    0  0.0   0:00.00 migration/
>     4 root      15  -5     0    0    0 S    0  0.0   0:00.22 ksoftirqd/
>     5 root      RT  -5     0    0    0 S    0  0.0   0:00.00 watchdog/0
>     6 root      RT  -5     0    0    0 S    0  0.0   0:00.00 migration/
>     7 root      15  -5     0    0    0 S    0  0.0   0:03.48 ksoftirqd/
>     8 root      RT  -5     0    0    0 S    0  0.0   0:00.00 watchdog/1
>     9 root      15  -5     0    0    0 S    0  0.0   0:00.58 events/0  
>    10 root      15  -5     0    0    0 S    0  0.0   0:00.48 events/1  
>    11 root      15  -5     0    0    0 S    0  0.0   0:00.00 khelper   
>    49 root      15  -5     0    0    0 S    0  0.0   0:00.00 kinteg
> 
> 
> 
> and schedtool:
> $ schedtool 8693
> PID  8693: PRIO   0, POLICY N: SCHED_NORMAL  , NICE   0, AFFINITY 0x3
> 

I tried setting the mythfrontend binary SUID. The output from top and
schedtool is identical to what I posted above. The log file shows that
mythfrontend thinks it is using realtime priority. 

On another frontend that is not set to use RT the output from top and
schedtool are the same. Either I am not using RT or I have no way of
telling that I am. Does anyone know a definitve way to tell it
mythfrontend is using realtime priority?

Thanks,
James



More information about the mythtv-users mailing list