Re: Window Scale Option broken in 2.2.x

2000-10-09 Thread David S. Miller


See Documentation/networking/ip-sysctl.txt, section "tcp_mem".

Later,
David S. Miller
[EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: Window Scale Option broken in 2.2.x

2000-10-09 Thread Lawrence MacIntyre

>You need to set your /proc/sys/net/core/{w,r}mem* values large enough
>for the window scale to have any reason to have a non-zero value.
>
>Later,
>David S. Miller
>[EMAIL PROTECTED]

OK.  That worked.  Thanks!  It is worth noting that the 2.4.0-test9-pre9
kernel doesn't care about the {r,w}mem_max value (I installed 2.2.16,
2.2.17, and 2.4.0-test9-pre9 on the same machine).  So I don't get
caught again later, is there different parameter that affects this
option on the 2.4.x kernel?

-- 
 Lawrence
~

Lawrence MacIntyre  Center for Information Infrastructure Technology
[EMAIL PROTECTED]   http://www.ciit.y12.doe.gov/~lpz 865.574.8696
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: Window Scale Option broken in 2.2.x

2000-10-09 Thread Lawrence MacIntyre

You need to set your /proc/sys/net/core/{w,r}mem* values large enough
for the window scale to have any reason to have a non-zero value.

Later,
David S. Miller
[EMAIL PROTECTED]

OK.  That worked.  Thanks!  It is worth noting that the 2.4.0-test9-pre9
kernel doesn't care about the {r,w}mem_max value (I installed 2.2.16,
2.2.17, and 2.4.0-test9-pre9 on the same machine).  So I don't get
caught again later, is there different parameter that affects this
option on the 2.4.x kernel?

-- 
 Lawrence
~

Lawrence MacIntyre  Center for Information Infrastructure Technology
[EMAIL PROTECTED]   http://www.ciit.y12.doe.gov/~lpz 865.574.8696
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: Window Scale Option broken in 2.2.x

2000-10-06 Thread David S. Miller


You need to set your /proc/sys/net/core/{w,r}mem* values large enough
for the window scale to have any reason to have a non-zero value.

Later,
David S. Miller
[EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: Window Scale Option broken in 2.2.x

2000-10-06 Thread bert hubert

On Sat, Oct 07, 2000 at 02:53:27AM +0200, bert hubert wrote:
> On Fri, Oct 06, 2000 at 07:56:15PM -0400, Lawrence MacIntyre wrote:
> > Hi:
> > 
> > The window scale option doesn't appear to work in 2.2.16, 2.2.17, and
> > 2.2.18.  I've got an old 2.2.5 machine and it doesn't work either.  Is
> > this supposed to work?  There is code in the kernel to do the window
> > scale option, but it always sends a 0 value.  It does, however, work
> > correctly in 2.4.0-test9-pre9.  I have tested it using ttcp -r -s
> > -b131072 (the -b flag does a setsockopt to increase the receive buffer,
> > and therefore the window size).
> > 
> > p.s.  Yes, /proc/sys/net/ipv4/tcp_window_scaling is 1
> 
> Userspace programs do need to suggest to the kernel that they want a larger
> window - this is documented somewhere.

Don't mind me, I'm donning my brown paper bag.

-- 
PowerDNS Versatile DNS Services  
Trilab   The Technology People   
'SYN! .. SYN|ACK! .. ACK!' - the mating call of the internet

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: Window Scale Option broken in 2.2.x

2000-10-06 Thread bert hubert

On Fri, Oct 06, 2000 at 07:56:15PM -0400, Lawrence MacIntyre wrote:
> Hi:
> 
> The window scale option doesn't appear to work in 2.2.16, 2.2.17, and
> 2.2.18.  I've got an old 2.2.5 machine and it doesn't work either.  Is
> this supposed to work?  There is code in the kernel to do the window
> scale option, but it always sends a 0 value.  It does, however, work
> correctly in 2.4.0-test9-pre9.  I have tested it using ttcp -r -s
> -b131072 (the -b flag does a setsockopt to increase the receive buffer,
> and therefore the window size).
> 
> p.s.  Yes, /proc/sys/net/ipv4/tcp_window_scaling is 1

Userspace programs do need to suggest to the kernel that they want a larger
window - this is documented somewhere.

-- 
PowerDNS Versatile DNS Services  
Trilab   The Technology People   
'SYN! .. SYN|ACK! .. ACK!' - the mating call of the internet

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Window Scale Option broken in 2.2.x

2000-10-06 Thread Lawrence MacIntyre

Hi:

The window scale option doesn't appear to work in 2.2.16, 2.2.17, and
2.2.18.  I've got an old 2.2.5 machine and it doesn't work either.  Is
this supposed to work?  There is code in the kernel to do the window
scale option, but it always sends a 0 value.  It does, however, work
correctly in 2.4.0-test9-pre9.  I have tested it using ttcp -r -s
-b131072 (the -b flag does a setsockopt to increase the receive buffer,
and therefore the window size).

p.s.  Yes, /proc/sys/net/ipv4/tcp_window_scaling is 1
-- 
 Lawrence
~

Lawrence MacIntyre  Center for Information Infrastructure Technology
[EMAIL PROTECTED]   http://www.ciit.y12.doe.gov/~lpz 865.574.8696
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Window Scale Option broken in 2.2.x

2000-10-06 Thread Lawrence MacIntyre

Hi:

The window scale option doesn't appear to work in 2.2.16, 2.2.17, and
2.2.18.  I've got an old 2.2.5 machine and it doesn't work either.  Is
this supposed to work?  There is code in the kernel to do the window
scale option, but it always sends a 0 value.  It does, however, work
correctly in 2.4.0-test9-pre9.  I have tested it using ttcp -r -s
-b131072 (the -b flag does a setsockopt to increase the receive buffer,
and therefore the window size).

p.s.  Yes, /proc/sys/net/ipv4/tcp_window_scaling is 1
-- 
 Lawrence
~

Lawrence MacIntyre  Center for Information Infrastructure Technology
[EMAIL PROTECTED]   http://www.ciit.y12.doe.gov/~lpz 865.574.8696
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/