Skip to content

Could not figure out how to use the code #2

@antoinealb

Description

@antoinealb

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions