Giter Site home page Giter Site logo

lapnd / turboepc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rinku-shah/turboepc

0.0 0.0 0.0 111.43 MB

Accelerate mobile core network functions using hardware accelerators like programmable switches

Shell 0.33% C++ 39.46% Python 1.21% C 17.66% Java 23.14% Makefile 0.08% P4 14.14% TSQL 3.68% Starlark 0.31%

turboepc's Introduction

TurboEPC

Accelerate mobile core network control plane functions using programmable switches

Publication

Rinku Shah, Vikas Kumar, Mythili Vutukuru, Purushottam Kulkarni. "TurboEPC: Leveraging Dataplane Programmability to Accelerate the Mobile Packet Core". In the ACM SIGCOMM Symposium on SDN Research (SOSR), 2020

Designs:

traditional- All control plane messages serviced by Root controller, only GTP processing at switches.

basic- All offloadable messages (service request/context release/GTP processing) processed at the switch, and attach/detach at the Root controller. We consider that the user state is always available at the switch (always HIT).

parallel- Single chain (one edge switch) with the user context is partitioned among 3 edge switches in parallel.

series- Single chain (one edge switch) with the user context is partitioned among 3 edge switches in series.

FT- Single chain of RAN-DGW-SGW-PGW-SINK with SGW-FT instance where the UE state is mirrored so that under failures the user state at the failed switch is not lost.

handover- In this setup the user registers, establishes session with chain 2, handover is done over chain 1, delete the tunnel created over chain 2. case 6 in ran.cpp is used for this scenario. The load geneator configuration for only handovers is, service_request and s1_release flags are kept false. loop 1 and loop 2 values are set to be 1.

Roadmap

Installation steps : Please follow steps from turboepc/turboepc-hardware/smartnic-setup-steps for hardware Netronome setup and turboepc/turboepc-software/installation_steps.txt for software bmv2 setup

FAQs

ONOS :

a. after too many runs, if the onos does not behave as expected please do the following
1. cd onos
2. rm -rf buck-out 
3. again start onos as usual using run_onos.sh script 
b. To check flows using ONOS  
1. open onos cli using `onos localhost'
2. cli> flows -s
3. For more help on cli goto https://wiki.onosproject.org/display/ONOS/The+ONOS+CLI

Switch :

a. to enable logging in bmv2 switch, rebuild the bmv2 switch with 
   ./configure --enable-debugger --with-pi 'CXXFLAGS=-O0 -g'  
   in the do_bmv2 function in the install-p4-tools.sh  
b. to enable P4Runtime logs  
   comment the line cp ~/log.h ~/p4tools/p4runtime/proto/server/ 
   in scripts/install-p4-tools.sh and re-run it 
c. to check the table entries in switch open switch cli using  
   simple_switch_grpc --thrift-port 9090 
   cli> table_dump <table_name>

turboepc's People

Contributors

rinku-shah avatar vksysd avatar vishalrawat27 avatar dependabot[bot] 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.