Operating System - HP-UX
1833883 Members
2121 Online
110063 Solutions
New Discussion

Re: Loading a PIxmap in X-Windows

 
Joe Pepe
Occasional Contributor

Loading a PIxmap in X-Windows

I'm trying to load a pixmap with approximately 10000 colors. The file size is around 3.5 Meg. I'm using Xm.Getpixmap and its taking about five minutes to load the pixmap for display. Anyone know why it takes so long and if there is a way to speed it up?
1 REPLY 1
Bill McNAMARA_1
Honored Contributor

Re: Loading a PIxmap in X-Windows

run
iostat -t 2

and

sar -o sarfile 5 60

sar -Af sarfile > sar.report

from analysis you can figure out if your system is cpu bound or disk i/o bound.

You may have a display probem if not local and lan in that case too. Although I'd imagine it something to do with X not having 10k colors and color blending happening at the app layer.

if you xwd your root window and xwud in the file you'll find there's no more than a 2 second load time for the same file size.

Later,
Bill
It works for me (tm)