From owner-freebsd-performance@FreeBSD.ORG Tue Oct 28 17:38:44 2014 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5B6D2138 for ; Tue, 28 Oct 2014 17:38:44 +0000 (UTC) Received: from mail-ig0-x22c.google.com (mail-ig0-x22c.google.com [IPv6:2607:f8b0:4001:c05::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 00F87C86 for ; Tue, 28 Oct 2014 17:38:44 +0000 (UTC) Received: by mail-ig0-f172.google.com with SMTP id h15so7227089igd.5 for ; Tue, 28 Oct 2014 10:38:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=ni1cGEMEL5aZunPtv524xlaJPBE93dTM1ucHFDZXcBw=; b=pVDdKj0NrUlt0uCz+BrZVv1HOxp0ZXD/hH5mUJUuRwExNKy3+Ut15xj749WfLKwxUi 9JuMDXYuYIjZFIU35cjhZOm/nJP8egmhulw82dL9hhCWlB4Ptgu8RvbPe9hfIaWft65n BEVA4WiqjXyALf1EgyEmBTi2RNb/Y947rworUTv3UYjB17dlzGrWfYBNRb1r50tSIkVj Iz9SIlSP+7eograF1HwttjFmDGJucBuSvThP6SKPp7PVeGXN6v189uDrhEois5RxaCOo pnu7o0X1s+f8cgCxrOZqgUmuS9OwNP/qB7iX1/VLhXvI4a0QI2vpGU4VMS4yOmMSLh0z OneA== X-Received: by 10.43.78.16 with SMTP id zk16mr5319019icb.55.1414517923292; Tue, 28 Oct 2014 10:38:43 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.50.203 with HTTP; Tue, 28 Oct 2014 10:38:23 -0700 (PDT) In-Reply-To: <20141028114537.83f9f0a3c730949f453c3819@systemdatarecorder.org> References: <20141028114537.83f9f0a3c730949f453c3819@systemdatarecorder.org> From: Brendan Gregg Date: Tue, 28 Oct 2014 10:38:23 -0700 Message-ID: Subject: Re: pmcstat -z32 -G truncates callgraph to 8 To: Stefan Parvu Content-Type: text/plain; charset=UTF-8 Cc: freebsd-performance@freebsd.org X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Oct 2014 17:38:44 -0000 G'Day Stefan, On Tue, Oct 28, 2014 at 2:45 AM, Stefan Parvu wrote: > >> I'm using pmcstat to capture call graphs, however, these always seem >> truncated to 8 stack frames. Anyone else hit this? Anyone know a fix >> or workaround? > > On FreeBSD 11.0-CURRENT Im seeing these: > > kern.features.hwpmc_hooks: 1 > kern.hwpmc.softevents: 16 > kern.hwpmc.callchaindepth: 16 > kern.hwpmc.hashsize: 1024 > kern.hwpmc.nsamples: 1024 > kern.hwpmc.mtxpoolsize: 2048 > kern.hwpmc.logbuffersize: 4 > kern.hwpmc.nbuffers: 1024 Ah, thanks, I'm on 10.0-STABLE and I have: kern.hwpmc.callchaindepth: 8 Glad it's something simple! Brendan