ReadFile 1.10 - http://ourworld.compuserve.com/homepages/gvollant/readfile.htm

This small freeware allow you test speed of memory copy and disk transfer speed
under Windows 95 and Windows NT. This is a Win32 console apps.

Usage : READFILE                            test memcopy speed
        READFILE filespec                   test file reading (bypass cache)
        READFILE filespec /d                test file reading + copy mem
        READFILE filespec /c                test file reading + compute CRC32
        READFILE filespec /s                test file reading + rec. dir parse
        READFILE filespec /l                test file reading + listing output

READFILE without parameters test the speed of copy big block of memory (1 MB)

READFILE with filespec parameter test speed of readfile file. Example :
C:\> READFILE.EXE *.ima
ReadFile 1.0 - http://ourworld.compuserve.com/homepages/gvollant/readfile.htm
File=  3860 Kb/Sec with   1474560 bytes : Distwi25.ima
File=  4084 Kb/Sec with   1474560 bytes : DISTWI22.IMA
Average =   3850 Kb/Sec with   2949120 bytes (total : 765 msec)

The file are opened with FILE_FLAG_NO_BUFFERING parameters, so it will not
copy the file in the cache.

I suggest you test it on big (more than 1 MB), unfraggmented file for testing
the real transfer speed of your hard disk (or network unit) in sequential read.

Under Windows NT, it's VERY useful start performance monitor before use READFILE:
- Start PERFMON.EXE
- Add CPU in the chart

With a modern SCSI BusMaster interface (By example, Adaptec 2940), you'll have
very small CPU usage while reading (10 % of CPU for 4 MB/Sec), with a normal
IDE Interface, you'll have 100 % of CPU used by the disk operation !

I've heard that for latest Pentium motherboard with Intel triton chipset, it exist
a BusMaster IDE driver (ftp://ftp.winsite.com/pub/pc/winnt/drivers/other/triton.zip).
Somes more up-to-date drivers can be found at http://web2.airmail.net/ksm/software.htm

I've no IDE disk actually, if you have chance test it, email me !

Another usage of ReadFile is produce a listing of file with CRC (can be useful for
checking integrity). You can go to a directory and enter :
READFILE *.* /c /s /l > LISTCRC.TXT to produce a file with CRC

Gilles Vollant
100144.2636@compuserve.com
