View Single Post

  #6 (permalink)  
Old 01-12-2004
Cameron Kerr
 
Posts: n/a
Default Re: SLOW sockets under Redhat 9.0

David J. Bakeman <dbakeman@comcast.net> wrote:
> I have an application that uses a simple tcp/ip socket to communicate
> between 2 processes. This has worked fine until we upgraded to RH9.0.
> Now the socket connection is incredibly slow! What used to take around
> 5ms now takes 20-90ms!
>
> Anybody have any ideas?


DISCLAIMER: I am not a RH user/administrator or developer

One of the largest differences (and the one that breaks more software
than anything else), is that RH9 uses a different thread library called
NPL, which is better than pthreads (according to the literature anyway).

Are you (or your libraries) using threads at all? If so, it may be that
you're using threads in a not quite standard way (that still works well
under pthreads)

Other possibilities: What kernel are you using now, and when it worked
well last?

Is it a general slowness, or does it appear to be spiky?

Does it affect other applications?

What about non-RH provided source packages of some bandwidth testing
tool? (non-RH ones may show the same problem).

--
Cameron Kerr
cameron.kerr@paradise.net.nz : http://nzgeeks.org/cameron/
Empowered by Perl!
Reply With Quote