Git Product home page Git Product logo

tilerapktgen's Introduction

Tilera packet generator

This program generates UDP packets and sends them at line rate through some specified interfaces using mPipe. It counts the number of packets received too.

It was made for TILEncore-Gx36 but should work on other Tilera devices.

It counts the number of packets sent and received for a range of packet sizes and displays some statistics like the throughput in lines of format :

prefix_text packet_size time_elapsed packet_sent packet_received transmit_rate receive_rate transmit_speed receive_speed wire_transmit_speed wire_receveive_speed loss_rate

If you use it as a generator in a loop, the difference between packet sent and received will include a very small error as we count the number of packets while still sending and receiving to capture the speed only at full rate. Therefore, do not use it to test if the tested equipments side loose a very small number of packets.

The destination MAC address and IP address can be randomized to be able to use load balance (RSS, ...) on the receive side.

This program is given without license but is based on and includes parts of codes from the Tilera MDE samples. Please keep my name (Tom Barbette) and University of Liege if you re-use the code.

###Typical compile command

tile-gcc --std=gnu99 -O2 -o tester udp.c app.c -lpthread -lgxio -ltmc

###Typical usage

./tester --link xgbe1,xgbe2,xgbe3,xgbe4 -w 12

12 threads are sufficient for 4*linerate

##License

This software is made by Tom Barbette from University of Liege and is not a product of Tilera Corporation but include code taken from Tilera MDE samples. You may copy, distribute or modify this software including for commercial purpose but you're kindly asked to keep the name of the author and any further contributor and its/their institution(s).

tilerapktgen's People

Contributors

trojan00 avatar ken-tilera avatar

Watchers

James Cloos avatar  avatar

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.