B19, performance using fopen()/fclose() on FAT16

DJ Delorie dj@delorie.com
Thu Dec 24 14:15:00 GMT 1998

John Blanton wrote:
> Conducting performance tests of several porting tools we noticed
> dramatically poor performance for the following case using FAT16 on
> Windows NT:
> REPETITIONS is set to 100,000.  The test requires over an hour to
> complete.  There is constant disk activity.  Here are some test timings:
> GNU-Win32           398.3
> Linux (FAT)           6.2
> Linux (Linux FS)      6.1
> U/WIN                41.0
> Win32                14.8

I performed the same tests with B20.1 and djgpp on a dual PII/300.
Sorry, don't have Linux on those systems.  Numbers are microseconds
per loop.  Sorry, can't compare these to your numbers without
matching hardware, but please compare your results to the same
program built with cygwin B20.1 (or djgpp 2.02) and see if you
notice a difference.

win95	djgpp	fat16	1380 us
win95	cygwin	fat16	1500 us
winnt	djgpp	fat16	 360 us
winnt	cygwin	fat16	 890 us (89 seconds for 100,000 calls)
winnt	djgpp	ntfs	 400 us
winnt	cygwin	ntfs	 530 us

Note: I *expect* cygwin to be slower than djgpp, because it
has to simulate the mount table and symbolic links.

For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

More information about the Cygwin mailing list