* hdparm...
@ 1999-08-31 8:58 Jair-Rohm
1999-08-31 9:53 ` hdparm Benno Senoner
1999-08-31 12:08 ` hdparm Dave Mielke
0 siblings, 2 replies; 3+ messages in thread
From: Jair-Rohm @ 1999-08-31 8:58 UTC (permalink / raw)
To: linux-sound
[-- Attachment #1: Type: text/plain, Size: 817 bytes --]
High;
I followed a thread for a while concerning mp3 playback performance on Linux boxes. Benno suggested using 'hdparm' to tune EIDE hard disks. I am running Red Hat 6 on a p133 laptop with 16 megs of ram. I use sox, MixViews, Cecilia, snd and BladeEnc for mp3 encoding. My mp3 player is X11Amp. To date, i've not had any problems with resources. Surfing with Netscape while processing a file in Cecilia and having a couple of terms open presents no strain. Things run smoothly. Which leads me to the question, "...hmmm...can things be better?".
The man page for 'hdparm' mentions something about use of the '-m' option potentially resulting in "...massive filesystem corruption." This of course if your EIDE drive "lies" about its support for multiple mode.
Anyone have any experience with this?
Thanks
[-- Attachment #2: Type: text/html, Size: 1427 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: hdparm...
1999-08-31 8:58 hdparm Jair-Rohm
@ 1999-08-31 9:53 ` Benno Senoner
1999-08-31 12:08 ` hdparm Dave Mielke
1 sibling, 0 replies; 3+ messages in thread
From: Benno Senoner @ 1999-08-31 9:53 UTC (permalink / raw)
To: linux-sound
On Tue, 31 Aug 1999, Jair-Rohm wrote:
> >%_High;
>
> I followed a thread for a while concerning mp3 playback performance on Linux boxes. Benno suggested using 'hdparm' to tune EIDE hard disks. I am running Red Hat 6 on a p133 laptop with 16 megs of ram. I use sox, MixViews, Cecilia, snd and BladeEnc for mp3 encoding. My mp3 player is X11Amp. To date, i've not had any problems with resources. Surfing with Netscape while processing a file in Cecilia and having a couple of terms open presents no strain. Things run smoothly. Which leads me to the question, "...hmmm...can things be better?".
> The man page for 'hdparm' mentions something about use of the '-m' option potentially resulting in "...massive filesystem corruption." This of course if your EIDE drive "lies" about its support for multiple mode.
>
> Anyone have any experience with this?
>
> Thanks
>
The problem is not the P133, the problem is the disk.
On a non DMAed disk the kernel must do some busywaiting loops (polling) and
this introduces latencies which are up to 1-2secs, which is bigger than
the audiobuffer size on most soundcards.
x11amp when run as root, runs with realtime privileges, which helps, but can't
avoid the skipping completely in case of heavy disk load.
Just try to do
dd if=/dev/zero of=testfile bs\x1024 count\x100000
(generates a 100MB file)
while playing an mp3 with x11amp,
there will be a skip sometime.
Then try it again on a 2.2.10 kernel with Ingo's lowlatency-2.2.10-N6B patch
(you can find it on my audiopage).
You will not hear skips anymore. (except if your mp3 player use very small
buffers, on my PII I can go as low as 4ms)
About the -m8 flag , the "disk corruption" may happen only on very old drives,
I never had problems with it ranging from old 260MB WD disks to recent IBM 16GB
UDMA drives.
Benno Senoner
E-Mail: sbenno@gardena.net
Linux scheduling latency benchmarks
http://www.gardena.net/benno/linux/audio
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: hdparm...
1999-08-31 8:58 hdparm Jair-Rohm
1999-08-31 9:53 ` hdparm Benno Senoner
@ 1999-08-31 12:08 ` Dave Mielke
1 sibling, 0 replies; 3+ messages in thread
From: Dave Mielke @ 1999-08-31 12:08 UTC (permalink / raw)
To: linux-sound
On Tue, 31 Aug 1999, Jair-Rohm wrote:
>The man page for 'hdparm' mentions something about use of the '-m' option
>potentially resulting in "...massive filesystem corruption." This of course
>if your EIDE drive "lies" about its support for multiple mode.
>
>Anyone have any experience with this?
To get a good answer to this question, you'll have to identify exactly which
type(s) of disk hardware you have. users with well-behaved, truth-telling
hardware will have had good experiences, whereas users with bad, dishonest
hardware will have had bad experiences.
--
Dave Mielke | 856 Grenon Avenue | I believe that the Bible is the
Phone: 1-613-726-0014 | Ottawa, Ontario | Word of God. Please contact me
EMail: dave@mielke.cc | Canada K2B 6G3 | if you're concerned about Hell.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1999-08-31 12:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-08-31 8:58 hdparm Jair-Rohm
1999-08-31 9:53 ` hdparm Benno Senoner
1999-08-31 12:08 ` hdparm Dave Mielke
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox