|
willsion
高级用户
   
积分 793
发帖 312
注册 2004-9-2
状态 离线
|
『楼 主』:
[推荐]硬盘缓冲程序qcache果然厉害,读写速度提高5倍多
使用 LLM 解释/回答一下
qcache是一个硬盘缓冲驱动程序,它监听int13,一旦监听到硬盘读写,其缓冲功能立即启用。
我对比了一下加载前后读写时间,其效果非常明显。
有关数据如下:
1、读写的子目录文件大小571M,共594个文件;
2、采用devicehigh=qcache.sys /S5;
3、加载了doslfn以便读写长文件。
拷贝工具 加载前拷贝时间 加载后拷贝时间
xcp v1.63 4分53秒41 47秒94
xxcopy 4分42秒48 44秒16
可见,qcache的效果是非常明显的,如果你在dos下与硬盘打交道较多,建议把qcache驱动放到config.sys里(只占用6K的内存)。
下载连接: http://bbs.wuyou.com/attachment.php?aid=33681
Last edited by willsion on 2008-1-6 at 04:53 PM ]
qcache is a hard disk buffer driver that monitors int13. Once it detects hard disk read/write operations, its buffering function is immediately enabled.
I compared the read/write times before and after loading, and the effect is very obvious.
The relevant data is as follows:
1. The size of the subdirectory files for reading and writing is 571M, with a total of 594 files;
2. Using devicehigh=qcache.sys /S5;
3. Loaded doslfn to read and write long filenames.
Copy tool | Copy time before loading | Copy time after loading
--- | --- | ---
xcp v1.63 | 4 minutes 53 seconds 41 | 47 seconds 94
xxcopy | 4 minutes 42 seconds 48 | 44 seconds 16
It can be seen that the effect of qcache is very obvious. If you deal with the hard disk more under DOS, it is recommended to put the qcache driver in config.sys (it only occupies 6K of memory).
Download link: http://bbs.wuyou.com/attachment.php?aid=33681
Last edited by willsion on 2008-1-6 at 04:53 PM ]
|
|
2008-1-6 16:31 |
|
|
willsion
高级用户
   
