Mustafa Gultekin's Tips: Difference between revisions

From OS2World.Com Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Here are some efficiency tips from Mustafa Gultekin
{{Article
|Author=[[Mustafa Gultekin]]
Subject: Mustafa Gultekin's OS/2 Tips
|Date=
|OS=[[IBM OS/2 2.0]]
* Some clarifications on performance boosting:
|File=N/A
If you have more than 6 megabytes of RAM, OS/2 in general works better with HPFS file system. With proper cache size you increase the performance by 150% over FAT file system for
|Source=[http://www.os2site.com/sw/info/tips/os2tips.doc os2tips.doc]
I/O intensive applications -also for loading programs etc. If the hard disk is formatted as HPFS OS/2 will put in your CONFIG.SYS:
}}
   
Some clarifications on performance boosting:
    IFS=C:›OS2›HPFS.IFS /CACHE:nnn /CRECL:4 /AUTOCHECK:C
 
If you have more than 6 megabytes of RAM, OS/2 in general works better with HPFS file system. With proper cache size you increase the performance by 150% over FAT file system for I/O intensive applications - also for loading programs etc. If the hard disk is formatted as HPFS OS/2 will put in your CONFIG.SYS:
assuming your drive is "C". nnn is the cache size. Default
  IFS=C:›OS2›HPFS.IFS /CACHE:nnn /CRECL:4 /AUTOCHECK:C
is about 5% of total RAM memory. for 8M system it should be
assuming your drive is "C". nnn is the cache size. Default is about 5% of total RAM memory. for 8M system it should be around 384 but no more than 512. for 16M, I am using 1024 (1M). I don't think that more than 1.5M helps at all. AUTOCHECK:C tells OS/2 to run CHKDSK on drive C before the Work shell is loaded.(You cannot run CHKDSK from the desktop. It will tell you that the file system is bad etc.) Errors will be corrected at this time. Errors usually caused by programs terminating with files open or turning the system off without "shutdown" procedure. You can add other drives as well i.e. Autocheck:CD etc.
around 384 but no more than 512. for 16M, I am using 1024 (1M).
  run=c:›os2›cache.exe /lazy=on
I don't think that more than 1.5M helps at all. AUTOCHECK:C
will start the HPFS caching. It is active cache both read & write lazy=on ===> data etc. written to disk when CPU is idle. you can increase it depending on how frequent etc. but defaults seems to be OK.
tells OS/2 to run CHKDSK on drive C before the Work shell is
  DISKCACHE=nnn,LW
loaded.(You cannot run CHKDSK from the desktop. It will tell you
is for FAT file system only. If you have all HPFS system delete it from config.sys. Caching floppies will not help. nnn is the size. LW is for Lazy Write.
that the file system is bad etc.) Errors will be corrected at this
* FILES=nn is good only for DOS programs. If you are using Windows under OS/2 bump it to 60. Else make it ????.
time. Errors usually caused by programs terminating with files
* BUFFERS=50 For OS/2. I found 50 to work better than the default (30).
open or turning the system off without "shutdown" procedure. You
* MENMAN=SWAP,PROTECT this is the default with OS/2 2.0. Leave it as it is.
can add other drives as well ie Autocheck:CD etc.
* For those using HPFS I strongly recommend disk utilities by GammaTech, Inc (405) 359-1219. Similar to Norton for DOS. Has a lot of nice features & only reliable way to recover files etc. Excellent user support (I can vouch for that). 32 bit version is beta test & should be out soon.
   
 
    run=c:›os2›cache.exe /layz=on
;PS: OS/2 2.0 can address 4G in Virtual but SAS running under OS/2 2.0 can "only" address 1G in Virtual, that will change with SAS 6.08.
will start the HPFS caching. It is active cache both read &
    write layz=on ===>   data etc. written to disk when CPU is
    idle. you can increase it depending on how frequent etc. but
    defaults seems to be OK.
   
    DISKCACHE=nnn,LW
  *  is for FAT file system only. If you have all HPFS system
    delete it from config.sys. Caching floppies will not help.
    nnn is the size. LW is for Lazy Write.
  * FILES=nn is good only for DOS programs. If you are using
    Windows under OS/2 bump it to 60. Else make it ????.
  * BUFFERS=50 For OS/2. I found 50 to work better than the         .
    default (30).
  * MENMAN=SWAP,PROTECT this is the default with OS/2 2.0.           .
    Leave it as it is.
  * For those using HPFS I strongly recommend disk utilities by
    GammaTech, Inc (405) 359-1219. Similar to Norton for DOS.         f
    Has alot of nice features & only reliable way to recover files
    etc. Excellent user support (I can vouch for that). 32 bit
    version is beta test & should be out soon.
    (PS: OS/2 2.0 can address 4G in Virtual but SAS running under
      OS/2 2.0 can "only" address 1G in Virtual, that will change
      with SAS 6.08.)
   
   
Cheers,
Cheers,
Mustafa Gultekin
Mustafa Gultekin
[[Category:How To‎]]

Latest revision as of 13:45, 4 December 2022

Article Info
Author Mustafa Gultekin
Date
OS Version IBM OS/2 2.0
Companion File N/A
Source os2tips.doc

Some clarifications on performance boosting:

If you have more than 6 megabytes of RAM, OS/2 in general works better with HPFS file system. With proper cache size you increase the performance by 150% over FAT file system for I/O intensive applications - also for loading programs etc. If the hard disk is formatted as HPFS OS/2 will put in your CONFIG.SYS:

IFS=C:›OS2›HPFS.IFS /CACHE:nnn /CRECL:4 /AUTOCHECK:C

assuming your drive is "C". nnn is the cache size. Default is about 5% of total RAM memory. for 8M system it should be around 384 but no more than 512. for 16M, I am using 1024 (1M). I don't think that more than 1.5M helps at all. AUTOCHECK:C tells OS/2 to run CHKDSK on drive C before the Work shell is loaded.(You cannot run CHKDSK from the desktop. It will tell you that the file system is bad etc.) Errors will be corrected at this time. Errors usually caused by programs terminating with files open or turning the system off without "shutdown" procedure. You can add other drives as well i.e. Autocheck:CD etc.

run=c:›os2›cache.exe /lazy=on

will start the HPFS caching. It is active cache both read & write lazy=on ===> data etc. written to disk when CPU is idle. you can increase it depending on how frequent etc. but defaults seems to be OK.

DISKCACHE=nnn,LW

is for FAT file system only. If you have all HPFS system delete it from config.sys. Caching floppies will not help. nnn is the size. LW is for Lazy Write.

  • FILES=nn is good only for DOS programs. If you are using Windows under OS/2 bump it to 60. Else make it ????.
  • BUFFERS=50 For OS/2. I found 50 to work better than the default (30).
  • MENMAN=SWAP,PROTECT this is the default with OS/2 2.0. Leave it as it is.
  • For those using HPFS I strongly recommend disk utilities by GammaTech, Inc (405) 359-1219. Similar to Norton for DOS. Has a lot of nice features & only reliable way to recover files etc. Excellent user support (I can vouch for that). 32 bit version is beta test & should be out soon.
PS
OS/2 2.0 can address 4G in Virtual but SAS running under OS/2 2.0 can "only" address 1G in Virtual, that will change with SAS 6.08.

Cheers, Mustafa Gultekin