Re: Informix 7 slow over WAN yet fast over LAN



WalidFahmy wrote:
All,
My Informix 7 Server peformance on the Local Area Network is very acceptable,
when connecting a new site using 2 Mbps, client experience was lousy, it took
minutes to open simple forms, which took 1 or 2 seconds on the LAN. We
thought that bandwidth is not enough, so we monitored the WAN port and
utilization did not exceed 30%.
When Monitoring the traffic we found too many PSH,ACK and ACKs going between
Server and Client.
Did anybody see this before ? Can anybody help ?

Two possible causes not mentioned:

1- You note an excess of ACKs, etc. This could be a symptom of the second problem, but another may be the amount of data that's really needed versus the comm buffer size. The buffers default to 4K (max 32K). You can increase the buffer size with the environment variable FETBUFSIZE, set it to 2^15-1 (32767) in the client's environment to get a max sized buffer session setup between the client and the server. This will decrease the number of round trips by a factor of 8 which will help even if 2 is the larger problem.

2- You application is poorly designed so that it is retrieving far more data than it needs and filtering it in software. This will cause the application to run inordinately slower across narrower/slower pipes like your WAN than it does across a fast LAN. Examine the SQL and code to determine if the filtering and the joins are optimal.

Art S. Kagel
.



Relevant Pages

  • Re: Socket switch delay
    ... both at the client and at the server (and why ... would you set the send buffer size to zero on a non-overlapped ... One glaring error is your client does ... So when you use a single socket, ...
    (microsoft.public.win32.programmer.networks)
  • Re: UCX connect function timeout
    ... This is an example of a VMS client program communicating with ... In this example the T3_DEMO server is listening on port 1024 at node ... The Access Control Information buffer must be the first buffer transmitted ... the communication server. ...
    (comp.os.vms)
  • Re: out param question
    ... even though the server side set's the pSize on the way out, ... it back to the client, ... the client would free the buffer ... ... what IDL am i looking for here? ...
    (microsoft.public.win32.programmer.ole)
  • Re: Buffersize for Socket.Recieve() method
    ... > i have a problem with the buffer size at the client. ... > Server -> Server sends 100 bytes of data ... oder ebenso mit vorherigen/nachfolgenden Daten kombiniert [zB Recv liefert 110 Bytes aufs mal]. ...
    (microsoft.public.de.german.entwickler.dotnet.csharp)
  • Re: TCPClient Synchronous or Asynchronous Writes
    ... acting as the "server" receives quality assurance data from different ... Each client can register to look at differnt data so there ... is actually a Circular Buffer for each client. ... >> stream data to my clients over a TCPClient connection. ...
    (microsoft.public.dotnet.languages.csharp)