Data transfer Time calculation

Data transfer Time calculation
# 1
08-10-2013
Data transfer Time calculation

1 TB of data needs to read through 4 I/O channesl, each channels supports - 100 MB/s, What is average time taken to read the data ?

Please give the formula for my understanding
 Srini.rk1983 View Public Profile for Srini.rk1983 Find all posts by Srini.rk1983
# 2
08-11-2013

1. 100 Mb x 4 = 400 Mb/sec or 50MB/sec There are 8 bits per byte 400M/8 =50M
2 There are 20 x 50MB in one GB, 1000 GB in one TB.
3. 1000 x 20 = 20000 seconds or about ~5.5 hours.

The reason this is not all that useful:
1. transmission protocols over slower lines can use compression, example ssh2 using compression: Depending on the data you might get 70% compression. Or 10%.

2. There is overhead for protocol packets, ex: MTU size affects the percentage of data per packet assuming TCP/IP, larger packets are more efficient. Not all hardware can deal with large packets.

3. controllers generally will not let you completely saturate a given line, as kind of a bandwidth limit. Especially if:

4. other processes compete for the same line transmission resource.

5 if you eat the transmission line for 5.5 solid hours the political feedback may not
help your career path where you are. You may want to use just 3 of the 4 transmission lines, so other work can continue.

Your best answer is to time the transmission with a smaller data chunk (example 5% of the size) and multiply that result times 20.
This User Gave Thanks to jim mcnamara For This Post:
 jim mcnamara View Public Profile for jim mcnamara Find all posts by jim mcnamara
# 3
08-11-2013

There is a number 6...

6) What happens if or when there is a connection failure of some sort or major corruption?
Your time calculation(s) will then be of no use to you at all under those conditions...
 wisecracker View Public Profile for wisecracker Find all posts by wisecracker

Time calculation

Hi Gurus, I need to get one hour before time is yyyymmddhh format. ex. date +"%Y%m%d%H" gives 2017052814 but I need 2017052813 Thankx Please use CODE tags as required by forum rules!

time calculation in ksh script

I"m trying to calculate the duration of of backup within a ksh shell script but I get an error. #!/bin/ksh STTIM=`date '+%T'` EDTIM=`date '+%T'` .... .... echo "DURATION OF BACKUP: \$((EDTIM - STTIM))"

Date time calculation

hello guys, I had been to many forums and many topics in this site as well for my question but did not get any solution. My question is how i can get y'day date with time stamp today is 20100729103819 and i am looking for output as 20100728103819. in simple words as we do in oracle sysdate-1...

4. Shell Programming and Scripting

I've gone through bunch of threads on time calculations but none of them helps on my problem I've to get the time difference in HHMM format from following inputs Input 1 : 01/08/2010 01:30 01/08/2010 03:20 Input 2 : 01/06/2010 22:00 01/07/2010 16:00 First input is easy but...

Time stamp calculation

Hi all; I'm relatively new to scripting,I am working on a monitoring script.....where in i have to write subroutine which does the follows: It will check the time stamp of a file ( Oracle remarchive files) and compare it with existing time.If the time difference happen to be more than 90...

Time Calculation

I have a file with over 100,000 lines of data with looking to compare times of about 2000 lines to get a total time of a process. The lines of unique data are as follows. FINER: CacSoapServer:reserveNetworkResource got the sessionID and INFO: Created CAC session ID The command...

Time difference calculation

Hi Team, I am currently in the process of writing a script which will take a filename in the format SKADEV.0.db2.NODE0000.CATN0000.20080714231015.001 where the sixth string(with "." as the seperator) is the time stamp of the time of creation of the file. now here is my issue . I need to be...

Average completion time calculation?

I've been trying all night to come up with a script that will take a file that contains job completion times like this as input: 18:30 17:45 16:39 18:01 17:50 ... and figure the Average completion time. I've tried several things, and I just can't seem to get it to figure correctly. I'm...

script execution time calculation

I am writting a script in the ksh shell and am trying to find a way to report the total execution time of the script without requiring the user to specify the time function when executing the script. Does anyone have any examples they have used. I have been setting up two date variables (one at...

time calculation

Hi, I have start time as a string like 06:04:01 and end time like 06:05:01 i need do a simple math to get the duration. What is the best way to do this in Korn Shell scripting? Thanks