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