Mustafa Gultekin's Tips: Difference between revisions

From OS2World.Com Wiki
Jump to navigation Jump to search
Created page with "Here are some efficiency tips from Mustafa Gultekin Subject: Mustafa Gultekin's OS/2 Tips * Some clarifications on performance boosting: If you have more than 6 mega..."
 
Jugbogdan (talk | contribs)
mNo edit summary
 
(6 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
|Source=[http://www.os2site.com/sw/info/tips/os2tips.doc os2tips.doc]
    works better with HPFS file system. With proper cache size
}}
    you increase the performance by 150% over FAT file system for
Some clarifications on performance boosting:
    I/O intensive applications -also for loading programs etc.
 
    If the hard disk is formatted as HPFS OS/2 will put in your
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:
    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.
    IFS=C:›OS2›HPFS.IFS /CACHE:nnn /CRECL:4 /AUTOCHECK:C
  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.
    assuming your drive is "C". nnn is the cache size. Default
  DISKCACHE=nnn,LW
    is about 5% of total RAM memory. for 8M system it should be
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.
    around 384 but no more than 512. for 16M, I am using 1024 (1M).
* FILES=nn is good only for DOS programs. If you are using Windows under OS/2 bump it to 60. Else make it ????.
    I don't think that more than 1.5M helps at all. AUTOCHECK:C
* BUFFERS=50 For OS/2. I found 50 to work better than the default (30).
    tells OS/2 to run CHKDSK on drive C before the Work shell is
* MENMAN=SWAP,PROTECT this is the default with OS/2 2.0. Leave it as it is.
    loaded.(You cannot run CHKDSK from the desktop. It will tell you
* 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.
    that the file system is bad etc.) Errors will be corrected at this
 
    time. Errors usually caused by programs terminating with files
;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.
    open or turning the system off without "shutdown" procedure. You
    can add other drives as well ie Autocheck:CD etc.
   
    run=c:›os2›cache.exe /layz=on
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 14: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