Networking Forums

Networking Forums > Computer Networking > Linux Networking > SACK

Reply
 
 
johnny lau
Guest
Posts: n/a

 
      09-02-2004, 08:15 AM
i am using linux kernel 2.4.20-8
By default, SACK is enabled

but i want to disable it
i use
echo 0 > /proc/sys/net/ipv4/tcp_sack

after then, i run my program for about 4 minutes
the compute hangs
My program can run with enabled tcp_sack

so i want to know how should i disable SACK ?

thanks a lot!


 
Reply With Quote
 
 
 
 
Alexander Clouter
Guest
Posts: n/a

 
      09-02-2004, 11:08 AM
On 2004-09-02, johnny lau <(E-Mail Removed)> wrote:
> i am using linux kernel 2.4.20-8
>

but from what distro? There is no kernel '2.4.20-8' per say. Are there any
'custom' patches you have?

> By default, SACK is enabled
>
> but i want to disable it
> i use
> echo 0 > /proc/sys/net/ipv4/tcp_sack
>
> after then, i run my program for about 4 minutes
> the compute hangs
> My program can run with enabled tcp_sack
>

no description of what your program does I notice or details about the
'hang'. When you say 'hang' does it mean the program stalls sending data or
is it because your actual computer locks up? Is it the whole computer or
just network activity?

> so i want to know how should i disable SACK ?
>

SACK is very useful and should not be disabled

Cheers

Alex
 
Reply With Quote
 
P Gentry
Guest
Posts: n/a

 
      09-02-2004, 05:34 PM
"johnny lau" <(E-Mail Removed)> wrote in message news:<1093546473.901968@eng-ser4>...
> i am using linux kernel 2.4.20-8
> By default, SACK is enabled
>
> but i want to disable it
> i use
> echo 0 > /proc/sys/net/ipv4/tcp_sack


Why do you want to disable it? I've never encountered _any_ problems
with it.

> after then, i run my program for about 4 minutes
> the compute hangs


Sounds like it's trying to tell you to leave it enabled.

> My program can run with enabled tcp_sack
> so i want to know how should i disable SACK ?


Given your experience, why on earth do you want to do this -- makes no
sense at all.

> thanks a lot!


Look here then get back with an explanation of why you want to do
this.
http://ipsysctl-tutorial.frozentux.n...al.html#AEN463

Your technique for turning it off is correct -- though it won't
survive a re-boot ;-)

regards,
prg
email above disabled
 
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
when not to use net.ipv4.tcp_{sack,fack,dsack} Richard Eich Linux Networking 0 11-28-2006 07:10 AM
Question on SACK (Strange ACK Value) Medgya Linux Networking 2 03-17-2006 12:53 AM
Blair is a lying sack of Sh1te none Broadband 38 05-01-2005 06:29 PM
Blair may be a lying sack of Sh1te Big Jim Broadband 1 04-30-2005 04:03 PM
timout in TCP SACK Tejas Kokje Linux Networking 0 04-09-2004 08:13 PM



1 2 3 4 5 6 7 8 9 10 11