TIP: Click on subject to list as thread! ANSI
echo: os2dos
to: PAUL VOOGD
from: LARS FERGUSON
date: 1997-05-25 09:54:00
subject: 100% CPU usage

Paul,  For a communication DOS/Windows program you should usually have the 
Sensitivity Settings as high as possible.  But, that will force the CPU to be 
at 100 percent.  All of your other DOS/Windows programs, you might want to 
have set to the lowest Sensitivity Settings, so that they use little to no  
CPU time.  So for CompuServe's Win-CIM, for instance, since I always want 
that connection to stay attached, I have set the Idle_Sensitivity=100, and 
since I use Ray Gwinn's SIO Driver, I have set his SIO_Idle_Sensisitivy=100 
also.  That way win-CIM gets attention paid to it.  All of my other 
DOS/Windows programs, I have set exactlly opposite; to only 0.  Although this 
setting does use up CPU time, I don't see any difference in my Disk Driver 
performance, os I must expect something else there.  If you don't have 
bus-mastering, then your  Drive's Controller must use the CPU for all of its 
transers.  That eats up CPU time.  My Controller is a SCSI, with 
bus-mastering, but may ATA/IDE controllers are not.  IF you have a recent 
ATA-2/EIDE, then that should be bus-mastering.  Perhaps your computer is 
doing alot of memory swapping ?  You need a controller that can access memory 
above 16MB, in order to use that memory directly by the controller and by 
OS/2.  Make sure that your Hard Drives are connected to a PCI or EISA slot, 
or has a controller that is made to address memory above 16MB, to avoid 
memory swapping.  Also, the controller, will always run at the speed of the 
slowest device that is attached.  So if you have two EIDE controllers, make 
sure that your Drives are on the primary controller, and that the CD or Tape 
is only the secondary controller.  IF SCSI, use two SCSI Adapters, for the 
same reason.  Try setting your DOS Cache to a larger setting.  If you are 
writing large amount of data, then increase the thresehold size.  The Disk 
Cache line should look like this:   DISKCACHE=4096,LW,128,Oops.  Sorry, one 
two many commas.  The larger the second number, the larger amount of 
information the cache will use at one time.  Those are my ideas.   Lars
--- Maximus/2 2.02
---------------
* Origin: OS/2 Shareware BBS, telnet://bbs.os2bbs.com (1:109/347)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.