🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.apps
Article #5077

DOS program CPU hogs

#5077
From: Eoin Woods
Date: Thu, 15 Aug 1996 00:00
34 lines
2222 bytes
I am having a few "interesting" times with a DOS program which I use (under
Warp) to connect to my ISP (it's a bundle of software based on KA9Q for those
interested).

The program is a *terrible* CPU hog - when it is running it takes more and
more of the CPU until the rest of the system is crawling along.  Is there
a way of limiting a DOS program's share of the CPU under OS/2?  All the stuff
I've read is about giving DOS programs MORE - my problem is the opposite! I 
understand that given OS/2's CPU scheduling algorithm the more CPU something
asks for, the more (over time) it will be given.  Is there a way of putting
an upper bound on it?

A secondary question is about stability.  Now and again (usually when the
phone line is hung up abruptly) this program gets in a tangle and corrupts
some internal data structures.  Usually this causes a trap and OS/2 stops
the program (as you would expect).  A few days ago, this happened again, and
the program froze OS/2 SOLID! (No Ctl-Alt-Del or Ctl-Alt-W to WatchCat 
possible).  How can this happen?  I've had LOTS of system hangups and freezes
when running MS Office programs in seamless mode (Word6 being the prime
culprit) - but a DOS program??  Is there something terribly wrong with my
system?

If a DOS program can (1) Hog the CPU and (2) Hang OS/2 solid, this doesn't
say much for the OS/2 crash protection!  My GOOD experiences with it over
the last few years suggest otherwise - which is why I'm after some advice
as to anything I may have done to destabilise it!

Thanks in advance,

Eoin.
-- 
Eoin Woods, Watford, Hertfordshire, WD1 1PD, UK
Email:      Eoin@copse.demon.co.uk
Technical Details
Message-ID: <840142188snz@copse.demon.co.uk>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 112d6c,e6b7f138a953844
X-Google-Attributes: gid112d6c,public
X-Google-Thread: 104dc3,e6b7f138a953844
X-Google-Attributes: gid104dc3,public
From: Eoin Woods <Eoin@copse.demon.co.uk>
Subject: DOS program CPU hogs
Date: 1996/08/15
Message-ID: <840142188snz@copse.demon.co.uk>
X-Deja-AN: 174538654
x-nntp-posting-host: copse.demon.co.uk
x-mail2news-path: copse.demon.co.uk
organization: At Home
reply-to: Eoin@copse.demon.co.uk
newsgroups: comp.os.os2.apps,demon.ip.support.os2