On 2/21/06, David S. Miller <[EMAIL PROTECTED]> wrote: > From: Rick Jones <[EMAIL PROTECTED]> > Date: Tue, 21 Feb 2006 17:21:30 -0800 > > > My point (perhaps not as well expressed as the one on the top of my > > head :) was that if 2.4 is "OK" with extending the window beyond > > 32767 without adding additional semantics on those options, why > > should 2.6 need to? > > 2.4.x has the same window limiting code, if it isn't limiting the > window it's either a bug or a local change the person reporting > that made.
Its definitely not a local change that *I* made. Unless redhat made that change to their kernel for some reason. I'm running that 2.4.21-27 kernel from Redhat Enterprise on a power system. The 2.4 machine had window scaling enabled but didn't advertise or use it when tcp_window_scaling was off on the 2.6 side.. I finally got 2.4.32 to compile and it ramps nicely to a 64k receive window, still, and the 2.6 kernel limits itself to 32767 when receiving. keeping in mind this is with tcp_window_scaling = 0 and tcp_adv_window_scale = 0 on the 2.6 kernel side. I made no stack config changes on the 2.4.32 side. Just for grins I left the window scaling settings at default and I noticed that the 2.4.32 kernel replies (and advertises with SYN) with wscale 0 in the SYNACK. Is that correct? so i would say the 2.6 kernel with default settings is working okay but is *not* the same as vanilla 2.4.32 when window scaling is disabled. Jesse PS here are the mini-dumps *** 2.6 sending to 2.4 19:04:50.431251 arp who-has 10.0.1.7 tell 10.0.1.9 19:04:50.431500 arp reply 10.0.1.7 is-at 00:07:e9:03:68:61 19:04:50.431514 IP 10.0.1.9.56210 > 10.0.1.7.12865: S 946995500:946995500(0) win 5840 <mss 1460,sackOK,timestamp 49777044 0> 19:04:50.431873 IP 10.0.1.7.12865 > 10.0.1.9.56210: S 3054767463:3054767463(0) ack 946995501 win 5792 <mss 1460,sackOK,timestamp 122567 49777044> 19:04:50.431914 IP 10.0.1.9.56210 > 10.0.1.7.12865: . ack 1 win 5840 <nop,nop,timestamp 49777045 122567> 19:04:50.443776 IP 10.0.1.9.56210 > 10.0.1.7.12865: P 1:257(256) ack 1 win 5840 <nop,nop,timestamp 49777048 122567> 19:04:50.444119 IP 10.0.1.7.12865 > 10.0.1.9.56210: . ack 257 win 6432 <nop,nop,timestamp 122568 49777048> 19:04:50.447120 IP 10.0.1.7.12865 > 10.0.1.9.56210: P 1:257(256) ack 257 win 6432 <nop,nop,timestamp 122568 49777048> 19:04:50.447129 IP 10.0.1.9.56210 > 10.0.1.7.12865: . ack 257 win 6432 <nop,nop,timestamp 49777049 122568> 19:04:50.447159 IP 10.0.1.9.53371 > 10.0.1.7.32777: S 938580246:938580246(0) win 5840 <mss 1460,sackOK,timestamp 49777049 0> 19:04:50.447369 IP 10.0.1.7.32777 > 10.0.1.9.53371: S 3061241349:3061241349(0) ack 938580247 win 5792 <mss 1460,sackOK,timestamp 122568 49777049> 19:04:50.447380 IP 10.0.1.9.53371 > 10.0.1.7.32777: . ack 1 win 5840 <nop,nop,timestamp 49777049 122568> 19:04:50.447422 IP 10.0.1.9.53371 > 10.0.1.7.32777: . 1:2897(2896) ack 1 win 5840 <nop,nop,timestamp 49777049 122568> 19:04:50.447619 IP 10.0.1.7.32777 > 10.0.1.9.53371: . ack 1449 win 8688 <nop,nop,timestamp 122568 49777049> 19:04:50.447630 IP 10.0.1.9.53371 > 10.0.1.7.32777: P 2897:5793(2896) ack 1 win 5840 <nop,nop,timestamp 49777049 122568> 19:04:50.447638 IP 10.0.1.7.32777 > 10.0.1.9.53371: . ack 2897 win 11584 <nop,nop,timestamp 122568 49777049> 19:04:50.447645 IP 10.0.1.9.53371 > 10.0.1.7.32777: . 5793:8689(2896) ack 1 win 5840 <nop,nop,timestamp 49777049 122568> 19:04:50.447869 IP 10.0.1.7.32777 > 10.0.1.9.53371: . ack 4345 win 14480 <nop,nop,timestamp 122568 49777049> 19:04:50.447877 IP 10.0.1.9.53371 > 10.0.1.7.32777: P 8689:11585(2896) ack 1 win 5840 <nop,nop,timestamp 49777049 122568> 19:04:50.447883 IP 10.0.1.7.32777 > 10.0.1.9.53371: . ack 5793 win 17376 <nop,nop,timestamp 122568 49777049> 19:04:50.447890 IP 10.0.1.9.53371 > 10.0.1.7.32777: P 11585:14481(2896) ack 1 win 5840 <nop,nop,timestamp 49777049 122568> 19:04:50.447897 IP 10.0.1.7.32777 > 10.0.1.9.53371: . ack 7241 win 20272 <nop,nop,timestamp 122568 49777049> 19:04:50.447902 IP 10.0.1.7.32777 > 10.0.1.9.53371: . ack 8689 win 23168 <nop,nop,timestamp 122568 49777049> 19:04:50.447921 IP 10.0.1.9.53371 > 10.0.1.7.32777: . 14481:15929(1448) ack 1 win 5840 <nop,nop,timestamp 49777049 122568> 19:04:50.447927 IP 10.0.1.9.53371 > 10.0.1.7.32777: P 15929:16385(456) ack 1 win 5840 <nop,nop,timestamp 49777049 122568> 19:04:50.447944 IP 10.0.1.9.53371 > 10.0.1.7.32777: . 16385:19281(2896) ack 1 win 5840 <nop,nop,timestamp 49777049 122568> 19:04:50.448118 IP 10.0.1.7.32777 > 10.0.1.9.53371: . ack 10137 win 26064 <nop,nop,timestamp 122568 49777049> 19:04:50.448126 IP 10.0.1.7.32777 > 10.0.1.9.53371: . ack 11585 win 28960 <nop,nop,timestamp 122568 49777049> 19:04:50.448135 IP 10.0.1.9.53371 > 10.0.1.7.32777: . 19281:25073(5792) ack 1 win 5840 <nop,nop,timestamp 49777049 122568> 19:04:50.448142 IP 10.0.1.7.32777 > 10.0.1.9.53371: . ack 13033 win 31856 <nop,nop,timestamp 122568 49777049> 19:04:50.448147 IP 10.0.1.7.32777 > 10.0.1.9.53371: . ack 14481 win 34752 <nop,nop,timestamp 122568 49777049> 19:04:50.448157 IP 10.0.1.9.53371 > 10.0.1.7.32777: . 25073:30865(5792) ack 1 win 5840 <nop,nop,timestamp 49777049 122568> 19:04:50.448163 IP 10.0.1.7.32777 > 10.0.1.9.53371: . ack 15929 win 37648 <nop,nop,timestamp 122568 49777049> 19:04:50.448245 IP 10.0.1.7.32777 > 10.0.1.9.53371: . ack 16385 win 37648 <nop,nop,timestamp 122568 49777049> 19:04:50.448255 IP 10.0.1.7.32777 > 10.0.1.9.53371: . ack 17833 win 40544 <nop,nop,timestamp 122568 49777049> 19:04:50.448261 IP 10.0.1.9.53371 > 10.0.1.7.32777: . 30865:38105(7240) ack 1 win 5840 <nop,nop,timestamp 49777049 122568> 19:04:50.448269 IP 10.0.1.7.32777 > 10.0.1.9.53371: . ack 19281 win 43440 <nop,nop,timestamp 122568 49777049> 19:04:50.448285 IP 10.0.1.9.53371 > 10.0.1.7.32777: . 38105:41001(2896) ack 1 win 5840 <nop,nop,timestamp 49777049 122568> 19:04:50.448372 IP 10.0.1.7.32777 > 10.0.1.9.53371: . ack 20729 win 46336 <nop,nop,timestamp 122568 49777049> 19:04:50.448381 IP 10.0.1.7.32777 > 10.0.1.9.53371: . ack 22177 win 49232 <nop,nop,timestamp 122568 49777049> 19:04:50.448493 IP 10.0.1.7.32777 > 10.0.1.9.53371: . ack 23625 win 52128 <nop,nop,timestamp 122568 49777049> 19:04:50.448502 IP 10.0.1.9.53371 > 10.0.1.7.32777: . 41001:49689(8688) ack 1 win 5840 <nop,nop,timestamp 49777049 122568> 19:04:50.448508 IP 10.0.1.7.32777 > 10.0.1.9.53371: . ack 25073 win 55024 <nop,nop,timestamp 122568 49777049> 19:04:50.448515 IP 10.0.1.7.32777 > 10.0.1.9.53371: . ack 26521 win 57920 <nop,nop,timestamp 122568 49777049> 19:04:50.448519 IP 10.0.1.7.32777 > 10.0.1.9.53371: . ack 27969 win 60816 <nop,nop,timestamp 122569 49777049> 19:04:50.448524 IP 10.0.1.7.32777 > 10.0.1.9.53371: . ack 29417 win 63712 <nop,nop,timestamp 122569 49777049> 19:04:50.448531 IP 10.0.1.9.53371 > 10.0.1.7.32777: . 49689:61273(11584) ack 1 win 5840 <nop,nop,timestamp 49777049 122569> 19:04:50.448537 IP 10.0.1.7.32777 > 10.0.1.9.53371: . ack 30865 win 63712 <nop,nop,timestamp 122569 49777049> *** 2.6 recv from 2.4 19:05:05.197640 IP 10.0.1.9.51039 > 10.0.1.7.12865: S 964387082:964387082(0) win 5840 <mss 1460,sackOK,timestamp 49780735 0> 19:05:05.197842 IP 10.0.1.7.12865 > 10.0.1.9.51039: S 3076753003:3076753003(0) ack 964387083 win 5792 <mss 1460,sackOK,timestamp 124043 49780735> 19:05:05.197875 IP 10.0.1.9.51039 > 10.0.1.7.12865: . ack 1 win 5840 <nop,nop,timestamp 49780735 124043> 19:05:05.209787 IP 10.0.1.9.51039 > 10.0.1.7.12865: P 1:257(256) ack 1 win 5840 <nop,nop,timestamp 49780738 124043> 19:05:05.210082 IP 10.0.1.7.12865 > 10.0.1.9.51039: . ack 257 win 6432 <nop,nop,timestamp 124044 49780738> 19:05:05.212704 IP 10.0.1.7.12865 > 10.0.1.9.51039: P 1:257(256) ack 257 win 6432 <nop,nop,timestamp 124044 49780738> 19:05:05.212713 IP 10.0.1.9.51039 > 10.0.1.7.12865: . ack 257 win 6432 <nop,nop,timestamp 49780738 124044> 19:05:05.212750 IP 10.0.1.9.49629 > 10.0.1.7.32778: S 967343341:967343341(0) win 5840 <mss 1460,sackOK,timestamp 49780739 0> 19:05:05.212836 IP 10.0.1.7.32778 > 10.0.1.9.49629: S 3075555300:3075555300(0) ack 967343342 win 5792 <mss 1460,sackOK,timestamp 124044 49780739> 19:05:05.212847 IP 10.0.1.9.49629 > 10.0.1.7.32778: . ack 1 win 5840 <nop,nop,timestamp 49780739 124044> 19:05:05.213083 IP 10.0.1.7.32778 > 10.0.1.9.49629: . 1:1449(1448) ack 1 win 5792 <nop,nop,timestamp 124044 49780739> 19:05:05.213091 IP 10.0.1.7.32778 > 10.0.1.9.49629: . 1449:2897(1448) ack 1 win 5792 <nop,nop,timestamp 124044 49780739> 19:05:05.213096 IP 10.0.1.7.32778 > 10.0.1.9.49629: P 2897:4345(1448) ack 1 win 5792 <nop,nop,timestamp 124044 49780739> 19:05:05.213101 IP 10.0.1.9.49629 > 10.0.1.7.32778: . ack 1449 win 8688 <nop,nop,timestamp 49780739 124044> 19:05:05.213112 IP 10.0.1.9.49629 > 10.0.1.7.32778: . ack 2897 win 11584 <nop,nop,timestamp 49780739 124044> 19:05:05.213129 IP 10.0.1.9.49629 > 10.0.1.7.32778: . ack 4345 win 14480 <nop,nop,timestamp 49780739 124044> 19:05:05.213333 IP 10.0.1.7.32778 > 10.0.1.9.49629: . 4345:5793(1448) ack 1 win 5792 <nop,nop,timestamp 124044 49780739> 19:05:05.213341 IP 10.0.1.7.32778 > 10.0.1.9.49629: . 5793:7241(1448) ack 1 win 5792 <nop,nop,timestamp 124044 49780739> 19:05:05.213345 IP 10.0.1.7.32778 > 10.0.1.9.49629: P 7241:8689(1448) ack 1 win 5792 <nop,nop,timestamp 124044 49780739> 19:05:05.213347 IP 10.0.1.9.49629 > 10.0.1.7.32778: . ack 5793 win 17376 <nop,nop,timestamp 49780739 124044> 19:05:05.213350 IP 10.0.1.7.32778 > 10.0.1.9.49629: . 8689:10137(1448) ack 1 win 5792 <nop,nop,timestamp 124044 49780739> 19:05:05.213356 IP 10.0.1.7.32778 > 10.0.1.9.49629: . 10137:11585(1448) ack 1 win 5792 <nop,nop,timestamp 124044 49780739> 19:05:05.213361 IP 10.0.1.7.32778 > 10.0.1.9.49629: P 11585:13033(1448) ack 1 win 5792 <nop,nop,timestamp 124044 49780739> 19:05:05.213365 IP 10.0.1.9.49629 > 10.0.1.7.32778: . ack 7241 win 20272 <nop,nop,timestamp 49780739 124044> 19:05:05.213373 IP 10.0.1.9.49629 > 10.0.1.7.32778: . ack 8689 win 23168 <nop,nop,timestamp 49780739 124044> 19:05:05.213382 IP 10.0.1.9.49629 > 10.0.1.7.32778: . ack 10137 win 26064 <nop,nop,timestamp 49780739 124044> 19:05:05.213396 IP 10.0.1.9.49629 > 10.0.1.7.32778: . ack 11585 win 28960 <nop,nop,timestamp 49780739 124044> 19:05:05.213406 IP 10.0.1.9.49629 > 10.0.1.7.32778: . ack 13033 win 31856 <nop,nop,timestamp 49780739 124044> 19:05:05.213582 IP 10.0.1.7.32778 > 10.0.1.9.49629: . 13033:14481(1448) ack 1 win 5792 <nop,nop,timestamp 124045 49780739> 19:05:05.213589 IP 10.0.1.7.32778 > 10.0.1.9.49629: . 14481:15929(1448) ack 1 win 5792 <nop,nop,timestamp 124045 49780739> 19:05:05.213594 IP 10.0.1.7.32778 > 10.0.1.9.49629: P 15929:16385(456) ack 1 win 5792 <nop,nop,timestamp 124045 49780739> 19:05:05.213596 IP 10.0.1.9.49629 > 10.0.1.7.32778: . ack 14481 win 32767 <nop,nop,timestamp 49780739 124045> 19:05:05.213599 IP 10.0.1.7.32778 > 10.0.1.9.49629: . 16385:17833(1448) ack 1 win 5792 <nop,nop,timestamp 124045 49780739> 19:05:05.213604 IP 10.0.1.7.32778 > 10.0.1.9.49629: . 17833:19281(1448) ack 1 win 5792 <nop,nop,timestamp 124045 49780739> 19:05:05.213606 IP 10.0.1.9.49629 > 10.0.1.7.32778: . ack 15929 win 32767 <nop,nop,timestamp 49780739 124045> 19:05:05.213609 IP 10.0.1.7.32778 > 10.0.1.9.49629: . 19281:20729(1448) ack 1 win 5792 <nop,nop,timestamp 124045 49780739> 19:05:05.213615 IP 10.0.1.9.49629 > 10.0.1.7.32778: . ack 16385 win 32767 <nop,nop,timestamp 49780739 124045> - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html