Steve Harris wrote:
>
> In ctx mp mode, do all the processes get run with a high priority
> (SCHED_FIFO or whatever), or are they run as normal userland processes?
> They look pretty normal in top:
>
> PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 1461 root 15 0 105M 105M 7092 S 4.3 21.0 47:05 XFree86
> 23676 swh 15 0 1104 1104 840 R 2.7 0.2 0:06 top
> 29956 root 12 0 692 692 560 S 2.5 0.1 0:00 ctx.tmp
> 29960 root 12 0 692 692 560 S 1.9 0.1 0:00 ctx.tmp
> 29958 root 12 0 692 692 560 R 1.5 0.1 0:00 ctx.tmp
> 29955 root 13 0 692 692 560 S 1.3 0.1 0:00 ctx.tmp
> 29959 root 14 0 692 692 560 R 1.1 0.1 0:00 ctx.tmp
> 29929 root 14 0 576 576 520 S 0.9 0.1 0:00 ctx.tmp
> 29961 root 13 0 692 692 560 R 0.9 0.1 0:00 ctx.tmp
> 29962 root 12 0 692 692 564 S 0.9 0.1 0:00 ctx.tmp
> 29957 root 15 0 692 692 560 R 0.5 0.1 0:00 ctx.tmp
> 1472 swh 9 0 3104 3104 2480 S 0.1 0.6 3:00 magicdev
> 1501 swh 9 0 4280 4280 3464 S 0.1 0.8 0:13 deskguide_ap
> 7 root -1 -20 0 0 0 SW< 0.0 0.0 0:00 mdrecoveryd
>
> Theres the "Scheduler set to Round Robin with priority 99..." message, but
> I'm not sure if/how that applies to processes or just threads.
>From man sched_setscheduler:
Child processes inherit the scheduling algorithm and
parameters across a fork.
I hope this is actually true ;-)
--
Abramo Bagnara mailto:[EMAIL PROTECTED]
Opera Unica Phone: +39.546.656023
Via Emilia Interna, 140
48014 Castel Bolognese (RA) - Italy
ALSA project http://www.alsa-project.org
It sounds good!