SORT performance variance across runs

SyncSort's Sort Product, SyncTool for z/OS, SYNCINIT and SYNCLIST.
Abhay Gadkari
New Member
Posts: 9
Joined: Sat Aug 16, 2014 10:17 pm

SORT performance variance across runs

Post by Abhay Gadkari »

As part of my current work, I happened to run into a scenario where Same SORT sometimes takes 3 minutes, sometimes 30. How do you pinpoint contention or dataset issues? Thanks in advance for sharing your thoughts.
User avatar
Anuj Dhawan
Founder
Posts: 2838
Joined: Sun Apr 21, 2013 7:40 pm
Location: Mumbai, India
Contact:

Re: SORT performance variance across runs

Post by Anuj Dhawan »

A 3-minute versus 30-minute SORT usually indicates a resource wait, but first confirm that both runs processed the same amount of data with the same SORT statements and allocations.As an application programmer, compare one fast and one slow run for:
  • Step CPU time versus elapsed time
  • EXCP count
  • SORT messages showing input records, memory and SORTWK usage
  • Dataset recalls, tape mounts or allocation messages
If CPU time is similar but elapsed time is much higher, the job was probably waiting on CPU, storage or another resource. Provide the job name, job ID, system and execution times to the performance/storage team; they can then check WLM delays, RMF device response and volume contention.If EXCPs or SORTWK usage increased significantly, investigate memory availability and work-dataset allocation first.
Thanks,
Anuj

Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
User avatar
hollow_rowan69
New Member
Posts: 7
Joined: Mon Oct 12, 2026 10:06 am

Re: SORT performance variance across runs

Post by hollow_rowan69 »

When the same SORT is three minutes one night and thirty the next, Anuj's checklist is the right order: confirm identical input counts and SORT control statements, then compare step CPU versus elapsed, EXCPs, and the SORT messages for memory and SORTWK. Similar CPU with much higher elapsed usually means wait for CPU, storage or devices rather than a worse algorithm. Handing the performance team job name, job id, system and run times lets them check WLM delay and RMF device response for that window. A jump in SORTWK or recalls points back at memory and work dataset allocation before blaming SyncSort itself.
Post Reply Previous topicNext topic

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “SyncSort, SyncTool, SyncGener.”