58
Resource discovery in grids Performance Analysis Summary Performance Analysis of Publish/Subscribe Systems H. Abbes 1,2 J.-C. Dubacq 2 1 Research Unit UTIC cole supØrieure des Sciences et Technologies de Tunis 2 Laboratory LIPN UMR 7030 CNRS UniversitØ Paris 13 EUMEDGRID Workshop on Grid Computing, 2007 Abbes, Dubacq Publish/Subscribe Systems

Performance Analysis of Publish/Subscribe Systemsdubacq/pdf/publications/eumedgrid.pdf · Appendix ForFurtherReading ForFurtherReadingI SteinbergandCheshire. Zero Con˝guration Networking:

  • Upload
    others

  • View
    3

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Performance Analysis of Publish/Subscribe Systemsdubacq/pdf/publications/eumedgrid.pdf · Appendix ForFurtherReading ForFurtherReadingI SteinbergandCheshire. Zero Con˝guration Networking:

Resource discovery in gridsPerformance Analysis

Summary

Performance Analysis of Publish/Subscribe Systems

H. Abbes1,2 J.-C. Dubacq2

1Research Unit UTICÉcole supérieure des Sciences et Technologies de Tunis

2Laboratory LIPN – UMR 7030CNRS – Université Paris 13

EUMEDGRID Workshop on Grid Computing, 2007

Abbes, Dubacq Publish/Subscribe Systems

Page 2: Performance Analysis of Publish/Subscribe Systemsdubacq/pdf/publications/eumedgrid.pdf · Appendix ForFurtherReading ForFurtherReadingI SteinbergandCheshire. Zero Con˝guration Networking:

Resource discovery in gridsPerformance Analysis

Summary

Outline

1 Resource discovery in gridsMotivationExploiting your neighbourhood

2 Performance AnalysisFrameworkMeasurements

Abbes, Dubacq Publish/Subscribe Systems

Page 3: Performance Analysis of Publish/Subscribe Systemsdubacq/pdf/publications/eumedgrid.pdf · Appendix ForFurtherReading ForFurtherReadingI SteinbergandCheshire. Zero Con˝guration Networking:

Resource discovery in gridsPerformance Analysis

SummaryMotivationExploiting your neighbourhood

Outline

1 Resource discovery in gridsMotivationExploiting your neighbourhood

2 Performance AnalysisFrameworkMeasurements

Abbes, Dubacq Publish/Subscribe Systems

Page 4: Performance Analysis of Publish/Subscribe Systemsdubacq/pdf/publications/eumedgrid.pdf · Appendix ForFurtherReading ForFurtherReadingI SteinbergandCheshire. Zero Con˝guration Networking:

Resource discovery in gridsPerformance Analysis

SummaryMotivationExploiting your neighbourhood

GridsWhy putting grids around us?

Computational resources are more and more demanding.Computational gridsData grids, peer-to-peer networksMobile computing, pervasive computingInter-node communications, Instant grids!

What does not scale ?Fault tolerance (nodes, network)Data circulation (firewalls, rate, quantity)Intermittent node management (desktop grids)

Flexible grids need to be aware of new resources in a distributed way.

Abbes, Dubacq Publish/Subscribe Systems

Page 5: Performance Analysis of Publish/Subscribe Systemsdubacq/pdf/publications/eumedgrid.pdf · Appendix ForFurtherReading ForFurtherReadingI SteinbergandCheshire. Zero Con˝guration Networking:

Resource discovery in gridsPerformance Analysis

SummaryMotivationExploiting your neighbourhood

GridsWhy putting grids around us?

Computational resources are more and more demanding.Computational gridsData grids, peer-to-peer networksMobile computing, pervasive computingInter-node communications, Instant grids!

What does not scale ?Fault tolerance (nodes, network)Data circulation (firewalls, rate, quantity)Intermittent node management (desktop grids)

Flexible grids need to be aware of new resources in a distributed way.

Abbes, Dubacq Publish/Subscribe Systems

Page 6: Performance Analysis of Publish/Subscribe Systemsdubacq/pdf/publications/eumedgrid.pdf · Appendix ForFurtherReading ForFurtherReadingI SteinbergandCheshire. Zero Con˝guration Networking:

Resource discovery in gridsPerformance Analysis

SummaryMotivationExploiting your neighbourhood

GridsWhy putting grids around us?

Computational resources are more and more demanding.Computational gridsData grids, peer-to-peer networksMobile computing, pervasive computingInter-node communications, Instant grids!

What does not scale ?Fault tolerance (nodes, network)Data circulation (firewalls, rate, quantity)Intermittent node management (desktop grids)

Flexible grids need to be aware of new resources in a distributed way.

Abbes, Dubacq Publish/Subscribe Systems

Page 7: Performance Analysis of Publish/Subscribe Systemsdubacq/pdf/publications/eumedgrid.pdf · Appendix ForFurtherReading ForFurtherReadingI SteinbergandCheshire. Zero Con˝guration Networking:

Resource discovery in gridsPerformance Analysis

SummaryMotivationExploiting your neighbourhood

GridsWhy putting grids around us?

Computational resources are more and more demanding.Computational gridsData grids, peer-to-peer networksMobile computing, pervasive computingInter-node communications, Instant grids!

What does not scale ?Fault tolerance (nodes, network)Data circulation (firewalls, rate, quantity)Intermittent node management (desktop grids)

Flexible grids need to be aware of new resources in a distributed way.

Abbes, Dubacq Publish/Subscribe Systems

