From owner-svn-src-head@FreeBSD.ORG Thu May 15 18:46:17 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 38A3EBCB; Thu, 15 May 2014 18:46:17 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 261B926DF; Thu, 15 May 2014 18:46:17 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s4FIkHXx041837; Thu, 15 May 2014 18:46:17 GMT (envelope-from gnn@svn.freebsd.org) Received: (from gnn@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s4FIkH6s041836; Thu, 15 May 2014 18:46:17 GMT (envelope-from gnn@svn.freebsd.org) Message-Id: <201405151846.s4FIkH6s041836@svn.freebsd.org> From: "George V. Neville-Neil" Date: Thu, 15 May 2014 18:46:17 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r266171 - head/sys/sys X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 May 2014 18:46:17 -0000 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 -#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 "."