performance analysis of a grid-based instrumentation device farm

17
Performance analysis of a Grid-based Instrumentation Device Farm Luca Berruti 1 , Franco Davoli 1 , Stefano Vignola 1 , Sandro Zappatore 1 1 CNIT – University of Genoa Research Unit, Via Opera Pia 13, 16145 Genova, Italy e-mail: {luca.berruti, franco.davoli, stefano.vignola, sandro.zappatore}@cnit.it

Upload: haley

Post on 10-Jan-2016

25 views

Category:

Documents


1 download

DESCRIPTION

Performance analysis of a Grid-based Instrumentation Device Farm. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Performance analysis of a Grid-based Instrumentation Device Farm

Performance analysis of a Grid-based Instrumentation Device Farm

Performance analysis of a Grid-based Instrumentation Device Farm

Luca Berruti1, Franco Davoli1,

Stefano Vignola1, Sandro Zappatore1

1CNIT – University of Genoa Research Unit,Via Opera Pia 13, 16145 Genova, Italy

e-mail: {luca.berruti, franco.davoli, stefano.vignola, sandro.zappatore}@cnit.it

Luca Berruti1, Franco Davoli1,

Stefano Vignola1, Sandro Zappatore1

1CNIT – University of Genoa Research Unit,Via Opera Pia 13, 16145 Genova, Italy

e-mail: {luca.berruti, franco.davoli, stefano.vignola, sandro.zappatore}@cnit.it

Page 2: Performance analysis of a Grid-based Instrumentation Device Farm

INGRID2008 – Ischia – Italy, April 11thINGRID2008 – Ischia – Italy, April 11th

The FrameworkTo develop a GRID based platform (named Device Farm) for the remote access and control of

distributed real laboratories for telecomunication testing

•Research

•Education

•Industry R&D

The aim is to offer access to physical resources for several applications, for instance

Page 3: Performance analysis of a Grid-based Instrumentation Device Farm

INGRID2008 – Ischia – Italy, April 11thINGRID2008 – Ischia – Italy, April 11th

The GRIDCC projectThe GRIDCC project

The GRIDCC (Grid enabled Remote Instrumentation with Distributed Control and Computation) project was aimed at extending Grid technology to the real-time access and control of instrumentation.

CNIT investigated the use of GRIDDCC framework to remotely control a set of instruments (Device Farm) for measurements on telecommunication systems.

The GRIDCC (Grid enabled Remote Instrumentation with Distributed Control and Computation) project was aimed at extending Grid technology to the real-time access and control of instrumentation.

CNIT investigated the use of GRIDDCC framework to remotely control a set of instruments (Device Farm) for measurements on telecommunication systems.

Page 4: Performance analysis of a Grid-based Instrumentation Device Farm

INGRID2008 – Ischia – Italy, April 11thINGRID2008 – Ischia – Italy, April 11th

Why a Grid-based architectureWhy a Grid-based architecture

Reliability

Security

Accessibility

High Speed when moving Signals and Controls

Web-Services(WSDL, SOAP, XML, HTTP)

Dedicated Architecture forData Exchange

Page 5: Performance analysis of a Grid-based Instrumentation Device Farm

INGRID2008 – Ischia – Italy, April 11thINGRID2008 – Ischia – Italy, April 11th

The Device Farm within the GRIDCCThe Device Farm within the GRIDCC

Page 6: Performance analysis of a Grid-based Instrumentation Device Farm

INGRID2008 – Ischia – Italy, April 11thINGRID2008 – Ischia – Italy, April 11th

Virtual Instrument Grid Service (VIGS)

ResourceService

Inf & MonService

ProblemSolver

InstrumentManager

Instrument Element

Data Mover

IMSProxy

ControlManager

DataCollector

Acc

ess

Co

ntr

ol M

an

ag

er

execute()

getState()

create()

destroy()

InputManager

EventProcessor

FSMEngine

ResourceProxy

Control Manager

Virtual Instrument Grid Service (VIGS)

ResourceService

Inf & MonService

ProblemSolver

InstrumentManager

Instrument Element

Data Mover

IMSProxy

ControlManager

DataCollector

Acc

ess

Co

ntr

ol M

an

ag

er

Acc

ess

Co

ntr

ol M

an

ag

er

execute()

getState()

create()

destroy()

InputManager

EventProcessor

FSMEngine

ResourceProxy

Control Manager

InputManager

EventProcessor

FSMEngine

ResourceProxy

Control Manager

Instrument Driver

Device Device Device

IAL

The GRIDCC Instrument Framework

Page 7: Performance analysis of a Grid-based Instrumentation Device Farm

INGRID2008 – Ischia – Italy, April 11thINGRID2008 – Ischia – Italy, April 11th

Each Device in the Farm is identified by a set of variables, which can be written and read.

These variables are handled by a proper software layer (Instrument Abstraction Layer - IAL, offering an Instrument Abstraction Service - IAS), written in Java.

The IAL implements a set of methods for reading/writing the variables, for connecting/releasing the Device, and so on.

In this way, the IAS acts as an interface between the Device Driver and the application using the specific Device.

Each Device in the Farm is identified by a set of variables, which can be written and read.

These variables are handled by a proper software layer (Instrument Abstraction Layer - IAL, offering an Instrument Abstraction Service - IAS), written in Java.

The IAL implements a set of methods for reading/writing the variables, for connecting/releasing the Device, and so on.

In this way, the IAS acts as an interface between the Device Driver and the application using the specific Device.

