1. Jeff Coronado
  2. PowerBuilder
  3. Friday, 1 September 2023 14:10 PM UTC

Runtime environment:

Powerbuilder 2019 R3

Hosted on Citrix Xenapp

Users desktop is VMWare HVD

 

HVD Pool was moved to dedicated GPU.  Once this was done, the Powerbuilder application performance degraded so much that the application is unusable.  GPU bandwidth constantly spikes up to 14+ Mbps versus the prior average of <1 Mbps.  Latency is really slow when windows are moved, minimized, reopened (so any refresh/repaint of the windows)

Only the Powerbuilder application is having performance issues.  And again, the same Powerbuilder app on non-dedicated GPU HVDs are working normal.

Is there a general issue with Powerbuilder applications running on dedicated GPU?  Is there a best practice advising against running on dedicated GPU?  Are there some coding practices that must be followed if running on dedicated GPU?

Thanks.

 

TOMAZ KRALJ Accepted Answer Pending Moderation
  1. Monday, 4 September 2023 11:50 AM UTC
  2. PowerBuilder
  3. # 1

Hi Jeff,

try this:

In PB.INI I change following values:

[Data Window]
ACCESSIBILITY=0

[DataStore Behavior]
UseHwnd=yes

 

Especially parameter  ACCESSIBILITY=0 changed performance of my application. If I change UseHwnd=no, I have problems with printing as I get printsetup dialog of current printer and not dialog for selecting printer.

 

I compiled my application with this parameters in PB.ini and also copied PB.INI file in application folder on users machine.

 

Hope will help to you!

 

Regards

 

Tomaž

Comment
  1. Benjamin Gaesslein
  2. Wednesday, 6 September 2023 11:19 AM UTC
You could work around the datastore printing issues that arise when setting "UseHwnd=No" by applying the techniques discussed here:



https://community.appeon.com/index.php/qna/q-a/need-for-documentation-on-all-existing-pb-ini-entries
  1. Helpful 2
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.