Subject: RE: [linux-audio-dev] Lots about latency and disk i/o and JACK...
Paul Davis wrote:
Besides the kernel preemption patch and lowlatency patches, does the
From the hdparm man page:
As far as I know, -u1 is safe with all modern hard drive
Torrey
This archive was generated by hypermail 2b28
: Wed Oct 03 2001 - 19:33:20 EEST
From: Torrey Hoffman (torrey.hoffman_AT_myrio.com)
Date: Wed Oct 03 2001 - 19:34:04 EEST
> this is not strictly true. the IDE drivers (and devices) are the worst
> offenders, but they are far the only place in the mainstream kernel
> where the kernel could block a runnable task for a (very) long time.
hdparm command "-u1" help this?
-u Get/set interrupt-unmask flag for the drive. A
setting of 1 permits the driver to unmask other
interrupts during processing of a disk interrupt,
which greatly improves Linux's responsiveness and
eliminates "serial port overrun" errors. Use this
feature with caution: some drive/controller combi
nations do not tolerate the increased I/O latencies
possible when this feature is enabled, resulting in
massive filesystem corruption. In particular,
CMD-640B and RZ1000 (E)IDE interfaces can be unre
liable (due to a hardware flaw) when this option is
used with kernel versions earlier than 2.0.13.
Disabling the IDE prefetch feature of these inter
faces (usually a BIOS/CMOS setting) provides a safe
fix for the problem for use with earlier kernels.\
controllers, and it sounds like it could help latencies related
to IDE quite a bit.