SlideShare a Scribd company logo
1 of 25
Download to read offline
2013 Jornadas de Tiempo Real de España
                                   Valencia, 31 enero-1 Febrero 2013




Fine tuning and evaluation
of multiplexing facilities
in Java’s Remote
Method Invocation*
  P. Basanta-Val,
  M. García-Valls,
  I. Estévez-Ayres ,
  J. González-Fernández

http://www.it.uc3m.es/drequiemi
Universidad Carlos III de Madrid



* Published in Concurrency and Computation:    Practice and Experience (IF:0,6)
Outlined presentation
  • Context and motivation
     – Efficient multiplexation in Java’s RMI
  • Background on JRMP and Java´s RMI
     – Stream
     – SingleOp
     – Multiplex
  • Approach
     – ConnectionLess
  • Empirical Results
     – Bandwidth, response-time, footprint, and latency



                            Valencia, JTR 2013            2
Context
• Benefits of Java
   – Reduced development time, automatic memory
     management, syntax
• Real-time Java as of today
      • RTSJ (Real-Time Specification for Java)
          – Implementations ready for development
      • SCJ (Safety Critical Java)
      • DRTSJ (Distributed Real-Time Java)
          – no implementations or specifications
• Distributed real-time Java requires
   – End-to-end programming abstractions
   – Predicable end-to-end resource management
      • Memory, CPU and Network

                                Valencia, JTR 2013   3
The contribution
• An efficient multiplexing protocol for RMI
   – For JRMP(Java’s Remote Method Protocol)
   – Idea: ConnectionLess subprotocol for JRMP
        • To allow multiple threads invoke the same remote node “in parallel” and
          “efficiently”, without penalties
    – Advance:
        • Flexibility
          Only one TCP-IP connection required per each client-server pair !!
    – Drawback
        • Constant overhead in communications
• Related work:
   – Some researchers proposed to add new JRMP headers to JRMP (York,
      JSR-50, UPM, UC3M) in order to produce a RT-JRMP protocol


                                      Valencia, JTR 2013                            4
ConnectionLess as a transport subprotocol
for distributed real-time Java
                                      •   JRMP default protocol
                                           – Stream
                                      •   Other optional
                                          subprotocols
                                           – SingleOp
                                           – StreamOp
                                      •   Proposed approach
                                           – ConnectionLess




                 Valencia, JTR 2013                               5
Remote

The three JRMP                                                    Object




subprotocols and the                Stub


ConnectionLess                      Stub
                                                        TCP/IP
                                            Client VM            Server VM




                       Valencia, JTR 2013                              6
Background on JRMP

• Described as “wired
  protocol” in the Java’s RMI
  specification
• Subprotocols
   – SingleOp
   – Stream
   – Multiplex
• Messages
   –   DGCAck
   –   CALL
   –   RETURN
   –   PING
   –   PINGAck

                                Valencia, JTR 2013   7
Remote Invocation for SingleOp




• They always involved a TCP/IP connection
   – Very inefficient !!
                           Valencia, JTR 2013   8
Remote Invocation with Stream




 • It may reuse an negotiated stream
   subconnection for further2013
                      Valencia, JTR
                                    sequential invocations   9
Remote Invocation with Multiplex




•   It allows multiple remote invocations “in parallel” from the same client
•   However, it is very inefficient
     – Three negotiations (TCP, RMI connection, Multiplex connection)
     – Multiple copies to buffers     Valencia, JTR 2013                       10
Remote Invocation with ConnectionLess



                                    • Based on Stream and Mux:
                                        – VCs managed dynamically
                                          by the client
                                    • Allows efficient remote
                                      invocations in parallel




               Valencia, JTR 2013                               11
Supporting ConnectionLess




      •   At JRMP protocol messaging level:
           – Protocol definition with 0x60
           – A new VC(2 bytes) header




             Valencia, JTR 2013               12
Supporting ConnectionLess
VC management

                                       •   The VC used in RETURN
                                           is equal to the VC used
                                           in CALL
                                       •   VCs are
                                            – generated in order
                                            – Reused after the remote
                                              invocation




                  Valencia, JTR 2013                              13
