From 9970fd6d95161d0b6cebe70488d08f628b8fb69c Mon Sep 17 00:00:00 2001 From: "George V. Neville-Neil" Date: Thu, 15 May 2014 18:46:16 +0000 Subject: [PATCH] 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 --- sys/sys/pmc.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/sys/pmc.h b/sys/sys/pmc.h index c20c39813002..7a9ee4e36325 100644 --- a/sys/sys/pmc.h +++ b/sys/sys/pmc.h @@ -598,11 +598,11 @@ struct pmc_op_getdyneventinfo { #include -#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 "."