* Kernel tuning for high latency satellite link??
@ 2003-03-01 15:58 Stephen Corey
2003-03-01 22:35 ` Andrew McGregor
0 siblings, 1 reply; 6+ messages in thread
From: Stephen Corey @ 2003-03-01 15:58 UTC (permalink / raw)
To: linux-kernel
Do I need to tune the linux kernel (2.4.18-3) for high latency
connections? I'm installing a linux box on a satellite link (~800 ms
roundtrip latency). Will the kernel *automatically* change anything
based on latency, to hurt my throughput performance??
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Kernel tuning for high latency satellite link??
2003-03-01 15:58 Kernel tuning for high latency satellite link?? Stephen Corey
@ 2003-03-01 22:35 ` Andrew McGregor
2003-03-01 22:45 ` Ben Greear
2003-03-01 23:51 ` Matti Aarnio
0 siblings, 2 replies; 6+ messages in thread
From: Andrew McGregor @ 2003-03-01 22:35 UTC (permalink / raw)
To: Stephen Corey, linux-kernel
It should do OK by default, but you might want to read RFC 3150 for some
ideas for things to do to help.
Andrew
--On Saturday, 1 March 2003 10:58 a.m. -0500 Stephen Corey
<s_corey@netzero.com> wrote:
> Do I need to tune the linux kernel (2.4.18-3) for high latency
> connections? I'm installing a linux box on a satellite link (~800 ms
> roundtrip latency). Will the kernel *automatically* change anything
> based on latency, to hurt my throughput performance??
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Kernel tuning for high latency satellite link??
2003-03-01 22:35 ` Andrew McGregor
@ 2003-03-01 22:45 ` Ben Greear
2003-03-01 23:51 ` Matti Aarnio
1 sibling, 0 replies; 6+ messages in thread
From: Ben Greear @ 2003-03-01 22:45 UTC (permalink / raw)
To: Andrew McGregor; +Cc: Stephen Corey, linux-kernel
Andrew McGregor wrote:
> It should do OK by default, but you might want to read RFC 3150 for some
> ideas for things to do to help.
>
> Andrew
Testing I have done shows it will probably NOT be ok by default, especially
if you have any significant bandwidth on your satellite link. I would suggest
increasing the tcp_[rw]mem buffers at least.
Ben
--
Ben Greear <greearb@candelatech.com> <Ben_Greear AT excite.com>
President of Candela Technologies Inc http://www.candelatech.com
ScryMUD: http://scry.wanfear.com http://scry.wanfear.com/~greear
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Kernel tuning for high latency satellite link??
2003-03-01 22:35 ` Andrew McGregor
2003-03-01 22:45 ` Ben Greear
@ 2003-03-01 23:51 ` Matti Aarnio
1 sibling, 0 replies; 6+ messages in thread
From: Matti Aarnio @ 2003-03-01 23:51 UTC (permalink / raw)
To: Stephen Corey, linux-kernel
On Sun, Mar 02, 2003 at 11:35:29AM +1300, Andrew McGregor wrote:
> On Saturday, 1 March 2003 10:58 a.m. -0500 Stephen Corey
> <s_corey@netzero.com> wrote:
> >Do I need to tune the linux kernel (2.4.18-3) for high latency
> >connections? I'm installing a linux box on a satellite link (~800 ms
> >roundtrip latency). Will the kernel *automatically* change anything
> >based on latency, to hurt my throughput performance??
>
> It should do OK by default, but you might want to read RFC 3150 for some
> ideas for things to do to help.
PILC doesn't really help in all cases.
E.g. hight bandwidth * long delay does produce its own problems.
To achieve maximum performance from a tcp-stream, you need to have
the amount of unacknowledge in-flight data matching that "delay-band-
width product". In Linux, the setsockopt() SO_SNDBUF parameter
must be TWICE that value. Oh, and at the receiving side the
SO_RCVBUF parameter must have matching value.
System-wide default values are at /proc/sys/net/core/*mem_*
See explanations at "man 7 socket". (In cases where application
does NOT set their own values, *mem_default are used, and in
all cases, *mem_max clamp the upper limit.)
If you are pushing some half-duplex application traffic over this
kind of link where latency is longish, no amount of kernel tuning
can help you. Example of such application protocol is SMTP.
There is PIPELINING mode, which helps by turning SMTP into a semi-
duplex with full syncronization stops only at DATA or BDAT verbs.
However not all MTAs claiming PIPELINING capability in their EHLO-
responses implement it themselves in SMTP client code.
Most notable of those is qmail.
> Andrew
/Matti Aarnio
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Kernel tuning for high latency satellite link??
@ 2003-03-02 22:36 Stephen Corey
0 siblings, 0 replies; 6+ messages in thread
From: Stephen Corey @ 2003-03-02 22:36 UTC (permalink / raw)
To: linux-kernel
What problems have you seen with PILC? And you're recommending setting
the send & receive maxes to (bandwidth (in bps) * delay (in
milliseconds))?
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Kernel tuning for high latency satellite link??
@ 2003-03-06 1:48 Stephen Corey
0 siblings, 0 replies; 6+ messages in thread
From: Stephen Corey @ 2003-03-06 1:48 UTC (permalink / raw)
To: linux-kernel
What problems have you seen with PILC? And you're recommending setting
the send & receive maxes to (bandwidth (in bps) * delay (in
milliseconds))?
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2003-03-06 1:38 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-01 15:58 Kernel tuning for high latency satellite link?? Stephen Corey
2003-03-01 22:35 ` Andrew McGregor
2003-03-01 22:45 ` Ben Greear
2003-03-01 23:51 ` Matti Aarnio
-- strict thread matches above, loose matches on Subject: below --
2003-03-02 22:36 Stephen Corey
2003-03-06 1:48 Stephen Corey
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.