|
Dear Sas, This is far away from MI, so we should not use this mail list - send an Email with some more details of the situation directly to my Email mailto:kp@sosy.dk , and I shall try to assist you. As always, the right solution depends upon the circumstances. Regards, Kaare -----Original Message----- From: mi400-bounces@midrange.com [mailto:mi400-bounces@midrange.com]On Behalf Of sas Sent: Wednesday, January 15, 2003 11:45 PM To: MI Programming on the AS400 / iSeries Subject: Re: [MI400] High Performance parallel run programming Dear Kaare, Do you have any program sample doing this ? would you be so kind to share the code ? Regards, Sas ----- Original Message ----- From: "Kaare Plesner, SOSY A/S" <kaaple@attglobal.net> To: "MI Programming on the AS400 / iSeries" <mi400@midrange.com> Sent: Wednesday, January 15, 2003 6:28 PM Subject: RE: [MI400] High Performance parallel run programming I have in several cases been able to speed up applications considerably by running in parallel like you describe. You cannot expect that splitting up in 5 jobs will make it 5 times faster - you might need say 7 or 8 parallels to achieve improvement by factor 5. The gain obviously depends upon the spare CPU and database I/O capacity on your computer while running this job. As long as there is free capacity, you should gain by adding another job. But if your job when running alone is using say 50% CPU, and OS/400 and other jobs are using 10%, then you obviously should not start more than one additional job. Before splitting the job into several you might want to look at blocked I/O, i.e. having the files involved sorted in the same sequence and using the OVRDBF command SEQONLY and NBRRCDS keywords. If this is possible, and if the job in that way can use 100% CPU, then nothing else could be faster. Regards, Kaare ============================================ . . . NEVER accept bad performance from your iSeries or AS/400 - let us solve the problem -------------------------------------------- Kaare Plesner I SOSY A/S I Herstedøstervej 27-29 mailto:kp@sosy.dk I DK-2620 Albertslund I Denmark Home office: I Tel +45 4494 8105 +45 5835 3305 I Fax +45 4494 8205 SOSY A/S - an IBM Business Partner Meet us at http://www.sosy.dk/ -----Original Message----- From: mi400-bounces@midrange.com [mailto:mi400-bounces@midrange.com]On Behalf Of sas Sent: Wednesday, January 15, 2003 7:49 AM To: mi400@midrange.com Subject: [MI400] High Performance parallel run programming Dear all , Does anyone on the list has any experience doing parallel run programing? background : suppose we have one million record should be read and it will take ex. 5 minute , so if we want the job to be done in 1 (one ) minute, so we should run pgm1( to read record 1-200),pgm2 ( to read record 201-400) and so on until pgm5( to read 801-1000) and all the programs should be run on the same time . Would you be so kind share the experience . Thank you Regards, Sas ************************************************************** Scanned by MailScan Content-Security and Anti-Virus Software. Visit http://www.mwti.net for more info on eScan and MailScan. ************************************************************** _______________________________________________ This is the MI Programming on the AS400 / iSeries (MI400) mailing list To post a message email: MI400@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo.cgi/mi400 or email: MI400-request@midrange.com Before posting, please take a moment to review the archives at http://archive.midrange.com/mi400. _______________________________________________ This is the MI Programming on the AS400 / iSeries (MI400) mailing list To post a message email: MI400@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo.cgi/mi400 or email: MI400-request@midrange.com Before posting, please take a moment to review the archives at http://archive.midrange.com/mi400. ************************************************************** Scanned by MailScan Content-Security and Anti-Virus Software. Visit http://www.mwti.net for more info on eScan and MailScan. ************************************************************** ************************************************************** Scanned by MailScan Content-Security and Anti-Virus Software. Visit http://www.mwti.net for more info on eScan and MailScan. ************************************************************** _______________________________________________ This is the MI Programming on the AS400 / iSeries (MI400) mailing list To post a message email: MI400@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo.cgi/mi400 or email: MI400-request@midrange.com Before posting, please take a moment to review the archives at http://archive.midrange.com/mi400.
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.