Network performance measurement
This presentation is the property of its rightful owner.
Sponsored Links
1 / 16

Network Performance Measurement PowerPoint PPT Presentation


  • 103 Views
  • Uploaded on
  • Presentation posted in: General

Network Performance Measurement. Introduction Classification of Measurement. Tools and Techniques. Examples. Conclusion. Introduction. Parameters which measured are: Bandwidth – Data transferred / time Delay - Time taken for data to transfer (App level)

Download Presentation

Network Performance Measurement

An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript


Network performance measurement

Network Performance Measurement

Introduction

Classification of Measurement.

Tools and Techniques.

Examples.

Conclusion.


Introduction

Introduction.

  • Parameters which measured are:

    • Bandwidth – Data transferred / time

    • Delay - Time taken for data to transfer (App level)

    • Packet Loss – Affects Throughput and Apps.

  • High Bandwidth.

  • Small Delay

  • Low Packet loss


Classification of measurement

Classification of Measurement

  • LAN , Backbone , End-to-End, Application

  • Network Measurements.

    • Backbone

      • MRTG

    • End-To-End (Machine to Machine)

      • Tcpdump

      • Ping / Traceroute


Tools

Tools

  • Multi Router Traffic Grapher.

    • Measures…

      • load on network links (Edge-Routers).

      • Network Traffic.

      • System Load, Login Sessions, Modem availability

    • Output….

      • HTML,

      • LIVE presentation.

      • Graphical Images.


Tools mrtg

Tools.. (MRTG)

  • Internal Design..

    • Perl – Reads Traffic Counters of Router.

    • C – Logs Traffic Data and Creates Output.

    • SNMP – Perl Scripts reads SNMP variables.

  • Portability…

    • Unix (any) & Windows NT.

  • Default Sample Time : 5 mins.


Techniques

Techniques

  • Tcpdump/Windump

    • Packet Capture.

    • Supported by PCAP / JPCAP APIs.

      • Explained in Java Program.

    • Filters…..

      • Protocol – TCP/UDP, 802.3, ICMP etc.

      • Count

      • Boolean Expressions. – Examples.

      • Interface. – eth0, hme0 etc.


Tcpdump

TCPDUMP…

  • Examples:

    • tcpdumphost host1

      • To print all packets arriving at or departing from host1:

    • tcpdumphosthost1and\(host2orhost3\)

      • To print traffic between host1 and either host2 or host3:

    • tcpdumpiphost host1andnothost2

      • To print all IP packets between host1 and any host except host2:

    • More examples @: http://www.tcpdump.org/tcpdump_man.html


Java program windump by hung

Java Program - Windump by Hung

  • Application Architecture Hierarchies

  • Application

    • Java program which uses JPCAP methods and captures packets.

      • Performs Analysis on the captured packets.

      • Uses JDBC and stores results in mySQL database.


Java program 2

Java program …2

  • Java Package: JPCAP methods used.

    • Provides an Interface and system for network packet capture.

    • JPCAP uses windump utility.

    • Constructor:

      • Jpcap(String device, int snaplen, Boolean promisc, int to_ms);

      • “device”: interface for capturing data

      • “snaplen”: Maximum # of bytes captured per packet.

      • “promisc”: Allows network device to intercept and capture packet.

      • “to_ms”: Time out limit


Java program methods 3

Java program –(Methods)…3

  • getDeviceList()

    • Returns Name of Device (Interface).

  • setFilter(String condition,Boolean optimize)

    • Setting protocol/Expression for capturing packet.

  • getPacket()

    • Captures ONE packet at a time from Interface.

  • loopPacket(int count, JpcapHandler handler)

    • Count times capturing packet.


  • Java program 4

    Java program ….4

    • Utility:Windump.

      • Tcpdump equivalent utility for Windows.

      • Uses a low-level library “winpcap” for packet capture.

    • Library: Winpcap

      • It is an architecture for packet capture and network analysis for Win32 platforms.

      • It includes Kernel-Level packet filter, a Low-level DLL and High-level and system-Independent library (wpcap.dll).

    • Kernel:Windows Operating system.


    Java program 5

    Java program….5

    Begin

    Connect to mysql database

    Select database use

    check data tables.

    1

    create packet data table if needed


    Java program 6

    Java Program…6

    1

    Get “number” of

    Packets.

    Connect to database

    End

    Insert packet data into Database

    Get packet Data


    Java program 7

    Java program….7

    • Analysis…

      • TTL – Values must be equal for packets with same S/D.

      • Flow - # of S/D pair of packets per unit time.

      • Delay – Time stamps of consecutive packets.


    Java program 8

    Java program….8

    • Limitations…

      • Passive Monitoring.

      • Non Client-Server Architecture.

    • Improvements….

      • User Given parameters – More Flexible.

      • Client-Server based – “network-as-a-whole”

      • TCPDUMP – platform independent.

      • GUI


    Conclusion

    Conclusion…

    • Network Performance can be measured at various levels.

    • Net. Performance can be implemented in various ways..using various tools.


  • Login