Page 8: Performance Analysis of Publish/Subscribe Systemsdubacq/pdf/publications/eumedgrid.pdf · Appendix ForFurtherReading ForFurtherReadingI SteinbergandCheshire. Zero Con˝guration Networking:

Resource discovery in gridsPerformance Analysis

SummaryMotivationExploiting your neighbourhood

GridsWhy putting grids around us?

Computational resources are more and more demanding.Computational gridsData grids, peer-to-peer networksMobile computing, pervasive computingInter-node communications, Instant grids!

What does not scale ?Fault tolerance (nodes, network)Data circulation (firewalls, rate, quantity)Intermittent node management (desktop grids)

Flexible grids need to be aware of new resources in a distributed way.

Abbes, Dubacq Publish/Subscribe Systems

Page 9: Performance Analysis of Publish/Subscribe Systemsdubacq/pdf/publications/eumedgrid.pdf · Appendix ForFurtherReading ForFurtherReadingI SteinbergandCheshire. Zero Con˝guration Networking:

Resource discovery in gridsPerformance Analysis

SummaryMotivationExploiting your neighbourhood

Fallacies of Distributed ComputingJoy/Lyon/Deutsch/Gosling

1 The network is reliable.2 Latency is zero.3 Bandwidth is infinite.4 The network is secure.5 Topology doesn’t change.6 There is one administrator.7 Transport cost is zero.8 The network is homogeneous.

(copied from Wikipedia)

Abbes, Dubacq Publish/Subscribe Systems

Page 10: Performance Analysis of Publish/Subscribe Systemsdubacq/pdf/publications/eumedgrid.pdf · Appendix ForFurtherReading ForFurtherReadingI SteinbergandCheshire. Zero Con˝guration Networking:

Resource discovery in gridsPerformance Analysis

SummaryMotivationExploiting your neighbourhood

Outline

1 Resource discovery in gridsMotivationExploiting your neighbourhood

2 Performance AnalysisFrameworkMeasurements

Abbes, Dubacq Publish/Subscribe Systems

Page 11: Performance Analysis of Publish/Subscribe Systemsdubacq/pdf/publications/eumedgrid.pdf · Appendix ForFurtherReading ForFurtherReadingI SteinbergandCheshire. Zero Con˝guration Networking:

Resource discovery in gridsPerformance Analysis

SummaryMotivationExploiting your neighbourhood

Living in a pervasive computing world.Make yourself known!

Communication between random nodes is often limited. We need to build anoverlay network.

Main requirement: announce of existence (broadcast one-to-all);Good performance (low latency, congestion management, data rate);Topology of the overlay network: full graph, star graph (tree?), ring;Already existing: Ethernet level, LAN, VPN... not desktop grid;Security in the grid;Some initiative already in process: Host Identification Protocol, ZeroConf.

Abbes, Dubacq Publish/Subscribe Systems

Page 12: Performance Analysis of Publish/Subscribe Systemsdubacq/pdf/publications/eumedgrid.pdf · Appendix ForFurtherReading ForFurtherReadingI SteinbergandCheshire. Zero Con˝guration Networking:

Resource discovery in gridsPerformance Analysis

SummaryMotivationExploiting your neighbourhood

Living in a pervasive computing world.Make yourself known!

Communication between random nodes is often limited. We need to build anoverlay network.

Main requirement: announce of existence (broadcast one-to-all);Good performance (low latency, congestion management, data rate);Topology of the overlay network: full graph, star graph (tree?), ring;Already existing: Ethernet level, LAN, VPN... not desktop grid;Security in the grid;Some initiative already in process: Host Identification Protocol, ZeroConf.

Abbes, Dubacq Publish/Subscribe Systems

Page 13: Performance Analysis of Publish/Subscribe Systemsdubacq/pdf/publications/eumedgrid.pdf · Appendix ForFurtherReading ForFurtherReadingI SteinbergandCheshire. Zero Con˝guration Networking:

Resource discovery in gridsPerformance Analysis

SummaryMotivationExploiting your neighbourhood

Living in a pervasive computing world.Make yourself known!

Communication between random nodes is often limited. We need to build anoverlay network.

Main requirement: announce of existence (broadcast one-to-all);Good performance (low latency, congestion management, data rate);Topology of the overlay network: full graph, star graph (tree?), ring;Already existing: Ethernet level, LAN, VPN... not desktop grid;Security in the grid;Some initiative already in process: Host Identification Protocol, ZeroConf.

Abbes, Dubacq Publish/Subscribe Systems

Page 14: Performance Analysis of Publish/Subscribe Systemsdubacq/pdf/publications/eumedgrid.pdf · Appendix ForFurtherReading ForFurtherReadingI SteinbergandCheshire. Zero Con˝guration Networking:

Resource discovery in gridsPerformance Analysis

SummaryMotivationExploiting your neighbourhood

Living in a pervasive computing world.Make yourself known!

Communication between random nodes is often limited. We need to build anoverlay network.

Main requirement: announce of existence (broadcast one-to-all);Good performance (low latency, congestion management, data rate);Topology of the overlay network: full graph, star graph (tree?), ring;Already existing: Ethernet level, LAN, VPN... not desktop grid;Security in the grid;Some initiative already in process: Host Identification Protocol, ZeroConf.

Abbes, Dubacq Publish/Subscribe Systems

Page 15: Performance Analysis of Publish/Subscribe Systemsdubacq/pdf/publications/eumedgrid.pdf · Appendix ForFurtherReading ForFurtherReadingI SteinbergandCheshire. Zero Con˝guration Networking:

Resource discovery in gridsPerformance Analysis

SummaryMotivationExploiting your neighbourhood

