home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 14 Text / 14-Text.zip / speed.txt < prev    next >
Text File  |  1995-02-02  |  11KB  |  237 lines

  1. =========================================================================
  2.    Date: 02-02-95  15:57                Message #: 13            ASGARD
  3.    From: CHRIS JOHNSON                  Status: PUBLIC
  4.      To: ALL                            Ref #:          
  5. Subject: PERFORMANCE CONSIDERATION      Conf: SUPPORT: OS/2 (13)
  6. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  7. OS/2 INTERNATIONAL                                         FEB 2 1995 
  8. Attention Power Users!  
  9.   
  10.      I appreciate the correspondence I have received to date regarding  
  11. this thread.  What follows is my seventh update in fine tuning a system  
  12. at least similar to mine.  
  13.   
  14.      I currently run a 486 66 with 16 meg of ram (I just dropped down  
  15. from 20) with an enhanced IDE controller.  The tips revolve around a  
  16. a system of similar ram and capabilities with notes for other  
  17. configurations.   The defaults are usually sufficient for most users;
  18. but, nevertheless, people eventually make great demands upon their system.
  19. If you have a low memory situation, this message may help out tremendously.
  20.  
  21.      I run WARP.  
  22.   
  23. UPDATE: 7
  24.   
  25.      What follows is a collaboration of several people.  I would like  
  26. to thank Bob Hess, Glenn Reimche, Ronold Ross, and Harold Ulery for their
  27. additional tips and for putting their systems to the test.  I thought I knew
  28. a lot about system operations, but I am even wiser than when I started this
  29. thread.  Since I started this, the amount of netmail (and even personal calls)
  30. has totaled in the hundreds.  I got swamped over the holidays but that's OK.
  31. I had a LOT of fun.  Hopefully, this message will reduce some FAQ in some
  32. of the conferences.  Jim Gilliland warned that WARP would cause heavy message
  33. traffic--and it has!  
  34.  
  35.      Welp, here are some tips.  Take only those that you find necessary.
  36. For some, they have helped tremendously.  For others, it was a mild 
  37. improvement.  If memory conservation or improved speed is important to you,
  38. please read on.  Your mileage could vary depending on your system hardware.
  39. These settings represent one "School of Thought" <VBG>!
  40.   
  41. 1)  IFS=C:\OS2\HPFS.IFS /CACHE:2048 /CRECL:64 /AUTOCHECK:CD  
  42.     Only include this line if you actually have a partition formatted  
  43.     HPFS rather than FAT.  If you are strictly FAT, rem this line out.  
  44.     HPFS eats a chunk of memory--particularly on low memory  
  45.     systems--[BH]  
  46.   
  47.     If one runs both FAT and HPFS, don't go excessive with the cache  
  48.     settings.  Give more to the most commonly used file system.  Don't
  49.     forget that I have 16 meg of ram.  Anything less than that and I
  50.     don't recommend anything more than /CACHE:1536 /CRECL:32  On an
  51.     8 meg system, I have found that /CACHE:768 up to /CACHE:1280 are
  52.     ok--[CJ].  
  53.  
  54. 2)  Removed IBM2FLPY.ADD 
  55.     Saved me some memory--[CJ] . 
  56.     Only needed on Microchannel PC's.--[manual]  
  57.   
  58. 3)  Removed XDFLOPPY.FLT  
  59.     It appears that many people would have no use for this--[GR]. 
  60.   
  61.     If one wants to use selective install from diskettes, this needs  
  62.     to be reenabled.  You can save a little mem without it--[CJ]. 
  63.   
  64. 4)  SET RESTARTOBJECTS=STARTUPFOLDERSONLY  
  65.     If you have an annoying program that won't shutdown, when you reboot 
  66.     it is likely to still be running.  This will allow, at bootup,  
  67.     the same standard desktop without any running processes except
  68.     those in the startup folder--[CJ].  
  69.   
  70. 5)  SET KEYS=OFF  
  71.     This saved me a little memory--[CJ].  Preference here, if you like  
  72.     recalling past commands, you may want to consider leaving it ON.  
  73.   
  74. 6)  PRIORITY_DISK_IO=NO  
  75.     When my BBS is up or I'm doing intensive communications, NO is a 
  76.     must--[CJ].  
  77.  
  78. 7)  FILES=30  
  79.     For DOS sessions.  The default is fine.  I just have the memory  
  80.     to waste and some DOS programs get a little finicky for some  
  81.     reason.  For a BBS, this setting could be better than default and 
  82.     could help out WIN/OS2 sessions--[CJ]. 
  83.   
  84. 8)  BUFFERS=90  
  85.     Good for bringing up those icons when using the drives objects.  
  86.     Helps out the floppy access.  Of course, on good memory systems this 
  87.     is acceptable.  If one has lower memory, consider 60 at 8 meg and  
  88.     no more than 30 for smaller configurations--[CJ]. 
  89.   
  90. 9)  MAXWAIT=1   (consider (2) for normal operations)  
  91.     Things are a little more responsive.  When my BBS is up I use 1.  
  92.     I also found that I removed all forms of ZERRORS when I was multi-  
  93.     tasking with Livewire 2.2 when I used MAXWAIT=1--[CJ].  
  94.   
  95. 10)  RUN=C:\OS2\CACHE.EXE /MAXAGE:7500 /DISKIDLE:60000 /BUFFERIDLE:60000 
  96.      Check it out.  It's going to be a seat of the pants feel--[CJ].  
  97.   
  98. 11)  MEMMAN=SWAP,PROTECT
  99.      The default is ok.  Consider COMMIT on low disk space situations instead
  100.      of PROTECT--[CJ].
  101.  
  102. 12)  IOPL=YES 
  103.      Don't advise ANYONE to put this to NO.  I would stick with yes.
  104.      This lets programs use I/O commands when processing (especially
  105.      important COMM programs).  It is extremely bad to have at NO (I
  106.      tried, just in case, and got a CPS of 1100 to my usual 1670 during
  107.      a download, and 10 errors of a 300k file).  The performance impact
  108.      of NO is nominal at best but not dangerous--[RR].
  109.  
  110. 13)  SWAPPATH=C:\OS2\SYSTEM 2048 16000  
  111.      This is a good general setting no matter how much RAM you have.
  112.      If you have decent disk space available, go ahead and put a big 
  113.      swap file on it.  If you are not this fortunate, put the swap size
  114.      at the default and then run several tasks you might think of doing
  115.      concurrently.  Look at the swap file and then set it 1 meg larger--[CJ].
  116.  
  117.      In the book OS/2 unleashed it states, "This is not the optimal  
  118.      location for the <swapper.dat> file.  The swap file should be moved 
  119.      to the root directory of the most frequently used partition of the  
  120.      least used hard drive"--[BH].  
  121.   
  122.      I personally think this advice is only good if one has 2 or more  
  123.      physically different drives.  Don't confuse this with partitions.  
  124.      I saw no improvement on just one drive partitioned out to multiple
  125.      drives.  The theory is that the heads on the other drive will 
  126.      already be placed on the swap file.  That is why it makes no use on
  127.      one drive--[CJ].  
  128.   
  129.      There has been discussion if it is faster to put it in the root
  130.      directory.  I have been told that once OS/2 boots up the SWAPPER.DAT
  131.      that it is constantly open.  Therefore, the location is pretty much
  132.      pointless unless there are 2 or more physically different drives--[CJ].
  133.  
  134. 14)  THREADS=128
  135.      The default values are sufficient.  Most users will find that 256 
  136.      is more than sufficient for them down to 8 megs.  Below 8 one should 
  137.      consider the default values or around 128--[CJ].  
  138.       
  139.      128 is more than enough for my 2 line BBS--[HU].  
  140.   
  141. 15)  PRINTMONBUFSIZE=2048,134,134  
  142.      Awesome!  Experiment with this one and see how it impacts printer
  143.      performance versus system performance.  I use an EPSON Laserjet.  The 
  144.      buffersize is not measured in K but in bytes.  Also, the minimum
  145.      default value is 134.  Too bad it can't be set to zero--[CJ].  
  146.  
  147. 16)  FCBS=4,2  
  148.      FCBS is an old cow.  I save a little memory by reducing the  
  149.      value--[CJ].  
  150.   
  151. 17)  I REM'd out all references to TCPIP as I don't have a local  
  152.      provider and saved a sizeable amount of memory--[CJ].  
  153.   
  154. 18)  REM'd out DISKCACHE=D,LW,AC:CD 
  155.      Saved 2 meg when I was at 20meg on the system due to the "D" switch 
  156.      being enabled when I REM'd this line out and had no FAT partition. 
  157.      You will only need this option if you have a FAT partition.  Remove 
  158.      the diskcache line if you only have HPFS--[CJ]!!!  
  159.     
  160.      DISKCACHE=512,32,LW,AC:CD if you have a BBS and only 8 megs for a FAT
  161.      DISKCACHE=256,32,LW,AC:CD if you are even more hard up on memory
  162.      DISKCACHE=128,32,LW,AC:CD for a 4 meg system on FAT
  163.      DISKCACHE=1024,128,LW,AC:CD for an 8 meg system doing normal activities
  164.      (up to 1736 for those SPEED demons with only 2 apps running)--[RR].
  165.  
  166. 19)  AUTOFAIL=YES
  167.      This is adviced for BBS use.  
  168.  
  169.      Only input this after you have a good idea how the system is running
  170.      --[CJ].
  171.  
  172. 20)  PAUSEONERROR=NO
  173.      This is adviced for BBS use.  These options keep the system in motion
  174.      despite any errors encountered.  Hopefully you won't encounter any,
  175.      but when your not around the bbs, and it comes up with an error, you would
  176.      want it to at least automatically fail without pause and continue on with
  177.      those processes that do.  Your users would appreciate that.
  178.  
  179.      Only input this after you have a good idea how the system is running
  180.      --[CJ]. 
  181.  
  182. 21)  SHELL=E:\OS2\MDOS\COMMAND.COM E:\OS2\MDOS /E:2000 /P
  183.      If you run a BBS, increasing the environment will help FRONTDOOR--[CJ].
  184.  
  185.      As you can see, I scrunched memory where I could and placed it in 
  186. areas that are starving for it, ie CACHE, BUFFERS, PRINTMONBUFSIZE, 
  187. etc...  
  188.   
  189.      System Information says I have 4.1 meg allocated to OS/2 and the 
  190. rest is available to me.  Before I did the fine tuning, I had 7.5 meg 
  191. allocated to OS/2.  Smaller memory allocations can be made by smaller 
  192. cache settings. 
  193.  
  194.      I had one user report that OS/2 allocated only 3.1 meg to itself 
  195. out of a 16 meg system!  (It can go even lower on 4 meg machines)  The
  196. cache settings impact this value the most. 
  197.   
  198.      This advice should be good for 16 meg machines on down to 4.
  199. 4 meg machines should be very conservative of any cache settings.
  200. Just going 256k too much could cause exessive swapping.  Don't even dare
  201. run HPFS on a 4 meg machine!  For even better performance, consider an 
  202. alternative shell to run your applications until you can buy 4 more meg
  203. of ram.  The GUI is going to take a performance hit on low ram situations.
  204. I have found appreciable gains in performance all the way up to 16 meg.
  205.  
  206.      Maintenance is very low.  Once you have made your settings, you can
  207. usually leave your CONFIG.SYS alone.  The only thing you usually have
  208. to change when you update memory are the cache settings and swapfile and
  209. the opposite is true if removing memory.  
  210.   
  211.      As you can see, once you do some fine tuning, there is very little 
  212. left for you to do.  That is the beauty of OS/2.  Do some changes and
  213. leave it alone!  Don't get caught up running benchmarks everyday like you
  214. used to do in the DOS days.  There is very little you can do to make it your  
  215. dream screamer without purchasing that Pentium 100 you always wanted! 
  216. <G>   
  217.  
  218.      Have fun and be productive.  If this helps anyone out, let me know! 
  219.    
  220.      Also, if anyone wants to add some advice, feel free to email me the 
  221. info.  This advice isn't gospel, but it is the collaboration of several 
  222. people on this net.  I will compile the advice and give updates as we  
  223. haggle, discuss, and come to terms on certain performance issues.  
  224.   
  225.      Discussion does not need to be limited to Config.sys.  Desktop 
  226. folder settings could be added too.  
  227.   
  228. Respectfully,  
  229.   
  230. Chris Johnson  1:208/610  
  231. ---
  232.  ■ MR/2 2.12 NR ■ Can you imagine OS/2 for Windows 95? <CJ>
  233.  
  234. ---
  235.  ■ MR/2 2.12 NR ■ Can you imagine OS/2 for Windows 95? <CJ>
  236.  
  237.