summaryrefslogtreecommitdiffstats
path: root/sys/sys/pmc.h
diff options
context:
space:
mode:
authorgnn <gnn@FreeBSD.org>2014-05-15 18:46:16 +0000
committergnn <gnn@FreeBSD.org>2014-05-15 18:46:16 +0000
commit34877a60f18ad1626020df229464d4a34dccd91e (patch)
treea1f5ca2a3efefeff513061b1bdbb2480a4e07e14 /sys/sys/pmc.h
parent0c37f4aebf437b4a5042a339474f87f7283dae81 (diff)
downloadFreeBSD-src-34877a60f18ad1626020df229464d4a34dccd91e.zip
FreeBSD-src-34877a60f18ad1626020df229464d4a34dccd91e.tar.gz
Update the amount of data we can collect for hwpmc(4) by default
to work with modern processors and available memory. Submitted by: Julien Charbon MFC after: 2 weeks
Diffstat (limited to 'sys/sys/pmc.h')
-rw-r--r--sys/sys/pmc.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/sys/pmc.h b/sys/sys/pmc.h
index c20c398..7a9ee4e 100644
--- a/sys/sys/pmc.h
+++ b/sys/sys/pmc.h
@@ -598,11 +598,11 @@ struct pmc_op_getdyneventinfo {
#include <machine/frame.h>
-#define PMC_HASH_SIZE 16
-#define PMC_MTXPOOL_SIZE 32
+#define PMC_HASH_SIZE 1024
+#define PMC_MTXPOOL_SIZE 2048
#define PMC_LOG_BUFFER_SIZE 4
-#define PMC_NLOGBUFFERS 64
-#define PMC_NSAMPLES 512
+#define PMC_NLOGBUFFERS 1024
+#define PMC_NSAMPLES 1024
#define PMC_CALLCHAIN_DEPTH 8
#define PMC_SYSCTL_NAME_PREFIX "kern." PMC_MODULE_NAME "."
OpenPOWER on IntegriCloud