2011 Nuno Alexandre Carvalho
Experimental Evaluation of Distributed Middleware with a Virtualized Java Environment
MINHA
Experimental Evaluation of Distributed Middleware with a Virtualized - - PowerPoint PPT Presentation
Experimental Evaluation of Distributed Middleware with a Virtualized Java Environment Nuno A. Carvalho, Joo Bordalo, Filipe Campos and Jos Pereira HASLab / INESC TEC Universidade do Minho MW4SOC11 December 12, 2011 2011 Nuno Alexandre
2011 Nuno Alexandre Carvalho
MINHA
2011 Nuno Alexandre Carvalho MINHA
2
2011 Nuno Alexandre Carvalho MINHA
3
2011 Nuno Alexandre Carvalho MINHA
4
Network JVM n Java Interpreter / JIT Compiler Platform libraries (java.*) Target middleware Target application JVM 2 Java Interpreter / JIT Compiler Platform libraries (java.*) Target middleware Target application JVM 1 Java Interpreter / JIT Compiler Platform libraries (java.*) Target middleware Target application
...
2011 Nuno Alexandre Carvalho MINHA
5
Network JVM n Java Interpreter / JIT Compiler Platform libraries (java.*) Target middleware Target application JVM 2 Java Interpreter / JIT Compiler Platform libraries (java.*) Target middleware Target application JVM 1 Java Interpreter / JIT Compiler Platform libraries (java.*) Target middleware Target application
...
2011 Nuno Alexandre Carvalho MINHA
6
JVM Bytecode instrumentation Java Interpreter / JIT Compiler Platform libraries (java.*) MINHA Virtual JVM n Target middleware Target application Virtual JVM 1 Target middleware Target application Virtual JVM 1 Target middleware Target application
...
2011 Nuno Alexandre Carvalho MINHA
7
JVM Bytecode instrumentation Java Interpreter / JIT Compiler Platform libraries (java.*) MINHA Virtual JVM n Target middleware Target application Virtual JVM 1 Target middleware Target application Virtual JVM 1 Target middleware Target application
...
2011 Nuno Alexandre Carvalho MINHA
8
JVM Bytecode instrumentation Java Interpreter / JIT Compiler Platform libraries (java.*) MINHA Virtual JVM n Target middleware Target application Virtual JVM 1 Target middleware Target application Virtual JVM 1 Target middleware Target application
...
2011 Nuno Alexandre Carvalho MINHA
9
2011 Nuno Alexandre Carvalho MINHA
10
JVM Java Interpreter / JIT Compiler Platform libraries (java.*) Virtual JVM n Target middleware Target application Virtual JVM 1 Target middleware Target application Virtual JVM 1 Target middleware Target application
...
Simulated events and resources
2011 Nuno Alexandre Carvalho MINHA
11
JVM Java Interpreter / JIT Compiler Platform libraries (java.*) Virtual JVM n Target middleware Target application Virtual JVM 1 Target middleware Target application Virtual JVM 1 Target middleware Target application
...
Simulated events and resources Time virtualization
2011 Nuno Alexandre Carvalho MINHA
12
2011 Nuno Alexandre Carvalho MINHA
12
class load
start
2011 Nuno Alexandre Carvalho MINHA
12
class load
start
2011 Nuno Alexandre Carvalho MINHA
12
start()
class load
start
2011 Nuno Alexandre Carvalho MINHA
12
start()
class load
start event.run()
2011 Nuno Alexandre Carvalho MINHA
12
start()
class load
start event.run() st.pause()
startTime() st.wakeup() stopTime() st.pause()
2011 Nuno Alexandre Carvalho MINHA
12
start()
class load
start event.run() simulation time delta real time delta st.pause()
startTime() st.wakeup() stopTime() st.pause()
2011 Nuno Alexandre Carvalho MINHA
13
2011 Nuno Alexandre Carvalho MINHA
14
JVM Bytecode Translat Virtual JVM 2 Bytecode instrumentation Translated platform libraries (moved.java.*) Target middleware Target application Java Interpreter / JIT Platform libraries (java. Virtual JVM 1 Target middleware Target application
...
Bytecode instrumentation Simulated events and Time virtualization
2011 Nuno Alexandre Carvalho MINHA
14
JVM Bytecode Translat Virtual JVM 2 Bytecode instrumentation Translated platform libraries (moved.java.*) Target middleware Target application Java Interpreter / JIT Platform libraries (java. Virtual JVM 1 Target middleware Target application
...
Bytecode instrumentation Simulated events and Time virtualization
2011 Nuno Alexandre Carvalho MINHA
15
JVM Bytecode Translat Virtual JVM 2 Bytecode instrumentation Translated platform libraries (moved.java.*) Target middleware Target application Java Interpreter / JIT Platform libraries (java. Virtual JVM 1 Target middleware Target application
...
Bytecode instrumentation Simulated events and Time virtualization
2011 Nuno Alexandre Carvalho MINHA
15
JVM Bytecode Translat Virtual JVM 2 Bytecode instrumentation Translated platform libraries (moved.java.*) Target middleware Target application Java Interpreter / JIT Platform libraries (java. Virtual JVM 1 Target middleware Target application
...
Bytecode instrumentation Simulated events and Time virtualization
2011 Nuno Alexandre Carvalho MINHA
16
JVM Virtual JVM n Bytecode instrumentation Translated platform libraries (moved.java.*) Target middleware Target application Virtual JVM 2 Bytecode instrumentation Translated platform libraries (moved.java.*) Target middleware Target application Java Interpreter / JIT Compiler Platform libraries (java.*) Virtual JVM 1 Target middleware Target application
...
Bytecode instrumentation Simulated events and resources Time virtualization Simulation models (network,...)
2011 Nuno Alexandre Carvalho MINHA
17
JVM Bytecode Translat Virtual JVM 2 Bytecode instrumentation Translated platform libraries (moved.java.*) Target middleware Target application Java Interpreter / JIT Platform libraries (java. Stubbed Virtual JVM 1 Target middleware Target application
...
Bytecode instrumentation Stubbed platform libraries (fake.java.*) Translated platform libraries (moved.java.*) Simulated events and Time virtualization
2011 Nuno Alexandre Carvalho MINHA
18
JVM Bytecode Translat Virtual JVM 2 Bytecode instrumentation Translated platform libraries (moved.java.*) Target middleware Target application Java Interpreter / JIT Platform libraries (java. Stubbed Virtual JVM 1 Target middleware Target application
...
Bytecode instrumentation Stubbed platform libraries (fake.java.*) Translated platform libraries (moved.java.*) Simulated events and Time virtualization
2011 Nuno Alexandre Carvalho MINHA
19
2011 Nuno Alexandre Carvalho MINHA
20
2011 Nuno Alexandre Carvalho MINHA
21
200 400 600 800 1000 1200 1000 2000 3000 4000 5000 BW (Mbit/s) Size (bytes) Real Minha 200 400 600 800 1000 1200 1000 2000 3000 4000 5000 BW (Mbit/s) Size (bytes) Real Minha
2011 Nuno Alexandre Carvalho MINHA
22
0.1 0.2 0.3 0.4 0.5 0.6 0.7 1000 2000 3000 4000 5000 Round Trip (ms) Size (bytes) Real Minha
2011 Nuno Alexandre Carvalho MINHA
23
2011 Nuno Alexandre Carvalho MINHA
24
Producer Manager C C C C C C C ... Rounds of events
2011 Nuno Alexandre Carvalho MINHA
25
2011 Nuno Alexandre Carvalho MINHA
25
2011 Nuno Alexandre Carvalho MINHA
26
250 500 750 1000 1250 1500 1750 2000 50 100 150 200 250 300 Duration (s) Devices Multiple JVMs Minha (sim) Minha (real) 50 100 150 200 250 300 50 100 150 200 250 300 Latency (ms) Devices Multiple JVMs Minha
2011 Nuno Alexandre Carvalho MINHA
27
2011 Nuno Alexandre Carvalho MINHA
28