Commit ba8d7172 authored by Misbah Mubarak's avatar Misbah Mubarak

updating simplep2p documentation about recent additions

parent c5d69119
...@@ -9,7 +9,8 @@ capacities. ...@@ -9,7 +9,8 @@ capacities.
SimpleP2P has nearly the same duplex queued transmission semantics as SimpleP2P has nearly the same duplex queued transmission semantics as
simplenet, though with a few important differences. First, point-to-point simplenet, though with a few important differences. First, point-to-point
latencies and bandwidths are different. Second, each unique link is given its latencies and bandwidths are different. Network links can also have different
ingress and egress latencies/bandwidths. Second, each unique link is given its
own queue that do not interfere with the others. The use case for this model is own queue that do not interfere with the others. The use case for this model is
a set of sites with internal networks, with each site communicating via a set of sites with internal networks, with each site communicating via
simplep2p; we assume the internal network is capable of servicing all simplep2p; we assume the internal network is capable of servicing all
...@@ -30,11 +31,13 @@ it has the format: ...@@ -30,11 +31,13 @@ it has the format:
... ...
N:1 N:2 ... N:N N:1 N:2 ... N:N
where x:y is the latency or bandwidth between components x and y. Whitespace is where x:y is a pair of latency or bandwidth between components x and y.
ignored, but linebreaks are not, and delimit rows of the matrix. The relative An individual entry in this matrix is specified as "a,b" where 'a' is the egress
simplep2p identifiers 1..N are assigned to simplep2p LPs in the order of latency/bandwidth of the link and 'b' is the ingress latency/bandwidth of the link.
their appearance in the codes-configuration file. It is expected that all i:i Whitespace is ignored, but linebreaks are not, and delimit rows of the matrix.
entries are 0 - modelnet currently doesn't handle self messages. The relative simplep2p identifiers 1..N are assigned to simplep2p LPs in the
order of their appearance in the codes-configuration file. It is expected that
all i:i entries are 0 - modelnet currently doesn't handle self messages.
Support in the code is also available for triangular matrices of the format: Support in the code is also available for triangular matrices of the format:
......
...@@ -248,7 +248,7 @@ static double * parse_mat(char * buf, int *nvals_first, int *nvals_total, int is ...@@ -248,7 +248,7 @@ static double * parse_mat(char * buf, int *nvals_first, int *nvals_total, int is
*nvals_first = 0; *nvals_first = 0;
*nvals_total = 0; *nvals_total = 0;
printf("\n parsing the matrix "); //printf("\n parsing the matrix ");
/* parse the files by line */ /* parse the files by line */
int line_ct, line_ct_prev = 0; int line_ct, line_ct_prev = 0;
char * line_save; char * line_save;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment