home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.os2.misc
- Path: sparky!uunet!mcsun!sun4nl!kubds1!kub.nl!hoppie
- From: hoppie@kub.nl (Jeroen Hoppenbrouwers)
- Subject: Re: Why does DOS (Telix, AutoCAD, etc.) use 100%
- Message-ID: <1992Dec18.073415.6915@kub.nl>
- Date: Fri, 18 Dec 92 07:34:15 GMT
- Organization: Tilburg University, Tilburg, The Netherlands
- Nntp-Posting-Host: trigger.kub.nl
- References: <17DEC199220532131@zeus.tamu.edu>
- Lines: 31
-
- In article <17DEC199220532131@zeus.tamu.edu>, rem5156@zeus.tamu.edu (The Doctor) writes:
- |> ..does anyone know why my system maxes out to 100% when I use Telix, or OrCAD
- |> or AutoCAD in a DOS full-screen session?
- |>
- |> System: 486DX-33, 256K cache, 16MB RAM, etc.
-
- Probably because your DOS settings tell the system session to do so :-)
-
- Basically, OS/2 distributes CPU cycles to every process that is ready to run
- until its time slice is over or it releases the CPU or another thread with higher
- priority comes available. DOS sessions do not know anything about multitasking and
- therefore will never release the CPU voluntarily. Thus, OS/2 gives them as much CPU
- as the system can spare (without blocking higher-priority threads, it is not
- like Windogs!).
-
- If your DOS app uses DOS/BIOS calls for e.g. keyboard requests, you can get the session
- to eat less CPU by lowering the idle time and threshold settings for these programs.
- Be aware that you can effectively kill Telix by this. As a trick, you can live up
- a program by pressing a shift key continuously, so it gets CPU attention.
-
- Seeing PULSE climb to 100% only tells you that the CPU is not sitting idle. It is
- working all the time, but not only on your DOS session! Personally, I like
- to see my CPU working :-)
-
-
-
- Jeroen
-
- --
- Jeroen Hoppenbrouwers, research engineer at | Stop connecting computers;
- Infolab, Tilburg University, The Netherlands | start connecting people!
-