积分 793
发帖 312
注册 2004-9-2
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
不能上传附件,奈何?
这是说明:
QCACHE is a DOS hard-disk caching driver. It intercepts DOS "Int 13h"
I-O requests to the BIOS and will cache data for up to 8 hard disks, of
which 4 may be UltraDMA disks. New types with over 128-GB of data are
supported. QCACHE accepts 48-bit LBA mode and 24-bit CHS mode DOS I-O
requests, so it works with new and old DOS systems. QCACHE caches 2.5
to 250 MEGABYTES of disk data! With UltraDMA disks, all possible I-O
is handled through its XMS cache buffers, for better speed and to avoid
"intermediate" main-memory transfers! QCACHE calls the BIOS to handle
I-O for other disks. So, it offers caching to ALL hard-disks on a DOS
system! SATA and other non-UltraDMA disks need only their BIOS logic.
DOS "Int 13h" drivers can load before QCACHE, and it can cache data for
their disks, too!
QCACHE has its own internal UltraDMA logic! Full handling of UltraDMA
or "SATA-to-IDE converted" disks is provided, for use on PC systems and
mainboards with standard UltraDMA chips from Intel, VIA, SIS, ALi, etc.
With its internal UltraDMA logic, QCACHE can run 4 UltraDMA and 4 other
type disks. If /N is given or no UltraDMA disks are found, QCACHE can
disable its UltraDMA logic and then run up to 8 hard disks of any type,
along with their DOS drivers if available. QCACHE uses 3.5K to 10K of
memory depending on the cache size desired. The "driver" is only 2.5K
and the rest is its search table. An XMS manager (QHIMEM or similar)
and 2.5 to 250-MB of XMS memory for a cache are also required. 64K of
this XMS memory is a "main I-O buffer", for user requests not suited to
UltraDMA (misaligned etc.). QCACHE shares this buffer with the QCDROM
driver. See section 4 below, for /S cache sizes and other switches.
QCACHE switch options are as follows:
/386 Specifies a system with an old 80386 or 80486 CPU. Newer CPU
/486 models need no switches. Such old CPUs must do "protected
mode" XMS moves in smaller sections so high-speed interrupts
are not "missed"!
/A Requests use of the old "alternate" EIDE controller addresses.
/A is rarely needed -- see section 7 below for details.
/N Uses NO "internal" UltraDMA logic and permits handling up to 8
hard disks of all models, not 4 UltraDMA and 4 non-UltraDMA.
When /N is specified, or if no UltraDMA disks are found, the
/A and /Q switches will be ignored.
/Q Enables awaiting "data request" before beginning UltraDMA data
transfers. With new SATA-to-IDE adapters by Sabrent, etc.,
/Q must be OMITTED, as such adapters may not emulate a "data
request" from SATA disks! /Q is not needed with most newer
controllers and IDE disks. It is for "old" systems, and it
should be used only if the driver loads O.K. but is not able
to transfer any data.
/Sn Specifies the desired cache size, as follows:
/SS 2.5-MB cache, "tiny" 3.5K driver size, 4K blocks.
/S0 5-MB cache, "tiny" 3.5K driver size, 8K blocks.
/S1 8-MB cache, small 4.5K driver size, 8K blocks.
/S2 16-MB cache, small 4.5K driver size, 16K blocks.
/S3 30-MB cache, medium 6K driver size, 16K blocks.
/S4 60-MB cache, medium 6K driver size, 32K blocks.
/S5 120-MB cache, medium 6K driver size, 64K blocks.
/S6 180-MB cache, large 8K driver size, 64K blocks.
/S7 250-MB cache, "huge" 10K driver size, 64K blocks.
If /S is omitted, /S2 is the default. If not enough memory
for the given /S is found, the largest driver that "fits" in
available memory will be the default. Driver "free memory"
tests demand MS-DOS V5.0 and up. Older DOS systems may use
up to /S2 or 16-MB. With an old V2.0 XMS manager (ROM-DOS,
etc.), the maximum that can be set up is /S3 or 30-MB. /SS
is for "ancient" 4-MB DOS systems and can lose efficiency in
handling today's HUGE files! /S0 or better is recommended.
--- NOTE ---
QCACHE now loads in 4.5K of memory, and its lowest "default"
is the small driver 16-MB cache. QCACHE will NOT set less
than a 16-MB cache, not even by "default", unless ORDERED to
do so by the /SS /S0 /S1 switches! Also, once its cache
size is set, QCACHE has no logic to reconfigure itself again
for not-enough XMS memory. If available XMS cannot support
the given cache size, the driver ABORTS! Users MUST give a
proper /Sn switch, on systems whose XMS memory is "limited"!
Last edited by willsion on 2008-1-6 at 04:35 PM ]
Can't upload attachments, what to do?
Here's the explanation:
QCACHE是一个DOS硬盘缓存驱动程序。它拦截DOS对BIOS的"Int 13h"输入/输出请求,并且可以缓存最多8个硬盘的数据,其中4个可以是UltraDMA硬盘。支持超过128GB数据的新类型。QCACHE接受48位LBA模式和24位CHS模式的DOS输入/输出请求,所以它适用于新旧DOS系统。QCACHE缓存2.5到250兆字节的磁盘数据!对于UltraDMA硬盘,所有可能的输入/输出都通过其XMS缓存缓冲区处理,以获得更好的速度并避免"中间"主内存传输!QCACHE调用BIOS来处理其他磁盘的输入/输出。所以,它为DOS系统上的所有硬盘提供缓存!SATA和其他非UltraDMA硬盘只需要它们的BIOS逻辑。DOS"Int 13h"驱动程序可以在QCACHE之前加载,它也可以缓存它们的磁盘数据!
QCACHE有自己的内部UltraDMA逻辑!提供对UltraDMA或"SATA转IDE转换"硬盘的完全处理,用于带有英特尔、威盛、矽统、扬智等标准UltraDMA芯片的PC系统和主板。凭借其内部UltraDMA逻辑,QCACHE可以运行4个UltraDMA和4个其他类型的硬盘。如果给出/N或者没有找到UltraDMA硬盘,QCACHE可以禁用其UltraDMA逻辑,然后运行最多8个任何类型的硬盘,以及它们的DOS驱动程序(如果有的话)。QCACHE根据所需的缓存大小使用3.5K到10K的内存。"驱动程序"只有2.5K,其余的是它的搜索表。还需要一个XMS管理器(QHIMEM或类似的)和2.5到250MB的XMS内存作为缓存。这个XMS内存中的64K是"主输入/输出缓冲区",用于不适合UltraDMA的用户请求(未对齐等)。QCACHE与QCDROM驱动程序共享这个缓冲区。有关/S缓存大小和其他开关,请参见下面的第4节。
QCACHE的开关选项如下:
/386 指定系统有旧的80386或80486 CPU。较新的CPU型号不需要开关。这样的旧CPU必须在较小的部分中进行"保护模式"XMS移动,以便不会"错过"高速中断!
/486
/A 请求使用旧的"备用"EIDE控制器地址。/A很少需要 - 有关详细信息,请参见下面的第7节。
/N 使用没有"内部"UltraDMA逻辑,并允许处理最多8个所有型号的硬盘,而不是4个UltraDMA和4个非UltraDMA。当指定/N时,或者如果没有找到UltraDMA硬盘,/A和/Q开关将被忽略。
/Q 启用在开始UltraDMA数据传输之前等待"数据请求"。对于Sabrent等的新SATA转IDE适配器,必须省略/Q,因为这样的适配器可能无法模拟SATA硬盘的"数据请求"!/Q对于大多数较新的控制器和IDE硬盘不需要。它适用于"旧"系统,并且只有在驱动程序加载正常但无法传输任何数据时才应使用。
/Sn 指定所需的缓存大小,如下:
/SS 2.5MB缓存,"极小"3.5K驱动程序大小,4K块。
/S0 5MB缓存,"极小"3.5K驱动程序大小,8K块。
/S1 8MB缓存,小4.5K驱动程序大小,8K块。
/S2 16MB缓存,小4.5K驱动程序大小,16K块。
/S3 30MB缓存,中等6K驱动程序大小,16K块。
/S4 60MB缓存,中等6K驱动程序大小,32K块。
/S5 120MB缓存,中等6K驱动程序大小,64K块。
/S6 180MB缓存,大8K驱动程序大小,64K块。
/S7 250MB缓存,"巨大"10K驱动程序大小,64K块。
如果省略/S,/S2是默认值。如果没有足够的内存来容纳给定的/S,那么适合可用内存的最大驱动程序将是默认值。驱动程序"空闲内存"测试需要MS-DOS V5.0及更高版本。较旧的DOS系统最多可以使用/S2或16MB。使用旧的V2.0 XMS管理器(ROM-DOS等),最多可以设置到/S3或30MB。/SS适用于"古老的"4MB DOS系统,并且在处理当今的巨大文件时可能会失去效率!建议使用/S0或更好的。
--- 注意 ---
QCACHE现在在4.5K内存中加载,并且其最低"默认值"是小驱动程序16MB缓存。QCACHE不会设置小于16MB的缓存,甚至不会通过"默认值"设置,除非通过/SS /S0 /S1开关命令这样做!此外,一旦其缓存大小设置,QCACHE没有逻辑再次为不足的XMS内存重新配置自己。如果可用XMS无法支持给定的缓存大小,驱动程序将中止!用户必须在XMS内存"有限"的系统上给出适当的/Sn开关!
Last edited by willsion on 2008-1-6 at 04:35 PM ]
|
|
2008-1-6 16:32 |
|
|
xing7749
高级用户
    文盲
