All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arthur Marsh <arthur.marsh@internode.on.net>
To: Clemens Ladisch <clemens@ladisch.de>
Cc: alsa-devel@alsa-project.org
Subject: Re: MIDI playback not keeping steady time with recent kernels
Date: Wed, 09 Feb 2011 11:21:26 +1030	[thread overview]
Message-ID: <4D51E50E.8000703@internode.on.net> (raw)
In-Reply-To: <4D5163D8.8010708@ladisch.de>



Clemens Ladisch wrote, on 09/02/11 02:10:
> Arthur Marsh wrote:
>> OK, I applied this patch.
>>
>> When the MIDI file was playing:
>> I still experienced some slow-down and speed-up under heavy load.
>
> Is "some" less than previously?

The amount of slow-down appears to be less than previously.

>
> It shouldn't be possible to get a speed-up; this looks as if your
> computer's clock is not stable.  Are you using an NTP daemon?

To clarify, the speed-up is back to original tempo, and yes I'm using an 
NTP daemon. There has been an issue of the pc not keeping accurate time 
under GNU/Linux even with ntpd running and using an NTP server a few 
hops away.

>
> What kind of heave load is this?  Does the same happen if you execute
> "yes | tail" in a shell?

The load when I experienced this problem was about 4 or 5, and mainly 
seemed to be tied to activities that caused swapping (e.g. running 
aptitude -u when other applications were using all available memory and 
some swap).

After quitting some applications so that there was no swapping going on 
(kswapd0 showing 0.0 cpu), the MIDI file played fine, even with 
"yes|tail" running.

Adding aptitude -u to the mix, which resulted in kswapd0 running at 4 to 
10 percent cpu, caused a slow-down.


>
>
> Regards,
> Clemens
>

Thanks again,

Arthur.

      reply	other threads:[~2011-02-09  0:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <559v18-575.ln1@ppp121-45-136-118.lns11.adl6.internode.on.net>
     [not found] ` <bma128-mok.ln1@ppp121-45-136-118.lns11.adl6.internode.on.net>
     [not found]   ` <elo128-8u4.ln1@ppp121-45-136-118.lns11.adl6.internode.on.net>
     [not found]     ` <11c228-725.ln1@ppp121-45-136-118.lns11.adl6.internode.on.net>
2011-02-08 11:53       ` MIDI playback not keeping steady time with recent kernels Clemens Ladisch
2011-02-08 15:19         ` Arthur Marsh
2011-02-08 15:40           ` Clemens Ladisch
2011-02-09  0:51             ` Arthur Marsh [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D51E50E.8000703@internode.on.net \
    --to=arthur.marsh@internode.on.net \
    --cc=alsa-devel@alsa-project.org \
    --cc=clemens@ladisch.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.