Re: Loopback problem?
Re: Loopback problem?
- Subject: Re: Loopback problem?
- From: Josh Graessley <email@hidden>
- Date: Fri, 5 May 2006 13:56:36 -0700
What is your read size, how much do you try to read out of the socket
at once? I vaguely remember a pathological case where the read size
matched the TCP window size. The stack wouldn't open up the window
until the data had been read by the client. The read wouldn't
complete until the window was full. This meant there was effectively
no streaming. The performance was increased by reading half as much
data at once.
-josh
On May 5, 2006, at 1:41 PM, Alex Yash wrote:
What happends when they are connected to a network? I wonder if this
is a DNS lookup problem..
If I launch both the client and server on the same G4, this is very
slow. If the machine is on a network but I launch the client and the
server (using 127.0.0.1 or the IP address), it's slow too. That's why
I think this is not a network problem.
But if I launch the client on a G4 and the server on another G4, the
speed is 40 time faster than in local.
Really strange...
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40apple.com
This email sent to email@hidden
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden