Git Product home page Git Product logo

ansible-role-moongen's Introduction

Ansible role: moongen

Install & configure MoonGen on RedHat OS.

Requirements

assume that user has already enabled repos for packages including kernel-devel, gcc, gcc-c++, cmake etc

Role Variables

bind_nics: "0000:00:08.0, 0000:00:08.1"

bind_nics allows user to specify NIC PCI IDs which will be binded to dpdk during MoonGen build. by default, no NICs will be binded.

dpdk_module: "vfio-pci"

bind nic to dpdk module after building MoonGen.

cpu_cores: "0,1,3,4"

configure the cpu cores to use for dpdk ports, either as a bitmask or as a list.

memoryChannels: 2

the number of memory channels (defaults to auto-detect).

fileprefix: "m1"

A string to be the prefix, corresponding to EAL argument "--file-prefix".

socketmem: "2048,2048"

A string to specify the socket memory allocation, corresponding to EAL argument "--socket-mem".

pciblack: ' "0000:81:00.3","0000:81:00.1" '

PCI black list to avoid resetting PCI device assigned to other DPDK apps. Corresponding to ELA argument "--pci-blacklist".

pciwhite: ' "0000:81:00.3","0000:81:00.1" '

PCI white list to specify devices allocated to MoonGen. Corresponding to ELA argument "--pci-whitelist" or "-w".

noHugeTlbFs: true

disable hugetlb, see DPDK documentation for more information.

Dependencies

None.

Example Playbook

- hosts: servers
  roles:
     - { role: ansible-role-moongen }

License

BSD

Author Information

This role was created in Aug 2016 by Zenghui Shi.

ansible-role-moongen's People

Contributors

zshi-redhat avatar

Watchers

 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.