Optimizing your computer

 

1. First define your needs. What programs do you REALLY use and want to run the fastest?

2. Keep a notebook! You may want to use it to go back to a previous configuration, or set up another machine in a similar manner.

3. Benchmarks can be tricky, and sometimes misleading, but there is one I prefer HERE, Bench, by PC Magazine, circa 1996. I use it for the "disk performance" option. 

4. Assemble a collection of utilities for tweaking performance. Almost all are available free on the Internet. One utility has very seldom let me down is Buffers, 1987, HERE   I takes a little while to run, but makes a graph showing how much HD time is gained (or lost) with different values for the BUFFERS=XX line in config.sys. One of my favorite tools.

I recommend starting with reformatting the hard drive, preferably low level if you are familiar with the operation.

Partition the drive if there is room. A boot partition that is smaller (say, 128Meg.) may give better speed.

Format the HD and install the operating system of your choice. Don't be afraid to experiment. Check to make sure ALL the accessories (floppy, mouse, CD-ROM, PCMCIA cards etc.) are functioning. If something is not working (that was working) it indicates a serious incompatibility that needs to be corrected, but it is usually something simple.

Install your favorite software and make sure it is working. Freedos is the fastest on one of my IBM notebooks and gives me by far the most usable memory.

Make a boot disk and copy AUTOEXEC.BAT and CONFIG.SYS to the floppy. Many of the things you will be trying will crash your machine.

All machines are not created equal, not even the same model! This is because there are chip variations that are used in production. What works on one machine may not work on a seemingly identical machine.

Our poor-man's benchmark is the clock on the wall. Set the machine to start your favorite software upon starting. If your primary concern is Internet speed, then set it up to start the browser and connect to the Internet. Write down the time it takes to load and connect. For instance, I can start my machine, check my e-mail, and exit in 32 seconds.

CACHE

Most machines have a built in hardware cache on the motherboard. Operating systems have software cache provisions. Older machines have provisions for setting up the hardware cache, dram refresh rate and a long list of other options to play with. Change only thing one at a time, then check your load time. If it is running faster, then check to make sure all your hardware is functioning. Make notes!

Software caching has a multitude of options. Read the configuration setup docs. Experiment with two, or even three different brands of cache at the same time, but only make ONE change at a time. There are many caches available, some not worth downloading, others very good. I have found CACHE2.EXE (Simtel) works well for me with FreeDOS on some machines, others, NCACHE2 by Symantec.

You may find performance has improved dramatically, but all system resources have been used. In one case, I was able to get blazing speed on the Internet, but the floppy drive quit working. In cases such as this, compromise, or use a multi-boot option.

Other areas to play with are cluster size, buffer sizes, HD interleave. If most of the files to be loaded are small, some speed can be gained with smaller clusters.

DEFRAG

I have found it is best to just defrag the files, rather than use full file reorganization. Defraging with full file reorder has increased my load time from 10 seconds to 15 seconds. A method that usually works well is to move the entire contents of the drive to another (erasing them in the process), then copy everything back. This organizes things the way the HD likes. It writes them back pretty much the way it reads them. For instance, the drive may not have time to read the next sector, so it has to make another revolution of the disk. When you copy the files back from another other drive or partition, it (hopefully) skipped a sector. The time to skip a sector may be only a fraction of that required for a complete revolution. Norton speed disk showed a nice, neat pattern of columns where it had skipped sectors.

Use your hearing. If the hard drive is making a racket moving the head back and forth, it is time to defrag. If it STILL has to move the head a lot, you might want to try changing the cache parameters, or a different cluster size. Generally, when I have the fastest setup, the hard drive is the quietest.

RAMDRIVE

Ramdrive will likely give you your greatest performance increase. If you have enough system memory, set up a ramdrive large enough to run you web browser. I have only found one ramdrive that caches, though, and that is COMBI.SYS available from SIMTEL.NET. However, I have only been able to run it on MS-DOS 3.3 and MS-DOS 5.0 and it was not very stable. I am hoping someone will develop a similar scheme for FreeDOS.

