Operating System - Linux
1753797 Members
7331 Online
108799 Solutions
New Discussion

Slow performance with Motif GUI on long string output

 
Goh Boon Yeow
New Member

Slow performance with Motif GUI on long string output

Hi guys,

We have a HP-UX B.11.11 machine. We're running a C program which uses the motif library. For some reason, the motif program takes an extremely long time to process writing a new line character after processing a wide buffer.

E.g.:
1. Write a string that is 255 characters long without the new line character (character by character using C's putc function)
2. Write the new line character (using C's putc function)

When running the program in GUI mode where the output goes to an x-window, the process takes about five minutes to complete. However, the process is quick when run in command line where the result goes to stdout.

Are there any known performance issues with HP's X11/motif library? The same piece of code works perfectly fine on other servers and with shorter strings.

Thanks and cheers,
BYG.