Title: | Transmissions and Receptions in an End to End Network |
---|---|
Description: | Computes the expectation of the number of transmissions and receptions considering an End-to-End transport model with limited number of retransmissions per packet. It provides theoretical results and also estimated values based on Monte Carlo simulations. It is also possible to consider random data and ACK probabilities. |
Authors: | Christian E. Galarza, Jonathan M. Olate |
Maintainer: | Christian E. Galarza <[email protected]> |
License: | GPL (>= 2) |
Version: | 2.29 |
Built: | 2024-11-09 04:22:25 UTC |
Source: | https://github.com/cran/endtoend |
This function computes the expected value of the number of transmissions/receptions for End to End model with L-limited retransmissions per packet.
ETE(p1, p2, L, N)
ETE(p1, p2, L, N)
p1 |
Data success probability |
p2 |
ACK success probability |
L |
Maximum number of retransmissions. |
N |
Number of Hops |
When there is no limitation, L
value must be set as L=Inf
.
The ouput is a matrix containing the following values:
1 |
Success Probability |
2 |
Expected Data Transmissions |
3 |
Expected ACK Transmissions |
4 |
Expected Total Transmissions |
5 |
Expected Data Receptions |
6 |
Expected ACK Receptions |
7 |
Expected Total Receptions |
Christian E. Galarza and Jonathan M. Olate
Heimlicher, S., Nuggehalli, P., & May, M. (2007). End-to-end vs. hop-by-hop transport. ACM SIGMETRICS Performance Evaluation Review, 35(3), 59.
Heimlicher, S., Karaliopoulos, M., Levy, H., & May, M. (2007). End-to-end vs. Hop-by-hop Transport under Intermittent Connectivity (Invited Paper). Proceedings of the First International Conference on Autonomic Computing and Communication Systems.
#An N=5 End to End system with limited L=7 retransmission per hop ETE(p1=0.65,p2=0.4,L=7,N=5) #An unlimited N=5 End to End system ETE(p1=0.65,p2=0.4,L=Inf,N=5)
#An N=5 End to End system with limited L=7 retransmission per hop ETE(p1=0.65,p2=0.4,L=7,N=5) #An unlimited N=5 End to End system ETE(p1=0.65,p2=0.4,L=Inf,N=5)
This function compute the mean of the number of transmissions/receptions for End to End model with L-limited retransmissions per packet simulating via Monte Carlo.
MCETE(p1, p2, L, N, M = 5000)
MCETE(p1, p2, L, N, M = 5000)
p1 |
Data success probability |
p2 |
ACK success probability |
L |
Maximum number of retransmissions |
N |
Number of Hops |
M |
Number of Monte Carlo Simulations |
The ouput is a matrix containing the following values:
1 |
MC Success Probability |
2 |
MC Mean Data Transmissions |
3 |
MC Mean ACK Transmissions |
4 |
MC Mean Total Transmissions |
5 |
MC Mean Data Receptions |
6 |
MC Mean ACK Receptions |
7 |
MC Mean Total Receptions |
Christian E. Galarza and Jonathan M. Olate
Heimlicher, S., Nuggehalli, P., & May, M. (2007). End-to-end vs. hop-by-hop transport. ACM SIGMETRICS Performance Evaluation Review, 35(3), 59.
Heimlicher, S., Karaliopoulos, M., Levy, H., & May, M. (2007). End-to-end vs. Hop-by-hop Transport under Intermittent Connectivity (Invited Paper). Proceedings of the First International Conference on Autonomic Computing and Communication Systems.
#Monte Carlo simulations for an N=5 End to End system #with limited L=7 retransmission per hop MCETE(p1=0.65,p2=0.4,L=7,N=5)
#Monte Carlo simulations for an N=5 End to End system #with limited L=7 retransmission per hop MCETE(p1=0.65,p2=0.4,L=7,N=5)
This function compute the mean of the number of transmissions/receptions for End to End model with L-limited retransmissions per packet simulating via Monte Carlo.
stochastic_ETE(dist1,p11,p12,dist2,p21,p22,L,N,M=10^5,printout=TRUE,plotspdf=TRUE)
stochastic_ETE(dist1,p11,p12,dist2,p21,p22,L,N,M=10^5,printout=TRUE,plotspdf=TRUE)
dist1 |
For the data success probability: probability density function. Options are "uniform" and "beta". |
p11 |
For the data success probability: lower limit of the uniform distribution ( |
p12 |
For the data success probability: upper limit of the uniform distribution ( |
dist2 |
For the ACK success probability: probability density function. Options are "uniform" and "beta". |
p21 |
For the ACK success probability: lower limit of the uniform distribution ( |
p22 |
For the ACK success probability: upper limit of the uniform distribution ( |
L |
Maximum number of retransmissions |
N |
Number of Hops |
M |
Number of Monte Carlo Simulations |
printout |
If |
plotspdf |
If |
The ouput is a matrix containing two elements:
data |
a dataframe containing all Monte Carlo replications |
stats |
descriptive statistics |
for
1 |
p1 |
2 |
p2 |
1 |
Success Probability |
2 |
Expected Data Transmissions |
3 |
Expected ACK Transmissions |
4 |
Expected Total Transmissions |
5 |
Expected Data Receptions |
6 |
Expected ACK Receptions |
7 |
Expected Total Receptions |
Christian E. Galarza and Jonathan M. Olate
Heimlicher, S., Nuggehalli, P., & May, M. (2007). End-to-end vs. hop-by-hop transport. ACM SIGMETRICS Performance Evaluation Review, 35(3), 59.
Heimlicher, S., Karaliopoulos, M., Levy, H., & May, M. (2007). End-to-end vs. Hop-by-hop Transport under Intermittent Connectivity (Invited Paper). Proceedings of the First International Conference on Autonomic Computing and Communication Systems.
#Monte Carlo simulations for an N=5 End to End system #with limited L=7 retransmission per hop #We now consider p1 ~ Uniform(0.2,0.6) dist1 = "uniform" p11 = 0.2 p12 = 0.6 #and p2 ~ Beta(3,1) dist2 = "beta" p21 = 3 p22 = 1 #no outputs and plots out = stochastic_ETE(dist1,p11,p12,dist2,p21,p22,L=7,N=5,M=5*10^3,printout=FALSE,plotspdf=FALSE) out$data #simulations out$stats #resume #uncommnet next line for outputs plots and pdf file #out = stochastic_ETE(dist1,p11,p12,dist2,p21,p22,L=7,N=5,M=5*10^3)
#Monte Carlo simulations for an N=5 End to End system #with limited L=7 retransmission per hop #We now consider p1 ~ Uniform(0.2,0.6) dist1 = "uniform" p11 = 0.2 p12 = 0.6 #and p2 ~ Beta(3,1) dist2 = "beta" p21 = 3 p22 = 1 #no outputs and plots out = stochastic_ETE(dist1,p11,p12,dist2,p21,p22,L=7,N=5,M=5*10^3,printout=FALSE,plotspdf=FALSE) out$data #simulations out$stats #resume #uncommnet next line for outputs plots and pdf file #out = stochastic_ETE(dist1,p11,p12,dist2,p21,p22,L=7,N=5,M=5*10^3)