Networking Forums

Networking Forums > Computer Networking > Linux Networking > tcp modify and test

Reply
Thread Tools Display Modes

tcp modify and test

 
 
Stephan Absmeier
Guest
Posts: n/a

 
      09-21-2003, 07:00 PM
Hi,

I have to do some tests on tcp slow start for my final thesis. I
modified tcp_init_cwnd in tcp_input.c and tcp_select_initial_window in
tcp.h. Here I set cwnd to the value I want to test. So I have changed
both to the same value, did this on both my server and my client.

Was this enough? Are there any other values I havt to change?

I controlled the result with tcpdump. But most time it started with 3
packets, sometimes with 6 packets. Even if the initial window is
bigger for example 12. May it be that the first acknowledge is too
fast to send more packages?

I use Red Hat Linux 7.2 and a switched 100 MBit network. If I ping the
other host I get an RTT of 165 usec.

Thanks for your help.
Stephan
 
Reply With Quote
 
 
 
 
Fernando Gont
Guest
Posts: n/a

 
      09-23-2003, 04:13 PM
On 21 Sep 2003 12:00:29 -0700, (E-Mail Removed) (Stephan Absmeier)
wrote:

>I have to do some tests on tcp slow start for my final thesis. I
>modified tcp_init_cwnd in tcp_input.c and tcp_select_initial_window in
>tcp.h. Here I set cwnd to the value I want to test. So I have changed
>both to the same value, did this on both my server and my client.
>Was this enough? Are there any other values I havt to change?


"Enough" for what? What are you trying to do?


>I controlled the result with tcpdump. But most time it started with 3
>packets, sometimes with 6 packets. Even if the initial window is
>bigger for example 12.


What's "example 12"????


>May it be that the first acknowledge is too
>fast to send more packages?


Post the packet trace. If not, I don't know what you're talking about.



--
Fernando Gont
e-mail: (E-Mail Removed)

[To send a personal reply, please remove the ANTISPAM tag]
 
Reply With Quote
 
Barry Margolin
Guest
Posts: n/a

 
      09-24-2003, 02:57 PM
In article <(E-Mail Removed)>,
Fernando Gont <(E-Mail Removed)> wrote:
>On 21 Sep 2003 12:00:29 -0700, (E-Mail Removed) (Stephan Absmeier)
>wrote:
>>I controlled the result with tcpdump. But most time it started with 3
>>packets, sometimes with 6 packets. Even if the initial window is
>>bigger for example 12.

>
>What's "example 12"????


"for example 12" = "such as 12", i.e. he used 12 packets instead of 3 or 6.

--
Barry Margolin, (E-Mail Removed)
Level(3), Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Modify RAS Link Speed zAdmin Windows Networking 1 11-05-2007 09:44 PM
how to modify the contents of a TCP/IP packet before it is delivered? Can this be done with ip helper api, can it be done with sockets? I can't seem to find any documentation on how to modify packets before they are delivered. dr Windows Networking 0 07-18-2007 04:36 AM
Cannot Modify IP Settings Will Windows Networking 5 09-11-2005 10:00 AM
cannot modify portmappings zach@dbakd.net Windows Networking 0 07-22-2005 01:51 AM
modify vnc encryption joe Linux Networking 2 01-02-2004 07:47 PM



1 2 3 4 5 6 7 8 9 10 11