home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / os2 / misc / 27958 < prev    next >
Encoding:
Internet Message Format  |  1992-08-21  |  5.9 KB

  1. Path: sparky!uunet!gatech!rutgers!njitgw.njit.edu!hertz.njit.edu!dic5340
  2. From: dic5340@hertz.njit.edu (David Charlap)
  3. Newsgroups: comp.os.os2.misc
  4. Subject: A good config.sys for 486/33 machines
  5. Message-ID: <1992Aug21.200039.22046@njitgw.njit.edu>
  6. Date: 21 Aug 92 20:00:39 GMT
  7. Sender: news@njit.edu
  8. Organization: New Jersey Institute of Technology, Newark, N.J.
  9. Lines: 202
  10. Nntp-Posting-Host: hertz.njit.edu
  11.  
  12. My friend has a 486/33 with 16MB of memory and found OS/2 slow at
  13. first.  He tweaked his config.sys file a bit, and now it is very fast.
  14. He said that the most important thing he did involved the caches.
  15. Following is the complete text of his config.sys:  (my comments
  16. interspersed)
  17.  
  18. Someone may want to upload this somewhere.
  19.  
  20. -------------- BEGIN FILE ---------------
  21.  
  22.  
  23. >IFS=C:\OS2\HPFS.IFS  /CACHE:512 /CRECL:4 /AUTOCHECK:C
  24.  
  25. This is necessary for HPFS support.  Note the cache size if you have
  26. some problems.  Add any additional HPFS drives to the /AUTOCHECK
  27. parameter.  This parameter allows CHKDSK to run automatically if you
  28. boot and HPFS has a problem.
  29.  
  30. >PROTSHELL=C:\OS2\PMSHELL.EXE
  31.  
  32. This is Presentation Manager.  Don't change this or you'll lose your
  33. GUI, and your session manager.
  34.  
  35. >SET USER_INI=C:\OS2\OS2.INI
  36. >SET SYSTEM_INI=C:\OS2\OS2SYS.INI
  37. >SET OS2_SHELL=C:\OS2\CMD.EXE
  38. >SET AUTOSTART=PROGRAMS,TASKLIST,FOLDERS
  39.  
  40. >SET RUNWORKPLACE=C:\OS2\PMSHELL.EXE
  41.  
  42. This is WPS.  Set it to C:\OS2\CMD.EXE if you don't want WPS.  You can
  43. always run WPS as an app (start PMSHELL) if you need it later.
  44.  
  45. >SET COMSPEC=C:\OS2\CMD.EXE
  46.  
  47. >LIBPATH=.;C:\OS2\DLL;C:\OS2\MDOS;C:\;C:\OS2\APPS\DLL;C:\USER\DLL;
  48.  
  49. OS/2 DLL files will only be searched for along this path.
  50.  
  51. >SET PATH=C:\OS2;C:\OS2\SYSTEM;C:\OS2\MDOS\WINOS2;C:\OS2\INSTALL;C:\OS2\MDOS;C:\OS2\APPS;
  52.  
  53. This is the path along which programs are searched for.
  54.  
  55. >SET DPATH=C:\OS2;C:\OS2\SYSTEM;C:\OS2\MDOS\WINOS2;C:\OS2\INSTALL;C:\;C:\OS2\BITMAP;C:\OS2\MDOS;C:\OS2\APPS;
  56.  
  57. This is the path along which data files may be searched for (a-la
  58. DOS's APPEND command)
  59.  
  60. >SET PROMPT=$i[$p]
  61.  
  62. >SET HELP=C:\OS2\HELP;C:\OS2\HELP\TUTORIAL
  63.  
  64. The VIEW.EXE help viewer looks along this path.
  65.  
  66. >SET GLOSSARY=C:\OS2\HELP\GLOSS;
  67.  
  68. >PRIORITY_DISK_IO=NO
  69.  
  70. If this is YES, then disk access will take higer priority than
  71. processing.  You may want this on in some situations.  Note that IBM's
  72. default is YES.
  73.  
  74. >FILES=32
  75.  
  76. This is for DOS box sessions only.
  77.  
  78. >DEVICE=C:\OS2\TESTCFG.SYS
  79. >DEVICE=C:\OS2\DOS.SYS
  80. >DEVICE=C:\OS2\PMDD.SYS
  81.  
  82. >BUFFERS=64
  83.  
  84. This is also for DOS only.
  85.  
  86. >IOPL=YES
  87.  
  88. >DISKCACHE=256,LW,32
  89.  
  90. This controls disk caching for FAT volumes, including floppies.  The
  91. LW is for lazy writing.  Note that it's larger than the default 64K
  92.  
  93. >MAXWAIT=3
  94.  
  95. This is the maximum amount of time a process can wait for the
  96. processor.  I think it's in miliseconds.
  97.  
  98. >MEMMAN=SWAP,PROTECT
  99.  
  100. If you have plenty of memory and don't care about running out, you can
  101. remove "SWAP", and the system won't swap memory any more.  I don't
  102. know what "PROTECT" does, but I'd leave it alone.
  103.  
  104. >SWAPPATH=C:\OS2\SYSTEM 2048 2048
  105.  
  106. This controls where your swapper.dat file goes.  The parameters
  107. represent the initial size of the file, and the minimum size of the
  108. file.  These parameters are for at 16MB machine.  You can set the to
  109. different values - the defaults are listed in one of the pamphlets
  110. that comes with OS/2.
  111.  
  112. >BREAK=OFF
  113.  
  114. This is for DOS sessions.
  115.  
  116. >THREADS=2048
  117.  
  118. This is the maximum number of threads the system can have at once.
  119. Leave it alone unless you have a problem with it.
  120.  
  121. >PRINTMONBUFSIZE=2048,134,134
  122.  
  123. This controls the printer's buffering.  I don't know if it's for DOS
  124. sessions or for all sessions.
  125.  
  126. >COUNTRY=001,C:\OS2\SYSTEM\COUNTRY.SYS
  127. >SET KEYS=ON
  128.  
  129. >SET DELDIR=C:\DELETE,512;
  130.  
  131. This allows the undelete function to work.  By default, this line is
  132. REMarked off.
  133.  
  134. >BASEDEV=PRINT01.SYS
  135. >BASEDEV=IBM1FLPY.ADD
  136. >BASEDEV=IBM1S506.ADD
  137. >BASEDEV=OS2DASD.DMD
  138. >SET EPATH=C:\OS2\APPS
  139.  
  140. >DEVICE=C:\OS2\APPS\SASYNCDA.SYS 
  141.  
  142. This helps DOS sessions use the COM port.
  143.  
  144. >PROTECTONLY=NO
  145.  
  146. Set this to YES to eliminate DOS and WIN-OS2 sessions.
  147.  
  148. >SHELL=C:\OS2\MDOS\COMMAND.COM C:\OS2\MDOS /P /E:2048
  149. >FCBS=16,8
  150. >RMSIZE=640
  151.  
  152. These are default DOS box settings.
  153.  
  154. >DEVICE=C:\OS2\MDOS\VEMM.SYS 
  155. >DEVICE=C:\OS2\MDOS\VMOUSE.SYS 
  156. >DOS=HIGH,UMB
  157. >DEVICE=C:\OS2\MDOS\VDPX.SYS 
  158. >DEVICE=C:\OS2\MDOS\VXMS.SYS /UMB
  159. >DEVICE=C:\OS2\MDOS\VDPMI.SYS 
  160. >DEVICE=C:\OS2\MDOS\VWIN.SYS  
  161. >DEVICE=C:\OS2\MDOS\VCDROM.SYS 
  162.  
  163. These are more default DOS box settings.  The DEVICE= lines are
  164. virtual device drivers to emulate EMS memory, a mouse, DPMI, Extended
  165. memory, Windows, and CD-ROM drivers.  I don't know wht DPX is.
  166.  
  167. >DEVINFO=SCR,VGA,C:\OS2\VIOTBL.DCP
  168. >SET VIDEO_DEVICES=VIO_VGA
  169. >SET VIO_VGA=DEVICE(BVHVGA,BVHSVGA)
  170.  
  171. These are for video support, including codepage support for the display.
  172.  
  173. >DEVICE=C:\OS2\MDOS\VSVGA.SYS
  174.  
  175. This allows DOS sessions to use SVGA modes, when in conjunction with
  176. the SVGA ON command.
  177.  
  178. >DEVICE=C:\OS2\POINTDD.SYS 
  179. >DEVICE=C:\OS2\MOUSE.SYS SERIAL=COM1
  180.  
  181. These two drivers together provide your mouse.  If you have a Logitech
  182. driver installed, there may be different parameters and also a
  183. PCLOGIC.SYS driver here.
  184.  
  185. >DEVICE=C:\OS2\COM.SYS  
  186. >DEVICE=C:\OS2\MDOS\VCOM.SYS
  187.  
  188. These provide your serial I/O.  Add parameters to them to access
  189. non-standard COM ports (like COM3 and COM4 on ISA machines).  Note
  190. that these must be loaded AFTER the mouse support or you won't have a
  191. mouse. 
  192.  
  193. >CODEPAGE=437,850
  194.  
  195. This sets up the useable code pages in the system.  437 is USA, and
  196. 850 is international.  You may have others as well.
  197.  
  198. >DEVINFO=KBD,US,C:\OS2\KEYBOARD.DCP
  199.  
  200. This defines the keyboard as USA-ASCII, using the KEYBOARD.DCP file to
  201. describe what that means.
  202.  
  203. >SET TEMP=C:\TMP
  204. >SET TMP=C:\TMP
  205.  
  206. These are environment variables that are always useful to have around.
  207. Be sure that the C:\TMP directory exists.
  208.  
  209. -- 
  210.    |)  David Charlap           "I don't even represent myself
  211.   /|_  dic5340@hertz.njit.edu   sometimes so NJIT is right out!.
  212.  ((|,)
  213.   ~|~  Hi! I am a .signature virus, copy me into your .signature file.
  214.