|
Also be aware that OS400 supports dynamic priority adjustment (and Scheduling) system values, that somewhat changes the actual priority of the job. I think you can see the actual priority on the WRKSYSACT screens. Eric DeLong Sally Beauty Company MIS-Project Manager (BSG) 940-898-7863 or ext. 1863 -----Original Message----- From: Steve Morrison [mailto:smorrison@xxxxxxxxxxxxx] Sent: Wednesday, September 01, 2004 11:45 AM To: Midrange Systems Technical Discussion Subject: RE: RUN PRIORITY &CPU question Muralidhar, Run Priority is relative to other jobs currently active on the system. If a job at run priority 99 is running as the only job on the computer, it will use as much CPU as it can. In addition, differences between the run priority of two jobs is absolute, not relative. In other words, one job running at priority 20 will always take priority over another job with lower priority, whether that other job has priority 21 or priority 99, as long as the job has something for the CPU to do. CPU usage is also affected by disk usage. If a job is reading/writing a lot of data to disk, this will limit how much CPU the job can use. We have several jobs that run about 12 hours, but the CPU usage at these times (over the weekend) is less than 5%, because the jobs are spending all of their time reading from disk, and not processing the data. You say that the job took more time than usual. How many other jobs were running at the dame time? Was there a larger than normal file to process? Check the job log to compare the CPU seconds used with an earlier run, to see if there was an increase in processing time, or only in the run time. Steve Morrison Beacon Insurance 940-720-4672 -----Original Message----- From: Muralidhar Narayana [mailto:Muralidhar_Narayana@xxxxxxxxxxx] Sent: Wednesday, September 01, 2004 11:19 AM To: midrange-l@xxxxxxxxxxxx Subject: RUN PRIORITY &CPU question Hi There is a problem in running a batch. In the beginning of batch I have seen CHGJOB 005 RUNPTY(19) BRKMSG(*HOLD) I aslo saw batch ran at priority 20, I changed it to 15. But somehow it was changed back to 20. I also saw CPU used was 2-8 %. The batch took more time than usal time of processing, Can any one give me your valuable suggestions, is something wrong with priority? CPU usage figures indicate what? Thank you for your help., -- This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/midrange-l or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l. -- This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/midrange-l or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.
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.