积分 833
发帖 349
注册 2004-1-26
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
看起來不错,不过现在用DOS不多了
It looks good, but not many people use DOS nowadays
|
|
2008-1-6 19:45 |
|
|
tangtai
高级用户
   
积分 640
发帖 314
注册 2006-8-13
状态 离线
|
『第 4 楼』:
使用 LLM 解释/回答一下
我一直在用,感觉绝对值得推荐!!!
I've been using it all the time, and I definitely feel it's worth recommending!!!
|
|
2008-1-6 19:51 |
|
|
shim
初级用户
 
积分 85
发帖 73
注册 2007-9-23
状态 离线
|
|
2008-1-7 23:26 |
|
|
bush
银牌会员
    
积分 2165
发帖 730
注册 2004-4-21
状态 离线
|
|
2008-1-8 01:06 |
|
|
admiral
初级用户
 
积分 40
发帖 16
注册 2007-10-2
状态 离线
|
|
2008-1-8 18:35 |
|
|
willsion
高级用户
   
积分 793
发帖 312
注册 2004-9-2
状态 离线
|
『第 8 楼』:
使用 LLM 解释/回答一下
Originally posted by admiral at 2008-1-8 06:35 PM:
看起来不错
用起来更不错。:lol::lol:
Originally posted by admiral at 2008-1-8 06:35 PM:
It looks good
It works even better. :lol::lol:
|
|
2008-1-8 19:10 |
|
|
tmt2006
初级用户
 
积分 135
发帖 49
注册 2006-4-28
状态 离线
|
『第 9 楼』:
使用 LLM 解释/回答一下
对于现在的主板基本上没有作用:启动后已经支持MDA模式读取了,我试过GHOST11的CHECK DISK(整盘测试)功能,速度基本上没有差别。
硬件:映泰945GC主板+80G希捷10代SATA+20G MAXTOR IDE。
我也不知道是不是硬件个体问题,希望大家多上测试报告。
It has basically no effect on current motherboards: after booting, MDA mode reading is already supported. I tried the CHECK DISK (full disk test) function of GHOST 11, and the speed is basically no different.
Hardware: Biostar 945GC motherboard + 80G Seagate 10th generation SATA + 20G MAXTOR IDE.
I don't know if it's a hardware individual problem. I hope everyone will submit more test reports.
|
|
2008-1-13 15:53 |
|
|
willsion
高级用户
   
积分 793
发帖 312
注册 2004-9-2
状态 离线
|
『第 10 楼』:
使用 LLM 解释/回答一下
Originally posted by tmt2006 at 2008-1-13 03:53 PM:
对于现在的主板基本上没有作用:启动后已经支持MDA模式读取了,我试过GHOST11的CHECK DISK(整盘测试)功能,速度基本上没有差别。
硬件:映泰945 ...
建议作实际读写的测试,如果不作xcp或xxcopy的测试,也可以直接copy一个大文件看看。
另外,支持DMA和硬盘缓存似乎不能画上等号的。
Last edited by willsion on 2008-1-13 at 04:56 PM ]
Originally posted by tmt2006 at 2008-1-13 03:53 PM:
It basically has no effect on current motherboards: after booting, MDA mode reading is already supported. I tried the CHECK DISK (full disk test) function of GHOST 11, and the speed is basically no different.
Hardware: Biostar 945...
It is recommended to conduct actual read-write tests. If you don't do xcp or xxcopy tests, you can also directly copy a large file to see.
In addition, supporting DMA and hard disk cache do not seem to be equivalent.
Last edited by willsion on 2008-1-13 at 04:56 PM ]
|
|
2008-1-13 16:55 |
|
|
secowu
初级用户
 
积分 201
发帖 92
注册 2005-12-28
状态 离线
|
『第 11 楼』:
使用 LLM 解释/回答一下
XCP 1.63 下载不到,能否提供个上来?
Can't download XCP 1.63. Can you provide one?
|
|
2008-3-1 19:57 |
|
|
willsion
高级用户
   
积分 793
发帖 312
注册 2004-9-2
状态 离线
|
『第 12 楼』:
使用 LLM 解释/回答一下
Originally posted by secowu at 2008-3-1 07:57 PM:
XCP 1.63 下载不到,能否提供个上来?
论坛无法上传附件,抱歉。
Originally posted by secowu at 2008-3-1 07:57 PM:
XCP 1.63 is not downloadable. Can you provide one?
The forum cannot upload attachments, sorry.
|
|
2008-3-10 19:46 |
|
|
woo88
初级用户
 
积分 188
发帖 96
注册 2008-3-11
状态 离线
|
|
2008-3-12 15:43 |
|
|
zxcfghyui
新手上路

积分 12
发帖 5
注册 2008-3-12
状态 离线
|
|
2008-3-12 18:03 |
|
|
nipo
中级用户
  
积分 228
发帖 106
注册 2008-4-26
状态 离线
|
『第 15 楼』:
使用 LLM 解释/回答一下
@echo off
echo.
rem 本批处理程序是用于将DOS加速程序qcache.sys文件拷贝到系统目录下并加载到CONFIG.SYS中
rem 请检查qcache.sys文件是否已经放在同级目录下
xcopy /i /r /y QCACHE.SYS %windir%\system32\
if exist CONFIG.SYS del /q CONFIG.SYS
echo.
::制作临时CONFIG.SYS文件
echo devicehigh=%windir%\system32\qcache.sys /S5>CONFIG.SYS
echo.
::取消只读、系统、隐藏属性
attrib -R -S -H c:\CONFIG.SYS
echo.
::替换CONFIG.SYS文件
replace /R CONFIG.SYS c:\
echo.
::设置只读、系统、隐藏属性
attrib +R +S +H c:\CONFIG.SYS
echo.
echo.
::完成后检视一下
DIR /ah c:\CONFIG.SYS
pause>nul
@echo off
echo.
rem This batch program is used to copy the DOS acceleration program qcache.sys file to the system directory and load it into CONFIG.SYS
rem Please check if the qcache.sys file is already in the same directory
xcopy /i /r /y QCACHE.SYS %windir%\system32\
if exist CONFIG.SYS del /q CONFIG.SYS
echo.
::Make a temporary CONFIG.SYS file
echo devicehigh=%windir%\system32\qcache.sys /S5>CONFIG.SYS
echo.
::Remove read-only, system, hidden attributes
attrib -R -S -H c:\CONFIG.SYS
echo.
::Replace CONFIG.SYS file
replace /R CONFIG.SYS c:\
echo.
::Set read-only, system, hidden attributes
attrib +R +S +H c:\CONFIG.SYS
echo.
echo.
::Check after completion
DIR /ah c:\CONFIG.SYS
pause>nul
|
|
2008-5-22 19:33 |
|