From owner-freebsd-hackers@FreeBSD.ORG Tue Dec 12 04:48:11 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EB9AD16A403 for ; Tue, 12 Dec 2006 04:48:11 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.235]) by mx1.FreeBSD.org (Postfix) with ESMTP id D19FB43C9E for ; Tue, 12 Dec 2006 04:46:50 +0000 (GMT) (envelope-from adrian.chadd@gmail.com) Received: by wr-out-0506.google.com with SMTP id i28so840139wra for ; Mon, 11 Dec 2006 20:48:10 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=efwipjtBZbH+SYHUjUu6uciUzVNOpx/4Qxxa++XMeSR8+VnQvjhiiX+xwFwq6U9UhkxwGvfSxUMeWyZiDFyZod+YeQtMaXB27mA0eZDDp3vGWtd0Mw3RXSLLS4imZGWZRZyU1ObiC10LF1PLjPYwsMNVggSQ0pjoZBf+ttYkIH8= Received: by 10.90.50.1 with SMTP id x1mr7923555agx.1165898890117; Mon, 11 Dec 2006 20:48:10 -0800 (PST) Received: by 10.90.31.12 with HTTP; Mon, 11 Dec 2006 20:48:10 -0800 (PST) Message-ID: Date: Tue, 12 Dec 2006 13:48:10 +0900 From: "Adrian Chadd" Sender: adrian.chadd@gmail.com To: "Joseph Koshy" In-Reply-To: <84dead720612112024w16466c65vb656e1b8088b15c5@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <84dead720612112006r5573a04fge2664ffe3a93f796@mail.gmail.com> <84dead720612112024w16466c65vb656e1b8088b15c5@mail.gmail.com> X-Google-Sender-Auth: 0939b33007a25e41 Cc: freebsd-hackers@freebsd.org Subject: Re: pmcstat and squid X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Dec 2006 04:48:12 -0000 There's plenty of squid process pid entries in the output of pmcstat -R. This was gathered with pmcstat -S instructions -O samples.out. pmcstat -R samples.out -g just generates kernel.gmon. The top of the file: initlog 0x1020003 "AMD_K7" allocate 0x101 "k7-retired-instructions" 0x20000 sample 0x101 61458 0x28210f05 u sample 0x101 61458 0x281a7a97 u sample 0x101 61458 0xc095c5d3 s sample 0x101 61458 0xc0701141 s I'm running 6.2-PRERELEASE and pmcstat doesn't have '-v'. Adrian On 12/12/06, Joseph Koshy wrote: > > Squid is running but there's no profiling information for it > > still.. > > Could you run grep the output of `pmcstat -R' (no "-g") > for mention of the squid processes pids. > > Also, try pmcstat -v -v (for a breakup of the buckets). > > -- > FreeBSD Volunteer, http://people.freebsd.org/~jkoshy > -- Adrian Chadd - adrian@freebsd.org