Living in a pervasive computing world.Make yourself known!

Communication between random nodes is often limited. We need to build anoverlay network.

Main requirement: announce of existence (broadcast one-to-all);Good performance (low latency, congestion management, data rate);Topology of the overlay network: full graph, star graph (tree?), ring;Already existing: Ethernet level, LAN, VPN... not desktop grid;Security in the grid;Some initiative already in process: Host Identification Protocol, ZeroConf.

Abbes, Dubacq Publish/Subscribe Systems

Page 16: Performance Analysis of Publish/Subscribe Systemsdubacq/pdf/publications/eumedgrid.pdf · Appendix ForFurtherReading ForFurtherReadingI SteinbergandCheshire. Zero Con˝guration Networking:

Resource discovery in gridsPerformance Analysis

SummaryMotivationExploiting your neighbourhood

Living in a pervasive computing world.Make yourself known!

Communication between random nodes is often limited. We need to build anoverlay network.

Main requirement: announce of existence (broadcast one-to-all);Good performance (low latency, congestion management, data rate);Topology of the overlay network: full graph, star graph (tree?), ring;Already existing: Ethernet level, LAN, VPN... not desktop grid;Security in the grid;Some initiative already in process: Host Identification Protocol, ZeroConf.

Abbes, Dubacq Publish/Subscribe Systems

Page 17: Performance Analysis of Publish/Subscribe Systemsdubacq/pdf/publications/eumedgrid.pdf · Appendix ForFurtherReading ForFurtherReadingI SteinbergandCheshire. Zero Con˝guration Networking:

Resource discovery in gridsPerformance Analysis

SummaryMotivationExploiting your neighbourhood

Living in a pervasive computing world.Make yourself known!

Communication between random nodes is often limited. We need to build anoverlay network.

Main requirement: announce of existence (broadcast one-to-all);Good performance (low latency, congestion management, data rate);Topology of the overlay network: full graph, star graph (tree?), ring;Already existing: Ethernet level, LAN, VPN... not desktop grid;Security in the grid;Some initiative already in process: Host Identification Protocol, ZeroConf.

Abbes, Dubacq Publish/Subscribe Systems

Page 18: Performance Analysis of Publish/Subscribe Systemsdubacq/pdf/publications/eumedgrid.pdf · Appendix ForFurtherReading ForFurtherReadingI SteinbergandCheshire. Zero Con˝guration Networking:

Resource discovery in gridsPerformance Analysis

SummaryMotivationExploiting your neighbourhood

Uniqueness of designationBe unique!

Resources use unique identifiers necessary for host-to-host communications.Second requirement: verification of uniqueness;Well-knwon distributed allocation problem;Requires many-to-one (does not scale) or other means (retry in case ofconflict);No perfect solution (asynchronous)→ retries.Unique identifier required also for security conscious protocols;Good solutions based on host identity for uniqueness.

Abbes, Dubacq Publish/Subscribe Systems

Page 19: Performance Analysis of Publish/Subscribe Systemsdubacq/pdf/publications/eumedgrid.pdf · Appendix ForFurtherReading ForFurtherReadingI SteinbergandCheshire. Zero Con˝guration Networking:

Resource discovery in gridsPerformance Analysis

SummaryMotivationExploiting your neighbourhood

Network topologyDon’t get lost!

Routing through the network is also one of the expected functionality of a gridbuilding infrastructure

Complete graph: most simple;Star graph: used by the difficult to reach;Cloud: general internet routing;Ring: very efficient for all-to-all communications (not for general purposecommunications)

Implementations:Kernel level→ virtual devices, unmodified applications;User-space level→ virtual nodes, node-specific process translation (e.g.web services, virtual addresses);Application level→ does not scale.

Abbes, Dubacq Publish/Subscribe Systems

Page 20: Performance Analysis of Publish/Subscribe Systemsdubacq/pdf/publications/eumedgrid.pdf · Appendix ForFurtherReading ForFurtherReadingI SteinbergandCheshire. Zero Con˝guration Networking:

Resource discovery in gridsPerformance Analysis

SummaryMotivationExploiting your neighbourhood

Network topologyDon’t get lost!

Routing through the network is also one of the expected functionality of a gridbuilding infrastructure

Complete graph: most simple;Star graph: used by the difficult to reach;Cloud: general internet routing;Ring: very efficient for all-to-all communications (not for general purposecommunications)

Implementations:Kernel level→ virtual devices, unmodified applications;User-space level→ virtual nodes, node-specific process translation (e.g.web services, virtual addresses);Application level→ does not scale.

Abbes, Dubacq Publish/Subscribe Systems

Page 21: Performance Analysis of Publish/Subscribe Systemsdubacq/pdf/publications/eumedgrid.pdf · Appendix ForFurtherReading ForFurtherReadingI SteinbergandCheshire. Zero Con˝guration Networking:

Resource discovery in gridsPerformance Analysis

SummaryMotivationExploiting your neighbourhood

Network topologyDon’t get lost!

Routing through the network is also one of the expected functionality of a gridbuilding infrastructure

Complete graph: most simple;Star graph: used by the difficult to reach;Cloud: general internet routing;Ring: very efficient for all-to-all communications (not for general purposecommunications)

Implementations:Kernel level→ virtual devices, unmodified applications;User-space level→ virtual nodes, node-specific process translation (e.g.web services, virtual addresses);Application level→ does not scale.

Abbes, Dubacq Publish/Subscribe Systems

Page 22: Performance Analysis of Publish/Subscribe Systemsdubacq/pdf/publications/eumedgrid.pdf · Appendix ForFurtherReading ForFurtherReadingI SteinbergandCheshire. Zero Con˝guration Networking:

Resource discovery in gridsPerformance Analysis

SummaryMotivationExploiting your neighbourhood

Network topologyDon’t get lost!

Routing through the network is also one of the expected functionality of a gridbuilding infrastructure

Complete graph: most simple;Star graph: used by the difficult to reach;Cloud: general internet routing;Ring: very efficient for all-to-all communications (not for general purposecommunications)

Implementations:Kernel level→ virtual devices, unmodified applications;User-space level→ virtual nodes, node-specific process translation (e.g.web services, virtual addresses);Application level→ does not scale.

Abbes, Dubacq Publish/Subscribe Systems

Page 23: Performance Analysis of Publish/Subscribe Systemsdubacq/pdf/publications/eumedgrid.pdf · Appendix ForFurtherReading ForFurtherReadingI SteinbergandCheshire. Zero Con˝guration Networking:

Resource discovery in gridsPerformance Analysis

SummaryMotivationExploiting your neighbourhood

Network topologyDon’t get lost!

Routing through the network is also one of the expected functionality of a gridbuilding infrastructure

Complete graph: most simple;Star graph: used by the difficult to reach;Cloud: general internet routing;Ring: very efficient for all-to-all communications (not for general purposecommunications)

Implementations:Kernel level→ virtual devices, unmodified applications;User-space level→ virtual nodes, node-specific process translation (e.g.web services, virtual addresses);Application level→ does not scale.

Abbes, Dubacq Publish/Subscribe Systems

Page 24: Performance Analysis of Publish/Subscribe Systemsdubacq/pdf/publications/eumedgrid.pdf · Appendix ForFurtherReading ForFurtherReadingI SteinbergandCheshire. Zero Con˝guration Networking:

Resource discovery in gridsPerformance Analysis

SummaryMotivationExploiting your neighbourhood

Network topologyDon’t get lost!

Routing through the network is also one of the expected functionality of a gridbuilding infrastructure

Complete graph: most simple;Star graph: used by the difficult to reach;Cloud: general internet routing;Ring: very efficient for all-to-all communications (not for general purposecommunications)

Implementations:Kernel level→ virtual devices, unmodified applications;User-space level→ virtual nodes, node-specific process translation (e.g.web services, virtual addresses);Application level→ does not scale.

Abbes, Dubacq Publish/Subscribe Systems

Page 25: Performance Analysis of Publish/Subscribe Systemsdubacq/pdf/publications/eumedgrid.pdf · Appendix ForFurtherReading ForFurtherReadingI SteinbergandCheshire. Zero Con˝guration Networking:

Resource discovery in gridsPerformance Analysis

SummaryFrameworkMeasurements

Outline

1 Resource discovery in gridsMotivationExploiting your neighbourhood

2 Performance AnalysisFrameworkMeasurements

Abbes, Dubacq Publish/Subscribe Systems

Page 26: Performance Analysis of Publish/Subscribe Systemsdubacq/pdf/publications/eumedgrid.pdf · Appendix ForFurtherReading ForFurtherReadingI SteinbergandCheshire. Zero Con˝guration Networking:

Resource discovery in gridsPerformance Analysis

SummaryFrameworkMeasurements

ZeroconfBonjour® and Avahi

Zeroconf is a set of techniques sanctioned by various IETF RFCs:Sets up local IP address (IPV4LL/RFC 3927, IPV6/RFC 2462)Two independent parts: mDNS/DNS-SD.mDNS conveys DNS over multicast (224.0.0.251 port 5353 UDP)DNS-SD: encapsulated in DNS request/replies, provides answers toservice discovery.

Bonjour

Developed by Apple® (initially called Rendezvous)Windows+Java API

Free (LGPL) alternative to Bonjour.Included in most Linux® distributions.

Similar works: UPnP/DPWS (Microsoft® effort)Abbes, Dubacq Publish/Subscribe Systems

Page 27: Performance Analysis of Publish/Subscribe Systemsdubacq/pdf/publications/eumedgrid.pdf · Appendix ForFurtherReading ForFurtherReadingI SteinbergandCheshire. Zero Con˝guration Networking:

Resource discovery in gridsPerformance Analysis

SummaryFrameworkMeasurements

ZeroconfBonjour® and Avahi

Zeroconf is a set of techniques sanctioned by various IETF RFCs:Sets up local IP address (IPV4LL/RFC 3927, IPV6/RFC 2462)Two independent parts: mDNS/DNS-SD.mDNS conveys DNS over multicast (224.0.0.251 port 5353 UDP)DNS-SD: encapsulated in DNS request/replies, provides answers toservice discovery.

Bonjour

Developed by Apple® (initially called Rendezvous)Windows+Java API

Free (LGPL) alternative to Bonjour.Included in most Linux® distributions.

Similar works: UPnP/DPWS (Microsoft® effort)Abbes, Dubacq Publish/Subscribe Systems

Page 28: Performance Analysis of Publish/Subscribe Systemsdubacq/pdf/publications/eumedgrid.pdf · Appendix ForFurtherReading ForFurtherReadingI SteinbergandCheshire. Zero Con˝guration Networking:

Resource discovery in gridsPerformance Analysis

SummaryFrameworkMeasurements

ZeroconfBonjour® and Avahi

Zeroconf is a set of techniques sanctioned by various IETF RFCs:Sets up local IP address (IPV4LL/RFC 3927, IPV6/RFC 2462)Two independent parts: mDNS/DNS-SD.mDNS conveys DNS over multicast (224.0.0.251 port 5353 UDP)DNS-SD: encapsulated in DNS request/replies, provides answers toservice discovery.

