Coder Social home page Coder Social logo

amedeosapio / daiet Goto Github PK

View Code? Open in Web Editor NEW
32.0 32.0 12.0 45.04 MB

DAIET performs data aggregation along network paths using programmable network devices

Home Page: http://sands.kaust.edu.sa/daiet/

License: GNU General Public License v3.0

P4 54.78% Shell 9.00% Python 36.22%

daiet's People

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

daiet's Issues

About the error "No such container"

Hi,I want to try your work on my machine (Ubuntu 16.04).
I have followed the instructions in README.md. Everything goes well before step 9. (I saw step 8 is marked as optional and i skipped it).

Since i only have 8 cores, I have changed these two lines to specify the CPU core:
print self.run_cmd("screen -S bmv2 -d -m docker container run --name bmv2 --cpuset-cpus=\"1,2\" --network host -v "+self.folder+":/Testbed -e CMD_LINE=\""+cmdline+"\" -ti p4lang/behavioral-model bash")
print self.run_cmd("screen -S h"+str(i)+" -d -m docker container run --name h"+str(i)+" -h h"+str(i)+" --cpuset-cpus=\""+"5,6"+","+"7,8"+"\" --cap-add=NET_ADMIN --cap-add=SYS_ADMIN -v "+self.folder+":/Testbed -ti openjdk bash")
Like the code above, I assign switched to use core 1 and 2, hosts to use 5,6,7,8.
Then I execute step 9:
I get following mistakes:
screenshot from 2018-01-19 13-51-10
First I thought is was the time for sleep() is too short to create the container, I set this to 50 but it still goes wrong.

Thanks in advance.

Error when running Experiment.py

Hi,
I am trying to reproduce the experiment from the published paper and followed the instructions from README.md ,

  1. Start the testbed:
wd=`pwd`
cd DAIET/tests/single_switch/
./Experiment.py ${wd}

and then I got the error

Traceback (most recent call last):
  File "./Experiment.py", line 154, in <module>
    exp.run()
  File "./Experiment.py", line 59, in run
    pid = int(self.run_cmd("docker inspect --format '{{.State.Pid}}' h"+str(i)))
ValueError: invalid literal for int() with base 10: '\x1b[91m\x1b[0m'

I have tried ubuntu16.04 and 14.04 but two machines got the same error.

any ideas? Appreciated your help.

The result is Failed when exec the step 10

Hello,

When I exec the step 10

sudo screen -r h13
# Now you are in the master container

# Load the data file in the DFS
./DAIET-MapReduce/dist/bin/dfs-load -rh h13 -rp 7777 -r 12 \
    random_text_500mb.txt

# Start a job without DAIET (24 mappers, 12 reducers)
./DAIET-MapReduce/dist/bin/examples-wordcount \
    random_text_500mb.txt result.txt -m 24 -r 12 -rh h13 \
    -rp 7777

# Check the job status
./DAIET-MapReduce/dist/bin/mapreduce-jobs -rh h13 -rp 7777

And wait for minutes, the result is failed like follow:

root@h13:/# ./DAIET-MapReduce/dist/bin/mapreduce-jobs -rh h13 -rp 7777
#0      wordcount       FAILED  (mapper task: 18 pending, 0 succeeded, 6 failed || reducer task: 0 pending, 0 succeeded, 12 failed), start time to now (ms)= 23575, totalTime = 0

I don't know how to do make it success?

Ps: I use a virtual machine Ubuntu16.04 with 8 cores

“Could not connect to thrift client on port 9090” when exec the step 12

hi,
when I do the step12 as readme, I run "sudo screen -r bmv2" and "simple_switch_CLI
< /Testbed/DAIET/tests/single_switch/commands.txt" in command line. It occurs error:

Could not connect to thrift client on port 9090
Make sure the switch is running and that you have the right port

image

how can I fix it?

thx

There are some errors when I exec step 9

hello
when I exec the step 9, there are errors like OCI runtime exec failed: exec failed: container_linux.go:349: starting container process caused "exec: "sudo": executable file not found in $PATH": unknown
I have tried for several times, but I cant solve the problem.
Have you ever faced the same errors? How to solve it?
Thank you!

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.