China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-09-15 06:29
中国DOS联盟论坛 » DOS软件下载 & 游戏分享 (下载室) » [Recommendation] The hard disk buffer program qcache is really powerful, with the reading and writing speed increased by more than 5 times View 5,311 Replies 15
Original Poster Posted 2008-01-06 16:31 ·  中国 广东 深圳 龙岗区 电信
高级用户
★★★
Credits 793
Posts 312
Joined 2004-09-02 00:00
22-year member
UID 31104
Gender Male
Status Offline
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 ]
Floor 2 Posted 2008-01-06 16:32 ·  中国 广东 深圳 龙岗区 电信
高级用户
★★★
Credits 793
Posts 312
Joined 2004-09-02 00:00
22-year member
UID 31104
Gender Male
Status Offline
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 ]
Floor 3 Posted 2008-01-06 19:45 ·  中国 北京 海淀区 联通
高级用户
★★★
文盲
Credits 833
Posts 349
Joined 2004-01-26 00:00
22-year member
UID 16118
Gender Male
Status Offline
It looks good, but not many people use DOS nowadays
Floor 4 Posted 2008-01-06 19:51 ·  中国 河南 许昌 联通
等待验证用户
★★★
Credits 640
Posts 314
Joined 2006-08-13 17:20
20-year member
UID 60432
Gender Male
Status Offline
I've been using it all the time, and I definitely feel it's worth recommending!!!
Floor 5 Posted 2008-01-07 23:26 ·  中国 陕西 西安 电信
初级用户
★★
Credits 85
Posts 73
Joined 2007-09-23 23:00
18-year member
UID 98146
Gender Male
Status Offline
Not bad, come down and have a look
Floor 6 Posted 2008-01-08 01:06 ·  中国 重庆 电信
银牌会员
★★★
Credits 2,165
Posts 730
Joined 2004-04-21 00:00
22-year member
UID 22966
Gender Male
Status Offline
Collect it, use it when needed
Floor 7 Posted 2008-01-08 18:35 ·  中国 甘肃 白银 电信
初级用户
Credits 40
Posts 16
Joined 2007-10-02 10:39
18-year member
UID 98758
Gender Male
Status Offline
It looks good, download one!
Floor 8 Posted 2008-01-08 19:10 ·  中国 广东 深圳 福田区 电信
高级用户
★★★
Credits 793
Posts 312
Joined 2004-09-02 00:00
22-year member
UID 31104
Gender Male
Status Offline
Originally posted by admiral at 2008-1-8 06:35 PM:
It looks good

It works even better. :lol::lol:
Floor 9 Posted 2008-01-13 15:53 ·  中国 广东 广州 广州恒汇网络通信有限公司
初级用户
Credits 135
Posts 49
Joined 2006-04-28 10:01
20-year member
UID 54589
Status Offline
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.
Floor 10 Posted 2008-01-13 16:55 ·  中国 广东 深圳 龙岗区 电信
高级用户
★★★
Credits 793
Posts 312
Joined 2004-09-02 00:00
22-year member
UID 31104
Gender Male
Status Offline
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 ]
Floor 11 Posted 2008-03-01 19:57 ·  中国 广东 东莞 电信
初级用户
★★
Credits 201
Posts 92
Joined 2005-12-28 17:44
20-year member
UID 48072
Status Offline
Can't download XCP 1.63. Can you provide one?
Floor 12 Posted 2008-03-10 19:46 ·  中国 广东 深圳 龙岗区 电信
高级用户
★★★
Credits 793
Posts 312
Joined 2004-09-02 00:00
22-year member
UID 31104
Gender Male
Status Offline
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.
Floor 13 Posted 2008-03-12 15:43 ·  中国 广东 深圳 福田区 电信
初级用户
★★
Credits 188
Posts 96
Joined 2008-03-11 00:59
18-year member
UID 112592
Gender Male
Status Offline
Good stuff
Floor 14 Posted 2008-03-12 18:03 ·  中国 河南 郑州 联通
新手上路
Credits 12
Posts 5
Joined 2008-03-12 17:16
18-year member
UID 112760
Gender Male
Status Offline
How to load it in config?
Floor 15 Posted 2008-05-22 19:33 ·  中国 辽宁 锦州 联通
中级用户
★★
Credits 228
Posts 106
Joined 2008-04-26 12:34
18-year member
UID 117003
Gender Male
Status Offline
@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
Forum Jump: