lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 24 Mar 2008 00:43:07 +0200
From:	Matti Aarnio <matti.aarnio@...iler.org>
To:	netdev@...r.kernel.org
Subject: O(n^2) or worse ?   cat /proc/net/tcp

I have about 750 TCP socket on one multi-threaded server application, and 
about 250 on three single-threaded clients.

I did observe odd slowness at first with  "lsof -p .."  program, then at
"netstat -na".  Same slowdown happens with:  cat /proc/net/tcp
(that 'cat' took 25 seconds...)

Sure this is not earth shatterinly dangerous thing, rather a nuisance
when a monitoring application is not as fast as one would expect.


Application works fine, though.

  /Matti Aarnio
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