home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / fj / maillis / xwindow / 18951 < prev    next >
Encoding:
Internet Message Format  |  1992-12-29  |  1.3 KB

  1. Path: sparky!uunet!stanford.edu!sun-barr!sh.wide!wnoc-tyo-news!scslwide!wsgw!wsservra!onoe
  2. From: john@pluto.Jpl.Nasa.Gov (John R Veregge)
  3. Newsgroups: fj.mail-lists.x-window
  4. Subject: Xt and CPU usage
  5. Message-ID: <1992Dec29.083035.15249@sm.sony.co.jp>
  6. Date: 29 Dec 92 08:30:35 GMT
  7. Sender: onoe@sm.sony.co.jp (Atsushi Onoe)
  8. Distribution: fj
  9. Organization: Jet Propulsion Laboratory, Pasadena CA
  10. Lines: 27
  11. Approved: michael@sm.sony.co.jp
  12.  
  13. Date: Tue, 29 Dec 1992 04:41:04 GMT
  14. Message-Id: <1992Dec29.044104.19377@llyene.jpl.nasa.gov>
  15. Newsgroups: comp.windows.x
  16. Sender: xpert-request@expo.lcs.mit.edu
  17.  
  18. We have developed several large Motif applications that are complete CPU
  19. hogs and I don't know why.
  20.  
  21. Each application has 300 to 500 XtCreateWidget() and 8 XtAppCreateShell()
  22. calls. These calls are all made before XtAppMainLoop() is called. Widgets
  23. are not destroyed until the application exits.
  24.  
  25. Each application is driven by both the GUI and serialized data using
  26. XtInputCallbackProc's.
  27.  
  28. We run 2 to 4 application on a workstation.
  29.  
  30. 2 applications will put CPU usage of a Sparc 2 at 97%, even when
  31. completely idle with no serialized data input and no X events (GUI input).
  32.  
  33. Can anyone tell me (1) Why? and (2) How can I fix (optimize) this?
  34. ______________________________
  35.  
  36. John R Veregge
  37. Jet Propulsion Laboratory
  38. Calif Institute of Technology
  39. john@pluto.triton.jpl.nasa.gov
  40.