[GSOC 2017 - TCP optimization and fine tuning] Final Report

Blog post by a-star on Sat, 2017-08-26 02:23

Hello everyone

The end of the GSOC period is drawing near. In this blogpost I would like to summarize the work done during this period. To know where it all began, refer to my first blog post which can be found here.

Overview

When I started, a running implementation of TCP existed in Haiku. My work was to read it, understand it and improve it. When I say improvement, I mean in terms of implementing new congestion control algorithms, updating the exisiting ones with recent request for comments documents (RFCs) and extending the current capabilities of the implementation. The roadmap to all this is RFC 7414 itself.

[gsoc_2017] tcp optimization report 5

Blog post by a-star on Mon, 2017-08-14 02:10

Hello everyone.

After the second evaluation I have been carrying out various tests to compare the output characteristics of the current TCP implementation of Haiku against the one with my patches applied. I shared the links to my patches on the mailing list. They comprise of all ticket numbers in the range 13629 - 13634 [ Trac link ].

Test Setup

There are two systems:

  1. My Ubuntu 14.04 system running Haiku hrev51307 x86gcc2 inside Virtual Box.
  2. Raspbian pixel with 850 MB of RAM (it's based on Debian).
The Virtual Box was configured with a RAM of 4GB and video memory of 128 MB. Bridged Networking over wlan0 was enabled.<br>
Both the systems were connected to a mobile hotspot so they were part of the same LAN.

[GSOC 2017] TCP optimization Report 4

Blog post by a-star on Fri, 2017-07-14 03:58

Hello everyone.

Since my last report, apart from working on the remaining changes, I have been more focused towards testing the tcp module against the already made changes. In the first week of the previous month I did try to port a testing tool to Haiku but did not succeed. So I have been writing a tool of my own to artifically inject packets into the stack and read the replies.

[GSOC 2017] TCP optimization Week 4

Blog post by a-star on Sat, 2017-06-24 01:05

Hello everyone. It's been substantial time since I started working on the project and here's the progress report.

On the reading end

Finally got over with reading the source code. What took it so long was that I first read most of the rfcs, including those I will be implementing even later on, before reading the current code. That kind of helped me not only to understand the code better but to also jot down the areas, where a change would have to be made, as and when encountering them. But then it consumed a lot of time as well.

[GSOC 2017] TCP optimization_Week #2 & #3

Blog post by a-star on Mon, 2017-05-29 11:24

Hy there!

I am writing this blog as a combined report for the past 2 weeks. As I mentioned on the mailing this, I had college exams till 25th. Really hectic. But I have been able to get some work done from then.

Community bonding

Didn't get a chance to know a lot of them but I did break some conversation with a few people. My short talk with axeld on the IRC got me into knowing the names responsible for the current implementation of TCP in Haiku. Axel has also been helpful in pointing me towards some useful resoures. Also had a short talk with tojoko.

[GSOC 2017] Tcp optimization and fine tuning

Blog post by a-star on Wed, 2017-05-10 13:11

Hello Haiku!

My name is Ayush (nick: a-star). I am really glad to have been selected for GSOC 2017 and I will be striving to optimize the tcp implementation of Haiku this summer.

A little about me

I am in the junior year of computer science and egineering at VITCC, India.

I am a profound Linux user. I have gained formal education on the subject while pursuing the Redhat certifications. I have always been fascinated with the intricacies behind the scene, the internal working of an operating system which makes you believe that the trivial program of ‘Hello world’ is actually trivial.