Jump to content

HPFS386.IFS

From EDM2
Revision as of 02:33, 9 August 2023 by Ak120 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Product Support
OS/2 1.3
OS/2 2.0 C
OS/2 2.1 C
OS/2 2.11 SMP C
OS/2 Warp 3 C
OS/2 Warp Connect C
OS/2 Warp 4 C
OS/2 Warp Server for e-Business C

The 386 High Performance File System is an enhancement of the regular HPFS and normally sold together with the LAN Server Advanced. In contrary to HPFS it is not written in C but in Assembler and consists of an optimised Ring 0 SMB processor tightly coupled with a bootable installable file system. This architecture provides a much better file I/O performance, because the whole data flow operates within the Ring 0 privilege level.

IFS=HPFS386.IFS <parameters>
NOTE
Usage of EARLYMEMINIT=YES produces a trap on boot. Please remove this parameter.
With LAN Server 3.0 the parameter 'useallmem' has to be set as parameter of HPFS386.IFS in the config.sys
If you use the 'useallmem' parameter, it is important that the hardware components within your machine have the ability to address memory above 16 MB. E.g. the IBM 16/4 Token-Ring Adapter doesn't have this capability.
On a very busy server system, it is possible to run out of heap space. If this occurs, there may be a noticeable degradation in performance, and server requests may fail. If this happens, free up some memory on the server. ATTENTION: the heap can only grow to its defined size, but never shrink unless the machine is rebooted.
TIP
Using a dedicated server with 32 MB of RAM try using as much as 20 MB of cache on the machine. The LAN Server Tuning assistant tool can calculate a recommended value for you. There is no need to specify the threshold limits, as this is dynamically managed by LAN Server.
Consult the IBM Redbooks (wsonw4.pdf)
ATTENTION
Some HPFS Tools (e.g. Partition Magic) have problems with the ACLs.

Install and Tune the HPFS386.IFS

To install HPFS386 do the following: remove the HPFS.IFS line you have already: for example:

REM IFS=C:\OS2\HPFS.IFS

Now add

IFS=C:\IBM386FS\HPFS386.IFS /A:

if your boot drive isn't C: change it to correct drive

Next still in config.sys, add the directory C:\IBM386FS somewhere in each of your PATH, DPATH and LIBPATH. Next still in Config.SYS, if you have a RUN=CACHE.EXE line, comment it out with a REM. Insert CALL=C:\OS2\CMD.EXE /Q /C C:\IBM386FS\CACHE386.EXE >NUL Save the config.sys.

This is it, you are ready to shut down and reboot.

Try a cool cache monitor in cache386 by typing this:

CACHE386 /STATS:D

this will show a constantly updated display of all the cache statistics, reads, writes, cache hits, percentages etc. Press CTRL-C to stop.

Do not use CACHE.EXE anywhere, it's not made for this

TIP: You should also create boot disks or a maintenance partition with HPFS386 by using btos2. For tuning the HPFS386.IFS you have to set the HPFS386.INI