-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
46 lines (34 loc) · 1.74 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
**********************************************************
************************READ FILE*************************
**********************************************************
***COMMON FILES***
common.c --> Common functions used by Server and Client
sn_ll.c --> Link List Primitives
comm_primitives.c --> XDR Communication Encoding/Decoding
***SERVER FILES***
server.c --> Main Server File
server_fsm.c --> FSM Implementation of Server
server_ll.c --> Server Link List Implementation
rbt.c --> RBT Implementation for Server Clients
***CLIENT FILES***
client.c --> Main Client File
client_ll.c --> Client Link List Implementation
moderator_fsm.c --> FSM Implementation of Moderator
receiver.c --> Multicast logic of client
***AUTOMATED CODE DOCUMENTATION***
utility/doc-extractor.py --> Generates the code documentation
***********************************************************
***************HOW TO EXECUTE SCALE BINARIES***************
***********************************************************
Step 1> SSH to any rtp machine. For example, rtppnkvm4-vm4
Step 2> Compile server and client using -
make STRIPPED=1
Step 3> Run scale_server on RTP machine
./scale_server --up
Step 4> Run scale_client on same RTP machine
./scale_client --num 20
Step4 will simulate 20 clients. To deconfigure IPs, use
./scale_client --num 20 --down
Note -
IPs from 30.30.30.1 - 30.30.30.4 are reserved for server purpose
Client IPs will start from 30.30.30.5