svn commit: r266171 - head/sys/sys

George V. Neville-Neil gnn at FreeBSD.org
Thu May 15 18:46:17 UTC 2014


Author: gnn
Date: Thu May 15 18:46:16 2014
New Revision: 266171
URL: http://svnweb.freebsd.org/changeset/base/266171

Log:
  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

Modified:
  head/sys/sys/pmc.h

Modified: head/sys/sys/pmc.h
==============================================================================
--- head/sys/sys/pmc.h	Thu May 15 18:38:19 2014	(r266170)
+++ head/sys/sys/pmc.h	Thu May 15 18:46:16 2014	(r266171)
@@ -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 "."


More information about the svn-src-all mailing list