Giter VIP home page Giter VIP logo

5gslicing's Introduction

5gslicing

Example usage:

> import network_generator
> nwkgen = network_generator.NetworkGenerator(50)

The parameter to NetworkGenerator is the size (in kms) of the deployment area.

> nwkgen.generate_demographic((25,25), 5)

This adds a population of UEs distributed following a 2D Gaussian distribution centered at (25,25) kms, with a standard deviation of 5kms.

> infra = nwkgen.generate_5g_infra(1)

This generates the 5G infrastructure to support the population of UEs created previously. The argument provided is a random seed.

> g = infra.generate_nx_graph()

g contains two types of nodes:

  • computational nodes provide the following attributes:
    • 'type' is 'pop' (point of presence)
    • 'cores': number of processing cores
    • 'storage': TB of storage
    • 'gpus': number of gpus for cloud gaming (or other apps)
    • 'traffic': input rate into the node.
  • access points with the following attributes:
    • 'type' is 'sap'
    • 'tas': a list of Tracking Areas aggregated into this AP
    • 'traffic': (input rate, output rate).

The edges of the graph represent communication links with the following attributes:

  • 'capacity' in Mbps of the link
  • 'latency' of the link (just the transport, does not consider queues at the two endpoints of the link).

The figure below shows a sample of an infrastructure graph. The red nodes are PoPs, the blue are SAPs.

sample infra

5gslicing's People

Contributors

victorcionca avatar

Watchers

James Cloos 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.