|
Windows 98
Optimizations Guide
This guide works for all versions of Windows 98. It
improves performance for all online programs or games that use the
TCP/IP protocol to communicate. Make sure you have installed all
the updates on the previous page before attempting the procedures
in this guide.
Modem
Setup
- Open the 'Modems' control panel.
- Select the properties for your modem.
- Write down your modem's COM port (We will need this later).
- Under the 'General' tab, set the 'Maximum speed' field to 57600
for 28.8k/33.6k modems or 115200 for 56k modems.
- Unmark the 'Only connect at this speed' option.
- Under the 'Connection' tab confirm that your 'Data', 'Parity'
and 'Stop bit' fields are set properly (Usually 8 data bits, no
parity, 1 stop bit).
- Click the 'Port Settings' button, mark the 'Use FIFO buffers'
and move the 'Receive buffer' and 'Send buffer' sliders to the
maximum values (14 and 16 respectively).
- Click 'Ok' to return to the 'Connection' tab window.
- Click the 'Advanced' button, mark the 'Use error control' and
'Compress data' options.
- Mark the 'Use flow control' and 'Hardware (RTS/CTS)'
options.
- Confirm that the 'Modulation type' is set to 'Standard'.
- Add any 'Extra settings' that you require or prefer (Consult
your modem manual for details).
- Click 'Ok' from the 'Advanced connection settings' window.
- Click 'Ok' from the 'Connection settings' window.
- Click 'Ok' from the 'Modems' control panel.
- Restart the computer.
COM Port
Setup
This section applies to all internal and external modems, most
external ISDN adapters, and some internal ISDN adapters. If you
have a device other than a modem replace 'modem' in the text below
with your device's name (Eg. 'external ISDN adapter'). If you have
an internal ISDN adapter that does not incorporate a modem this
section does not apply. This section only applies to devices that
connect to or emulate a serial port.
There are two ways to do this depending on your system:
- Open the 'System' control panel.
- Select the 'Device Manager tab.
- Click the plus next 'Ports (COM and LTP)'
- If your modem's port is listed (The one you wrote down earlier)
follow method 1, if not follow method 2.
- - Method 1 -
-
- Open the 'System' control panel.
- Select the 'Device Manager' tab.
- Click the plus next 'Ports (COM and LTP)'
- Select the properties for your modem's COM port.
- Select the 'Port settings' tab.
- Change the 'Bits per second' field to 57600 for 28.8k/33.6k
modems, or 115200 for 56k modems.
- Confirm that the 'Data bits', 'Parity', and 'Stop bits' fields
match those set in the 'Modem Setup' section (Usually 8 data bits,
no parity, 1 stop bit).
- Confirm that 'Flow control' is set to 'Hardware'.
- Click 'Ok' from the 'Communications port properties'
window.
- Click 'Ok' from the 'System properties' window.
- Restart the computer.
- - Method 2 -
-
- Select 'Run' from the 'Start' menu, type SYSEDIT and click
'Ok'.
- Select the WIN.INI window.
- Select 'Find' under the 'Search' menu option, type PORTS and
click 'Next'.
- In the 'Ports' section find your modem's COM port and change
the values to the following:
COMx:=57600,n,8,1,p (For 28.8k/33.6k modems)
COMx:=115200,n,8,1,p (For 56k modems)
(Where x is the COM port number of your modem)
- Select 'Save' from the 'File' menu.
- Select 'Exit' from the 'File' menu.
- Restart the computer.
Dial Up
Networking Setup
- Open the 'Dial-Up Networking' folder from within 'My
Computer'.
- Right-click on your ISP's connection and select
'Properties'.
- In the 'General' tab unmark the 'Use are code and Dialling
Properties' option (Make sure the area code is written in the
'Telephone Number' box).
- In the 'Server' tab confirm that the 'Type of Dial-Up Server'
field says 'PPP: Internet, Windows NT Server, Windows 98'.
- Unmark the 'Log on to network', 'NetBEUI', and 'IPX/SPX
Compatible' boxes.
- If you use a modem or other adapter that performs hardware
compression unmark the 'Enable software compression' box (If you
use an adapter that does not perform hardware compression ensure
that this box is checked).
- Confirm that 'Require encrypted password' and 'Require data
encryption' are unmarked.
- Click on the 'TCP/IP Settings' button.
- If your ISP allow automatic IP addressing and DNS determination
(most do), mark 'Server assigned IP address' and 'Server assigned
nameserver address'.
If your IP requires you to specify your IP and/or DNS address,
mark 'Specify an IP address' and/or 'Specify nameserver address'
and complete the details as given by your ISP.
- Unmark the 'Use IP header compression' option.
- Confirm that 'Use default gateway on remote network' is
marked.
- Click 'Ok' from the TCP/IP settings window.
- Click 'Ok' from your ISP's Dial-Up Networking properties.
- Close the 'Dial-Up Networking' folder.
Network
Setup
- Open the 'Network' control panel.
- Select the properties for the 'Dial-Up Adapter'
- Under the 'Bindings' tab, mark 'TCP/IP' and unmark evrything
else.
- Under the 'Advanced' tab, click on the property 'Use IPX header
compression' and change it's value to 'No'.
- Click on the property 'Enable Point To Point IP' and change
it's value to 'No'.
- Confirm that the 'IP Packet Size' option is set to 'Automatic'
(There will be an opportunity to manually set the packet size
later).
- Click on the property 'Record a log file' and confirm that it
is set to 'No'.
- Click 'Ok' from the 'Dial-Up Adapter' properties.
- Select the properties for 'TCP/IP'.
- Under the 'Bindings' tab, unmark everything.
- Under the 'NetBIOS' tab, unmark 'I want to enable NetBIOS over
TCP/IP'.
- Under the 'WINS Configuration' tab select 'Disable WINS
Resolution'.
- Under the 'DNS Configuration' tab select 'Disable DNS'.
- Under the 'IP Address' tab select 'Obtain an IP Address
automatically'.
- Under the 'Advanced' tab mark 'Set this protocol to be the
default protocol' option.
- If you're using 'Windows 98 Second Edition' confirm that 'Allow
Binding To ATM' is set to 'No.
- Click 'Ok' from the 'TCP/IP' properties.
- Click 'Ok' from the 'Network' control panel.
If there are any adapters and protocols you do not use remove
them (all you need for online TCP/IP games is 'Dial-Up Adapter' and
'TCP/IP') If you do this later visits to the 'Network' control
panel will cause Windows to tell you that your network is
incomplete - ignore this, TCP/IP games will work perfectly.
Registry
Setup
For this section we need to alter settings in the Windows
registry, if you make mistakes in here you can potentially cripple
your system. If you're not comfortable with using the registry you
should just skip this section.
- Disable Browser Web Check -
- Select 'Run' from the 'Start' menu, type REGEDIT and click
'Ok'.
- In the left hand side of the 'Regedit' window click the plus
next to 'HKEY_LOCAL_MACHINE'.
- Click the plus next to 'SOFTWARE'.
- Click the plus next to 'Microsoft'.
- Click the plus next to 'Windows'
- Click the plus next to 'Current Version'.
- Click on 'Run'.
- In the right hand side of the 'Regedit' window right-click
'BrowserWebCheck' and select 'Delete'.
- Select 'Exit' from the 'Regedit' menu.
- Restart the computer.
- TTL -
- Select 'Run' from the 'Start' menu, type REGEDIT and click
'Ok'.
- In the left hand side of the 'Regedit' window click the plus
next to 'HKEY_LOCAL_MACHINE'.
- Click the plus next to 'System'.
- Click the plus next to 'CurrentControlSet'.
- Click the plus next to'Services'.
- Click the plus next to'VxD'.
- Click on 'MSTCP'.
- In the right hand side of the 'Regedit' window look for a key
named 'DefaultTTL', if you find it skip to step 10.
- From the 'Edit' menu select 'New' then select 'String Value'
and name it 'DefaultTTL' (You must capitalize exactly as
shown).
- Double click on the 'DefaultTTL' registry key and type 32 in
the 'Value Data' field.
- Select 'Exit' from the 'Registry' menu.
- Restart the computer.
The next two sections require some algebraic
knowledge, if you are not comfortable with algebra you may want to
skip them. Also, if you connect through more than one ISP you
should skip this section because settings that are good for one ISP
may be bad for another.
- Maximum Transmission Unit (MTU) -
First we're going to find out your ISP's MTU, if you
already know this (the helpdesk might know but i wouldn't bet on
it) you can skip to stage 3.
IMPORTANT: ONCE YOU START THIS SECTION DO NOT ATTEMPT
TO USE THE INTERNET UNTIL YOU HAVE COMPLETED IT OR YOU MAY
EXPERIENCE SEVERE PACKET LOSS
- In order to find the MTU correctly we must first set it to a
high value.
- Select 'Run' from the 'Start' menu.
- In the left-hand side of the 'Regedit' window, click on the
plus next to 'HKEY_LOCAL_MACHINE'.
- Click on the plus next to 'System'.
- Click on the plus next to 'CurrentControlSet'.
- Click on the plus next to 'Services'.
- Click on the plus next to 'Class'.
- Click on the plus next to 'Net'.
- Click on the plus next to '000x'.
(There will probably be more than one '000x' entry here, look for
the '000x' entry that corresponds to your 'Dial-Up Adapter' and
replace the 'x' with the correct number.)
- Click on the plus next to 'Ndi'.
- Click on the plus next to 'Params'.
- Click on the plus next to 'IPMTU'.
- Click on 'enum'.
- In the right-hand side of the 'Regedit' window, right-click
'Automatic' and select 'Delete'.
- From the 'Edit' Menu, select 'New', then select 'String value'
and name it 1500.
- Double click on '1500' and type 'Automatic' in the 'Value data'
field.
- Select 'Exit' from the 'Registry' menu.
- Restart the computer.
- Now we must find the correct MTU value for your ISP
- Connect to the internet through your ISP.
- Select 'Run' from the 'Start' menu, type COMMAND and click
'Ok'.
- At the dos prompt type 'ping -f -l XXXX [your ISP homepage]'
(eg. BT Internet users would type 'ping -f -l XXXX
www.btinternet.com' ). Replace XXXX with numbers until you find the
highest value that your ISP responds to. Add 28 to this to find
your MTU (eg. if the highest value you got was 548 your MTU would
be 548+28=576)
- Now we set the MTU
- Select 'Run' from the 'Start' menu.
- In the left-hand side of the 'Regedit' window, click on the
plus next to 'HKEY_LOCAL_MACHINE'.
- Click on the plus next to 'System'.
- Click on the plus next to 'CurrentControlSet'.
- Click on the plus next to 'Services'.
- Click on the plus next to 'Class'.
- Click on the plus next to 'Net'.
- Click on the plus next to '000x'.
(There will probably be more than one '000x' entry here, look for
the '000x' entry that corresponds to your 'Dial-Up Adapter' and
replace the 'x' with the correct number.)
- Click on the plus next to 'Ndi'.
- Click on the plus next to 'Params'.
- Click on the plus next to 'IPMTU'.
- Click on 'enum'.
- In the right-hand side of the 'Regedit' window, right-click
'Automatic' and select 'Delete'.
- From the 'Edit' Menu, select 'New', then select 'String value'
and name it your MTU value (eg. 576).
- Double click on the new string you have created and type
'Automatic' in the 'Value data' field.
- Select 'Exit' from the 'Registry' menu.
- Restart the computer.
IMPORTANT: DO NOT ATTEMPT TO RE-SET YOUR MTU ONCE IT
HAS BEEN SET WITHOUT FIRST RAISING IT BACK UP TO 1500 OR THE PING
COMMAND WILL REPORT THE WRONG VALUE
- Receive Window (RWIN) -
The RWIN size should be about the same as your average download
speed in b/s (bytes per second), this is usually between 3000 and
5000 for a modem. The RWIN value should be a mutiple of your MTU-40
(eg. if your MTU is 576 your RWIN might be (576-40)*8=4288).
Setting your RWIN too low can result in high pings and setting it
too high can result in packet loss (the download speed is a good
guide).
- Determine your RWIN using the instructions above.
- Select 'Run' from the 'Start' menu.
- Type REGEDIT and click 'Ok'.
- In the left-hand side of the 'Regedit' window, click on the
plus next to 'HKEY_LOCAL_MACHINE'.
- Click on the plus next to 'System'.
- Click on the plus next to 'CurrentControlSet'.
- Click on the plus next to 'Services'.
- Click on the plus next to 'VxD'.
- Click on 'MSTCP'.
- In the right hand side of the 'Regedit' window look for a key
named 'DefaultRcvWindow', if you find it skip to step 12.
- From the 'Edit' menu select 'New' then select 'String Value'
and name it 'DefaultRcvWindow' (You must capitalize exactly as
shown).
- Double click the 'DefaultRcvWindow' string and enter the RWIN
number you determined above in the 'Value data' field.
- Select 'Exit' from the 'Regedit' window.
- Restart the computer.
Other
Stuff
- Open the 'System' control panel.
- Under the 'Performance' tab click the 'File System' button.
- Change the 'Typical role of this computer' field to read
'Network server'.
- Move the 'Read-ahead optimization' slider all the way to the
right (Full).
- Under the 'Floppy Disk' tab unmark the 'Search for new floppy
disk drives each time your computer starts' box.
- Under the 'CD-ROM' tab move the 'Supplemental cache size' all
the way to the right (Large).
- Change the 'Optimize access pattern for' field to the correct
setting for your main CD-ROM drive (If it's not 'Quad-speed or
higher' you really should consider getting a new drive.
- Click 'Apply' then 'Ok' from the 'File System Properties'
window.
- Click the 'Graphics' button.
- Move the 'Hardware acceleration' slider all the way to the
right (Full).
- Click 'Ok' from the 'Advanced Graphics Settings' window.
- Click 'Close' from the 'System' control panel window.
- Restart your computer.
Always unplug all other devices connected to your phone line
(phones, fax machines etc) while you're using the net because even
if they're not in use they can affect performance.
If you have trouble connecting or keep getting cut off, phone
your phone company (eg. BT, Cable & Wireless) and ask them to
increase your line gain to 4 (this won't cost anything).
End
Well done, your Windows setup has now been optimized for TCP/IP
connections. If you were optimizing for Quake 2 (and since you're
on this site you probably were) you can now go to the Quake 2 Connection Optimization Guide.
If you have a question about anything in this guide or any
suggestions about improving connections please don't hesitate to contact me.
[TNN][8]
|
|