home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / windows / x / 15360 < prev    next >
Encoding:
Internet Message Format  |  1992-08-18  |  1.7 KB

  1. Xref: sparky comp.windows.x:15360 comp.unix.aix:8892
  2. Newsgroups: comp.windows.x,comp.unix.aix
  3. Path: sparky!uunet!usc!sdd.hp.com!ux1.cso.uiuc.edu!news.cso.uiuc.edu!ux2.cso.uiuc.edu!sink
  4. From: e-sink@uiuc.edu (Eric W. Sink)
  5. Subject: Why is XDrawString so SLOW under AIX 3.2.2 ?
  6. Message-ID: <Bt6pyE.24p@news.cso.uiuc.edu>
  7. Originator: sink@ux2.cso.uiuc.edu
  8. Summary: Really slow.  Really.
  9. Sender: usenet@news.cso.uiuc.edu (Net Noise owner)
  10. Reply-To: e-sink@uiuc.edu
  11. Organization: University of Illinois at Urbana
  12. Date: Tue, 18 Aug 1992 15:06:11 GMT
  13. Lines: 30
  14.  
  15. The window is sort of like a spreadsheet, with lots of text being
  16. drawn.  Window updates are instantaneous on every other display
  17. we have.  On my RS/6000 model 220, AIX 3.2.2, it takes up to 30
  18. seconds to do a redraw.
  19.  
  20. The problem is the X server, I'm pretty sure of that.  The RS/6000
  21. version is quite speedy when displayed on an HP 700.  However, the
  22. HP version is slow as a dog displayed on the RS/6000.
  23.  
  24. Each time a cell is drawn, there is an XFillRectangle and an
  25. XDrawString.  These are the principle Xlib calls used to refresh
  26. the window.
  27.  
  28. I ran the app through xscope, which revealed that when displaying to the
  29. RS/6000 display, there were FAR more PolyText8 and PolyFillRectangle
  30. requests.  However, inserting a counter at the place where I make the
  31. above mentioned calls shows that the same number of Xlib calls are being
  32. made (roughly).
  33.  
  34. It's almost like my two Xlib calls are generating many many more X
  35. protocol requests on the RS/6000 server than on the others (HP, Sun,
  36. DEC, SGI).
  37.  
  38. Any ideas ??
  39.  
  40. -- 
  41. Eric W. Sink, Spyglass        | [ Cute quote deleted ]
  42. 1800 Woodfield Drive          |
  43. Savoy, IL  61826              |
  44. ---- e-sink@uiuc.edu ---------|---------- 217-355-6000 -----------------------
  45.