|
xybin
初级用户
 
积分 103
发帖 1
注册 2003-6-7
状态 离线
|
『楼 主』:
smartdrv命令是什么意思?
使用 LLM 解释/回答一下
smartdrv命令是什么意思?
What does the smartdrv command mean?
|
|
2003-6-7 00:00 |
|
|
yykbyykb
初级用户
 
积分 185
发帖 26
注册 2003-6-7
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
磁盘缓冲内存,使用它可以把磁盘上的内容提前读进内存,当要用到这些内容的时候,就可以从内存里直接读取,而不用到磁盘去读,这样就加快了读取速度。此外,还有写缓冲,也就是把要写进磁盘的内容先放在内存里,再集中写到磁盘里,避免多次写磁盘,这样可以提高系统的效率。
为什么要把磁盘的内容放到内存里呢?
因为内存的读写速度大大高于磁盘的读写速度。
Disk buffer memory can be used to pre-read the content on the disk into the memory. When these contents are needed, they can be read directly from the memory instead of reading from the disk, which speeds up the reading speed. In addition, there is write buffer, that is, the content to be written to the disk is first placed in the memory and then written to the disk集中ly, avoiding multiple writes to the disk, which can improve the efficiency of the system.
Why put the content of the disk into the memory?
Because the reading and writing speed of the memory is much higher than that of the disk.
|
|
2003-6-7 00:00 |
|
|
幻虫
中级用户
  
积分 226
发帖 31
注册 2003-6-4
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
可是他怎么知道要把磁盘上的哪些内容读进内存呢?????
如果读进去的不是我想用的,那不是白白浪费内存吗?
But how does he know which contents on the disk should be read into memory?????? If what is read in is not what I want to use, isn't that a waste of memory for nothing?
|
|
2003-6-7 00:00 |
|
|
yykbyykb
初级用户
 
积分 185
发帖 26
注册 2003-6-7
状态 离线
|
『第 4 楼』:
使用 LLM 解释/回答一下
这里涉及到一些算法,我也不懂。不过有些是容易理解的,比如说A文件放在10个镞(?怎么发音,我打不出来)上,B文件放在8个镞上,这两个文件在磁盘上的位置是相邻的。我们先打开A,又打开B。如果让系统自己去读,它就会先读A,等我们要打开B了,才去读B。但smartdrv就会把A和B都读进内存里,这样我们打开A的速度可能不会快多少,但打开B就会快很多了。
你可以做个试验:
用DOS启动盘启动后,打如下命令:
cd\
回车
dir/s
回车
这时系统会列出本目录下的所有非隐藏文件,请计算一下所需的时间;
然后运行smartdrv,打如上面的命令:
cd\
回车
dir/s
回车
计算一下时间,是不是比没运行smartdrv时快多了?
Here are some algorithms involved, and I don't understand them either. But some are easy to understand. For example, file A is placed on 10 clusters (I don't know how to pronounce "簇" exactly; I can't type it out), and file B is placed on 8 clusters. The positions of these two files on the disk are adjacent. We first open A and then open B. If the system reads by itself, it will read A first, and only when we are about to open B will it read B. But smartdrv will load both A and B into memory. In this way, the speed of opening A may not be much faster, but the speed of opening B will be much faster.
You can do an experiment:
Boot with a DOS boot disk, then type the following commands:
cd\
Press Enter
dir/s
Press Enter
At this time, the system will list all non-hidden files in this directory. Calculate the time required;
Then run smartdrv, type the above command:
cd\
Press Enter
dir/s
Press Enter
Calculate the time. Is it much faster than when smartdrv is not run?
|
|
2003-6-8 00:00 |
|
|
dengguo
初级用户
 
积分 128
发帖 6
注册 2003-6-8
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
怎樣在DOS啓動盤中加載smartdrv,好像我在安裝WIN2000時直接在硬盤安裝,那個速度比螞蟻還慢,用光盤就快多了
How to load smartdrv in a DOS boot disk. It seems that when I installed WIN2000 directly from the hard disk, the speed was slower than a snail, but it was faster with the CD-ROM.
|
|
2003-6-8 00:00 |
|
|
mys
元老会员
        
积分 5170
发帖 1637
注册 2002-10-16 来自 广东佛山
状态 离线
|
『第 6 楼』:
使用 LLM 解释/回答一下
这是因为WIN2000的启动光盘使用了类似的缓冲技术。几年前我在DOS下进入光盘安装WIN2000测试版(中国计算机报送的),一共装了7个多小时。
SMARTDRV.EXE可以从WIN98/95中安装文件中得到,把它放入启动盘,就可用SMARTDRV命令加载。也可写入autoexec.bat 中。
This is because the startup CD of WIN2000 uses a similar buffering technology. A few years ago, I entered the CD to install the WIN2000 beta version (reported by China Computer) under DOS, and it took a total of more than 7 hours to install.
SMARTDRV.EXE can be obtained from the installation files of WIN98/95. Put it into the boot disk, and you can load it with the SMARTDRV command. It can also be written into autoexec.bat.
|

我的网志
http://hzmys.blog.163.com/
我的网盘
firststep.qjwm.com
fsmys.ys168.com
ssmys.ys168.com
www.brsbox.com/fsmys
www.brsbox.com/ssmys
www.brsbox.com/ccdos
|
|
2003-6-8 00:00 |
|