Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 May 2014 18:46:17 +0000 (UTC)
From:      "George V. Neville-Neil" <gnn@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r266171 - head/sys/sys
Message-ID:  <201405151846.s4FIkH6s041836@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 "."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405151846.s4FIkH6s041836>