Skip to content

koen0607/dualpi2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

README

What is this repository for?

sch_pi2: PI2 AQM (with dual queue option) module for Linux iproute2-3.16.0: iproute2 package with added support for sch_pi2

Quick summary

PI2 AQM is implemented as a module

In order to use it, you need to either reinstall iproute2 package or use a local build of tc from iproute2. The files that should be added/changed and a patch are included in this repository. Currently only tested with iproute2 version 3.16.0.

How do I get set up?

Build iproute2 locally:

Reinstall iproute2:

cd iproute2-3.16.0 && make install

Build sch_pi2 module:
cd sch_pi2 && make

Register module:
cd sch_pi2 && make load

Remove module:
cd sch_pi2 && make unload

Add pi2 as a qdisc with a bottleneck of 40Mbps:

sudo tc qdisc del dev root sudo tc qdisc add dev root handle 1: htb default 10 sudo tc class add dev parent 1: classid 1:10 htb rate 40Mbit ceil 40Mbit burst 1516

sudo tc qdisc add dev parent 1:10 pi2

  • Dependencies:
    bison libdb-dev flex

Who do I talk to?

  • Repo owner or admin
  • Other community or team contact

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 92.8%
  • Makefile 7.2%