Author: emaste
Date: Thu Jun 12 15:59:36 2014
New Revision: 267403
URL: http://svnweb.freebsd.org/changeset/base/267403

Log:
  MFC r266171, r266174 by gnn:
  
    Update the amount of data we can collect for hwpmc(4) by default
    to work with modern processors and available memory.
  
    Upgrade the default callchain depth
  
  Approved by:  re

Modified:
  stable/9/sys/sys/pmc.h
Directory Properties:
  stable/9/sys/   (props changed)
  stable/9/sys/sys/   (props changed)

Modified: stable/9/sys/sys/pmc.h
==============================================================================
--- stable/9/sys/sys/pmc.h      Thu Jun 12 15:46:24 2014        (r267402)
+++ stable/9/sys/sys/pmc.h      Thu Jun 12 15:59:36 2014        (r267403)
@@ -593,12 +593,12 @@ 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_CALLCHAIN_DEPTH                     8
+#define        PMC_NLOGBUFFERS                         1024
+#define        PMC_NSAMPLES                            1024
+#define        PMC_CALLCHAIN_DEPTH                     16
 
 #define PMC_SYSCTL_NAME_PREFIX "kern." PMC_MODULE_NAME "."
 
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to