Bonjour

Developed by Apple® (initially called Rendezvous)Windows+Java API

Free (LGPL) alternative to Bonjour.Included in most Linux® distributions.

Similar works: UPnP/DPWS (Microsoft® effort)Abbes, Dubacq Publish/Subscribe Systems

Page 29: Performance Analysis of Publish/Subscribe Systemsdubacq/pdf/publications/eumedgrid.pdf · Appendix ForFurtherReading ForFurtherReadingI SteinbergandCheshire. Zero Con˝guration Networking:

Resource discovery in gridsPerformance Analysis

SummaryFrameworkMeasurements

ZeroconfBonjour® and Avahi

Zeroconf is a set of techniques sanctioned by various IETF RFCs:Sets up local IP address (IPV4LL/RFC 3927, IPV6/RFC 2462)Two independent parts: mDNS/DNS-SD.mDNS conveys DNS over multicast (224.0.0.251 port 5353 UDP)DNS-SD: encapsulated in DNS request/replies, provides answers toservice discovery.

Bonjour

Developed by Apple® (initially called Rendezvous)Windows+Java API

Free (LGPL) alternative to Bonjour.Included in most Linux® distributions.

Similar works: UPnP/DPWS (Microsoft® effort)Abbes, Dubacq Publish/Subscribe Systems

Page 30: Performance Analysis of Publish/Subscribe Systemsdubacq/pdf/publications/eumedgrid.pdf · Appendix ForFurtherReading ForFurtherReadingI SteinbergandCheshire. Zero Con˝guration Networking:

Resource discovery in gridsPerformance Analysis

SummaryFrameworkMeasurements

ZeroconfBonjour® and Avahi

Zeroconf is a set of techniques sanctioned by various IETF RFCs:Sets up local IP address (IPV4LL/RFC 3927, IPV6/RFC 2462)Two independent parts: mDNS/DNS-SD.mDNS conveys DNS over multicast (224.0.0.251 port 5353 UDP)DNS-SD: encapsulated in DNS request/replies, provides answers toservice discovery.

Bonjour

Developed by Apple® (initially called Rendezvous)Windows+Java API

Free (LGPL) alternative to Bonjour.Included in most Linux® distributions.

Similar works: UPnP/DPWS (Microsoft® effort)Abbes, Dubacq Publish/Subscribe Systems

Page 31: Performance Analysis of Publish/Subscribe Systemsdubacq/pdf/publications/eumedgrid.pdf · Appendix ForFurtherReading ForFurtherReadingI SteinbergandCheshire. Zero Con˝guration Networking:

Resource discovery in gridsPerformance Analysis

SummaryFrameworkMeasurements

Pastry« La cerise sur le gâteau »

