Giter VIP home page Giter VIP logo

kernel_paxos's People

Contributors

esposem avatar paulo-coelho avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

kernel_paxos's Issues

Could not figure out how to use the code

Hi,
I am trying to replicate your results from the paper "Kernel Paxos". However I am currently at loss on how to effectively launch the different nodes. Here is what I did so far:

config file for every node:

# paxos.conf
# Specify an id and MAC address for each acceptor/proposer/replica.
# Ids must start from 0 and must be unique.

learner 0 5C:A1:AB:1E:00:01
learner 1 5C:A1:AB:1E:00:02
learner 2 5C:A1:AB:1E:00:03

acceptor 0 5C:A1:AB:1E:00:01
acceptor 1 5C:A1:AB:1E:00:02
acceptor 2 5C:A1:AB:1E:00:03

proposer 0 5C:A1:AB:1E:00:01
proposer 1 5C:A1:AB:1E:00:02
proposer 2 5C:A1:AB:1E:00:03

# Verbosity level: must be one of quiet, error, info, or debug.
verbosity debug

On each node I ran the following command. I always modprobed the module on every machine before moving to the next module:

insmod kernel-paxos/build/kacceptor.ko id=$id if_name=enp0s8 path=./paxos.conf
insmod kernel-paxos/build/kproposer.ko id=$id if_name=enp0s8 path=./paxos.conf
insmod kernel-paxos/build/klearner.ko id=$id if_name=enp0s8 path=./paxos.conf

I then run ./user_client -f paxos.conf -c 2 -i enp0s8 -p 1, but I get 0 value / sec, and expired notices. What am I doing wrong ? Could you share a bit more information on how to setup the test cluster?

Best,
Antoine

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.