GSOC2017Tcp

From Nsnam
Revision as of 17:54, 26 May 2017 by Shravya (Talk | contribs) (Community bonding period (May 4 - May 29))

Jump to: navigation, search

Main Page - Current Development - Developer FAQ - Tools - Related Projects - Project Ideas - Summer Projects

Installation - Troubleshooting - User FAQ - HOWTOs - Samples - Models - Education - Contributed Code - Papers

Return to GSoC 2017 Accepted Projects page.

Project overview

  • Project name: Framework for TCP Prague simulations in ns-3
  • Abstract: Recently, there has been a lot of interest in the research community (IRTF / IETF) towards parallely implementing and standardising a new TCP extension called TCP Prague, which is targeted to be an evolution of Data Center TCP (DCTCP). DCTCP starves the throughput of other TCP flows (e.g., Reno, Cubic, etc) when they co-exist; so one of the goals is to ensure that TCP Prague can co-exist with other TCP flows without degrading their throughput. Although TCP Prague is still a work in progress, some related modules have been finalised and briefly experimented, such as: the Low Latency, Low Loss, Scalable throughput (L4S) service architecture, DualQ Coupled AQM, Modified ECN Semantics for Ultra Low Queuing Delay. Availability of these modules in network simulators like ns-3 is crucial to boost up the ongoing efforts of standardising TCP Prague. In this project, the aim is to implement the above mentioned modules in ns-3. Additionally, the functionality of these modules will be tested, and the necessary documentation with some examples will also be provided.
  • About me: I have completed my BTech. in Computer Engineering from National Institute of Technology Karnataka (NITK), Surathkal, India. I will be pursuing MS in Networks at CMU from August, 2017 . I have been working in ns-3 for the past 2 years. I have worked on "ECN Support for ns-3 queue discs" during ns-3 Summer of Code, 2016 and "AQM Evaluation Suite for ns-3" as Bachelor's thesis.

Technical Approach

ns-3 supports a rich set of TCP extensions, but lacks those which generate L4S traffic, such as DCTCP. Thus, the first phase of the project would comprise of implementing DCTCP to provide support for simulating L4S traffic in ns-3. This will be followed by testing, documentation and development of examples for DCTCP. In the second phase, topology helpers to set up basic data center topologies such as Fat tree and BCube will be provided, which would help users to quickly setup an environment for Data Center Networks (DCNs) in ns-3. The necessary trace sources required to easily fetch the data from simulation will also be provided in this phase. In the third phase, DualQ Coupled AQM will be implemented by using PI2 as a queuing discipline. Although there is an implementation of PI2 for ns-3 which is currently review, it cannot differentiate between the classic traffic and L4S traffic i.e., it lacks the DualQ functionality. Thus, the existing implementation of PI2 will be extended to support DualQ functionality. Lastly, the existing implementation of ECN in ns-3 will be extended to complement the DualQ functionality, and provide a complete framework ready to be used for future TCP Prague experimentation.

Milestones and Deliverables

The entire GSoC period is divided into 3 phases. The deliverable at the end of each phase is as mentioned below :

Phase 1

  • Implementation of DCTCP algorithm
  • Testing of DCTCP model and documentation
  • Provide examples for DCTCP

Phase 2

  • Implementation of topology helpers
  • Implementation of necessary trace sources
  • Provide NetAnim examples for topology helpers

Phase 3

  • Extending the existing PI2 implementation
  • Testing of extended PI2 model and documentation
  • Implementation of Modified ECN
  • Testing of Modified ECN
  • Integration of TCP models and extended PI2 AQM with Modified ECN
  • Provide examples to simulate TCP Prague

Weekly plan

Community bonding period (May 4 - May 29)

  • Contact mentors and update weekly plans based on suggestions.
  • Prepare wikipedia page for the project explaining the details of the project
  • Prepare architecture for implementation of all components and get reviews from mentors

Week - 1 (May 30 - June 5)

* Implementing sender side functionality of DCTCP
* Implementing receiver side functionality of DCTCP
* Implementing router side functionality of DCTCP

Week - 2 (June 6 - June 12)

* Testing sender side functionality of DCTCP
* Testing receiver side functionality of DCTCP
* Testing router side functionality of DCTCP

Week - 3 (June 13 - June 19)

* Complete the documentation of DCTCP implementation
* Develop example programs for DCTCP

Week - 4 (June 20 - June 26)

* Prepare a patch for DCTCP implementation in ns-3 and send it for review
* Prepare for first mid term review

Week - 5 (June 27 - July 3)

* Implementation of Fat tree topology helper
* Implementation of BCube topology helper

Week - 6 (July 4 - July 10)

* Implementation of necessary trace sources
* Provide NetAnim examples for topology helpers

Week - 7 (July 11 - July 16)

* Complete the documentation of topology helpers
* Address comments of first review

Week 8 (July 17 - July 23)

* Prepare a patch for topology helpers implemented in ns-3 and send it for review
* Prepare for second mid term review

Week - 9 (July 24 - July 30)

* Review the existing implementation of PI<sup>2</sup>
* Extend PI2 implementation with necessary classification features

Week - 10 (July 31 - August 7)

* Test the extended PI<sup>2</sup> implementation and complete the documentation
* Prepare a patch for extended PI<sup>2</sup> implementation and send it for review
* Address comments of second review

Week - 11 (August 8 - August 14)

* Implement the Modified ECN in ns-3
* Test the Modified ECN implementation and complete the documentation
* Prepare a patch for Modified ECN implementation and send it for review

Week - 12 (August 15 - August 21)

* Integration of TCP models and extended PI2 AQM with Modified ECN
* Provide examples to simulate TCP Prague
* Bug fixes, final documentation and prepare the code to merge