From owner-freebsd-current@freebsd.org Thu May 31 18:08:21 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 21874F7C466 for ; Thu, 31 May 2018 18:08:21 +0000 (UTC) (envelope-from mmacy@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C87C3762C3 for ; Thu, 31 May 2018 18:08:20 +0000 (UTC) (envelope-from mmacy@freebsd.org) Received: from mail-io0-f177.google.com (mail-io0-f177.google.com [209.85.223.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) (Authenticated sender: mmacy) by smtp.freebsd.org (Postfix) with ESMTPSA id 8EFC811DBD for ; Thu, 31 May 2018 18:08:20 +0000 (UTC) (envelope-from mmacy@freebsd.org) Received: by mail-io0-f177.google.com with SMTP id e20-v6so26794217iof.4 for ; Thu, 31 May 2018 11:08:20 -0700 (PDT) X-Gm-Message-State: ALKqPweVFHt+0CipVFXLK2iBZb99btq8UQoAF9WADDD/anRRKajKTrpt RnuqAlVv0ouqYUTWZUMI3WlSVxurFuhe2cLb250= X-Google-Smtp-Source: ADUXVKJ6hIX5yQVjoCeOrPPPYZdznI82cBro0zVuJOQJSDq7jNdisdAoLBpbdaVl0WQdfrahkME1QdLZ7NdYmxX+vD0= X-Received: by 2002:a6b:5009:: with SMTP id e9-v6mr7516451iob.5.1527790099526; Thu, 31 May 2018 11:08:19 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a02:85ca:0:0:0:0:0 with HTTP; Thu, 31 May 2018 11:08:18 -0700 (PDT) From: Matthew Macy Date: Thu, 31 May 2018 11:08:18 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: hwpmc - wither ppro and p4 To: freebsd-current@freebsd.org Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.26 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: Thu, 31 May 2018 18:08:21 -0000 Intel now provides comprehensive tables for all performance counters and the various valid configuration permutations as text .json files. I've converted libpmc to use these and simplified the hwpmc_core to pass the values through. I'd like to remove all the existing Intel tables from the kernel. The one gotcha is that they don't support pentium pro and and pentium IV. Based on the i386 discussion I recognize that there's a great deal of sentimental attachment to older hardware. However, there's very few users of hwpmc on _amd64_ kernels on new hardware. I don't think anyone is doing low level optimization on 15 year old Intel hardware. I'm going to remove all the tables and the now unsupported p4 and ppro configuration bits in the kmod. However, if someone feels strongly enough to implement the corresponding tables for p4 and ppro I will reinstate the files in to the build. -M