Implementation
• Based on RTSJ-RI by TimeSys
   – Compliant with RTSJ 1.0.2
• RMI-OP for J2ME
   – Supports Stream
• (We) added implementation for
   – SingleOp
   – Multiplex
   – ConnectionLess




                                                      Class diagram for ConnectionLess
                                                      implementation
                                 Valencia, JTR 2013                                14
Evaluation
• Features
        • Local or remote
          configuration                                  Traffic                   Traffic
        • 1300 Mhz machines x 2                        generator                 generator
        • 100Mbits SW-Ethernet                           client                    server
          connection                    RMI_OP                                RMI_OP
• Evaluation metric                     (stream, singleop, ..)                (stream, singleop, ..)
   –   Response-time
   –   Memory                                     RTSJ                                RTSJ
   –   Bandwidth
   –   Footprint
                                                                    Traffic
                                                                   Analizer



                                  Valencia, JTR 2013                                          15
End-to-End Response time
Minimal application payload




                   Valencia, JTR 2013   16
End-to-End Response
time
With appl. payload
• Trends
   – SingleOp is the worst
     protocol
   – Stream is the best
• ConectionLess is   the
  second




                           Valencia, JTR 2013   17
End-to-End Response time
With appl. payload

• Stream is the worst
  protocol
• ConnectionLess is
  the best protocol




                        Valencia, JTR 2013   18
Bandwidth results




                    Valencia, JTR 2013   19
Bandwidth results

• In permanent regime
   – Stream is the best in
     perforamnce
   – ConnectionLess is the
     second
• For concurrent invocations
   – Connectionless is the best
     in perfomance




                             Valencia, JTR 2013   20
Memory Allocation Results
(bytes in Heap)




                 Valencia, JTR 2013   21
Memory Allocation Results
(bytes in Heap)
• In permanent regime
  – Stream is the best
    protocol
  – ConnectionLess is the
    third !!!
     • It uses preallocation




                               Valencia, JTR 2013   22
Memory Allocation Results
(bytes in Heap)

• In concurrent invocations
   – Multiplex is the best in
     dynamic memory
     consumption metrics
   – ConnectionLess is the one
     with less footprint




                         Valencia, JTR 2013   23
Conclusions and ongoing work
• This work evaluated a new JRMP subprotocol
  (ConnectionLess)     for  parallel remote
  invocations
  – Results are satisfactory
     • Low overhead & parallel invocation supported via VCs
• Ongoing work
  – Impact on control applications
  – Serialization impact on JRMP communications
  – Integration of RT-JRMP with ConnectionLess


                            Valencia, JTR 2013                24
2013 Jornadas de Tiempo Real
Valencia, 31 enero-1 Febrero 2013




   Valencia, JTR 2013

More Related Content

What's hot

Ethernet VPN - Layer 2 Scalability
Ethernet VPN - Layer 2 ScalabilityEthernet VPN - Layer 2 Scalability
Ethernet VPN - Layer 2 ScalabilityShivlu Jain
 
Timing Analysis of a Linux-Based CAN-to-CAN Gateway
Timing Analysis of a Linux-Based CAN-to-CAN GatewayTiming Analysis of a Linux-Based CAN-to-CAN Gateway
Timing Analysis of a Linux-Based CAN-to-CAN GatewayMichal Sojka
 
Multi-domain Virtual Content-Aware Networks Mapping on Network Resources
Multi-domain Virtual Content-Aware Networks Mapping on Network ResourcesMulti-domain Virtual Content-Aware Networks Mapping on Network Resources
Multi-domain Virtual Content-Aware Networks Mapping on Network ResourcesAlpen-Adria-Universität
 
CCNxCon2012: Session 3: Content-centric VANETs: routing and transport issues
CCNxCon2012: Session 3: Content-centric VANETs: routing and transport issuesCCNxCon2012: Session 3: Content-centric VANETs: routing and transport issues
CCNxCon2012: Session 3: Content-centric VANETs: routing and transport issuesPARC, a Xerox company
 
Effective Load Balancing for ATCA Platforms
Effective Load Balancing for ATCA PlatformsEffective Load Balancing for ATCA Platforms
Effective Load Balancing for ATCA PlatformsContinuous Computing
 
History based adaptive backoff (hbab) ieee 802.11 mac protocol
History based adaptive backoff (hbab) ieee 802.11 mac protocolHistory based adaptive backoff (hbab) ieee 802.11 mac protocol
History based adaptive backoff (hbab) ieee 802.11 mac protocolambitlick
 
Chap06 ll cprot_03_kh
Chap06 ll cprot_03_khChap06 ll cprot_03_kh
Chap06 ll cprot_03_khFarzad Ramin
 
Quality of Service at the Internet Engineering Task Force
Quality of Service at the Internet Engineering Task ForceQuality of Service at the Internet Engineering Task Force
Quality of Service at the Internet Engineering Task ForceJohn Loughney
 
TLS in manet
TLS in manetTLS in manet
TLS in manetJay Patel
 
A Survey on Cross Layer Routing Protocol with Quality of Service
A Survey on Cross Layer Routing Protocol with Quality of ServiceA Survey on Cross Layer Routing Protocol with Quality of Service
A Survey on Cross Layer Routing Protocol with Quality of ServiceIJSRD
 
Chap02 gprs pro_03t_kh
Chap02 gprs pro_03t_khChap02 gprs pro_03t_kh
Chap02 gprs pro_03t_khFarzad Ramin
 

What's hot (20)

Ethernet VPN - Layer 2 Scalability
Ethernet VPN - Layer 2 ScalabilityEthernet VPN - Layer 2 Scalability
Ethernet VPN - Layer 2 Scalability
 
3 gpp lte-rlc (1)
3 gpp lte-rlc (1)3 gpp lte-rlc (1)
3 gpp lte-rlc (1)
 
Timing Analysis of a Linux-Based CAN-to-CAN Gateway
Timing Analysis of a Linux-Based CAN-to-CAN GatewayTiming Analysis of a Linux-Based CAN-to-CAN Gateway
Timing Analysis of a Linux-Based CAN-to-CAN Gateway
 
Technical seminar
Technical seminarTechnical seminar
Technical seminar
 
Multi-domain Virtual Content-Aware Networks Mapping on Network Resources
Multi-domain Virtual Content-Aware Networks Mapping on Network ResourcesMulti-domain Virtual Content-Aware Networks Mapping on Network Resources
Multi-domain Virtual Content-Aware Networks Mapping on Network Resources
 
CCNxCon2012: Session 3: Content-centric VANETs: routing and transport issues
CCNxCon2012: Session 3: Content-centric VANETs: routing and transport issuesCCNxCon2012: Session 3: Content-centric VANETs: routing and transport issues
CCNxCon2012: Session 3: Content-centric VANETs: routing and transport issues
 
Effective Load Balancing for ATCA Platforms
Effective Load Balancing for ATCA PlatformsEffective Load Balancing for ATCA Platforms
Effective Load Balancing for ATCA Platforms
 
History based adaptive backoff (hbab) ieee 802.11 mac protocol
History based adaptive backoff (hbab) ieee 802.11 mac protocolHistory based adaptive backoff (hbab) ieee 802.11 mac protocol
History based adaptive backoff (hbab) ieee 802.11 mac protocol
 
Chap06 ll cprot_03_kh
Chap06 ll cprot_03_khChap06 ll cprot_03_kh
Chap06 ll cprot_03_kh
 
Mac
MacMac
Mac
 
C25008013
C25008013C25008013
C25008013
 
3GPP LTE-MAC
3GPP LTE-MAC3GPP LTE-MAC
3GPP LTE-MAC
 
Quality of Service at the Internet Engineering Task Force
Quality of Service at the Internet Engineering Task ForceQuality of Service at the Internet Engineering Task Force
Quality of Service at the Internet Engineering Task Force
 
Chap04 gs 03_kh
Chap04 gs 03_khChap04 gs 03_kh
Chap04 gs 03_kh
 
Quality of Service
Quality of ServiceQuality of Service
Quality of Service
 
TLS in manet
TLS in manetTLS in manet
TLS in manet
 
Snooping TCP
Snooping TCPSnooping TCP
Snooping TCP
 
MLCP
MLCPMLCP
MLCP
 
A Survey on Cross Layer Routing Protocol with Quality of Service
A Survey on Cross Layer Routing Protocol with Quality of ServiceA Survey on Cross Layer Routing Protocol with Quality of Service
A Survey on Cross Layer Routing Protocol with Quality of Service
 
Chap02 gprs pro_03t_kh
Chap02 gprs pro_03t_khChap02 gprs pro_03t_kh
Chap02 gprs pro_03t_kh
 

Viewers also liked

Viewers also liked (7)

Enrolment kit stp_chi
Enrolment kit stp_chiEnrolment kit stp_chi
Enrolment kit stp_chi
 
Why company profile
Why company profileWhy company profile
Why company profile
 
Simple asynchronous remote invocations for distributed real-time Java
Simple asynchronous remote invocations for distributed real-time JavaSimple asynchronous remote invocations for distributed real-time Java
Simple asynchronous remote invocations for distributed real-time Java
 
ดาวเทียม(ธัญธร พราว)407
ดาวเทียม(ธัญธร พราว)407ดาวเทียม(ธัญธร พราว)407
ดาวเทียม(ธัญธร พราว)407
 
Basanta jtr2009
Basanta jtr2009Basanta jtr2009
Basanta jtr2009
 
Remote Memory Areas for distributed real-time Java
Remote Memory Areas for distributed real-time JavaRemote Memory Areas for distributed real-time Java
Remote Memory Areas for distributed real-time Java
 
The Outcome Economy
The Outcome EconomyThe Outcome Economy
The Outcome Economy
 

Similar to Fine tuning Java's RMI multiplexing for distributed real-time systems

Pristine rina-sdk-icc-2016
Pristine rina-sdk-icc-2016Pristine rina-sdk-icc-2016
Pristine rina-sdk-icc-2016ICT PRISTINE
 
Multi protocol label switching (mpls)
Multi protocol label switching (mpls)Multi protocol label switching (mpls)
Multi protocol label switching (mpls)Online
 
Transport SDN Overview and Standards Update: Industry Perspectives
Transport SDN Overview and Standards Update: Industry PerspectivesTransport SDN Overview and Standards Update: Industry Perspectives
Transport SDN Overview and Standards Update: Industry PerspectivesInfinera
 
3 gpp lte radio layer 2
3 gpp lte radio layer 23 gpp lte radio layer 2
3 gpp lte radio layer 2pkamoto
 
3 gpp lte radio layer 2
3 gpp lte radio layer 23 gpp lte radio layer 2
3 gpp lte radio layer 2pkamoto
 
performanceandtrafficmanagement-160328180107.pdf
performanceandtrafficmanagement-160328180107.pdfperformanceandtrafficmanagement-160328180107.pdf
performanceandtrafficmanagement-160328180107.pdfABYTHOMAS46
 
Trill and Datacenter Alternatives
Trill and Datacenter AlternativesTrill and Datacenter Alternatives
Trill and Datacenter AlternativesAricent
 
2 Vampir Trace Visualization
2 Vampir Trace Visualization2 Vampir Trace Visualization
2 Vampir Trace VisualizationPTIHPA
 
Rev 090004 Radio Layer 2 And Rrc Aspects
Rev 090004 Radio Layer 2 And Rrc AspectsRev 090004 Radio Layer 2 And Rrc Aspects
Rev 090004 Radio Layer 2 And Rrc Aspectsmaddiv
 
LTE Radio Layer 2 And Rrc Aspects
LTE Radio Layer 2 And Rrc AspectsLTE Radio Layer 2 And Rrc Aspects
LTE Radio Layer 2 And Rrc AspectsBP Tiwari
 
Use of NS-2 to Simulate MANET Routing Algorithms
Use of NS-2 to Simulate MANET Routing AlgorithmsUse of NS-2 to Simulate MANET Routing Algorithms
Use of NS-2 to Simulate MANET Routing AlgorithmsGiancarlo Romeo
 
Versatile Low Power Media Access for Wireless Sensor Networks
Versatile Low Power Media Access for Wireless Sensor NetworksVersatile Low Power Media Access for Wireless Sensor Networks
Versatile Low Power Media Access for Wireless Sensor NetworksMichael Rushanan
 
New framing-protocols
New framing-protocolsNew framing-protocols
New framing-protocolsNitesh Singh
 

Similar to Fine tuning Java's RMI multiplexing for distributed real-time systems (20)

Pristine rina-sdk-icc-2016
Pristine rina-sdk-icc-2016Pristine rina-sdk-icc-2016
Pristine rina-sdk-icc-2016
 
Multi protocol label switching (mpls)
Multi protocol label switching (mpls)Multi protocol label switching (mpls)
Multi protocol label switching (mpls)
 
Transport SDN Overview and Standards Update: Industry Perspectives
Transport SDN Overview and Standards Update: Industry PerspectivesTransport SDN Overview and Standards Update: Industry Perspectives
Transport SDN Overview and Standards Update: Industry Perspectives
 
3 gpp lte radio layer 2
3 gpp lte radio layer 23 gpp lte radio layer 2
3 gpp lte radio layer 2
 
3 gpp lte radio layer 2
3 gpp lte radio layer 23 gpp lte radio layer 2
3 gpp lte radio layer 2
 
performanceandtrafficmanagement-160328180107.pdf
performanceandtrafficmanagement-160328180107.pdfperformanceandtrafficmanagement-160328180107.pdf
performanceandtrafficmanagement-160328180107.pdf
 
Performance and traffic management for WSNs
Performance and traffic management for WSNsPerformance and traffic management for WSNs
Performance and traffic management for WSNs
 
Trill and Datacenter Alternatives
Trill and Datacenter AlternativesTrill and Datacenter Alternatives
Trill and Datacenter Alternatives
 
2 Vampir Trace Visualization
2 Vampir Trace Visualization2 Vampir Trace Visualization
2 Vampir Trace Visualization
 
Rev 090004 Radio Layer 2 And Rrc Aspects
Rev 090004 Radio Layer 2 And Rrc AspectsRev 090004 Radio Layer 2 And Rrc Aspects
Rev 090004 Radio Layer 2 And Rrc Aspects
 
LTE Radio Layer 2 And Rrc Aspects
LTE Radio Layer 2 And Rrc AspectsLTE Radio Layer 2 And Rrc Aspects
LTE Radio Layer 2 And Rrc Aspects
 
1.CN-PPT.ppt
1.CN-PPT.ppt1.CN-PPT.ppt
1.CN-PPT.ppt
 
5G Handover.pptx
5G Handover.pptx5G Handover.pptx
5G Handover.pptx
 
Use of NS-2 to Simulate MANET Routing Algorithms
Use of NS-2 to Simulate MANET Routing AlgorithmsUse of NS-2 to Simulate MANET Routing Algorithms
Use of NS-2 to Simulate MANET Routing Algorithms
 
10 fn s22
10 fn s2210 fn s22
10 fn s22
 
Versatile Low Power Media Access for Wireless Sensor Networks
Versatile Low Power Media Access for Wireless Sensor NetworksVersatile Low Power Media Access for Wireless Sensor Networks
Versatile Low Power Media Access for Wireless Sensor Networks
 
New framing-protocols
New framing-protocolsNew framing-protocols
New framing-protocols
 
Delay Tolerant Streaming Services, Thomas Plagemann, UiO
Delay Tolerant Streaming Services, Thomas Plagemann, UiODelay Tolerant Streaming Services, Thomas Plagemann, UiO
Delay Tolerant Streaming Services, Thomas Plagemann, UiO
 
Lte overview titus
Lte overview titusLte overview titus
Lte overview titus
 
presentation
presentationpresentation
presentation
 

More from Universidad Carlos III de Madrid (10)

Tecnicas y extensiones para Java de tiempo real
Tecnicas y extensiones para Java de tiempo realTecnicas y extensiones para Java de tiempo real
Tecnicas y extensiones para Java de tiempo real
 
Towards a garbage collector for distributed real-time Java
Towards a garbage collector for distributed real-time JavaTowards a garbage collector for distributed real-time Java
Towards a garbage collector for distributed real-time Java
 
A simple data muling protocol
A simple data muling protocolA simple data muling protocol
A simple data muling protocol
 
Mejoras a la predictibilidad de la tecnología Java EE
Mejoras a la predictibilidad de la tecnología Java EEMejoras a la predictibilidad de la tecnología Java EE
Mejoras a la predictibilidad de la tecnología Java EE
 
Towards a real-time reconfiguration service for distributed Java
Towards a real-time reconfiguration service for distributed JavaTowards a real-time reconfiguration service for distributed Java
Towards a real-time reconfiguration service for distributed Java
 
No Heap Remote Objects for Distributed real-time Java
No Heap Remote Objects for Distributed real-time JavaNo Heap Remote Objects for Distributed real-time Java
No Heap Remote Objects for Distributed real-time Java
 
A synchronous scheduling service for distributed real-time Java
A synchronous scheduling service for distributed real-time JavaA synchronous scheduling service for distributed real-time Java
A synchronous scheduling service for distributed real-time Java
 
Pbasanta@jtres06 extendedportal
Pbasanta@jtres06 extendedportalPbasanta@jtres06 extendedportal
Pbasanta@jtres06 extendedportal
 
Enhancing the region model of RTSJ
Enhancing the region model of RTSJEnhancing the region model of RTSJ
Enhancing the region model of RTSJ
 
2011.jtr.pbasanta.
2011.jtr.pbasanta.2011.jtr.pbasanta.
2011.jtr.pbasanta.
 

Fine tuning Java's RMI multiplexing for distributed real-time systems

  • 1. 2013 Jornadas de Tiempo Real de España Valencia, 31 enero-1 Febrero 2013 Fine tuning and evaluation of multiplexing facilities in Java’s Remote Method Invocation* P. Basanta-Val, M. García-Valls, I. Estévez-Ayres , J. González-Fernández http://www.it.uc3m.es/drequiemi Universidad Carlos III de Madrid * Published in Concurrency and Computation: Practice and Experience (IF:0,6)
  • 2. Outlined presentation • Context and motivation – Efficient multiplexation in Java’s RMI • Background on JRMP and Java´s RMI – Stream – SingleOp – Multiplex • Approach – ConnectionLess • Empirical Results – Bandwidth, response-time, footprint, and latency Valencia, JTR 2013 2
  • 3. Context • Benefits of Java – Reduced development time, automatic memory management, syntax • Real-time Java as of today • RTSJ (Real-Time Specification for Java) – Implementations ready for development • SCJ (Safety Critical Java) • DRTSJ (Distributed Real-Time Java) – no implementations or specifications • Distributed real-time Java requires – End-to-end programming abstractions – Predicable end-to-end resource management • Memory, CPU and Network Valencia, JTR 2013 3
  • 4. The contribution • An efficient multiplexing protocol for RMI – For JRMP(Java’s Remote Method Protocol) – Idea: ConnectionLess subprotocol for JRMP • To allow multiple threads invoke the same remote node “in parallel” and “efficiently”, without penalties – Advance: • Flexibility Only one TCP-IP connection required per each client-server pair !! – Drawback • Constant overhead in communications • Related work: – Some researchers proposed to add new JRMP headers to JRMP (York, JSR-50, UPM, UC3M) in order to produce a RT-JRMP protocol Valencia, JTR 2013 4
  • 5. ConnectionLess as a transport subprotocol for distributed real-time Java • JRMP default protocol – Stream • Other optional subprotocols – SingleOp – StreamOp • Proposed approach – ConnectionLess Valencia, JTR 2013 5
  • 6. Remote The three JRMP Object subprotocols and the Stub ConnectionLess Stub TCP/IP Client VM Server VM Valencia, JTR 2013 6
  • 7. Background on JRMP • Described as “wired protocol” in the Java’s RMI specification • Subprotocols – SingleOp – Stream – Multiplex • Messages – DGCAck – CALL – RETURN – PING – PINGAck Valencia, JTR 2013 7
  • 8. Remote Invocation for SingleOp • They always involved a TCP/IP connection – Very inefficient !! Valencia, JTR 2013 8
  • 9. Remote Invocation with Stream • It may reuse an negotiated stream subconnection for further2013 Valencia, JTR sequential invocations 9
  • 10. Remote Invocation with Multiplex • It allows multiple remote invocations “in parallel” from the same client • However, it is very inefficient – Three negotiations (TCP, RMI connection, Multiplex connection) – Multiple copies to buffers Valencia, JTR 2013 10
  • 11. Remote Invocation with ConnectionLess • Based on Stream and Mux: – VCs managed dynamically by the client • Allows efficient remote invocations in parallel Valencia, JTR 2013 11
  • 12. Supporting ConnectionLess • At JRMP protocol messaging level: – Protocol definition with 0x60 – A new VC(2 bytes) header Valencia, JTR 2013 12
  • 13. Supporting ConnectionLess VC management • The VC used in RETURN is equal to the VC used in CALL • VCs are – generated in order – Reused after the remote invocation Valencia, JTR 2013 13
  • 14. Implementation • Based on RTSJ-RI by TimeSys – Compliant with RTSJ 1.0.2 • RMI-OP for J2ME – Supports Stream • (We) added implementation for – SingleOp – Multiplex – ConnectionLess Class diagram for ConnectionLess implementation Valencia, JTR 2013 14
  • 15. Evaluation • Features • Local or remote configuration Traffic Traffic • 1300 Mhz machines x 2 generator generator • 100Mbits SW-Ethernet client server connection RMI_OP RMI_OP • Evaluation metric (stream, singleop, ..) (stream, singleop, ..) – Response-time – Memory RTSJ RTSJ – Bandwidth – Footprint Traffic Analizer Valencia, JTR 2013 15
  • 16. End-to-End Response time Minimal application payload Valencia, JTR 2013 16
  • 17. End-to-End Response time With appl. payload • Trends – SingleOp is the worst protocol – Stream is the best • ConectionLess is the second Valencia, JTR 2013 17
  • 18. End-to-End Response time With appl. payload • Stream is the worst protocol • ConnectionLess is the best protocol Valencia, JTR 2013 18
  • 19. Bandwidth results Valencia, JTR 2013 19
  • 20. Bandwidth results • In permanent regime – Stream is the best in perforamnce – ConnectionLess is the second • For concurrent invocations – Connectionless is the best in perfomance Valencia, JTR 2013 20
  • 21. Memory Allocation Results (bytes in Heap) Valencia, JTR 2013 21
  • 22. Memory Allocation Results (bytes in Heap) • In permanent regime – Stream is the best protocol – ConnectionLess is the third !!! • It uses preallocation Valencia, JTR 2013 22
  • 23. Memory Allocation Results (bytes in Heap) • In concurrent invocations – Multiplex is the best in dynamic memory consumption metrics – ConnectionLess is the one with less footprint Valencia, JTR 2013 23
  • 24. Conclusions and ongoing work • This work evaluated a new JRMP subprotocol (ConnectionLess) for parallel remote invocations – Results are satisfactory • Low overhead & parallel invocation supported via VCs • Ongoing work – Impact on control applications – Serialization impact on JRMP communications – Integration of RT-JRMP with ConnectionLess Valencia, JTR 2013 24
  • 25. 2013 Jornadas de Tiempo Real Valencia, 31 enero-1 Febrero 2013 Valencia, JTR 2013