Pastry (http://freepastry.rice.edu/)Framework for peer-to-peer applicationsBuilds the overlay network and abstracts fault-toleranceProvides routing and load balancingFree-Pastry is a free implementationWorks over the InternetCan also transfer data efficiently

Abbes, Dubacq Publish/Subscribe Systems

Page 32: Performance Analysis of Publish/Subscribe Systemsdubacq/pdf/publications/eumedgrid.pdf · Appendix ForFurtherReading ForFurtherReadingI SteinbergandCheshire. Zero Con˝guration Networking:

Resource discovery in gridsPerformance Analysis

SummaryFrameworkMeasurements

Pastry« La cerise sur le gâteau »

Pastry (http://freepastry.rice.edu/)Framework for peer-to-peer applicationsBuilds the overlay network and abstracts fault-toleranceProvides routing and load balancingFree-Pastry is a free implementationWorks over the InternetCan also transfer data efficiently

Abbes, Dubacq Publish/Subscribe Systems

Page 33: Performance Analysis of Publish/Subscribe Systemsdubacq/pdf/publications/eumedgrid.pdf · Appendix ForFurtherReading ForFurtherReadingI SteinbergandCheshire. Zero Con˝guration Networking:

Resource discovery in gridsPerformance Analysis

SummaryFrameworkMeasurements

Pastry« La cerise sur le gâteau »

Pastry (http://freepastry.rice.edu/)Framework for peer-to-peer applicationsBuilds the overlay network and abstracts fault-toleranceProvides routing and load balancingFree-Pastry is a free implementationWorks over the InternetCan also transfer data efficiently

Abbes, Dubacq Publish/Subscribe Systems

Page 34: Performance Analysis of Publish/Subscribe Systemsdubacq/pdf/publications/eumedgrid.pdf · Appendix ForFurtherReading ForFurtherReadingI SteinbergandCheshire. Zero Con˝guration Networking:

Resource discovery in gridsPerformance Analysis

SummaryFrameworkMeasurements

French experimental Grid platform

Grid 5000:has been mentioned alreadyis a research effort developping a large scale nation wide infrastructure forGrid research

What we did:Compilation of a specific kernel/distribution with support for Pastry, Avahiand Bonjour.Reservation of 308 nodes on Orsay site. Runs of all measurements withcomplete logging of timings.

Abbes, Dubacq Publish/Subscribe Systems

Page 35: Performance Analysis of Publish/Subscribe Systemsdubacq/pdf/publications/eumedgrid.pdf · Appendix ForFurtherReading ForFurtherReadingI SteinbergandCheshire. Zero Con˝guration Networking:

Resource discovery in gridsPerformance Analysis

SummaryFrameworkMeasurements

French experimental Grid platform

Grid 5000:has been mentioned alreadyis a research effort developping a large scale nation wide infrastructure forGrid research

What we did:Compilation of a specific kernel/distribution with support for Pastry, Avahiand Bonjour.Reservation of 308 nodes on Orsay site. Runs of all measurements withcomplete logging of timings.

Abbes, Dubacq Publish/Subscribe Systems

Page 36: Performance Analysis of Publish/Subscribe Systemsdubacq/pdf/publications/eumedgrid.pdf · Appendix ForFurtherReading ForFurtherReadingI SteinbergandCheshire. Zero Con˝guration Networking:

Resource discovery in gridsPerformance Analysis

SummaryFrameworkMeasurements

Outline

1 Resource discovery in gridsMotivationExploiting your neighbourhood

2 Performance AnalysisFrameworkMeasurements

Abbes, Dubacq Publish/Subscribe Systems

Page 37: Performance Analysis of Publish/Subscribe Systemsdubacq/pdf/publications/eumedgrid.pdf · Appendix ForFurtherReading ForFurtherReadingI SteinbergandCheshire. Zero Con˝guration Networking:

Resource discovery in gridsPerformance Analysis

SummaryFrameworkMeasurements

Sequential registration

Registering one service per node;Large-enough delay δ > µR between the registrations;Registration time on the node between start of registration/end ofregistration (network latency for multicasting/acknowledgement);

0

500

1000

1500

2000

2500

0 50 100 150 200 250 300

Tim

e (m

s)

#nodes

BonjourAvahi

FreePastry

Abbes, Dubacq Publish/Subscribe Systems

Page 38: Performance Analysis of Publish/Subscribe Systemsdubacq/pdf/publications/eumedgrid.pdf · Appendix ForFurtherReading ForFurtherReadingI SteinbergandCheshire. Zero Con˝guration Networking:

Resource discovery in gridsPerformance Analysis

SummaryFrameworkMeasurements

Sequential registration

Registering one service per node;Large-enough delay δ > µR between the registrations;Registration time on the node between start of registration/end ofregistration (network latency for multicasting/acknowledgement);

0

500

1000

1500

2000

2500

0 50 100 150 200 250 300

Tim

e (m

s)

#nodes

BonjourAvahi

FreePastry

Abbes, Dubacq Publish/Subscribe Systems

Page 39: Performance Analysis of Publish/Subscribe Systemsdubacq/pdf/publications/eumedgrid.pdf · Appendix ForFurtherReading ForFurtherReadingI SteinbergandCheshire. Zero Con˝guration Networking:

Resource discovery in gridsPerformance Analysis

SummaryFrameworkMeasurements

Sequential registration

Registering one service per node;Large-enough delay δ > µR between the registrations;Registration time on the node between start of registration/end ofregistration (network latency for multicasting/acknowledgement);

0

500

1000

1500

2000

2500

0 50 100 150 200 250 300

Tim

e (m

s)

#nodes

BonjourAvahi

FreePastry

Abbes, Dubacq Publish/Subscribe Systems

Page 40: Performance Analysis of Publish/Subscribe Systemsdubacq/pdf/publications/eumedgrid.pdf · Appendix ForFurtherReading ForFurtherReadingI SteinbergandCheshire. Zero Con˝guration Networking:

Resource discovery in gridsPerformance Analysis

SummaryFrameworkMeasurements

Sequential registration

Registering one service per node;Large-enough delay δ > µR between the registrations;Registration time on the node between start of registration/end ofregistration (network latency for multicasting/acknowledgement);

0

500

1000

1500

2000

2500

0 50 100 150 200 250 300

Tim

e (m

s)

#nodes

BonjourAvahi

FreePastry

Abbes, Dubacq Publish/Subscribe Systems

Page 41: Performance Analysis of Publish/Subscribe Systemsdubacq/pdf/publications/eumedgrid.pdf · Appendix ForFurtherReading ForFurtherReadingI SteinbergandCheshire. Zero Con˝guration Networking:

Resource discovery in gridsPerformance Analysis

SummaryFrameworkMeasurements

Simultaneous registration

Registering one service per node;Very small delay δ ≈ 0 between the registrations;Registration time on the node between start of registration/end ofregistration;Free-Pastry performance collapse (right scale 140× larger than left scale)

0

500

1000

1500

2000

2500

0 50 100 150 200 250 300 0

100

200

300

Tim

e (m

s)

Tim

e (s

)

#nodes

BonjourAvahi

FreePastry

Abbes, Dubacq Publish/Subscribe Systems

Page 42: Performance Analysis of Publish/Subscribe Systemsdubacq/pdf/publications/eumedgrid.pdf · Appendix ForFurtherReading ForFurtherReadingI SteinbergandCheshire. Zero Con˝guration Networking:

Resource discovery in gridsPerformance Analysis

SummaryFrameworkMeasurements

Simultaneous registration

Registering one service per node;Very small delay δ ≈ 0 between the registrations;Registration time on the node between start of registration/end ofregistration;Free-Pastry performance collapse (right scale 140× larger than left scale)

0

500

1000

1500

2000

2500

0 50 100 150 200 250 300 0

100

200

300

Tim

e (m

s)

Tim

e (s

)

#nodes

BonjourAvahi

FreePastry

Abbes, Dubacq Publish/Subscribe Systems

Page 43: Performance Analysis of Publish/Subscribe Systemsdubacq/pdf/publications/eumedgrid.pdf · Appendix ForFurtherReading ForFurtherReadingI SteinbergandCheshire. Zero Con˝guration Networking:

Resource discovery in gridsPerformance Analysis

SummaryFrameworkMeasurements

Simultaneous registration

Registering one service per node;Very small delay δ ≈ 0 between the registrations;Registration time on the node between start of registration/end ofregistration;Free-Pastry performance collapse (right scale 140× larger than left scale)

0

500

1000

1500

2000

2500

0 50 100 150 200 250 300 0

100

200

300

Tim

e (m

s)

Tim

e (s

)

#nodes

BonjourAvahi

FreePastry

Abbes, Dubacq Publish/Subscribe Systems

Page 44: Performance Analysis of Publish/Subscribe Systemsdubacq/pdf/publications/eumedgrid.pdf · Appendix ForFurtherReading ForFurtherReadingI SteinbergandCheshire. Zero Con˝guration Networking:

Resource discovery in gridsPerformance Analysis

SummaryFrameworkMeasurements

Simultaneous registration

Registering one service per node;Very small delay δ ≈ 0 between the registrations;Registration time on the node between start of registration/end ofregistration;Free-Pastry performance collapse (right scale 140× larger than left scale)

0

500

1000

1500

2000

2500

0 50 100 150 200 250 300 0

100

200

300

Tim

e (m

s)

Tim

e (s

)

#nodes

BonjourAvahi

FreePastry

Abbes, Dubacq Publish/Subscribe Systems

Page 45: Performance Analysis of Publish/Subscribe Systemsdubacq/pdf/publications/eumedgrid.pdf · Appendix ForFurtherReading ForFurtherReadingI SteinbergandCheshire. Zero Con˝guration Networking:

Resource discovery in gridsPerformance Analysis

SummaryFrameworkMeasurements

Simultaneous registration

Registering one service per node;Very small delay δ ≈ 0 between the registrations;Registration time on the node between start of registration/end ofregistration;Free-Pastry performance collapse (right scale 140× larger than left scale)

0

500

1000

1500

2000

2500

0 50 100 150 200 250 300 0

100

200

300

Tim

e (m

s)

Tim

e (s

)

#nodes

BonjourAvahi

FreePastry

Abbes, Dubacq Publish/Subscribe Systems

Page 46: Performance Analysis of Publish/Subscribe Systemsdubacq/pdf/publications/eumedgrid.pdf · Appendix ForFurtherReading ForFurtherReadingI SteinbergandCheshire. Zero Con˝guration Networking:

Resource discovery in gridsPerformance Analysis

SummaryFrameworkMeasurements

Browsing time

Registering one service per node;Measurement of time between service registration and discovery perfirst-node and browsing process;

Bonjour No loss of information; discovery time less than 1s.Avahi Heavy loss of registered services in simultaneous registration

(60%) and time goes to 220 s; sequential registration muchbetter (less than 2 s).

FreePastry About 3% losses in all registration modes.

Abbes, Dubacq Publish/Subscribe Systems

Page 47: Performance Analysis of Publish/Subscribe Systemsdubacq/pdf/publications/eumedgrid.pdf · Appendix ForFurtherReading ForFurtherReadingI SteinbergandCheshire. Zero Con˝guration Networking:

Resource discovery in gridsPerformance Analysis

SummaryFrameworkMeasurements

Browsing time

Registering one service per node;Measurement of time between service registration and discovery perfirst-node and browsing process;

Bonjour No loss of information; discovery time less than 1s.Avahi Heavy loss of registered services in simultaneous registration

(60%) and time goes to 220 s; sequential registration muchbetter (less than 2 s).

FreePastry About 3% losses in all registration modes.

Abbes, Dubacq Publish/Subscribe Systems

Page 48: Performance Analysis of Publish/Subscribe Systemsdubacq/pdf/publications/eumedgrid.pdf · Appendix ForFurtherReading ForFurtherReadingI SteinbergandCheshire. Zero Con˝guration Networking:

Resource discovery in gridsPerformance Analysis

SummaryFrameworkMeasurements

Browsing time

Registering one service per node;Measurement of time between service registration and discovery perfirst-node and browsing process;

Bonjour No loss of information; discovery time less than 1s.Avahi Heavy loss of registered services in simultaneous registration

(60%) and time goes to 220 s; sequential registration muchbetter (less than 2 s).

FreePastry About 3% losses in all registration modes.

Abbes, Dubacq Publish/Subscribe Systems

Page 49: Performance Analysis of Publish/Subscribe Systemsdubacq/pdf/publications/eumedgrid.pdf · Appendix ForFurtherReading ForFurtherReadingI SteinbergandCheshire. Zero Con˝guration Networking:

Resource discovery in gridsPerformance Analysis

SummaryFrameworkMeasurements

Browsing time

Registering one service per node;Measurement of time between service registration and discovery perfirst-node and browsing process;

Bonjour No loss of information; discovery time less than 1s.Avahi Heavy loss of registered services in simultaneous registration

(60%) and time goes to 220 s; sequential registration muchbetter (less than 2 s).

FreePastry About 3% losses in all registration modes.

Abbes, Dubacq Publish/Subscribe Systems

Page 50: Performance Analysis of Publish/Subscribe Systemsdubacq/pdf/publications/eumedgrid.pdf · Appendix ForFurtherReading ForFurtherReadingI SteinbergandCheshire. Zero Con˝guration Networking:

Resource discovery in gridsPerformance Analysis

SummaryFrameworkMeasurements

Browsing time

Registering one service per node;Measurement of time between service registration and discovery perfirst-node and browsing process;

Bonjour No loss of information; discovery time less than 1s.Avahi Heavy loss of registered services in simultaneous registration

(60%) and time goes to 220 s; sequential registration muchbetter (less than 2 s).

FreePastry About 3% losses in all registration modes.

Abbes, Dubacq Publish/Subscribe Systems

Page 51: Performance Analysis of Publish/Subscribe Systemsdubacq/pdf/publications/eumedgrid.pdf · Appendix ForFurtherReading ForFurtherReadingI SteinbergandCheshire. Zero Con˝guration Networking:

Resource discovery in gridsPerformance Analysis

Summary

Summary

No service is better for all stats than the other.No source code for Bonjour.Heavy loss of messages for Avahi.Performance collapse for Freepastry with a great number of registrations.

PerspectivesBlinking registrations, error bars.Overlay networks (openHIP) to cross the link-local barrier.Investigate UPnP and other discovery protocols.

Abbes, Dubacq Publish/Subscribe Systems

Page 52: Performance Analysis of Publish/Subscribe Systemsdubacq/pdf/publications/eumedgrid.pdf · Appendix ForFurtherReading ForFurtherReadingI SteinbergandCheshire. Zero Con˝guration Networking:

Resource discovery in gridsPerformance Analysis

Summary

Summary

No service is better for all stats than the other.No source code for Bonjour.Heavy loss of messages for Avahi.Performance collapse for Freepastry with a great number of registrations.

PerspectivesBlinking registrations, error bars.Overlay networks (openHIP) to cross the link-local barrier.Investigate UPnP and other discovery protocols.

Abbes, Dubacq Publish/Subscribe Systems

Page 53: Performance Analysis of Publish/Subscribe Systemsdubacq/pdf/publications/eumedgrid.pdf · Appendix ForFurtherReading ForFurtherReadingI SteinbergandCheshire. Zero Con˝guration Networking:

Resource discovery in gridsPerformance Analysis

Summary

Summary

No service is better for all stats than the other.No source code for Bonjour.Heavy loss of messages for Avahi.Performance collapse for Freepastry with a great number of registrations.

PerspectivesBlinking registrations, error bars.Overlay networks (openHIP) to cross the link-local barrier.Investigate UPnP and other discovery protocols.

Abbes, Dubacq Publish/Subscribe Systems

Page 54: Performance Analysis of Publish/Subscribe Systemsdubacq/pdf/publications/eumedgrid.pdf · Appendix ForFurtherReading ForFurtherReadingI SteinbergandCheshire. Zero Con˝guration Networking:

Resource discovery in gridsPerformance Analysis

Summary

Summary

No service is better for all stats than the other.No source code for Bonjour.Heavy loss of messages for Avahi.Performance collapse for Freepastry with a great number of registrations.

PerspectivesBlinking registrations, error bars.Overlay networks (openHIP) to cross the link-local barrier.Investigate UPnP and other discovery protocols.

Abbes, Dubacq Publish/Subscribe Systems

Page 55: Performance Analysis of Publish/Subscribe Systemsdubacq/pdf/publications/eumedgrid.pdf · Appendix ForFurtherReading ForFurtherReadingI SteinbergandCheshire. Zero Con˝guration Networking:

Resource discovery in gridsPerformance Analysis

Summary

Summary

No service is better for all stats than the other.No source code for Bonjour.Heavy loss of messages for Avahi.Performance collapse for Freepastry with a great number of registrations.

PerspectivesBlinking registrations, error bars.Overlay networks (openHIP) to cross the link-local barrier.Investigate UPnP and other discovery protocols.

Abbes, Dubacq Publish/Subscribe Systems

Page 56: Performance Analysis of Publish/Subscribe Systemsdubacq/pdf/publications/eumedgrid.pdf · Appendix ForFurtherReading ForFurtherReadingI SteinbergandCheshire. Zero Con˝guration Networking:

Resource discovery in gridsPerformance Analysis

Summary

Summary

No service is better for all stats than the other.No source code for Bonjour.Heavy loss of messages for Avahi.Performance collapse for Freepastry with a great number of registrations.

PerspectivesBlinking registrations, error bars.Overlay networks (openHIP) to cross the link-local barrier.Investigate UPnP and other discovery protocols.

Abbes, Dubacq Publish/Subscribe Systems

Page 57: Performance Analysis of Publish/Subscribe Systemsdubacq/pdf/publications/eumedgrid.pdf · Appendix ForFurtherReading ForFurtherReadingI SteinbergandCheshire. Zero Con˝guration Networking:

Resource discovery in gridsPerformance Analysis

Summary

Summary

No service is better for all stats than the other.No source code for Bonjour.Heavy loss of messages for Avahi.Performance collapse for Freepastry with a great number of registrations.

PerspectivesBlinking registrations, error bars.Overlay networks (openHIP) to cross the link-local barrier.Investigate UPnP and other discovery protocols.

Abbes, Dubacq Publish/Subscribe Systems

Page 58: Performance Analysis of Publish/Subscribe Systemsdubacq/pdf/publications/eumedgrid.pdf · Appendix ForFurtherReading ForFurtherReadingI SteinbergandCheshire. Zero Con˝guration Networking:

Appendix For Further Reading

For Further Reading I

Steinberg and Cheshire.Zero Configuration Networking: The Definitive Guide.O’Reilly Media, Inc., first edition, December 2005.

Rezmerita, Morlier, Néri and Cappello.Private virtual cluster: Infrastructure and protocol for instant grids.In Euro-Par 2006, Parallel Processing, volume 4128 of LNCS, Springer.

Abbes, Cérin, Dubacq and Jemni.Performance Analysis of Publish/Subscribe Systems.https://hal.ccsd.cnrs.fr/docs/00/15/93/88/PDF/acdj.pdf.

Merci Thank you شكرًاAbbes, Dubacq Publish/Subscribe Systems