Date: Tue, 23 Nov 2010 21:36:53 +0000 (UTC) From: Ulrich Spoerlein <uqs@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/contrib/bsnmp/snmpd bsnmpd.1 src/usr.sbin/bsnmpd/modules/snmp_hostres hostres_processor_tbl.c Message-ID: <201011232137.oANLbwb2007558@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
uqs 2010-11-23 21:36:53 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_8)
contrib/bsnmp/snmpd bsnmpd.1
usr.sbin/bsnmpd/modules/snmp_hostres hostres_processor_tbl.c
Log:
SVN rev 215774 on 2010-11-23 21:36:53Z by uqs
MFC r214237,214489:
Remove mention of non-existant -o flag for debugging options.
Fix CPU load reporting independent of scheduler used.
- Sample CPU usage data from kern.cp_times, this makes for a far more
accurate and scheduler independent algorithm.
- Rip out the process list scraping that is no longer required.
- Don't update CPU usage sampling on every request, but every 15s
instead. This makes it impossible for an attacker to hide the CPU load
by triggering 4 samplings in short succession when the system is idle.
- After reaching the steady-state, the system will always report the
average CPU load of the last 60 sampled seconds.
- Untangling of call graph.
Revision Changes Path
1.1.1.7.10.2 +3 -5 src/contrib/bsnmp/snmpd/bsnmpd.1
1.6.10.2 +129 -205 src/usr.sbin/bsnmpd/modules/snmp_hostres/hostres_processor_tbl.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011232137.oANLbwb2007558>
