public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Zenaan Harkness <zen@getsystems.com>
To: Paul Davis <pbd@Op.Net>
Cc: alsa-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org
Subject: Re: [Alsa-devel] Re: Playback stutters - Correction
Date: Wed, 20 Mar 2002 16:48:38 +1100	[thread overview]
Message-ID: <20020320164838.A32243@getsystems.com> (raw)
In-Reply-To: <20020320150503.A31328@getsystems.com> <200203200412.XAA07872@renoir.op.net> <20020320163214.A31970@getsystems.com>

On Wed, Mar 20, 2002 at 04:32:15PM +1100, Zenaan Harkness wrote:
> On Tue, Mar 19, 2002 at 11:15:12PM -0500, Paul Davis wrote:
> > >I am getting the same with stock 2.4.18, DELL Inspiron laptop (Maestro
> > >3i), my test is:
> > >
> > >copy a cd image file from one partition to another, while trying to play
> > >an mp3 using mpg123.
> > >
> > >The mp3 skips all over the place.
> > 
> > since you almost certainly have IDE drivers, have you configured them
> > correctly using hdparm? these are source of considerable scheduling
> > latency, in ways that AFAIK are not improved by any of the "latency
> > reducing" patches available. don't ask me how to configure them - i
> > only use SCSI drives - but a quick google search should reveal
> > relevant advice.
> 
> thanks
> 
> hdparm improves the situation, but I still get some (minimal) skips now:
> 
> zen8100a:~# hdparm /dev/hda
> 
> /dev/hda:
>  multcount    = 16 (on)
>  I/O support  =  1 (32-bit)
>  unmaskirq    =  1 (on)
>  using_dma    =  1 (on)
>  keepsettings =  0 (off)
>  nowerr       =  0 (off)
>  readonly     =  0 (off)
>  readahead    =  8 (on)
>  geometry     = 7296/255/63, sectors = 117210240, start = 0
>  busstate     =  1 (on)
> 
> 
> My current 'test':
>  - playing an mp3
>  - running make clean && make bzImage
>  - copying a cd image between two partitions
>  - loading up the odd application (eg. mozilla)
> 
> With hdparm settings I've tried:
>  - 2.4.18 + preempt + lockbreak
>  - 2.4.18 + lowlatency
>  - 2.4.19-pre3-ac3 + preempt
> 
> These seem to all give the same minimal skips with above activities.
> 
> No skips with only the kernel compile (not doing the large copy).

CORRECTION:
Just retested with full hdparm (added -u setting) settings on
2.4.19-pre3-ac+preempt, and no skipping with above activities. This
seems pretty good.

I could generate skips when switching from X to text console. Could not
generate skip when cycling virtual desktops within X (at high key repeat
rate). Again this seems pretty good.

thanks
zen

  reply	other threads:[~2002-03-20  5:49 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-20  4:05 Playback stutters Zenaan Harkness
2002-03-20  4:08 ` Zenaan Harkness
2002-03-20  4:15 ` [Alsa-devel] " Paul Davis
2002-03-20  5:32   ` Zenaan Harkness
2002-03-20  5:48     ` Zenaan Harkness [this message]
2002-03-20  8:06       ` [Alsa-devel] Re: Playback stutters - Correction Paul Davis
2002-03-20 23:18         ` Zenaan Harkness

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=20020320164838.A32243@getsystems.com \
    --to=zen@getsystems.com \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pbd@Op.Net \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox