Git Product home page Git Product logo

udppinger's Introduction

UdpPinger

UdpPinger is our high performance UDP packet generation, reflection and collection library. It is used internally as the basis for very wide ECMP loss and latency profiling. This release provides two simple binaries, uping and upong, which provide a trivial wrapper to the libraries.

Requirements

UdpPinger requires

Installing

Ubuntu 14.04 LTS

  • Install Facebook Folly
  • Install Apache Thrift
  • Ensure the root FD limit is >50000 (we use loads of fd's) ulimit -n 500000
  • Make sure you load the new libraries! ldconfig
  • Build uping and uping git clone github.com/facebook/UdpPinger.git cd UdpPinger/uping make cd ../upong make
  • Test it out by giving adding your target hosts to target_list....

License

UdpPinger is BSD-licensed. We also provide an additional patent grant.

udppinger's People

Contributors

aijayadams avatar comerford avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

udppinger's Issues

No logging

There is absolutely no logging other than the stdout messages in the terminal. Only by redirection I can retrieve the CSV results but when a host is dead I do not receive any output.
I am running it with the following command:

sudo ./uping -num_packets 100 -target_port 31344 -output_csv true -colorlogtostderr true -alsologtostderr

Building with latest version of folly?

Is this project expected to build with the latest version of folly? Has anyone tried recently? Documentation does not specify which version is supported or preferred.

Best Regards,

TomS.

UdpPinger not building with Thrift

Tried to build the Pinger and I am getting a Thrift error:

thrift -r --gen cpp Pinger.thrift
[ERROR:/opt/facebook/UdpPinger/uping/Pinger.thrift:13] (last token was 'Target')
Type "Target" has not been defined.
Makefile:20: die Regel für Ziel „gen-cpp“ scheiterte
make: *** [gen-cpp] Fehler 1

Thrift version 0.9.1
Debian 9.3

UdpPinger vs UpdPinger

In the file README.md there is several mentions each of UdpPinger and UpdPinger. I am not sure which is correct/intended but the repo is named UdpPinger which suggests thats the intended spelling.

I think there shouldn't be confusion about the project's name in the README.

Static Linking or use the UdpPinger without installing Folly to the system

Hi,

We tried to run the uping/upong and they work. Now if we want to deploy this in a scalable way, we would like to deploy the UdpPinger binary with pre built package, which either statically link folly library. or can just copy the folly pre built one and then point the folly library from a local folder without installation.

We want to install the UdpPinger without installing folly to the local system. Is there a way to achieve this? Can we copy a pre built Folly binary and let the UdpPinger to point to that?

Thanks much,

Jeff

Build issues

Hi:
I have successfully built both folly and thrift (version 0.11.0). But I am not able to build UdpPinger, I am not an c++ export, the error messages seem to indicate folly library cannot be load or "std" related issues,
...
/usr/local/include/folly/functional/ApplyTuple.h:45:40: error: ‘remove_reference_t’ is not a member of ‘std’
using seq = index_sequence_for_tuple<std::remove_reference_t>;
...
Any help in fixing this is appreciated.

Fails to build with Folly v0.57.0

Documentation says it builds with Facebook Folly v0.57.0, but it fails to compile with Folly v0.57.0. Specifically this is the problem:

  1. UdpPinger.cpp uses folly::NotificationQueue::make
  2. folly::NotificationQueue::make is not part of v0.57.0. It was added later.

Can we fix the documentation?

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.