First post, by clueless1
Following in the footsteps of the original 7-Zip Benchmark database for Windows and Linux, I did some research on how to run this benchmark on real DOS PCs, in order to be able to test more vintage CPUs, but I hit a few snags...
-I first tried running the existing 7-Zip 9.20 executable with the HX DOS Extender, using the directions in the included readme file, but it would not work.
-next I tried to follow this HOWTO, but encountered the same errors I did above.
-After this, I found a repository of old Linux programs ported to DOS. Among them was 7za.exe, version 4.53a. This is the barebones 7-Zip archiver. The benchmark ran great under DOS, but the results were not comparable to 7-Zip 9.20, hence a new database.
-EDIT: DosFreak found a link below that led to a more current version of 7-Zip (16.02) that someone recompiled to work under DOS. Tests of both versions lead us to switch to this version, as it appears to recognize and optimize for cpus newer than Pentium I. I am replacing the attached version to 16.02 to avoid confusion.
In order to be as compatible with as many systems as possible, we are using a dictionary size of 256KB, which means your DOS machine will need at least 8MB of RAM to complete the benchmark.
Download the file attachment 7za.zip at the bottom of this post and extract the single file 7za.exe. The file is a little over 500KB and is the only file you need. Copy it to a DOS machine or MS-DOS boot floppy and run the benchmark with the command
C:\>7za b -md18
The switch 'b' runs the benchmark, and '-md18' uses a dictionary size of 2^18 (256KB)
If you'd like to output the results to a text file, then run this instead:
C:\>7za b -md18>7zip.txt
The output will look like this
7-Zip (a)  16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=C,Utf16=off,HugeFiles=off,32 bits,1 CPU GenuineIntel (1543),ASM)
CPU Freq: 193 193 193 193 193 203
RAM size: 53 MB, # CPU hardware threads: 1
RAM usage: 6 MB, # Benchmark threads: 1
Compressing | Decompressing
Dict Speed Usage R/U Rating | Speed Usage R/U Rating
KiB/s % MIPS MIPS | KiB/s % MIPS MIPS
18: 76 100 68 68 | 1327 100 107 107
---------------------------------- | ------------------------------
Avr: 100 68 68 | 100 107 107
Tot: 100 88 88
Here are the values that get added to the database:
If you'd like to test your DOS systems, please add them to the database here:
https://docs.google.com/spreadsheets/d/ ... 09577[b][i]
Please do not reorganize the spreadsheet, sort by different columns, etc. If you want to do this, download it and change your copy of it.[/i][/b]
I've already added results for my DOS systems. Note the Read Me tab on the spreadsheet with directions.
The benchmark was tested and confirmed to work with MS-DOS 6.22. Newer versions of MS-DOS may have issues running the executable.
The benchmark can be run either from HDD or boot floppy, so even systems without a HDD can run the test, presuming a minimum of 8MB of RAM.
Interestingly, 7za.exe can also actually compress and decompress files in both .7z and .zip. I tested by compressing a file in DOS, copying to Windows, and decompressing with the Windows version of 7-Zip 9.20. I also compressed a file in Windows and decompressed it in DOS. It works, but the command format is a bit confusing. See this page for examples.
Thanks for reading!
The more I learn, the more I realize how much I don't know.
OPL3 FM vs. Roland MT-32 vs. General MIDI DOS Game Comparison
Let's benchmark our systems with cache disabled
DOS PCI Graphics Card Benchmarks