The Device Farm within the GRIDCCThe Device Farm within the GRIDCC

Page 8: Performance analysis of a Grid-based Instrumentation Device Farm

INGRID2008 – Ischia – Italy, April 11thINGRID2008 – Ischia – Italy, April 11th

The VCR – IE communication (1)

Initialization Phase

The user issues a series of commands to properly set all the physical components involved in the experiment.

Each command is set to the IE by invoking several Remote Procedure Calls (RPCs) provided by the Web Services associated to the IE.

The IE returns the status of the IE and/or an array of variables associated to the instruments controlled by the IE.

Page 9: Performance analysis of a Grid-based Instrumentation Device Farm

INGRID2008 – Ischia – Italy, April 11thINGRID2008 – Ischia – Italy, April 11th

The VCR – IE communication (2)Actual Measuring PhaseThe IE has to (periodically) return the user an array of variables containing the data gathered (i.e. a trace of an oscilloscope). Two data exchange modes.

In-band mode

The user issues a command (via a XML-SOAP RPC) in order to get the variables that must be monitored.

the proper formatting of the command into a XML message addressed to the IE Web Service the actual transmission of such a packet to the IE Web Service Engine end-point the reception, upon completion of the command at the IE, of the XML response message the decoding/disassembling of the message that carries the result of the command issued.

Page 10: Performance analysis of a Grid-based Instrumentation Device Farm

INGRID2008 – Ischia – Italy, April 11thINGRID2008 – Ischia – Italy, April 11th

The VCR – IE communication (3)

Actual Measuring Phase

Out-of-band mode

The user sends a command to the IE in order to subscribe to the reception of a group of data (i.e., an array of variables) from a certain device.

The IM controlling the device opens a channel toward a dispatcher (a broker in JMS terminology)

The IE communicates back to the user a sort of “locator” that specifies the channel used by the dispatcher

At the user end, an user Applet connects (subscribes) to the dispatcher at the specified “locator” to automatically receive data whenever they are released by the instrument.

Page 11: Performance analysis of a Grid-based Instrumentation Device Farm

INGRID2008 – Ischia – Italy, April 11thINGRID2008 – Ischia – Italy, April 11th

The VCR – IE communication (4)

Out-of-band mode

Page 12: Performance analysis of a Grid-based Instrumentation Device Farm

INGRID2008 – Ischia – Italy, April 11thINGRID2008 – Ischia – Italy, April 11th

IE Performance evaluationIE Performance evaluation

Goal:To evaluate the performance of data delivery via the JMS in the Device Farm case Specifically, we want to estimate:• how many clients the system can serve at the same time;

• the time spent to receive a specific array of variables

Finally, we want to compare the results with those achievable without the use of the JMS (in-band communication case)

Page 13: Performance analysis of a Grid-based Instrumentation Device Farm

INGRID2008 – Ischia – Italy, April 11thINGRID2008 – Ischia – Italy, April 11th

Performance Test Set-upPerformance Test Set-up

•PCs: Fujitsu-Siemens Scenico AMD-Athlon 2.14 GHz•Switch: CISCO – Catalyst 2900 – 24 Fast Ethernet ports•OS: Windows XP professional –sp2 •JMS: Sun - jmq 3.5 sp2

Virtual Instrument continuously sends data (viz. arrays) to the JMS topic as fast as possible.

1st set of testsEach array consists of 2500 doubles

2nd set of testsArray size is set to 5000, 10000, 20000, and 40000 doubles

Page 14: Performance analysis of a Grid-based Instrumentation Device Farm

INGRID2008 – Ischia – Italy, April 11thINGRID2008 – Ischia – Italy, April 11th

Results (1)Results (1)

5 10 15 20 250

5

10

15

20

25Measure I Measure II Measure III Mean measure

Active client stations

Inte

r-a

rriv

al t

ime

[ms]

Behavior of the inter-arrival time for different numbers of active client stations (JMS broker).

Page 15: Performance analysis of a Grid-based Instrumentation Device Farm

INGRID2008 – Ischia – Italy, April 11thINGRID2008 – Ischia – Italy, April 11th

Results (2)Results (2)

Behavior of the Response Time for different numbers of active client stations (IE polling – In-band mode).

5 10 15 20 250

1000

2000

3000

4000

5000

6000

Measure I Measure II Measure III Mean measure

Active client stations

Res

pons

e tim

e [m

s]

Page 16: Performance analysis of a Grid-based Instrumentation Device Farm

INGRID2008 – Ischia – Italy, April 11thINGRID2008 – Ischia – Italy, April 11th

Results (3)Results (3)

Behavior of the inter-arrival time vs the number of active client stations at different levels of payload (JMS in use)

5 10 15 20 250

50

100

150

200

250

300

5000 10000 20000 40000

Active client stations

Inte

r-a

rriv

al t

ime

[m

s]

Page 17: Performance analysis of a Grid-based Instrumentation Device Farm

INGRID2008 – Ischia – Italy, April 11thINGRID2008 – Ischia – Italy, April 11th

ConclusionsConclusions

•In applications involving remote instrumentation, a Device Farm, data must be frequently collected from the field and displayed on the user client stations (for instance, the traces of an oscilloscope) .

• The problem of dispatching arrays of variables becomes more relevant whenever numerous clients are monitoring the variables.

• A possible solution to the problem is to equip the IE with a subsystem that can provide a publish/subscribe data transfer mechanism.

• Within the GRIDDCC framework, the use of a JMS can strongly improve the overall performance of the entire framework