Re: Removing T/TCP and replacing it with something simpler
From: Andre Oppermann (andre_at_freebsd.org)
Date: 10/22/04
- Previous message: Brian Fundakowski Feldman: "Re: Removing T/TCP and replacing it with something simpler"
- In reply to: Brian Fundakowski Feldman: "Re: Removing T/TCP and replacing it with something simpler"
- Next in thread: David O'Brien: "Re: Removing T/TCP and replacing it with something simpler"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 22 Oct 2004 17:55:45 +0200 To: Brian Fundakowski Feldman <green@freebsd.org>
Brian Fundakowski Feldman wrote:
>
> On Fri, Oct 22, 2004 at 05:14:07PM +0200, Andre Oppermann wrote:
> > None of it. Neither NOPUSH nor CORK have any security implications.
> > Those are only with the specification of T/TCP. Blocking the data
> > is independend of 3WSH. Normally you have Nagle enabled (default)
> > and when you don't fill an entire packet worth of data it will wait
> > up to 200ms to send the packet in anticipation of more data from the
> > socket. This screws the responsiveness of your connection. The first
> > solution is to turn off Nagle (with TCP_NODELAY) but now you get a
> > packet for every single write() you do. Fine for telnet and ssh but
> > not the right thing for a database server. There you don't want the
> > delay but at the same time you want several successive write()s that
> > will go in one packet on the wire. Here NOPUSH and CORK come into
> > play.
>
> Why is just tuning the delay a bad solution?
If you tune it too low it ain't useful anymore (doesn't gather distant
writes together) and too many timers too often.
-- Andre _______________________________________________ freebsd-arch@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-arch To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"
- Previous message: Brian Fundakowski Feldman: "Re: Removing T/TCP and replacing it with something simpler"
- In reply to: Brian Fundakowski Feldman: "Re: Removing T/TCP and replacing it with something simpler"
- Next in thread: David O'Brien: "Re: Removing T/TCP and replacing it with something simpler"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|