Giter Site home page Giter Site logo

dctcp-in-ns3.26's Introduction

--Implementation of DCTCP in ns3 and Generation of DCTCP results for Fat-Tree Datacenter Topology--

Following changes are made in four ns3 source code files: --> Main file is tcp-socket-base.cc which contains ECN at TCP and DCTCP implementation. (In ns3 it is present in src/internet/model/tcp-socket-base.cc) --> ipv4-queue-disc-item.cc contains Mark method and red-queue-disc.cc uses that method for switch. --> "tcp-socket.h" contains definition of ECN states.

Associated .h files are not included because they only contain declarations for other files. Only tcp-socket.h is important.

To run DCTCP and ECN in RED queue and TCP. Only these lines have to be added in the application:

  1. To set "K" parameter, set K = threshold Config::SetDefault ("ns3::RedQueueDisc::MinTh", DoubleValue (threhold)); Config::SetDefault ("ns3::RedQueueDisc::MaxTh", DoubleValue (threhold));
  2. To Enable ECN in RED Queue: Config::SetDefault ("ns3::TcpSocketBase::UseEcn", BooleanValue (true)); Config::SetDefault ("ns3::RedQueueDisc::UseEcn", BooleanValue (true));
  3. To Enable DCTCP and Set Weight Factor:
    Config::SetDefault ("ns3::TcpSocketBase::useDCTCP", BooleanValue(true)); Config::SetDefault ("ns3::TcpSocketBase::DctcpGainFactor", DoubleValue (1.0 / 16));

--> The four tcp experiments correspond to the four experiments mentioned below:

	1) Throughput and Queue Length experiment 
	2) Incast performance experiment
	3) Queue buildup performacnce experiment
	4) Buffer pressure experiment

--> The one dctcp experiment is equivalent to TCP experiment with the relevant modules and libraries added for dctcp to function, all tcp experiments can be made dctcp experiments in the similar fashion.

--> The 64-server-fat-tree builds a larger fat-tree topology in ns3.

Note: Each test can be run individually. There is a lot of overlapping code in those test files.

dctcp-in-ns3.26's People

Contributors

mbilalsiddiqui avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

dctcp-in-ns3.26's Issues

How to run this code ?

Hello ! Can you please help in running this code ? For example if i want to tun an experiment of dctcp (given in this code) where exactly do I need to place those 4 files that you have modified in ns3?

  • I am new to NS3, your help would be greatly appreciated. Thanks !

cannot build

Several header files are missing, so that the project fails to build.

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.