[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.00.0910261553180.19761@wel-95.cs.helsinki.fi>
Date: Mon, 26 Oct 2009 15:54:13 +0200 (EET)
From: "Ilpo Järvinen" <ilpo.jarvinen@...sinki.fi>
To: Yair Gottdenker <yairgott@...il.com>
cc: Netdev <netdev@...r.kernel.org>
Subject: Re: Increasing TCP initial cwnd
On Mon, 26 Oct 2009, Yair Gottdenker wrote:
> 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.
How about trying tcp_init_metrics in tcp_input.c?
--
i.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists