Re: [Alsa-user] new source of MIDI playback slow-down identified- 5a03b051ed87e72b959f32a86054e1142ac4cf55 thp: use compaction in kswapdfor GFP_ATOMIC order > 0

From: Clemens Ladisch
Date: Wed Feb 23 2011 - 08:49:16 EST


Arthur Marsh wrote:
> Mel Gorman wrote, on 23/02/11 19:45:
> > Unfortunately the original mail is a bit light on details on how this was
> > reproduced and I didn't find a thread with more details. It looks like it's
> > simply playing a midi file while the system is under load but less clear
> > on what the symptoms are (audio skipping maybe?).

The synthesizer hardware continues to generate sound even if the
computer does not update its settings, it's just that the timings are
off. Even a few milliseconds of jitter are audible.

> > I'll start with using irqs-off tracer to see can I replicate
> > a similar style of issue without depending on sound.
>
> Clemens, would this work to identify the problem without relying on a
> device such as a sound card with a wavetable synthesiser or external
> synthesiser receiving MIDI signals from the pc?

Yes (assuming that it is indeed delayed interrupts that cause the
slowdowns, but I see no other mechanism how memory compaction could
affect the sequencer timer). Any other job with realtime constraints
should be similarly affected, but the tracer measures the problem
directly at its source.


Regards,
Clemens
--
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/