From owner-freebsd-current@FreeBSD.ORG Wed Sep 28 14:36:34 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 098C216A41F for ; Wed, 28 Sep 2005 14:36:34 +0000 (GMT) (envelope-from joseph.koshy@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 961B543D48 for ; Wed, 28 Sep 2005 14:36:31 +0000 (GMT) (envelope-from joseph.koshy@gmail.com) Received: by xproxy.gmail.com with SMTP id t13so1404563wxc for ; Wed, 28 Sep 2005 07:36:31 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=rvP2q1We1/WqIf1eS7z1s6/i2dROvS14BwPgDZ3KS4H9B7N79z9ValS1rERNs65j7HFxkHUeA5oXsVAKaGpJFMylsjm4bVoDFhcSxy6krFiNVs8CFqh1qhY/22ulDYsLtiTRT0cwNu6SsKHVQbxVOgxJzgCOIJ9DjgIW8L12AYE= Received: by 10.70.77.17 with SMTP id z17mr3431151wxa; Wed, 28 Sep 2005 07:36:30 -0700 (PDT) Received: by 10.70.115.15 with HTTP; Wed, 28 Sep 2005 07:36:30 -0700 (PDT) Message-ID: <84dead72050928073643bf3f8f@mail.gmail.com> Date: Wed, 28 Sep 2005 20:06:30 +0530 From: Joseph Koshy To: Niklas Sorensson In-Reply-To: <61020.83.226.117.75.1127916689.squirrel@webmail.chalmers.se> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <52420.83.226.117.75.1127863485.squirrel@webmail.chalmers.se> <84dead72050928025251c032f7@mail.gmail.com> <61020.83.226.117.75.1127916689.squirrel@webmail.chalmers.se> Cc: freebsd-current@freebsd.org Subject: Re: hwpmc & sampling X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Joseph Koshy List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Sep 2005 14:36:34 -0000 ns> Seems wierd huh? I'd love to get this to work and would'nt ns> mind investigating the issue if you point me in the right ns> direction. Wierd. The output of 'time' that you posted showed low usr+sys numbers, but a large elapsed time. This would happen if the process is sleeping waiting for data or an external event. ns> real 0m24.728s ns> user 0m0.001s ns> sys 0m0.004s If this was a typo and the process was actually using the CPU for all 24.7 seconds, could you compare the gprof profiles you get from a pmcstat -S and a pmcstat -P run? -- FreeBSD Volunteer, http://people.freebsd.org/~jkoshy