1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-11 08:37:59 +00:00

too big readahead can be bad

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8497 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
gabucino 2002-12-19 21:35:30 +00:00
parent a099f6cf8c
commit 7f8c98cd7b

View File

@ -42,6 +42,8 @@
<P>&nbsp;&nbsp;&nbsp;&nbsp;<CODE>echo file_readahead:2000000 &gt; /proc/ide/[cdrom device]/settings</CODE></P>
<P>This sets prefetched file reading to 2MB, which helps with scratched CD-ROMs.
If you set it to too high, the drive will continuously spin up and down, and
will dramatically decrease the performance.
It is recommended that you also tune your CD-ROM drive with hdparm:</P>
<P>&nbsp;&nbsp;&nbsp;&nbsp;<CODE>hdparm -d1 -a8 -u1 (cdrom device)</CODE></P>