Set AUTOEXEC to make a TEMP directory in ramdrive and set temp in AUTOEXEC to the ramdrive.

CONFIG note: set lastdrive to the last drive rather than "Z". It may keep the machine from looking for non-existent drives.

Arachne web browser was designed to run entirely from ramdrive if so desired. You may get good result running other apps from the ramdrive if they are small enough in size.

Try running COMMAND.COM from ramdrive, especially if there are lots of disk operations.

COMPRESSION

There are two ways to go here. Compression utilities are available that compress .EXE and .COM files, yet they are still executable directly. Second, speed might be gained by running your apps from a compressed partition of your hard drive.

If it takes time to decompress the file, how can it run faster? When the HD has to read more sectors, it takes longer. Smaller files take less time to load and are somewhat more likely to match cluster size. Some time is lost in the decompression process, but this is done electronically at very high speed in memory, and the time lost is more than made up by reducing hard drive read time, which is mechanical. Experiment with different compression software and perhaps compressed files on a compressed drive.

The compression utils state that they are incapable of compressing COMMAND.COM files, yet I have done this to gain a little speed on HD operations.

DELETE

Remove anything that is not needed, including unnecessary folders. The more junk the computer has to sift through, the slower it runs. Also, try to keep your directory tree uncomplicated. Packaged software usually include a great deal of unnecessary files that can be removed.

VIDEO

Experiment with video speed enhancers. Two of my favorites are QCRT and ZENO174 (from Simtel). Benchmarks are available; but again, your best method of benching is to time your applications.

ARCHIVES

The Internet is crammed with bloatware! There is plenty of wonderful new apps for DOS, but search for older software that may perform as well or even better than the new stuff. 

Word 5.5 for DOS is, or was, available for download from Microsoft. It fits on three floppies and works as well as newer versions, but faster and more reliable. There are however, many good other word processors for DOS.

MIX and MATCH

It is amazing how many things are interchangeable, such as COMMAND.COM from another OS. Of course, it is equally amazing how many things are NOT compatible that are supposed to be. This is not necessarily a shortcoming of the software, since machines vary considerably. I have an original copy of MS-DOS 3.3 that tells me I am try to run SHARE.EXE on the wrong DOS version. On the other hand, many files from DR-DOS run on FreeDOS when MS files won't.

Large increases may be gained by using the memory manager from something else. You would be surprised at what is (and is not) compatible.

I think I can guarantee that FreeDOS will continue to get better, while everything else gets worse.

RUNS GREAT? 

Make a boot disk!

All of this is a little like building a race car, with the overall result being more than the sum of the components.

 

My newest machne

Even though I had an 800 MHz Celeron on the shelf, I bought a 350 MHz Pentium II motherboard and processor on E-bay. The Pentium II was chosen because of its excellent track record with Beowulf clusters. I already had:

    CT2770 Value 16 bit Soundblaster card (meant for DOS, but drivers came out later for WIN31 and WIN9x.)

    S3 Virge/DX video card (has drivers for DOS, WIN31 and WIN9x)

    56k Conexant hardware modem (NOT plug 'n pray) The Shiva dialer and Arachne find it in a split second!

    12 Gig Quantum Fireball

The drive was partitioned into six 2 Gig parts, and I told the DM.EXE that comes on the drives "Quantum Go!" floppy that I was going to use Windows 98 (I lied).

MS-DOS 6.0 was installed because I have WIN31 on partition C: . FreeDOS is much faster, though. I used Selectit by Quarterdeck as a boot manager, but others would work as well. WIN95 resides on D:, but Windows 3.1 can't see it. Any APPS that I add to WIN95 are installed on E: or F:

Netscape 2 is installed in WIN31 as the dialer and mail service, Netscape 4.08 is used for the Internet, but will be removed as I get my Arachne desktop finished. The latest (Jan 2, 02) Arachne is HERE , version 1.71UE