Git Product home page Git Product logo

eponsimulator's Introduction

EponSimulator

Java simulator for upstream EPON (Ethernet Passive Optical Network) channels.

Overview

This java program simulates an upstream EPON channel. The upstream EPON channel is shared among all ONUs using time division multiple access (TDMA). The OLT allocates the appropriate share of upstream bandwidth to each ONU with the help of a dynamic bandwidth allocation (DBA) algorithm. Additionally, to reduce power consumption, ONUs can enter a low power state, known as doze mode, that makes their transmitter sleep when there is no upstream traffic.

Invocation

java EponSimulator [-n num_onus] [-l simulation_length (s)] [-s simulation_seed] [-t traffic_rate (b/s)] [-p packet_size (bytes)] [-g traffic_distribution (deterministic|poisson|pareto)] [-q queue_threshold (packets)] [-m maximum_queue_size (packets)] [-c uplink_capacity (b/s)] [-d dba_cycle (s)] [-a dba_algorithm (fixed|fair|proportional|gated|limited|limitedExcess)] [-w onu_wakeup (s)] [-r onu_refresh_timeout (s)] [-e onu_doze_mode_energy_ratio] [-f traffic_profiles] [-u] [-v]

Output

The simulator outputs a summary of each ONU statistics:

- Number of packets received, sent and dropped

- Average packet delay

- Time in each possible state

- Energy consumption

With option -v, the simulator outputs a line every time an important event happens:

`event_time ONU onu_id event_type event_info`

Legal

Copyright ⓒ Sergio Herrería Alonso [email protected] 2013

This simulator is licensed under the GNU General Public License, version 3 (GPL-3.0). For more information see LICENSE.txt

eponsimulator's People

Contributors

sherreria 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.