Presentation is loading. Please wait.

Presentation is loading. Please wait.

OML – I NFRASTRUCTURE OVERVIEW Igor Leonardo Eloy Macedo.

Similar presentations


Presentation on theme: "OML – I NFRASTRUCTURE OVERVIEW Igor Leonardo Eloy Macedo."— Presentation transcript:

1 OML – I NFRASTRUCTURE OVERVIEW Igor Leonardo Eloy Macedo

2 A GENDA OML The basics Filters The Measurement points The Database OML MDIP

3 OML – T HE B ASICS (1) First developed as a component of OMF Today is a stande-alone project (indepedent) Collects any type of measurement of any type of app Composed by three items (execution point of view) Measurement points Measurement Streams OML’s Filtering Mechanisms

4 OML – T HE B ASICS (2)

5 OML – F ILTERS It is the result of some pre-processing on a measurement stream The big advantage of this is reduce the amount of data collected Definided by the OML Client Library It is possible to custumize then, but there some default filters: http://mytestbed.net/projects/oml/repository/revisions/ master/show/lib/client/filter http://mytestbed.net/projects/oml/repository/revisions/ master/show/lib/client/filter How to crete your own filter: http://omf.mytestbed.net/projects/oml/wiki/Developin g_Filters http://omf.mytestbed.net/projects/oml/wiki/Developin g_Filters

6 OML – M EASUREMENT P OINTS (MP) (2) “It is the input port for recording measurements” A MP is a tuple that indicates a measurement A measurement is not just a number Can be a group of itens In todays version, a measurement can be represented as a string | integer | double App “inject” measurements into a MP Client Library Register the MP Applies filters to them Sends the MP to na output stream | file

7 OML – M EASUREMENT P OINTS (MP) (2) OmlMPDef mp_def [] = { { "source", OML_LONG_VALUE }, { "destination", OML_LONG_VALUE }, { "length", OML_LONG_VALUE }, { "protocol", OML_STRING_VALUE }, { NULL, (OmlValueT)0 } }; OmlMP* mp = omlc_add_mp ("packet_info", mp_def); if (mp == NULL) { fprintf (stderr, "Error: could not register Measurement Point \"packet_info\"");; exit (1); }

8 OML S ERVER Allows users to record their measurements inside a remote database It works like a daemon program for OML arquitecture Receives the measurements collected from clients Creates a database named by “oml-exp-id” (a parameter for configuration, required by the omlc_init function “The oml2-server proposes an abstraction for developers to change the back-end database. Currently, only the sqlite3 backend is fully” Export database to a txt file (on NICTA testbed) wget "http://ServerAddress:5053/result/dumpDatabase?expID=E xperiment_ID" -O arquivoDump

9 MDIP P ROPOSAL

10 R EFERENCES http://oml.mytestbed.net/projects/oml/wiki/Docum entation http://omf.mytestbed.net/projects/omf/wiki/BasicT utorialStage4-5-3 http://oml.mytestbed.net/projects/oml/wiki/Server http://oml.mytestbed.net/projects/oml/wiki/Config uring_OML_Client_Applications http://omf.mytestbed.net/projects/oml/wiki/Client _Programming


Download ppt "OML – I NFRASTRUCTURE OVERVIEW Igor Leonardo Eloy Macedo."

Similar presentations


Ads by Google