Date: Thu, 12 Jun 2014 15:59:36 +0000 (UTC) From: Ed Maste <emaste@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r267403 - stable/9/sys/sys Message-ID: <201406121559.s5CFxaYM016007@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 "."
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406121559.s5CFxaYM016007>