Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

CONTIG for performance?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
JPVRoff

New User


Joined: 06 Oct 2009
Posts: 27
Location: Melbourne, Australia

PostPosted: Fri Jun 09, 2017 8:39 am    Post subject: CONTIG for performance?
Reply with quote

I've been having a bit of a look around to see if there's any real performance gain to be had by coding CONTIG for either larger files or SORT working files. And I haven't had much luck. 20 or 30 years ago, there might have been a need as the DASD was slower and you needed to use it a lot more than you do now.
Does anyone know of any write-ups of this that have been done recently (last 10 years)?
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10277
Location: italy

PostPosted: Fri Jun 09, 2017 11:16 am    Post subject: Reply to: CONTIG for performance?
Reply with quote

nothing to gain from a physical point of view,
since the monolithic real drives have been substituted by dasd arrays and an emulation layer for 3390 and friends
all the concerns about seek times times and rotational delays are no longer there
( the tracks of an emulated devices will certainly be spread around on different real drives )
add also the intensive use of caches

there will be be a slight software overhead for allocation
and for the mapping of the <logical> track info to the <real> track/extent info
Back to top
View user's profile Send private message
JPVRoff

New User


Joined: 06 Oct 2009
Posts: 27
Location: Melbourne, Australia

PostPosted: Tue Jun 13, 2017 4:22 am    Post subject:
Reply with quote

Thanks Enrico.

I figured as much, but it's been a while since I looked at this sort of thing. And I also figured that any sort of test would probably show up my lack of skill in designing the test - than any major difference. With the volumes I can see being used, I could not see any need for it anyway (even in the old days).

I stopped coding CONTIG about the same time that we got our first SS drive (which must have been in the early 1990's). Everything started to become so much easier that I figured I'd be out of a job in the next few years (how wrong was I?).
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8121
Location: East Dubuque, Illinois, USA

PostPosted: Wed Jun 14, 2017 12:26 am    Post subject: Reply to: CONTIG for performance?
Reply with quote

I don't think performance is the issue any more -- but RACF, for example, has CONTIG coded in the sample JCL member RACJCL because the RACF database must be allocated in one extent.
Back to top
View user's profile Send private message
JPVRoff

New User


Joined: 06 Oct 2009
Posts: 27
Location: Melbourne, Australia

PostPosted: Wed Jun 14, 2017 4:01 am    Post subject: Reply to: CONTIG for performance?
Reply with quote

Interesting. For any other database I might question the algorithm used, but I can see the point for a RACF/ACF2/other security database.

I should have explained that the CONTIGs I was seeing were for sort work files - and I just could not see the point of having them.

I wonder if there's any other places where a CONTIG would be appropriate (moving the thread slightly off-topic)...
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10277
Location: italy

PostPosted: Wed Jun 14, 2017 1:23 pm    Post subject: Reply to: CONTIG for performance?
Reply with quote

Quote:
I wonder if there's any other places where a CONTIG would be appropriate


normally it is the program using the dataset that might have the need for CONTIG
and the doc usually tells

IIRC contig was/is used when trying to squeeze the last drop of I/O dasd performance
using highly optimized ccw chains

I am sure that Robert can tell more about it
Back to top
View user's profile Send private message
steve-myers

Active Member


Joined: 30 Nov 2013
Posts: 536
Location: The Universe

PostPosted: Thu Jun 15, 2017 7:32 am    Post subject: Re: Reply to: CONTIG for performance?
Reply with quote

Robert Sample wrote:
I don't think performance is the issue any more -- but RACF, for example, has CONTIG coded in the sample JCL member RACJCL because the RACF database must be allocated in one extent.

There are a few other places where this is true. For example, the JES2 checkpoint and SPOOL data sets must be CONTIG.
Back to top
View user's profile Send private message
steve-myers

Active Member


Joined: 30 Nov 2013
Posts: 536
Location: The Universe

PostPosted: Thu Jun 15, 2017 8:21 am    Post subject: Re: Reply to: CONTIG for performance?
Reply with quote

enrico-sorichetti wrote:
IIRC contig was/is used when trying to squeeze the last drop of I/O dasd performance
using highly optimized ccw chains
I'm not so sure about performance here. You might get a tiny reduction in CPU usage by cheating on some device dependent calculations, but I can't imagine any real I/O improvement unless you are also allocating in cylinders and you are using "multi-track" CCW read commands
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts BC, BCR, BRC, BRCL performance steve-myers PL/I & Assembler 0 Fri Dec 23, 2016 7:44 am
No new posts PL/I code tuning/Performance improvement Virendra Shambharkar PL/I & Assembler 4 Mon Dec 05, 2016 11:57 am
No new posts What are the way we can improve CPU p... Gunapala CN DB2 10 Mon Oct 24, 2016 2:16 pm
No new posts DISP=(SHR,PASS) performance opinion steve-myers JCL & VSAM 1 Wed Dec 02, 2015 11:53 pm
No new posts Performance tuning of Online system bipinpeter All Other Mainframe Topics 2 Thu Nov 26, 2015 2:29 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us