|
You should check if your programs set LR on before leaving. This can be a cause of performance problem if the programs are called repetidely. You could yous bound program or service program to improve performance. You could also replace the QCMDEXC by calls to IBM API, it is more complicated but likely faster. Denis Robitaille Directeur service technique Cascades Inc 819 363 5187 fax 819 363 5177 >>> "Scott Adams" <as400jockey@hotmail.com> 12/17 10:06 AM >>> I have a 170-2189 with 128MB memory. I've been playing with the HTTP server stuff. The performance on HTML based stuff, either in IFS directories or in source files is pretty good. The problem is with performance of RPG programs. I have one program that does the following: - calls QCMDEXC to change the lib list - calls several other RPG programs to create the various sections of the screen - top bar, left and right bar, bottom bar, etc - calls another RPG program to create a random number This collection of stuff takes about 5 seconds before any HTML starts coming back to the client. Once that starts, the screen appears very quickly. The first program is about 180K (optimized) and all the other little programs tip the scales at about 40K each. In short, this performance is not great. Does anyone have recommendations as to how to speed things up? Could my problems be caused by any of the following: - insufficient memory (there's nothing else going on with the machine) and it's hard to determine from WRKSYSSTS if there's too much paging going on - calling QCMDEXC from inside RPG - calling other RPG programs from within this RPG program How do I find out where the bottleneck is? Thanks in advance for any help. ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +--- +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.