Installation guide
Appendix B The LANMAN.INI File 325
wrkheuristics (OS/2 only)
This set of digits configures the way the workstation processes
network information. Digits read from left (0) to right (54). Except as
noted, a digit value of 0 means “off” or “inactive,” 1 means “on” or
“active,” and X sets the digit to the default value, allowing you to set
specific digits without knowing the settings of all digits. Other values
are explained in the following descriptions of each digit:
0 Request opportunistic locking of files. This heuristic opens files on the
server that have “deny none” rights, allowing faster buffering. If two
workstations request access to the same file, the server lets the first
workstation flush data before granting access to the second.
The default is 1.
1 Optimize performance for command files. Heuristic 0, opportunistic
locking, must be set to 1 to use this heuristic.
The default is 1.
2 Unlock and WriteUnlock asynchronously as follows:
0 = never 1 = always 2 = only on a LAN Manager virtual circuit (VC)
The default is 1.
When a user unlocks a file, the file usually works if the application is
written correctly. If Unlocks and WriteUnlocks are asynchronous, the
user doesn’t have to wait for the server to indicate that the bytes are
unlocked. If asynchronous Unlock and WriteUnlock is selected, the
user overlaps local processing with the server processing the unlock
(and overlap transport time). Asynchronous Unlock and WriteUnlock is
not used if write through is set.
3 Close and WriteClose asynchronously as follows:
0 = never 1 = always 2 = only on a LAN Manager VC
The default is 1.
When transferring large files, the workstation can get ahead of the
server if all the data transferred to the server is in its buffers but not
processed to disk. When the server gets a Close or WriteClose request,
it flushes all data to disk (or to the operating-system cache) before it
processes and returns the close response. When this heuristic is set to 1,
the close is sent, the workstation does not wait for the response, and a
user can overlap local processing with the server (write to disk at the
same time). A pop-up message warns users if all data is not written to
disk.
4 Buffer named pipes and communication devices.
The default is 1.
Buffering named pipe and communication devices protects information
by putting it in a buffer. Then the workstation reads the information
from the buffer.