-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
46 lines (35 loc) · 2.08 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
46
Name: Anoop Shukla (shukl047)
Manu Khandelwal (khand055)
--------------------------------------------------------------
A. Instructions on how to run and test your program.
--------------------------------------------------------------
A.1 Unzip the attached tar using command tar -xvf state-machine-model.tar
A.2 Go to directory state-machine-model and compile all java classes by:
javac */*/*/*.java
A.3 Start server by
java -Djava.security.manager -Djava.security.policy=java.policy.applet com/bank/rmi/RmiBankServerImpl serverId configFile
A.4 Run client by
java -Djava.security.manager -Djava.security.policy=java.policy.applet com/bank/rmi/RmiBankClient threadCount configFile
Note: RMI is started programatically hence does not need to be externally triggered
Current configFile contain localhost as host. But code has been tested in different linux host as well.
---------------------------------------------------------------
B. Generated Log File Detail
---------------------------------------------------------------
B.1 Log file generated by the client is named 'clientLogFile' at the root folder of program (under state-machine-model)
B.2 Log file generated by each server is named 'serverLogFile<serverId>' at the root folder of program
---------------------------------------------------------------------------
C. Performance data that observed for the three system sizes: 1, 3, and 5 per client
Total thread per client: 8 | Total iteration per thread: 100
---------------------------------------------------------------------------
C.1 Average Request Processing Time (milliseconds) 1 servers:
Server 0: 13.57
C.2 Average Request Processing Time (milliseconds) 3 servers:
Server 0: 68.9225
Server 1: 22.55125
Server 2: 77.6675
C.3 Average Request Processing Time (milliseconds) 5 servers:
Server 0: 103.63125
Server 1: 160.0175
Server 2: 139.885
Server 3: 36.4975
Server 4: 35.82