Skip to content

Wmediumd does not work #5

@nachtmaar

Description

@nachtmaar

Wmedium does not work for me.

Steps to reproduce:

  • Create a sample config file which applies loss to all peers (see appended file)

In different terminals:

  • sudo ./server mesh0
  • sudo ./client mesh1 mesh0 1
  • ./wmediumd -c cfg-examples/allloses_2.cfg

I hope you can help me.

I use the vanilla ubuntu2 3.16.0-73-generic kernel. Also tested with Ubuntu 16.04 LTS kernel (4.x)

#
# wmediumd sample config file
#

ifaces :
{
  count = 2;
  ids = [ "42:00:00:00:00:00", "42:00:00:00:01:00" ];
};

#
# probability matrices are defined in a rowcentric way
# probability matrices are ordered from slower to fastest, check wmediumd documentation for more info
#

prob :
{
  rates = 12;
  matrix_list = (
        [ -1.0, 1.0, 1.0, -1.0 ],
        [ -1.0, 1.0, 1.0, -1.0 ],
        [ -1.0, 1.0, 1.0, -1.0 ],
        [ -1.0, 1.0, 1.0, -1.0 ],
        [ -1.0, 1.0, 1.0, -1.0 ],
        [ -1.0, 1.0, 1.0, -1.0 ],
        [ -1.0, 1.0, 1.0, -1.0 ],
        [ -1.0, 1.0, 1.0, -1.0 ],
        [ -1.0, 1.0, 1.0, -1.0 ],
        [ -1.0, 1.0, 1.0, -1.0 ],
        [ -1.0, 1.0, 1.0, -1.0 ],
        [ -1.0, 1.0, 1.0, -1.0 ] );
};

./wmediumd -c cfg-examples/allloses_2.cfg:

Input configuration file: cfg-examples/allloses_2.cfg
#_if = 2
A[0]:42:00:00:00:00:00
A[1]:42:00:00:00:01:00
[ -1.000000][  1.000000]
[  1.000000][ -1.000000]
Matrix rate = 0
[ -1.000000][  1.000000]
[  1.000000][ -1.000000]
Matrix rate = 1
[ -1.000000][  1.000000]
[  1.000000][ -1.000000]
Matrix rate = 2
[ -1.000000][  1.000000]
[  1.000000][ -1.000000]
Matrix rate = 3
[ -1.000000][  1.000000]
[  1.000000][ -1.000000]
Matrix rate = 4
[ -1.000000][  1.000000]
[  1.000000][ -1.000000]
Matrix rate = 5
[ -1.000000][  1.000000]
[  1.000000][ -1.000000]
Matrix rate = 6
[ -1.000000][  1.000000]
[  1.000000][ -1.000000]
Matrix rate = 7
[ -1.000000][  1.000000]
[  1.000000][ -1.000000]
Matrix rate = 8
[ -1.000000][  1.000000]
[  1.000000][ -1.000000]
Matrix rate = 9
[ -1.000000][  1.000000]
[  1.000000][ -1.000000]
Matrix rate = 10
[ -1.000000][  1.000000]
[  1.000000][ -1.000000]
Matrix rate = 11
REGISTER SENT!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions