From: Yair Gottdenker <yairgott@gmail.com>
To: netdev@vger.kernel.org
Subject: Increasing TCP initial cwnd
Date: Mon, 26 Oct 2009 15:40:37 +0200 [thread overview]
Message-ID: <fa3cddca0910260640s22d0396ey5fc51c51047bc2c@mail.gmail.com> (raw)
Hi all,
I am working on research project to control the sender initial
congestion window size. I am trying to allow user space to set the
initial congestion window size but with no luck. The sender always
sends just 4 packets disregarding from the snd_cwnd.
I am working on kernel version 2.6.31.3.
I made the following changes:
1. tcp_ipv4.c -> in function tcp_v4_init_sock, changed from
tp->snd_cwnd = 2 to tp->snd_cwnd = user_space_initial_cwnd.
2. tcp_output.c -> tcp_init_cwnd - to always return user_space_initial_cwnd.
3. tcp_cong.c -> tcp_slow_start- to always return user_space_initial_cwnd.
Any help will be more than welcome.
Yair
next reply other threads:[~2009-10-26 13:40 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-26 13:40 Yair Gottdenker [this message]
2009-10-26 13:54 ` Increasing TCP initial cwnd Ilpo Järvinen
2009-10-26 13:57 ` Ilpo Järvinen
[not found] ` <fa3cddca0910260728n61d8de61p9e58260c893d9f9f@mail.gmail.com>
[not found] ` <alpine.DEB.2.00.0910261629040.19761@wel-95.cs.helsinki.fi>
2009-10-26 15:07 ` Yair Gottdenker
2009-10-27 7:38 ` Ilpo Järvinen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=fa3cddca0910260640s22d0396ey5fc51c51047bc2c@mail.gmail.com \
--to=yairgott@gmail.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox