Re: RTT and TCP Window size doubts, bandwidth issues

2015-04-08 Thread Lawrence Stewart
On 04/07/15 15:10, Marek Salwerowicz wrote: > Hi list, > > I am trying to find correct setup of sysctl's for following machines > (VMs under Vmware Workstation 8) to test large TCP window size: > > > There are 2 boxes, each of them has following setup: > - %

Re: RTT and TCP Window size doubts, bandwidth issues

2015-04-08 Thread Ian Smith
On Wed, 8 Apr 2015 00:10:51 +0200, Marek Salwerowicz wrote: > Hi list, > > I am trying to find correct setup of sysctl's for following machines (VMs > under Vmware Workstation 8) to test large TCP window size: > > > There are 2 boxes, each of them has follow

RTT and TCP Window size doubts, bandwidth issues

2015-04-07 Thread Marek Salwerowicz
Hi list, I am trying to find correct setup of sysctl's for following machines (VMs under Vmware Workstation 8) to test large TCP window size: There are 2 boxes, each of them has following setup: - % uname -a FreeBSD freeA 10.1-RELEASE-p6 FreeBSD 10.1-RELEASE-p6 #0: Tue Feb 24 19:00:2

Extending TCP window size in FreeBSD 10-RELEASE?

2014-11-01 Thread Marek Salwerowicz
/PROD@20141030 | mbuffer -v 5 -4 -O 172.25.25.85:9090 The transfer speed is around 180KB/s (~2Mbit/s) After Googling, I realised I might need to extend the TCP Window (as mbuffer does not extend TCP Window size). On both boxes, I have tuned the following sysctls: # sysctl kern.ipc.maxsockbuf

Re: TCP window size issues

2003-10-18 Thread Carl Mascott
Ahhh, that may explain why, during FTP receive of a large file over a 5 KB/s link with a 56 KB recv window, I get one or two dropped packets at the same point every time, and then no further dropped packets for the rest of the transfer. Barney Wolff wrote: > On Fri, Oct 17, 2003 at 08:16:32PM -040

Re: TCP window size issues

2003-10-18 Thread Carl Mascott
> Andre Oppermann wrote: > Carl Mascott wrote: > > > > Here's a case that your logic does not handle correctly. > > > > 1. Kernel default buffer size = 32 KB > > > > 2. Routing table buffer size = 48 KB > > > > 3. Application sets buffer size to 32 KB > > > > 4. tcp_mss() selects 48 KB buffer

Re: TCP window size issues

2003-10-18 Thread Carl Mascott
te is established, as long as the kernel default recv window size is > 4096 (slight simplification here). Lev Walkin wrote: > Carl Mascott wrote: > > I have a few TCP window size issues. > [skip] > > 3. RFC 793 (TCP) says that shrinking the receive window after > >connec

Re: TCP window size issues

2003-10-17 Thread Barney Wolff
On Fri, Oct 17, 2003 at 08:16:32PM -0400, Carl Mascott wrote: > > NOTE: AFAIK, 4.4BSD through FreeBSD 4.6-R seem to have done > alright without the PR 11966 patch, but if someone knows > different, please speak up. I'm not really surprised. I would have thought that a well-behaved sender would b

Re: TCP window size issues

2003-10-17 Thread Andre Oppermann
Carl Mascott wrote: > > Here's a case that your logic does not handle correctly. > > 1. Kernel default buffer size = 32 KB > > 2. Routing table buffer size = 48 KB > > 3. Application sets buffer size to 32 KB > > 4. tcp_mss() selects 48 KB buffer size, giving the routing >table precedence

Re: TCP window size issues

2003-10-17 Thread Carl Mascott
Here's a case that your logic does not handle correctly. 1. Kernel default buffer size = 32 KB 2. Routing table buffer size = 48 KB 3. Application sets buffer size to 32 KB 4. tcp_mss() selects 48 KB buffer size, giving the routing table precedence over the application. I found it necessary

Re: TCP window size issues

2003-10-17 Thread Lev Walkin
Carl Mascott wrote: I have a few TCP window size issues. [skip] 3. RFC 793 (TCP) says that shrinking the receive window after connection is established is "strongly discouraged". I'm currently shrinking the receive window on my default route (PPP link) from 32 KB to 4 KB w

Re: TCP window size issues

2003-10-17 Thread Andre Oppermann
Andre Oppermann wrote: > > Carl Mascott wrote: > > > > Actually I have just fixed it in my copy of 4.8-R. I have a document > > that describes the problem and my solution. I could send you that > > and/or a set of patches. You might want to sketch out your own > > solution before you look at mi

Re: TCP window size issues

2003-10-17 Thread Andre Oppermann
Carl Mascott wrote: > > Actually I have just fixed it in my copy of 4.8-R. I have a document > that describes the problem and my solution. I could send you that > and/or a set of patches. You might want to sketch out your own > solution before you look at mine, though. Also, I'm not done > tes

Re: TCP window size issues

2003-10-17 Thread Carl Mascott
Actually I have just fixed it in my copy of 4.8-R. I have a document that describes the problem and my solution. I could send you that and/or a set of patches. You might want to sketch out your own solution before you look at mine, though. Also, I'm not done testing mine yet. > Carl Mascott wr

Re: TCP window size issues

2003-10-17 Thread Andre Oppermann
Carl Mascott wrote: > > I have a few TCP window size issues. > > 1. In FreeBSD 4.8-R the kernel default recv window is 56 KB. This >is so large that it causes dropped packets due to queue overflow >with my V.90 link (BW 5 KB/s on compressed data). > > 2. The 4

TCP window size issues

2003-10-17 Thread Carl Mascott
I have a few TCP window size issues. 1. In FreeBSD 4.8-R the kernel default recv window is 56 KB. This is so large that it causes dropped packets due to queue overflow with my V.90 link (BW 5 KB/s on compressed data). 2. The 4.4BSD TCP implementation has never had the correct precedence

Getting the value of tcp window size

2003-02-16 Thread yi
Hi, I have a question on tcp window size. Is there any system call or other method for getting the value of tcp window size of ongoing tcp connection? If not, do I have to modify the kernel source code and insert some new system call for doing that, right? Thanks in advance. - Yung Yi. To

TCP window SIZE vs. RECEIVE/SEND socket size

2002-04-08 Thread Russo Roberto
that the TCP window size will be of 5000 byte ? For this reason the size of all the TCP packet transmitted will be equal at the RECEIVE SOCKET SIZE ? really thank you! Roberto __ Do You Yahoo!? Yahoo! Tax Center - online filing

Re: TCP window size

2001-07-10 Thread Tan Koan-Sin
've been trying to up my TCP window size from the default 16K and it's caused >nothing but problems. From the info I've found so far, these are the sysctl i've >changed: > > kern.ipc.maxsockbuffer=2097152 > net.inet.tcp.rfc1323=1 > net.inet.tcp.sendspace=5242

TCP window size

2001-07-10 Thread Joseph Lekostaj
I've been trying to up my TCP window size from the default 16K and it's caused nothing but problems. From the info I've found so far, these are the sysctl i've changed: kern.ipc.maxsockbuffer=2097152 net.inet.tcp.rfc1323=1 net.inet.tcp.sendspace=524288 net.inet.tcp.recvsp