中国DOS联盟论坛

中国DOS联盟

-- 联合DOS 推动DOS 发展DOS --
联盟域名:www.cn-dos.net 论坛域名:www.cn-dos.net/forum
游客 | 登录 | 注册 | 会员 | 搜索 | 中国DOS联盟
中国DOS联盟论坛
现在时间是 2026-09-15 06:52
47,812 主题排行 / 349,917 发帖 / 今日 0 篇 / 48,268 会员排行
DOS软件下载 & 游戏分享 (下载室) » [推荐]硬盘缓冲程序qcache果然厉害,读写速度提高5倍多
可打印版本  5,318 / 15
第1楼 willsion 发表于 2008-01-06 16:31
高级用户 发帖 312 积分 793
[推荐]硬盘缓冲程序qcache果然厉害,读写速度提高5倍多
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 ]
第2楼 willsion 发表于 2008-01-06 16:32
高级用户 发帖 312 积分 793
不能上传附件,奈何?

这是说明:
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 ]
第3楼 xing7749 发表于 2008-01-06 19:45
高级用户 发帖 349 积分 833
看起來不错,不过现在用DOS不多了
第4楼 tangtai 发表于 2008-01-06 19:51
等待验证用户 发帖 314 积分 640
我一直在用,感觉绝对值得推荐!!!
第5楼 shim 发表于 2008-01-07 23:26
初级用户 发帖 73 积分 85
不错,下来看看
第6楼 bush 发表于 2008-01-08 01:06
银牌会员 发帖 730 积分 2,165

收藏,需要的時候再用
第7楼 admiral 发表于 2008-01-08 18:35
初级用户 发帖 16 积分 40
看起来不错,下载一个!
第8楼 willsion 发表于 2008-01-08 19:10
高级用户 发帖 312 积分 793
Originally posted by admiral at 2008-1-8 06:35 PM:
看起来不错

用起来更不错。:lol::lol:
第9楼 tmt2006 发表于 2008-01-13 15:53
初级用户 发帖 49 积分 135
对于现在的主板基本上没有作用:启动后已经支持MDA模式读取了,我试过GHOST11的CHECK DISK(整盘测试)功能,速度基本上没有差别。
硬件:映泰945GC主板+80G希捷10代SATA+20G MAXTOR IDE。

我也不知道是不是硬件个体问题,希望大家多上测试报告。
第10楼 willsion 发表于 2008-01-13 16:55
高级用户 发帖 312 积分 793
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 ]
第11楼 secowu 发表于 2008-03-01 19:57
初级用户 发帖 92 积分 201
XCP 1.63 下载不到,能否提供个上来?
第12楼 willsion 发表于 2008-03-10 19:46
高级用户 发帖 312 积分 793
Originally posted by secowu at 2008-3-1 07:57 PM:
XCP 1.63 下载不到,能否提供个上来?

论坛无法上传附件,抱歉。
第13楼 woo88 发表于 2008-03-12 15:43
初级用户 发帖 96 积分 188
好东西
第14楼 zxcfghyui 发表于 2008-03-12 18:03
新手上路 发帖 5 积分 12
怎么加载在config里面?
第15楼 nipo 发表于 2008-05-22 19:33
中级用户 发帖 106 积分 228
@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
1 2  下一页
[ 联系联盟系统管理团队 - 中国DOS联盟 - 标准版 ]
Sponsored by ifanr Inc | © 2001–2023