From owner-freebsd-current@FreeBSD.ORG Tue Jan 29 10:06:02 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id B8442A02; Tue, 29 Jan 2013 10:06:02 +0000 (UTC) (envelope-from davide.italiano@gmail.com) Received: from mail-ve0-f179.google.com (mail-ve0-f179.google.com [209.85.128.179]) by mx1.freebsd.org (Postfix) with ESMTP id 69969C24; Tue, 29 Jan 2013 10:06:02 +0000 (UTC) Received: by mail-ve0-f179.google.com with SMTP id cz10so141080veb.38 for ; Tue, 29 Jan 2013 02:05:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=4D/bQvG2unBu3zcbAgAvg+9KlBRn0hXX1yZ1xsZp7Ak=; b=W44WNBoxbH+h5XSeR3+VQHjOl2UQgOELgxL9BkcCUpFEVhmENXtnF7/lh2rJm9DOa9 cRgOC1wkYf/PO6SHXWa6O9O+RRjfE2QP/ta9+AjdqdA2X3ZmMA8r2JDuAc3uYBSvn8MU Q+QvddhJ2ep2xYGE0vbthZM6QekcUqouUd4R6uWJDAjvZP/9b4d4J1MnNaxkgIP2+1aO n4+Xar8/wjB43fwaNIXtdAm/B8Vfm0eVmg8PzzWYBTFlRb9xOqRet6HyuY8bPGmL5Lrx 7yiSdOpf1wVdK8ALnPc/ZCx8bfpVohbqu6Te3hUZVsTcToXGgJd6YvlrA/FP+Kl5pQeZ NyOg== MIME-Version: 1.0 X-Received: by 10.52.89.106 with SMTP id bn10mr308006vdb.68.1359453955842; Tue, 29 Jan 2013 02:05:55 -0800 (PST) Sender: davide.italiano@gmail.com Received: by 10.220.114.134 with HTTP; Tue, 29 Jan 2013 02:05:55 -0800 (PST) In-Reply-To: References: Date: Tue, 29 Jan 2013 02:05:55 -0800 X-Google-Sender-Auth: u6Pd2fLOOxbo9CqvxN1fz3KfkhM Message-ID: Subject: Re: hwpmc support for Ivy Bridge Xeon From: Davide Italiano To: hiren panchasara Content-Type: text/plain; charset=ISO-8859-1 Cc: Fabien Thomas , freebsd-current , Jim Harris , pho@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Jan 2013 10:06:02 -0000 On Tue, Jan 29, 2013 at 12:29 AM, hiren panchasara wrote: > On Mon, Jan 28, 2013 at 7:27 PM, hiren panchasara > wrote: >> On Sat, Jan 26, 2013 at 1:58 AM, hiren panchasara >> wrote: >>> I've tried to update hwpmc by adding support for xeon class of Ivy >>> bridge processors. >>> >>> Thanks Jim for pointing me to the correct document. (325462-045US Jan 2013) >>> >>> I do not have a reference machine to test with. Any help in that >>> regard would be appreciated. >> >> Got a machine with ivy bridge xeon. Will test my changes and update here soon. >> >> Hiren > > It seems to be working fine: > > Here is o/p of "pmccontrol -L" listing all the event counters: > http://www.strugglingcoder.info/patches/hwpmc_ibx_pmccontrol.txt > I don't see anything wrong there. > And below is the o/p of pmctest.py script: > http://www.strugglingcoder.info/patches/hwpmc_ibx_pmctest.txt > With 'pmctest.py' are you talking about the gnn@ script available in tools/ ? What are you profiling (ls, find, the kernel) ? I've recently discovered an excellent tool from Peter in stress2 suite to test pmc. Maybe you can try it. http://svnweb.freebsd.org/base/user/pho/stress2/misc/pmc.sh?revision=237222&view=markup > cheers, > Hiren >>> >>> Here are the diffs against head (245927): >>> http://www.strugglingcoder.info/patches/hwpmc_ibx.txt >>> >>> Thanks, >>> Hiren > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" Thanks -- Davide