Giter Club home page Giter Club logo

venkatarun95 / genericcc Goto Github PK

View Code? Open in Web Editor NEW
47.0 47.0 34.0 904 KB

An interface to program any congestion control protocol for an unreliable connection based protocol sent over UDP. It comes with a clean TrafficGenerator interface that can generate traffic for each of these various protocols. Also supports other congestion control protocols

License: GNU General Public License v2.0

Shell 2.35% Makefile 20.84% Python 18.64% C++ 58.17%

genericcc's People

Contributors

keithw avatar venkatarun95 avatar xudongliao avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

genericcc's Issues

problem about reproducing Copa

Hi genericCC team,

The problem I meet is that when I run my command as ​​the terminal shows, the Copa only run 3 seconds and exited. However, I run the similar command as the figure shows for Remy, it works well.

screenshot from 2018-04-09 15-33-15

So, my command for Copa is right or not? Or, there are other bugs?

Thank you for your any response​​.​​

Jing Liu

Running copa (cctype=markoviancc) results in seg fault

Hi Venkat,

I am trying to run some expts with Copa for one of our paper revisions. However, Copa fails with a seg fault regardless of the delta_type used. Here are the console dumps from two different runs (I had ./receiver running in another terminal window for both these runs):

shivar@shivar-desktop: Tue May 04 20:01  genericCC $ ./sender serverip=localhost cctype=markovian offduration=0 onduration=60000 delta_conf=do_ss:auto:0.5 traffic_params=deterministic,num_cycles=1
Using MarkovianCC.
Will do slow start
Using Automatic Mode with default delta = 0.5
Assigning Source ID: 1350333981
Assuming training link rate of: 2666.67 pkts/sec
inet_aton failed while sending data. Code: 0
Set min. RTT to 0.096192
Connection Established.
inet_aton failed while sending data. Code: 0
inet_aton failed while sending data. Code: 0
inet_aton failed while sending data. Code: 0
inet_aton failed while sending data. Code: 0
inet_aton failed while sending data. Code: 0
inet_aton failed while sending data. Code: 0
inet_aton failed while sending data. Code: 0
inet_aton failed while sending data. Code: 0
inet_aton failed while sending data. Code: 0
inet_aton failed while sending data. Code: 0
Segmentation fault (core dumped)
shivar@shivar-desktop: Tue May 04 20:01  genericCC $ ./sender serverip=localhost cctype=markovian delta_conf=constant_delta:1
Using MarkovianCC.
Constant delta mode with delta = 1
Assigning Source ID: 1536865633
Assuming training link rate of: 2666.67 pkts/sec
inet_aton failed while sending data. Code: 0
Set min. RTT to 0.155211
Connection Established.
inet_aton failed while sending data. Code: 0
inet_aton failed while sending data. Code: 0
inet_aton failed while sending data. Code: 0
inet_aton failed while sending data. Code: 0
inet_aton failed while sending data. Code: 0
inet_aton failed while sending data. Code: 0
inet_aton failed while sending data. Code: 0
inet_aton failed while sending data. Code: 0
inet_aton failed while sending data. Code: 0
inet_aton failed while sending data. Code: 0
Segmentation fault (core dumped)

All this time, the receiver doesn't print anything. It's a blank screen on the receiver terminal.

I am using 64-bit machine with Ubuntu 18.04 (kernel version 4.19.0-0419000-generic), g++ 7.5.0 and makepp 2.0.98.5.

This issue didn't happen in the summer of last year. It ran smoothly then. Three of us in our group (in three geographically different locations) have been facing the same issue for the last few months now.

Is this something that can be fixed quickly? Or any pointers?

Thanks!

Regards,
Shiva

error: ‘mt19937’ in namespace ‘boost::random’ does not name a type

Hi venkatarun,

When compiling this repo, I encounter the problem that says:

krayc@ubuntu:~/Desktop/genericCC$ makepp
makepp: Loading makefile `/home/krayc/Desktop/genericCC/makefile'
makepp: Entering directory `/home/krayc/Desktop/genericCC'
protoc --cpp_out=. protobufs-default/dna.proto
makepp: Scanning `/home/krayc/Desktop/genericCC/protobufs-default/dna.pb.cc'
makepp: Scanning `/home/krayc/Desktop/genericCC/protobufs-default/dna.pb.h'
g++ -I.. -I. -O2 -fPIC -c protobufs-default/dna.pb.cc -o protobufs-default/dna.pb.o
makepp: Scanning `/home/krayc/Desktop/genericCC/estimators.cc'
makepp: Scanning `/home/krayc/Desktop/genericCC/estimators.hh'
g++ -I./protobufs-default -I./udt -DHAVE_CONFIG_H -std=c++11 -pthread -pedantic -Wall -Wextra -Weffc++ -Werror -fno-default-inline -g -O2 -fPIC -c estimators.cc -o estimators.o
makepp: Scanning `/home/krayc/Desktop/genericCC/markoviancc.cc'
makepp: Scanning `/home/krayc/Desktop/genericCC/markoviancc.hh'
makepp: warning: can't locate file random.h, included from `/home/krayc/Desktop/genericCC/markoviancc.hh'
Include path [user] is:
  [including file's directory]
  /home/krayc/Desktop/genericCC/protobufs-default
  /home/krayc/Desktop/genericCC/udt
  /usr/local/include
  /usr/include
makepp: Scanning `/home/krayc/Desktop/genericCC/ccc.hh'
makepp: Scanning `/home/krayc/Desktop/genericCC/random.hh'
makepp: Scanning `/home/krayc/Desktop/genericCC/rtt-window.hh'
g++ -I./protobufs-default -I./udt -DHAVE_CONFIG_H -std=c++11 -pthread -pedantic -Wall -Wextra -Weffc++ -Werror -fno-default-inline -g -O2 -fPIC -c markoviancc.cc -o markoviancc.o
In file included from markoviancc.hh:10:0,
                 from markoviancc.cc:3:
random.hh:8:9: error: ‘mt19937’ in namespace ‘boost::random’ does not name a type
 typedef boost::random::mt19937 PRNG;
         ^
random.hh:10:8: error: ‘PRNG’ does not name a type
 extern PRNG & global_PRNG();
        ^
makepp: error: Failed to build target `/home/krayc/Desktop/genericCC/markoviancc.o' [1]
makepp: 3 files updated, 0 phony targets built and 1 target failed

Is there a clue to solve this? I am using Ubuntu 12.04, g++ version is 4.6.3. Is it possible that the g++ version is too old? But I am trying to run an experiment with it in Mininet, which only supports Ubuntu 12.04 (Linux kernel 3.13.0).

Thanks in advance!

Kuixi

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.