Design considerations for framework integration - PowerPoint PPT Presentation

About This Presentation
Title:

Design considerations for framework integration

Description:

EPICS. Realized using JCA (Boucher) One process variable (PV) per field ... Java implementation (TINE) preferred over native (EPICS) Mainly from type conversion ... – PowerPoint PPT presentation

Number of Views:12
Avg rating:3.0/5.0
Slides: 18
Provided by: alesp1
Category:

less

Transcript and Presenter's Notes

Title: Design considerations for framework integration


1
Design considerations for framework integration
  • AleÅ¡ Pucelj (ales.pucelj_at_cosylab.com) , G.
    Tkacik,
  • R. Å abjan
  • PCaPAC 2002

2
Framework Performance
  • What is the added overhead of a framework ?

3
Control System Framework Design
  • Closed architecture
  • Open architecture

4
Requirements
  • Simple to use
  • Extensible
  • Portable
  • Minimal overhead

5
Abeans FrameworkOverview
Application
Abeans
Modeling layer
Request
Response
Plugs
EPICS
TINE
6
Abeans FrameworkCommunication
  • Request
  • Resource identification
  • Data type
  • Operation
  • Response(s)
  • Value
  • Error code
  • Timestamp

7
Abeans NamespaceSample naming
  • General structure
  • scheme//authoritypath?queryfragment
  • EPICS
  • abeans-EPICS///PBEND_M_01_current?get
  • TINE
  • abeans-TINE//ns.desy.de/DESY/BENDS/PBEND_M_01/c
    urrent?get

8
Abeans NamespaceURI Definition
  • Open standard (RFC 2396)
  • Implementations already provided
  • Is sufficiently rich for our purpose

9
Abeans NamespaceURI handling
  • All resources are identified by URIs
  • URI creation hidden from application developer
  • Customizable for specific implementation

10
Plugs
  • Only link between Abeans and remote data
  • Most critical for performance
  • Reliable

11
Plug ImplementationEPICS
  • Realized using JCA (Boucher)
  • One process variable (PV) per field
  • All records accessed by fields
  • Different datatypes
  • CA designed for single-threaded access
  • No namespace
  • Not all Abeans features supported
  • Native C library

12
Plug implementationEPICS data types
  • Different in types
  • Abeans Double, Long, String, Object
  • EPICS Double, Float, Int, Byte, Short, Enum, ...
  • Conversion made during each call
  • All types can be accessed from Abeans
  • Native types used for CA

13
Plug ImplementationDetails
  • One connection - one PV
  • Connections are cached
  • Automatic establishing and closing of connections
  • Hash table implementation still efficient for
    large number of PVs

14
Plug ImplementationTINE
  • Realized using Java implementation of TINE
    protocol
  • No need for type conversions
  • Persistent connections not directly available
  • Some data access not directly supported

15
Performance IssuesMemory overhead
  • Most overhead is imposed by Java and OOP
  • Java implementation (TINE) preferred over native
    (EPICS)
  • Mainly from type conversion

16
Performance IssuesCommunication
  • Most overhead from Abeans request handling
  • Negligible compared to network latency
  • Slow-time control

17
Conclusions
  • Framework overhead is less than expected
  • Existing protocol implementations are sufficient
  • Open architecture works
Write a Comment
User Comments (0)
About PowerShow.com