[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: performance very differently for two hosts that are configured identical

Zhang Weiwu wrote:
> I do not know how to test time needed to establish tcp/ip socket
> connection but a manual 'telnet localhost ldap' does not feel slow.

I thinnk I can test it, but it is not seems the cause of the problem:

$ time for (( i=0; i<100; i++ )); do echo 1 | nc -q 0 localhost ldap; done;

real	0m0.473s
user	0m0.148s
sys	0m0.428s

0.4 is fast to me and obviously not the reason for slowness.