Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Linux - Kernel This forum is for all discussion relating to the Linux kernel.


  Search this Thread
Old 06-08-2009, 04:08 AM   #1
LQ Newbie
Registered: Jun 2009
Posts: 2

Rep: Reputation: 0
Change initial TCP send window size


I am working on a project to change the initial send window size under different scenarios. Looking at tcp capture I see that the sender always sends 2 packets. I am working on kernel

I was digging in the kernel source code and added congestion control module. I thought the place to change it is the function .init. So I changed the snd_cwnd to 4 but still no luck, the sender sends 2 packets.

I am new to kernel development, any ideas how to control the send windows size?
Old 06-10-2009, 03:34 PM   #2
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,571

Rep: Reputation: 180Reputation: 180
Are you sure snd_cwnd is 4 when the packets are sent? When you have this checked, I'd also look into the tcp_init_congestion_ops structure.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Increasing TCP initial window to 3 segments (rfc 2414 or 3390) nenderle Linux - Networking 1 06-08-2009 04:16 AM
Default value for TCP send buffer size peer Linux - General 4 01-27-2009 07:21 AM
tcp send window size discrepency Viken Kondakji Linux - Networking 0 10-24-2007 01:20 PM
possible to send size zero tcp packet? jackandking Linux - Networking 3 07-05-2007 02:27 AM
tcp/ip window size h/w Linux - Networking 2 12-04-2003 10:08 PM > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 01:44 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration