Re: [Alsa-devel] Re: Playback stutters

From: Zenaan Harkness (zen@getsystems.com)
Date: Wed Mar 20 2002 - 00:32:15 EST


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).

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



This archive was generated by hypermail 2b29 : Sat Mar 23 2002 - 22:00:20 EST