Code Monkey home page Code Monkey logo

inet's Introduction

In Network Monitoring Strategies

sFlow

sFlow has two components:

  • sFlow Agent - should be enabled within the switch to send sFlow datagrams to the collector
  • sFlow collector - collects sflow datagrams

To configure sFlow Agent on the switch:

switch (config)# protocol sflow
switch (config)# sflow enable
switch (config)# sflow
switch (config sflow)# collector-ip aaa.bbb.ccc.ddd
switch (config sflow)# sampling-rate 4000
switch (config sflow)# counter-poll-interval 5

To configure tools on the collector to visualize sFlow packets

  1. Download sFlow-RT
  2. Run command: sflow-rt/get-app.sh sflow-rt flow-trend
  3. Restart sFlow-RT

Alternatively, use the Docker image: https://hub.docker.com/r/sflow/flow-trend/

For more information, visit: https://sFlow-RT.com

A window on the local host should be visible after starting the sflow-rt service with flow-trend app downloaded.

On defining the flow specification with the appropriate keys, the flow-trend graph shows only the RoCEv2 traffic.

Name Comment
ipsource source address
ipdestination destination address
ibbt_offset IBBT header offset from start of packet
ibbtack acknowledge Request
ibbtdestqp destination QP
ibbtopcode opcode
ibbtopname operation Name
ibbtoptransport transport Type
ibbttver transport Header Version

Further, a filter can be added:

  • udpdestinationport = 4791

alt text

For more information, visit: https://sflow-rt.com/define_flow.php

Performance Co-Pilot (PCP)

PCP is a framework and services to support system-level performance monitoring and performance management. The code can be found in the folder pcp. The metrics can be viewed both on command line and in a graphical way. alt text

For more information regarding implementing a PMDA, visit: https://ryandoyle.net/posts/writing-a-pmda-for-pcp/

Evaluation

Perf Benchmark Tests

A set of bandwidth benchmarks was used to test the monitoring tools. The benchmarks generate a synthetic stream of operations, which is very useful for hardware and software benchmarking and analysis. The benchmarks are not designed to emulate any real application traffic. Real application traffic may be affected by many parameters, and hence might not be predictable based only on the results of those benchmarks. alt text

MPI

To test the monitoring tools on the HPC message-passing protocol, the Message Passing Interface (MPI) was used. The Open MPI is an open-source implementation of the Message Passing Interface (MPI). It RDMA through InfiniBand and RoCE protocols. The script used for testing can be found in the folder mpi.

inet's People

Contributors

niks16 avatar

Watchers

 avatar

Forkers

mashemat

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.