From owner-freebsd-hpc@FreeBSD.ORG Sun May 20 10:29:24 2007 Return-Path: X-Original-To: freebsd-hpc@freebsd.org Delivered-To: freebsd-hpc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4860316A56B for ; Sun, 20 May 2007 10:29:24 +0000 (UTC) (envelope-from redcrash@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.247]) by mx1.freebsd.org (Postfix) with ESMTP id EBB0913C468 for ; Sun, 20 May 2007 10:29:23 +0000 (UTC) (envelope-from redcrash@gmail.com) Received: by an-out-0708.google.com with SMTP id d23so317322and for ; Sun, 20 May 2007 03:29:23 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=S80bys47GWrAg7wF4NJ8s5zk9akKcRHH392Ltgvj3jSpoUpgZXEguNT8ZJrslxFJjOk9/hb+4Hc9NCr0xYmauzpaV2czmzwUv9qz3l3I+hgfR1ZbEHcXrYahPfsUXfSAAG7q6MnDXmuqs/jheAafosn22Bs0ANkA8d3GRR/U7Sk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=Q9bJ1go1dgolRnVQ47MST+M6Dr2E1OCAYixbMQBBJv6UOiaZwS3MTya8wYmiXQpEtwWVxD0vV40XlPCf75FKNhLfCgtb91xyqLka6d236dHZAbeQAPv7hxUwFZDIJZq8nLOUPzKnUelE29g7rrQ7e1Zy33gHXEfASbpX6swkv80= Received: by 10.100.11.7 with SMTP id 7mr2260610ank.1179656963242; Sun, 20 May 2007 03:29:23 -0700 (PDT) Received: by 10.100.109.2 with HTTP; Sun, 20 May 2007 03:29:23 -0700 (PDT) Message-ID: Date: Sun, 20 May 2007 12:29:23 +0200 From: "Harald Servat" To: freebsd-hackers@freebsd.org, freebsd-hpc@freebsd.org, freebsd-performance@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: testers wanted for PAPI / FreeBSD X-BeenThere: freebsd-hpc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "FreeBSD in High Performance Computing environments." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 May 2007 10:29:24 -0000 Hello, I'm porting PAPI to FreeBSD. I was wondering if you could give a try to the package I'm porting. It would be great to have more feedback than just that my laptop is able to provide me :) First of all, you can download the code at http://code.google.com/p/papi-for-freebsd Next, see man hwpmc(4) and compile a kernel with options HWPMC_HOOKS device hwpmc (you'll require device apic if you're running on i386 machines). When you boot your dmesg should print something like hwpmc: TSC/1/0x20 P6/2/0x1fe Once the machine is up and running, just untar the file you've downloaded, run ./configure and just run make (not make install). Could you send me the output of the following commands? # dmesg | grep hwpmc # utils/papi_avail # utils/papi_decode # utils/papi_native_avail # ctests/low-level # ctests/high-level Thank you very much, -- _________________________________________________________________ Empty your memory, with a free()... like a pointer! If you cast a pointer to an integer, it becomes an integer, if you cast a pointer to a struct, it becomes a struct. The pointer can crash..., and can overflow. Be a pointer my friend...