Re: Issues with Patch: "sched: Improve latencies and throughput"

From: Mike Galbraith
Date: Thu Apr 01 2010 - 01:49:58 EST


On Thu, 2010-04-01 at 00:31 +0200, Michael Grzeschik wrote:
> We are using an arm mx31 embedded cpu with the v2.6.34 Kernelrelease and
> realized some issues with the scheduling behaviour the patch "sched:
> Improve latencies and throughput" [1] by Mike Galbraith introduced to
> the kernel.
>
> When we used the alsa utility aplay to pipe some audio through an
> usbaudio device and put some scheduling overhead on the device, the
> amount of underruns, due to the not fast enough refilled ring buffer,
> was noticable increased with that patch [1] applied. Until we reverse
> applied the patch the amount of underruns was appreciable lower.

Testcase?

> That in fact is the opposite behaviour to its actual meaning.

Not necessarily. NEXT_BUDDY can increase latency for waiters, as can
_not_ pulling a waiter to an idle CPU.


> [1] 0ec9fab3d186d9cbb00c0f694d4a260d07c198d9
>
> mgr

-Mike

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/