cancel
Showing results for 
Search instead for 
Did you mean: 

Powerbuilder 12.6 slow behaviour

Former Member
0 Kudos

A friend need some help with this issue.

We deployed our application on Windows Server 2012 SMB File Server.

The application is deployed to a UNC shared directory. The clients access this directory from Windows 7 32-bit stations and the run the application locally. PB Runtime 12.6 has been installed locally on these client stations.

After the deployment we run a pilot to test various aspects of the application, especially it’s performance. During the pilot we have found that compared to our old PB 11.5 based version, the visual performance of our PB 12.6 application was seriously impaired. The menus blink, the windows open slowly… As a result the clients complained that the new version is just unusable.

We estimated that the problem is probably connected to the PB 12.6 inherent feature of lack of persistent memory caching of pbd files.

Such lack of caching seems causes sequential excessive loading and unloading of these files on each and every user interaction.

We then tried to improve the performance by defining "Caching" option in "Advanced Sharing" dialog of Windows Sharing. Specifically we tried to check the option "All files and programs that users open from the shared folder are automatically available offline" + "Optimize for performance".

Such option should cause all our application related files to be downloaded from the application server and cached locally on the client computer “behind the scenes”.

The visual performance of the application in this case indeed was drastically improved, but not immediately.

It took some 3-5 minutes after starting the application until we could feel that the performance was indeed smooth as in the 11.5 version.

We turned to Microsoft for an advise if such “cached” application server configuration is feasible.

In turn, Microsoft representatives requested the manufacturer (SAP) recommended operational and configuration instructions for such deployment configuration. After receiving such document they will be ready to assist us further in this matter.

I will be glad if you can provide, as requested by Microsoft, such instructions for the proposed application server configuration (Windows 2012 SMB server with file caching), or provide us with any alternative solution for the problem I described.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Eyal;

1)  What build of PB 12,6 are you using?

2) What application type did you build (native or Winform)?

3) If native, did you compile to P-Code or M-Code?

4) Did you include a PBR to link all your icons & images into the EXE and/or PBD/DLL?

   (no external file access)

Regards ... Chris

Former Member
0 Kudos

Hello Chris,

the problem was that there was no PBR file.

we add the file and all the problem's disappeared,

Thank you,

Eyal

Former Member
0 Kudos

Hi Eyal;

  Excellent news ... my point #4!  

Please mark your question then as answered

Regards ... Chris

Answers (0)