MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Move file from Tape to DASD - Performance improve?

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Data Management
View previous topic :: View next topic  

Move file from Tape to DASD - performance improve
Yes - CPU, IO and Elapsed time
0%
 0%  [ 0 ]
Yes - only Elapsed time
0%
 0%  [ 0 ]
Total Votes : 0

Author Message
vak255
Intermediate


Joined: 10 Sep 2004
Posts: 384
Topics: 79

PostPosted: Tue Jun 03, 2014 12:52 pm    Post subject: Move file from Tape to DASD - Performance improve? Reply with quote

I have been told that moving a large data file from tape to DASD will improve I-Os, CPU, Elapsed time.

I believe moving a data file from tape to DASD will only save the elapsed time since the job don't have to wait for the tape to be mounted.
There should be no CPU or IO savings.
Experts please advise, If I am wrong.


Thanks for your time.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12357
Topics: 75
Location: San Jose

PostPosted: Tue Jun 03, 2014 1:22 pm    Post subject: Re: Move file from Tape to DASD - Performance improve? Reply with quote

vak255 wrote:
I have been told that moving a large data file from tape to DASD will improve I-Os, CPU, Elapsed time.


A poll is quite unnecessary, secondly who ever believed in the notion that moving tape to DASD will improve I/O is so wrong. With Tapes you can have a BLOCKSIZE of 256k which would beat the Track size blocking of DASD files on any given day. DASD I/O depends on Number of Channel Programs and the buffers.


vak255 wrote:
I believe moving a data file from tape to DASD will only save the elapsed time since the job don't have to wait for the tape to be mounted. [b]There should be no CPU or IO savings. Experts please advise, If I am wrong.



Read above
_________________
Kolusu - DFSORT Development Team (IBM)
DFSORT is on the Web at:
www.ibm.com/storage/dfsort

www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Terry_Heinze
Supermod


Joined: 31 May 2004
Posts: 391
Topics: 4
Location: Richfield, MN, USA

PostPosted: Tue Jun 03, 2014 1:26 pm    Post subject: Reply with quote

Since many sites use robotic tape mounting (or whatever it's called), tape mount time is oftentimes minimal. I've also read that tape is just as fast as disk with the newer technololgy. I think you need more choices in your survey. At least one more: "No - Very little noticable difference".
_________________
....Terry
Back to top
View user's profile Send private message Send e-mail
vak255
Intermediate


Joined: 10 Sep 2004
Posts: 384
Topics: 79

PostPosted: Wed Jun 04, 2014 9:53 am    Post subject: Reply with quote

Thanks Kolusu & Terry.

Terry - I added 'No' to the survey but I believe I did not hit the 'save' to add that option. Sorry for that.
Back to top
View user's profile Send private message
vak255
Intermediate


Joined: 10 Sep 2004
Posts: 384
Topics: 79

PostPosted: Wed Jun 04, 2014 10:19 am    Post subject: Reply with quote

question:
Is the below are true. Its does not make sense to me. please excuse me for posting this but I like to know your comments.

1. files can be concurrently accessed by many programs if the file is on DASD rather than tape?

2.Files can be accessed and opened instantaneously, No need to load into main memory for each record as it is happening in Tape?
Back to top
View user's profile Send private message
William Collins
Supermod


Joined: 03 Jun 2012
Posts: 437
Topics: 0

PostPosted: Wed Jun 04, 2014 10:53 am    Post subject: Reply with quote

If you need a file to be open in more than one place at the same time, then that file can't be on tape.

I'm not sure what you mean by the second sentence in your number 2.

There are always specifics about the data which dictate what media are candidates. If the data is for use in CICS, it will not be on tape. If you want the most rapid backup, and your hardware and software support it, you would use tape with Large Blocking Factor.

Other than that, you need some work on how physical and logical records on recorded media become physical and logical records in memory, and logical (mostly) records in a program.

A lot of what people just "say" is not worth the air expended in saying it.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12357
Topics: 75
Location: San Jose

PostPosted: Wed Jun 04, 2014 11:07 am    Post subject: Reply with quote

vak255 wrote:
1. files can be concurrently accessed by many programs if the file is on DASD rather than tape?


Yes. If you code DISP=SHR on all the jobs. For tapes it is just 1 job at a time.

vak255 wrote:

2.Files can be accessed and opened instantaneously, No need to load into main memory for each record as it is happening in Tape?


I have no idea as to where you got the information that we load each record into main memory be it tapes or DASD. You might want to read this article about DASD I/O Programming which will give you a better understanding of how I/O is performed.
_________________
Kolusu - DFSORT Development Team (IBM)
DFSORT is on the Web at:
www.ibm.com/storage/dfsort

www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
vak255
Intermediate


Joined: 10 Sep 2004
Posts: 384
Topics: 79

PostPosted: Wed Jun 04, 2014 11:52 am    Post subject: Reply with quote

Thanks for the details, Kolusu.

I got these details from one of the team member's proposal to change Tape files to DASD. These were the reasons given.
Back to top
View user's profile Send private message
vak255
Intermediate


Joined: 10 Sep 2004
Posts: 384
Topics: 79

PostPosted: Tue Jun 10, 2014 10:33 am    Post subject: Reply with quote

I checked the CPU time from Copying records from Tape to DASD and then DASD to DASD. I see that CPU time is little high for copying records from Tape to DASD compared to DASD to DASD.

Is this because of the Read speeds of Tape or time to mount the tape ?

Thanks for your time.
Back to top
View user's profile Send private message
vak255
Intermediate


Joined: 10 Sep 2004
Posts: 384
Topics: 79

PostPosted: Tue Jun 10, 2014 10:34 am    Post subject: Reply with quote

**Update --- I used the same records for both the copy cases.
Back to top
View user's profile Send private message
Terry_Heinze
Supermod


Joined: 31 May 2004
Posts: 391
Topics: 4
Location: Richfield, MN, USA

PostPosted: Tue Jun 10, 2014 12:30 pm    Post subject: Reply with quote

The time it took to mount the tape should be indicated by the Job's JESMSGLG.
_________________
....Terry
Back to top
View user's profile Send private message Send e-mail
vak255
Intermediate


Joined: 10 Sep 2004
Posts: 384
Topics: 79

PostPosted: Tue Jun 10, 2014 12:37 pm    Post subject: Reply with quote

Thanks Terry, I will check on it.
The time took to mount the tape should be the elapsed time.

Do you think there will be CPU expense for mounting the tape?
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12357
Topics: 75
Location: San Jose

PostPosted: Tue Jun 10, 2014 3:52 pm    Post subject: Reply with quote

vak255 wrote:
I checked the CPU time from Copying records from Tape to DASD and then DASD to DASD. I see that CPU time is little high for copying records from Tape to DASD compared to DASD to DASD.

Is this because of the Read speeds of Tape or time to mount the tape ?

Thanks for your time.


Vak255,

You need to realize that people do NOT have access to your sysout or have an idea about the files that are being copied. So you need to provide as much details as you can.

1. What is the LRECL/RECFM/BLKSIZE of the input file being copied?
2. Are they run at the same time? or is the load on the system the same?
3. What is the elapsed time on the tape job that consumed more CPU?
4. What utility did you use to copy the Tape and DASD Files?
_________________
Kolusu - DFSORT Development Team (IBM)
DFSORT is on the Web at:
www.ibm.com/storage/dfsort

www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Data Management All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group