[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-smalltalk] Re: [feature] Performance degradation in TCP.Socket (fe
From: |
Paolo Bonzini |
Subject: |
[Help-smalltalk] Re: [feature] Performance degradation in TCP.Socket (feature request setsockopt for TCP_NODELAY) |
Date: |
Mon, 05 Nov 2007 03:41:00 -0700 |
Issue status update for
http://smalltalk.gnu.org/project/issue/119
Post a follow up:
http://smalltalk.gnu.org/project/comments/add/119
Project: GNU Smalltalk
Version: <none>
Component: Bindings (other)
Category: feature requests
Priority: normal
Assigned to: bonzinip
Reported by: elmex
Updated by: bonzinip
Status: patch
The Socket>>#flush method in that patch does always use
valueWithoutBuffering.
I would probably introduce a new method with a more verbost name
instead, something like flushWithoutTCPDelay :-)
Yes, an alternative could be a patch that makes #flush not use
TCP_NODELAY, and adds #flushToNetwork which uses it
My reasoning was that when #flush is used, either you *want*
TCP_NODELAY behavior (low latency) or you are not going to write any
data soon to the socket because you're waiting for a reply. In the
latter case, Nagle's algorithm is not going to be useful and the packet
will be sent anyway (only incurring a delay).
In fact, with the kind of high-level buffering that gst performs on
sockets, Nagle's algorithm may even be completely useless...
Do you agree?
- [Help-smalltalk] [bug] Performance degradation in TCP.Socket, Robin Redeker, 2007/11/02
- Message not available
- Message not available
- [Help-smalltalk] Re: [bug] Performance degradation in TCP.Socket, Robin Redeker, 2007/11/03
- Message not available
- [Help-smalltalk] Re: [feature] Performance degradation in TCP.Socket (feature request setsockopt for TCP_NODELAY), Robin Redeker, 2007/11/03
- Message not available
- [Help-smalltalk] Re: [feature] Performance degradation in TCP.Socket (feature request setsockopt for TCP_NODELAY), Paolo Bonzini, 2007/11/05
- Message not available
- [Help-smalltalk] Re: [feature] Performance degradation in TCP.Socket (feature request setsockopt for TCP_NODELAY), Robin Redeker, 2007/11/05
- Message not available
- [Help-smalltalk] Re: [feature] Performance degradation in TCP.Socket (feature request setsockopt for TCP_NODELAY),
Paolo Bonzini <=
- Message not available
- [Help-smalltalk] Re: [feature] Performance degradation in TCP.Socket (feature request setsockopt for TCP_NODELAY), Robin Redeker, 2007/11/05
- Message not available
- [Help-smalltalk] Re: [feature] Performance degradation in TCP.Socket (feature request setsockopt for TCP_NODELAY), Paolo Bonzini, 2007/11/05