On 17 Dec 2006, at 14:12, Ross Boylan wrote:
Is it enough to set this on the listening IMAP socket, or does it need
to be set on the sockets that get opened up as the dialogue
progresses? Put differently, can I write a little independent program
to set the socket options, or do I need to modify
The original report on net.inet.tcp.delayed_ack was from someone on a
freebsd 6.0 system.
Now, about this programmatic approach:
On Sun, Dec 17, 2006 at 11:08:07AM -0500, Wesley Craig wrote:
> Sorry, that's backwards:
>
> int one = 1;
>
> if (( proto = getprotobyname( "tcp" )) == N
On Sun, 2006-12-17 at 11:07 -0500, Wesley Craig wrote:
> On 17 Dec 2006, at 02:22, Ross Boylan wrote:
> > An earlier report on this list said
> > sysctl -w net.inet.tcp.delayed_ack=0
> > worked wonders. There does not seem to be such a setting in my Linux
> > 2.6.18 kernel.
>
> I don't recall if
On 17 Dec 2006, at 02:22, Ross Boylan wrote:
An earlier report on this list said
sysctl -w net.inet.tcp.delayed_ack=0
worked wonders. There does not seem to be such a setting in my Linux
2.6.18 kernel.
I don't recall if Linux has ever had that sysctl. Mac OS X does.
This option globally di
Sorry, that's backwards:
int one = 1;
if (( proto = getprotobyname( "tcp" )) == NULL ) {
syslog( LOG_ERR, "getprotobyname: %m" );
return( -1 );
}
if ( setsockopt( socket_fd, proto->p_proto, TCP_NODELAY,
&one, sizeof( one )) != 0 ) {
I tested using a 540 message mailbox (12.6MiB total size), transferring
with UW-IMAP's mailutil command. I report here the number of threads
and the message transfer rate in messages/second. In column A each
thread writes to the same IMAP box; in column B each thread writes to
a different box
(th