Sponsored Content
Operating Systems Linux Red Hat Data transfer Time calculation Post 302842863 by jim mcnamara on Saturday 10th of August 2013 11:03:07 PM
Old 08-11-2013
The correct answer to this requires more information. The answer to your question as posed:

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:
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

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 (2 Replies)
Discussion started by: liux99
2 Replies

2. Shell Programming and Scripting

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... (9 Replies)
Discussion started by: johnsonbryce
9 Replies

3. UNIX for Dummies Questions & Answers

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... (5 Replies)
Discussion started by: Seawall
5 Replies

4. Shell Programming and Scripting

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... (2 Replies)
Discussion started by: Segwar
2 Replies

5. UNIX for Dummies Questions & Answers

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... (5 Replies)
Discussion started by: bpfoster76
5 Replies

6. Shell Programming and Scripting

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... (6 Replies)
Discussion started by: maverick_here
6 Replies

7. Shell Programming and Scripting

Ksh Solaris Time calculation problem..Please help

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... (8 Replies)
Discussion started by: prash184u
8 Replies

8. Shell Programming and Scripting

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 Replies)
Discussion started by: lokaish23
4 Replies

9. Shell Programming and Scripting

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))" (5 Replies)
Discussion started by: Bperl1967
5 Replies

10. Shell Programming and Scripting

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! (6 Replies)
Discussion started by: nalakaatslt
6 Replies
MPSGRUDescriptor(3)					 MetalPerformanceShaders.framework				       MPSGRUDescriptor(3)

NAME
MPSGRUDescriptor SYNOPSIS
#import <MPSRNNLayer.h> Inherits MPSRNNDescriptor. Class Methods (nonnull instancetype) + createGRUDescriptorWithInputFeatureChannels:outputFeatureChannels: Properties id< MPSCNNConvolutionDataSource > inputGateInputWeights id< MPSCNNConvolutionDataSource > inputGateRecurrentWeights id< MPSCNNConvolutionDataSource > recurrentGateInputWeights id< MPSCNNConvolutionDataSource > recurrentGateRecurrentWeights id< MPSCNNConvolutionDataSource > outputGateInputWeights id< MPSCNNConvolutionDataSource > outputGateRecurrentWeights id< MPSCNNConvolutionDataSource > outputGateInputGateWeights float gatePnormValue BOOL flipOutputGates Detailed Description This depends on Metal.framework The MPSGRUDescriptor specifies a GRU (Gated Recurrent Unit) block/layer descriptor. The RNN layer initialized with a MPSGRUDescriptor transforms the input data (image or matrix), and previous output with a set of filters, each producing one feature map in the output data according to the Gated unit formulae detailed below. The user may provide the GRU unit a single input or a sequence of inputs. The layer also supports p-norm gating (Detailed in: https://arxiv.org/abs/1608.03639 ). Description of operation: Let x_j be the input data (at time index t of sequence, j index containing quadruplet: batch index, x,y and feature index (x=y=0 for matrices)). Let h0_j be the recurrent input (previous output) data from previous time step (at time index t-1 of sequence). Let h_i be the proposed new output. Let h1_i be the output data produced at this time step. Let Wz_ij, Uz_ij, be the input gate weights for input and recurrent input data respectively Let bi_i be the bias for the input gate Let Wr_ij, Ur_ij be the recurrent gate weights for input and recurrent input data respectively Let br_i be the bias for the recurrent gate Let Wh_ij, Uh_ij, Vh_ij, be the output gate weights for input, recurrent gate and input gate respectively Let bh_i be the bias for the output gate Let gz(x), gr(x), gh(x) be the neuron activation function for the input, recurrent and output gates Let p > 0 be a scalar variable (typicall p >= 1.0) that defines the p-norm gating norm value. Then the output of the Gated Recurrent Unit layer is computed as follows: z_i = gz( Wz_ij * x_j + Uz_ij * h0_j + bz_i ) r_i = gr( Wr_ij * x_j + Ur_ij * h0_j + br_i ) c_i = Uh_ij * (r_j h0_j) + Vh_ij * (z_j h0_j) h_i = gh( Wh_ij * x_j + c_i + bh_i ) h1_i = ( 1 - z_i ^ p)^(1/p) h0_i + z_i h_i The '*' stands for convolution (see MPSRNNImageInferenceLayer) or matrix-vector/matrix multiplication (see MPSRNNMatrixInferenceLayer). Summation is over index j (except for the batch index), but there is no summation over repeated index i - the output index. Note that for validity all intermediate images have to be of same size and all U and V matrices have to be square (ie. outputFeatureChannels == inputFeatureChannels in those). Also the bias terms are scalars wrt. spatial dimensions. The conventional GRU block is achieved by setting Vh = 0 (nil) and the so-called Minimal Gated Unit is achieved with Uh = 0. (The Minimal Gated Unit is detailed in: https://arxiv.org/abs/1603.09420 and there they call z_i the value of the forget gate). Method Documentation + (nonnull instancetype) createGRUDescriptorWithInputFeatureChannels: (NSUInteger) inputFeatureChannels(NSUInteger) outputFeatureChannels Creates a GRU descriptor. Parameters: inputFeatureChannels The number of feature channels in the input image/matrix. Must be >= 1. outputFeatureChannels The number of feature channels in the output image/matrix. Must be >= 1. Returns: A valid MPSGRUDescriptor object or nil, if failure. Property Documentation - flipOutputGates [read], [write], [nonatomic], [assign] If YES then the GRU-block output formula is changed to: h1_i = ( 1 - z_i ^ p)^(1/p) h_i + z_i h0_i. Defaults to NO. - gatePnormValue [read], [write], [nonatomic], [assign] The p-norm gating norm value as specified by the GRU formulae. Defaults to 1.0f. - inputGateInputWeights [read], [write], [nonatomic], [retain] Contains weights 'Wz_ij', bias 'bz_i' and neuron 'gz' from the GRU formula. If nil then assumed zero weights, bias and no neuron (identity mapping). Defaults to nil. - inputGateRecurrentWeights [read], [write], [nonatomic], [retain] Contains weights 'Uz_ij' from the GRU formula. If nil then assumed zero weights. Defaults to nil. - outputGateInputGateWeights [read], [write], [nonatomic], [retain] Contains weights 'Vh_ij' - can be used to implement the 'Minimally Gated Unit'. If nil then assumed zero weights. Defaults to nil. - outputGateInputWeights [read], [write], [nonatomic], [retain] Contains weights 'Wh_ij', bias 'bh_i' and neuron 'gh' from the GRU formula. If nil then assumed zero weights, bias and no neuron (identity mapping).Defaults to nil. - outputGateRecurrentWeights [read], [write], [nonatomic], [retain] Contains weights 'Uh_ij' from the GRU formula. If nil then assumed zero weights. Defaults to nil. - recurrentGateInputWeights [read], [write], [nonatomic], [retain] Contains weights 'Wr_ij', bias 'br_i' and neuron 'gr' from the GRU formula. If nil then assumed zero weights, bias and no neuron (identity mapping).Defaults to nil. - recurrentGateRecurrentWeights [read], [write], [nonatomic], [retain] Contains weights 'Ur_ij' from the GRU formula. If nil then assumed zero weights.Defaults to nil. Author Generated automatically by Doxygen for MetalPerformanceShaders.framework from the source code. Version MetalPerformanceShaders-100 Thu Feb 8 2018 MPSGRUDescriptor(3)
All times are GMT -4. The time now is 02:40 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy