svn commit: samba r15793 - in branches/tmp/jpeach-xmetrics/source:
. include modules profile profile/pmda script smbd utils
jpeach at samba.org
jpeach at samba.org
Mon May 22 01:31:59 GMT 2006
Author: jpeach
Date: 2006-05-22 01:31:56 +0000 (Mon, 22 May 2006)
New Revision: 15793
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=15793
Log:
This commit adds a new metrics export mechanism to smbd. Per-share and
per-client metrics are exported from a shared mmap. The exported records
contain counts of interesting classes of system calls, as well as I/O
sorted into a small number of size-based buckets. The mmap is growable
and will become larger as more clients connect.
The existing shared memory metrics export mechanism is unmodified for
compatibility reasons.
Also included is an enhanced PCP metrics agent that published metrics
from both the new extended metrics code and the original shared memory
statistics. This shows how a metrics consumer can be written to handle
the backing store being remapped as it grows. smbstatus -P shows a simple
one-show metric consumer.
Added:
branches/tmp/jpeach-xmetrics/source/modules/vfs_xmetrics.c
branches/tmp/jpeach-xmetrics/source/profile/TODO
branches/tmp/jpeach-xmetrics/source/profile/xmetrics.h
branches/tmp/jpeach-xmetrics/source/profile/xmetrics_allocator.c
branches/tmp/jpeach-xmetrics/source/profile/xmetrics_utils.c
branches/tmp/jpeach-xmetrics/source/script/mkmetricspmids.pl
Modified:
branches/tmp/jpeach-xmetrics/source/Makefile.in
branches/tmp/jpeach-xmetrics/source/aclocal.m4
branches/tmp/jpeach-xmetrics/source/configure.in
branches/tmp/jpeach-xmetrics/source/include/smb.h
branches/tmp/jpeach-xmetrics/source/include/smb_macros.h
branches/tmp/jpeach-xmetrics/source/include/smbprofile.h
branches/tmp/jpeach-xmetrics/source/include/vfs.h
branches/tmp/jpeach-xmetrics/source/profile/pmda/Install
branches/tmp/jpeach-xmetrics/source/profile/pmda/Makefile
branches/tmp/jpeach-xmetrics/source/profile/pmda/README
branches/tmp/jpeach-xmetrics/source/profile/pmda/Remove
branches/tmp/jpeach-xmetrics/source/profile/pmda/domain.h
branches/tmp/jpeach-xmetrics/source/profile/pmda/help
branches/tmp/jpeach-xmetrics/source/profile/pmda/pmns
branches/tmp/jpeach-xmetrics/source/profile/pmda/root
branches/tmp/jpeach-xmetrics/source/profile/pmda/samba.c
branches/tmp/jpeach-xmetrics/source/script/mkmetricsheader.pl
branches/tmp/jpeach-xmetrics/source/smbd/conn.c
branches/tmp/jpeach-xmetrics/source/smbd/server.c
branches/tmp/jpeach-xmetrics/source/smbd/service.c
branches/tmp/jpeach-xmetrics/source/smbd/vfs.c
branches/tmp/jpeach-xmetrics/source/utils/status.c
Changeset:
Sorry, the patch is too large (6746 lines) to include; please use WebSVN to see it!
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=15793
More information about the samba-cvs
mailing list