Home
Name Modified Size InfoDownloads / Week
report 2012-03-09
test 2012-03-09
src 2012-03-09
README 2012-03-09 873 Bytes
LICENSE 2012-03-09 1.7 kB
AUTHORS 2012-03-09 424 Bytes
ACKNOWLEDGEMENT 2012-03-09 524 Bytes
Totals: 7 Items   3.5 kB 0
[ Design and Implementation of the Singhal token based mutual exclusion algorithm in kernel-space of FreeBSD ]

===========
QUICK START
===========

To run a test:

for each site (computer):

STEP 1: make and install kld:
$ cd ./src/
$ make load

STEP 2: make test script
$ cd ./test/auto-test/
$ cc unit-test.c -o unit-test
unit-test will be created
This small prog is used for calling syscalls.

STEP 3: Initialize algorithm
// Running MCall program
$ cd ./MCall/
$ make
$ ./MCall
// Enter your site ID

STEP 4: run echo-server java program
// compile it
$ javac EchoServer.java
// run it
$ java EchoServer.class

STEP 5: test it! (In new terminal)
// run unit-test program
$ ./unit-test <Echo server IP> <PORT#> <Your ID>

Enjoy !!! :D

==============
Making Contact
==============

Vahid Khodabakhshi <vkhodabakhshi@ce.sharif.edu>
Vahid Ranjbar <vranjbar@ce.sharif.edu
Source: README, updated 2012-03-09