Site hosted by Angelfire.com: Build your free website today!
2001-12-18Homepage















Homepage

Memory Management COM Ports W31 and WFWG Updates
AUTOEXEC.BAT WIN.INI SYSTEM.INI
16 bit Windows Tweaks

INTERESTING? I have been using the SMARTDRV.EXE, EMM386.EXE, and HIMEM.SYS from a W98SE version of DOS with my v6.22 DOS/W31 setup here on a Pentium 5 60mhz Compaq machine and it seems faster than with the original v6.22 of the same name? Your mileage may vary.

NOTE: Many systems were shipped with proprietary software that compliments the early Windows 16 bit versions. DO NOT reformat legacy hardware systems that are new to you without taking a look at the setup first! If at all possible make at least one backup if W31 is already installed. Compaq, for instance, includes utilities needed to setup CMOS and other diagnostic utilities. The software from Compaq, including the application software, was quite good when used on their hardware but it is not available anywhere for downloading including from the Compaq website.

Tweaking does not refer only to attempted speed increases. Tweaking also means to make changes that will result in a more stable OS customized to suit your hardware and other software. There is NO one right configuration for Windows or for DOS. Each computer will have it's weak points and it's strengths. To properly tweak the 16 bit Windows OS you must first tweak DOS. Don't forget that tuning DOS makes W31 happy too. Check out DOSMAX on the `tweaks' page here. It's one of the better addons for early versions of DOS for memory management. I know people using it with v6.22 MSDOS rather than use the Microsoft memory management built into newer MSDOS. When you are satisfied that you have DOS working as efficiently as it can on your hardware then it is time to tweak Windows. There is quite a bit of useful information for tweaking W31 on these pages that are, or were, being translated from the original German. The syshook.drv is being used here on my system and does seem to have helped stop W31 crashing as often as it used to. The fix1mb also mentioned on the above German website is similar but I haven't tried it. Both attempt to control W31's use of the first meg of memory.

Memory Management - 386 or better

Volumes are written about SMARTDRV and the VM swap file depends on it's use for efficient transfer to/from the swap file. There really aren't many variables for the user to be concerned about. Newer versions are better than older versions and a wide range of settings will ALL work. The FILES and BUFFERS settings of CONFIG.SYS can affect cache efficiency if set too low. I use BUFFERS=53 and FILES=80 after using test software to determine the best sizes for my hardware. See my commented AUTOEXEC.BAT file in plain text format accessed from the top menu on this page to view my settings for SMARTDRV.

SMARTDRV Tuneup: SPEEDCHK.BAT is designed to exercise your HD/RD and caching software to optimize cache size, lookahead and assist in determing the correct number of buffers for your config.sys file. A total of 228 files with different names and lengths ranging from 3 bytes to 526Kb are created which will make *temporary* use of about 1.8Mb of 4k cluster disk space and typically take about 1 minute per run on a HARD disk. Documentation is written into the batch file as comments at the top. Users will typically cut hard drive access times by one half after using this to test their setup, I know I did.

Remember to make backups of your SYSTEM.INI and WIN.INI files that are located in the C:\WINDOWS directory before attempting to match what I have used on my hardware. These settings should work for you but it's good to be safe rather than sorry. W31 is very dependent on a proper configuration of DOS memory. If you do not create the best possible DOS configuration for your system the Virtual Memory Swap File cannot function properly.

Virutal memory swap files should be made permanent and as large as possible. W31 will recommend 4 x's your installed memory size or one half the free space on the specified partition. W31 will not use more than one half of the partition size even if you type in larger numbers - this is an internal fail-safe you cannot defeat. This multiplier (default of 4) can be reset if you have the drive space. This setting can be found in the online commented INI files from the menu at the top of this page.

Click on Control Panel, find the icon for 386 Enhanced (as displayed), click on that icon. If this icon is not displayed in Control Panel you have loaded W31 in standard mode and must exit windows to the DOS command line. Restart in enhanced mode by typing "WIN.COM /3" and pressing the enter key.


Device contention is set to 4 seconds. This refers to idle time allowed before Windows will look to other tasks rather than wait for that device. I honestly don't recall how I derived the number 4 as optimal but it works and I never change it.

Scheduling of foreground as 150 and background as 50 has allowed me to download as many as four files simultaneously while continuing to browse the web even when I was using an 80386 at 33 mhz. I would recommend using these values.

Never check the Exclusive in Foreground setting. This stops all but the topmost windowed application stone dead. You don't want that.

Minimum Timeslice - This is the absolute minimum time a task has to complete before windows will move to the next task. Your modem needs time to speak to the browser or terminal application. Never use a value less than 10 or you will get lockups and have to turn off the machine to reboot (a bad thing to do normally).

Click on the Virtual Memory button once the other setting are at the proper values for your hardware.



Up Arrow

Current settings for the Virtual Memory Swap File are located at the top of this display. My current system with 16 meg of memory installed uses a reserved 100 meg partition G: for the swap file. 50 meg for the actual swap file and 50 meg for an image file of the C: drive. No other files are ever written to this partition or deleted from this partition to avoid fragmentation of the VM swap file.

W31 would recommend a maximum size of 64 meg (4 x 16 meg) of hard drive space but I goofed and only allowed 100 meg for the partition when I did not know about the internal failsafe. Remember W31 will only use one half of the total size of a partition.

NOTE: W31 will try to reset to the C: drive constantly. If you do not want this you must check before exiting this screen!

Permanent VM swap files are faster and safer to use. I only use a temporary VM swap file when I think the permanent VM swap has become corrupt and needs a rewrite.

32 Bit Disk Access will not work with drives larger than 528 meg without additional drivers referred to as "fastdisk" drivers. Even with those drivers the hard drive controller and hard drive must match the WD standards for the W31 wdctrl internal device driver to use 32 bit disk accesses. My present hardware does not match but my previous hard drive did. If you can use 32 bit use it, it is faster access for the VM swap file.

If you reset any of these values and click on the CHANGE button Windows will inform you that your new settings require a reboot of Windows. You can defer this reboot and the next time you execute Windows the new settings will be implemented for you or you can do an automated restart wherein Windows shuts down and immediately restarts without intervention.



NEVER attempt to defrag a permanent swap file using a DOS DEFRAG program. Newer W9x can do this but W31 will react as though you stabbed a sharp object into it's forehead. Reset to a temporary swap file, restart W31 to complete the process and then exit to DOS. Temporary VM swap files are deleted by windows when W31 exits to DOS. Defrag the partition you intend to use for the VM swap file, reboot W31 and reset to the permanent swap file size and partition you require. Click on CHANGE, then select restart and your permanent swap file is rewritten to the newly cleaned up partition.

Optimum conditions for the VM swap file would be a second physically separate hard drive. Preferably the fastest drive you have. This allows two mechanisms (hard drive heads) to be working to retrieve read/write files rather than one mechanism doing everything. It also protects other files from damage or fragmentation caused by having to move past the swap file and back again.

Second best seems to be to arrange to put the VM swap file on drive C: as the first file after the BIOS files and keep it there. DOS defrag software will not always cooperate with this arrangement. The C: drive or as close as possible to the C: drive are the faster partitions. (Yes, I know, I goofed on that one too.) These are not major differences but every percentage improvement begins to add up if you can find enough of them?


Up Arrow

COM Port Settings

Load Control Panel and look for an icon of the plug on the end of a modem (serial) cable. Click on that icon to set the comports for W31. This graphic shows only my modem port COM4 but you can also select COM1, COM2, or COM3. I set the mouse comport to the same settings but with xon/xoff as flow control.

Locked speeds as high as 115.2K baud are only possible with a third-party driver.

The communications driver supplied with W31 will only do 19.2K and not particularly well even at that low speed. I have CyberCom as my driver and lock my modem comport at 115.2K baud, 8 bit, parity none, 1 stop bit. Always use hardware flow control for a modem when you have the option to select it. (in Windows or in DOS software)

There are additional TWEAKS for comports in the commented versions of WIN.INI and SYSTEM.INI accessible in plain text format from the menu at the top of this page.



Up Arrow

Windows v3.x Updates

NOTE: The files listed below are just my choices from the many files available for W31 and WFWG directly from Microsoft. The DOS update files from Microsoft are listed on the DOS Versions page of this website. I would recommend downloading the INDEX.TXT (a 206K files list) and do a thorough search for any service pack files or updates for your particular setup.

This same INDEX file is available on a Russian server as online HTML with each filename linked back to the Microsoft FTP server. Be prepared to wait for this to load it's a 600K+ page of HTML code!

When you've downloaded all these patch and information files you may want to update your splash screen with a new bootup LOGO display?

  • W31 and WFWG updates for 16 bit Windows direct from Microsoft


  • Up Arrow

    Valid HTML 4.01!
    © Charles Angelich 2001 Server a bit slow? Try a MIRROR SITE