[xiph-commits] r15178 - trunk/cdparanoia/paranoia
xiphmont at svn.xiph.org
xiphmont at svn.xiph.org
Wed Aug 13 00:53:13 PDT 2008
Author: xiphmont
Date: 2008-08-13 00:53:13 -0700 (Wed, 13 Aug 2008)
New Revision: 15178
Modified:
trunk/cdparanoia/paranoia/p_block.c
Log:
Increase default read vector size; 600 is modest by modern standards,
and will deal with readahead cache abuse by most drives that sin.
Modified: trunk/cdparanoia/paranoia/p_block.c
===================================================================
--- trunk/cdparanoia/paranoia/p_block.c 2008-08-13 06:30:12 UTC (rev 15177)
+++ trunk/cdparanoia/paranoia/p_block.c 2008-08-13 07:53:13 UTC (rev 15178)
@@ -319,7 +319,7 @@
p->fragments=new_list((void *)&i_vfragment_constructor,
(void *)&i_v_fragment_destructor);
- p->readahead=150;
+ p->readahead=600;
p->sortcache=sort_alloc(p->readahead*CD_FRAMEWORDS);
p->d=d;
p->dynoverlap=MAX_SECTOR_OVERLAP*CD_FRAMEWORDS;
More information about the commits
mailing list