SCHED_ULE problem: slow single processor, realtime prio vs network stack

Jeff Roberson jroberson at jroberson.net
Thu Aug 21 07:47:57 UTC 2008


On Tue, 19 Aug 2008, Andrew Reilly wrote:

> On Mon, Aug 18, 2008 at 10:00:12PM -1000, Jeff Roberson wrote:
>> Can you tell me what % cpu the audio application uses while running?  Have
>> you tried nice -20 instead of rtprio?
>
> It's currently using about 10%, maybe a bit more.  I expect
> it to get heavier as I add more to it.  I have hopes of it
> continuing to work even at 60 to 80% of CPU.
>
> I haven't tried nice -20 because I don't want the priority to
> drift or change, which is something that I thought the normal
> levels did.  I'll give it a go though, and report back.

With such a low cpu utilization I wouldn't expect it's the scheduling 
algorithm.  It may be a difference in preemption settings.  Is preemption 
enabled in both kernels?

Jeff

>
> Cheers,
>
> Andrew
>


More information about the freebsd-arch mailing list