SPECS: net-snmp.spec - netlink optimizations for snmpnetstat: time ss -na...

glen glen at pld-linux.org
Wed Feb 4 10:21:06 CET 2009


Author: glen                         Date: Wed Feb  4 09:21:06 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- netlink optimizations for snmpnetstat:
  time ss -nat | wc -l -> 10648; 0m0.126s (with tcp_diag kernel module)
  time ss -nat | wc -l -> 10929; 0m2.380s (without tcp_diag kernel module)
  time netstat -nat | wc -l -> 10775; 0m8.275s (plain /proc/net/tcp reading)
- add GetBulk support to snmpnetstat
- rel 4

---- Files affected:
SPECS:
   net-snmp.spec (1.131 -> 1.132) 

---- Diffs:

================================================================
Index: SPECS/net-snmp.spec
diff -u SPECS/net-snmp.spec:1.131 SPECS/net-snmp.spec:1.132
--- SPECS/net-snmp.spec:1.131	Sun Nov 30 17:05:14 2008
+++ SPECS/net-snmp.spec	Wed Feb  4 10:21:01 2009
@@ -21,7 +21,7 @@
 Summary(uk.UTF-8):	Набір утиліт для протоколу SNMP від UC-Davis
 Name:		net-snmp
 Version:	5.4.2.1
-Release:	3
+Release:	4
 License:	BSD-like
 Group:		Networking/Daemons
 Source0:	http://dl.sourceforge.net/net-snmp/%{name}-%{version}.tar.gz
@@ -49,6 +49,8 @@
 Patch12:	%{name}-use-rpm-hrmib.patch
 Patch14:	%{name}-lm_sensors_3.patch
 Patch15:	%{name}-subcontainer.patch
+Patch16:	%{name}-netlink.patch
+Patch17:	%{name}-TCP_STATS_CACHE_TIMEOUT.patch
 URL:		http://www.net-snmp.org/
 BuildRequires:	autoconf >= 2.61-3
 BuildRequires:	automake
@@ -61,7 +63,7 @@
 %{?with_autodeps:BuildRequires:	perl-Term-ReadKey}
 BuildRequires:	perl-devel >= 1:5.8.0
 %if %{with python}
-BuildRequires:	python-devel >= 1:2.5
+BuildRequires:	python-devel
 BuildRequires:	python-setuptools
 %endif
 %if %{with rpm}
@@ -419,6 +421,8 @@
 %patch12 -p1
 %patch14 -p0
 %patch15 -p1
+%patch16 -p1
+%patch17 -p1
 
 %build
 %{__libtoolize}
@@ -771,6 +775,14 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.132  2009/02/04 09:21:01  glen
+- netlink optimizations for snmpnetstat:
+  time ss -nat | wc -l -> 10648; 0m0.126s (with tcp_diag kernel module)
+  time ss -nat | wc -l -> 10929; 0m2.380s (without tcp_diag kernel module)
+  time netstat -nat | wc -l -> 10775; 0m8.275s (plain /proc/net/tcp reading)
+- add GetBulk support to snmpnetstat
+- rel 4
+
 Revision 1.131  2008/11/30 16:05:14  baggins
 - rel 3
 - fixed BUG: 1693039: be silent when insert fails.
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/net-snmp.spec?r1=1.131&r2=1.132&f=u



More information about the pld-cvs-commit mailing list