slow latencies on IDE disk drives( controller? )

Uncle George (gatgul@voicenet.com)
Mon, 26 Mar 2001 06:22:33 -0500


I am processing sound data on /dev/dsp. Generally the ~61k devive buffer
is enough to keep the device satiated && gives the program time to fill
up the device buffer when there is 16k of buffer space that needs to be
filled.

But on occasion the /dev/dsp device "slurrs" ( sounds like what happens
when the speed of a tape recorder slows down due to a finger placed down
on the capstain ) unexpectedly. This was eventually traced to the usage
of an IDE disk drive. using the scsi drive does not cause the problem to
manifest itself( at least my ears say so ). but using "dd if=/dev/hda4
of=/dev/null ) does immediately cause the slurring to happen.

I think I can create a simple pgm to demo this problem, but the DATA
file that gets feed into /dev/dsp is a little large for e-mail.

/gat

-
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/