home *** CD-ROM | disk | FTP | other *** search
- /FHQ24: How can I increase DESQview's performance?/FB
-
-
-
- DESQview's performance depends on many different factors. We will try
- to highlight some of the important areas here.
-
-
-
- /FLDESQVIEW-OBLIVIOUS PROGRAMS/FB
-
- Performance is especially degraded by DESQview-oblivious programs
- /JB(see Q3)/q3.txt/, because they do not give up the CPU when they are not
- doing useful work /JB(see Q9)/q9.txt/.
-
-
-
- Some programs, while waiting for keyboard input, continuously ask
- if a keystroke is available instead of giving up the CPU.
- Quarterdeck provides a way to force programs to give up the CPU
- after a specified number of keystroke queries. One of the bytes in
- the DVP file (the file edited by Change A Program) specifies the
- number of keyboard polls before the CPU is taken away.
-
-
-
- Unfortunately, Quarterdeck has never put a field on the Change A
- Program screens to change this number. DvpEdit, a freeware
- replacement for Change A Program, is available on SIMTEL20 /JB(see Q7)/q7.txt/
- and allows you to change this ``Max Keypolls'' value.
-
-
-
- Another well-known program is TAME. TAME does much more than watch
- for keyboard polling; and can do a good job of increasing
- performance.
-
-
-
- System performance can be measured with the PS utility available in
- the DVSI package (also on SIMTEL20 and DVNet). Using PS, an
- offending program can be quickly identified.
-
-
-
- /FLDISK ACCESS/FB
-
- Since disk access can slow down the system significantly /JB(see Q10)/q10.txt/
- using a disk cache can also increase performance. HyperDisk,
- available on SIMTEL20 /JB(see Q7)/q7.txt/, is especially popular among
- DESQview users.
-
-
-
- /FLFOREGROUND//BACKGROUND TICKS/FB
-
- With the ``Tune Performance'' menu you can set the number of
- foreground and background ticks. These numbers indicate how much
- time DESQview is to allocate to a given task before moving on to
- the next in a round-robin fashion. The default setting is 9:3,
- which means DESQview gives the foreground task 9 ``ticks'', or
- roughly half a second, of CPU time, then gives each of the
- background tasks 3 ticks. A more common setting with today's
- hardware is 1:1 or 2:2 -- each task gets 1 (or 2) ticks.
-
-
-
- There's no single, optimal setting. Smaller numbers generally
- provide smoother performance, but may overwhelm the CPU on less
- powerful systems. In addition, time-sensitive applications like
- communications programs may need to be serviced frequently by the
- CPU. In short, experiment.
-
-
-
- Here's an undocumented trick: Go to ``Tune Performance'' and
- backspace to erase the numbers that are in the ticks fields. This
- will set them to ``H0'' (next time you bring up the ``Tune
- Performance'' window). This trick seems to set the ticks to 1//2
- and 1//2 (although this claim has been disputed -- more
- experimentation will have to be done).
-
-
-
- Setting 0 background ticks will cause background windows to never
- run. Setting 0 foreground ticks will cause background windows to
- run only if the foreground window explicitly gives up its
- timeslice, or if it blocks (i.e. waits for a keystroke or other
- event).
-
-
-
- /FLSCREEN DISPLAY/FB
-
- There are three primary reasons why your screen may appear jerky.
- First, you may be virtualizing the window. While this prevents
- bleed-thru (when used in conjunction with QEMM-386), it does
- increase the workload on DESQview, and the screen output only
- occurs at the end of the program's timeslice. If this is a problem
- for you then configure your application to use BIOS screen writes
- and turn virtualization off. Second, you may need to adjust your
- tick settings. DESQview updates the screen display at the end of a
- task's CPU allocation. Thus, a setting of, say, 99:99 will result
- in extremely jerky screen updates compared with 2:2 or so. Third,
- you may be unnecessarily using NOFF.SHP /JB(see Q23)/q23.txt/.
-
-
-
- DESQview//X is a GUI and therefore screen output is much slower.
- This is due to the poor design of the PC's video. In order to get
- better display performance, you may want to purchase a graphics
- accelerator or coprocessor board.
-
-
-
- /FLMEMORY USAGE/FB
-
- The memory usage of individual programs can be tuned in Change A
- Program. For maximum window size, you must balance your TSR and
- device driver usage (see /JBQ16/q16.txt/ and /JBQ22/q22.txt/). The PS utility in the DVSI
- package available on SIMTEL20 /JB(see Q7)/q7.txt/ can show which windows are
- not using all their allocated memory.
-