From owner-freebsd-hackers@freebsd.org Wed Dec 14 23:39:27 2016 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3DBA8C80161 for ; Wed, 14 Dec 2016 23:39:27 +0000 (UTC) (envelope-from mureninc@gmail.com) Received: from mail-vk0-x243.google.com (mail-vk0-x243.google.com [IPv6:2607:f8b0:400c:c05::243]) (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)) by mx1.freebsd.org (Postfix) with ESMTPS id DB7EB8C8; Wed, 14 Dec 2016 23:39:26 +0000 (UTC) (envelope-from mureninc@gmail.com) Received: by mail-vk0-x243.google.com with SMTP id w194so5794166vkw.3; Wed, 14 Dec 2016 15:39:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-transfer-encoding; bh=gTSDIzPteOi9U/aryYrB8aIIEFVl57zfY+HsGd98h3A=; b=SZtexexQS9FoxzQ6YXce2MI/EJNCPDyHY6gQ3rQCXqqIYHCz8qTfp+OxQECTTvNmox iwzL3Y84ehjM2S0G1TGbqJhUK3bbbgjUyruCY/25+139G1dIBHVchV1pgh5tEnk+vEbu I5QLmVir0TEx5hWlmhOcs73REOVXF4vpj56sdqJZrwyVlvTKhDQ0DogpzqAGffY69Rkp Osy31UwNsg9yrGr1ixKEapVE6K053f47p/3Q/WmtuH7H98K35KjKY0RduisSqu6BCrOJ DdcYDYQHXop7BrU7MYxPBk3Xjiv0MJrd7kSQ48RHPcZD+iJZJANTb0vEyEmpTaGzOVji +5vA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-transfer-encoding; bh=gTSDIzPteOi9U/aryYrB8aIIEFVl57zfY+HsGd98h3A=; b=srNb8cPMyN6VRLRrDwg9qRuZBWxHpePa7IBSuaDOzkJ0giTf3GQ33sl6mQBxsbRiFj YFo/Nqe05yMcEh01rtyAIWxv8vgz0tmleMfRM65WrngxarHl7gqkBbBmN5l4A/Xj0grd BBKUP98KDfz9obGJKYXxQAPOGBujcgtZOmNDerxSx6wRjKi8eOW6jWI0scjrTS0ZDsQz UKpxisImf7k2egJw1EJRAsGLsai4yuz3lRmg7VYSdJ0xtfMg6vN6xHGlgJc8wnziDf6A uqSdKXHjcLnFiNQcylFliThYHkpTqKkZYYmQuZTaHOTA/9hR02mPxEPQtDf9cVf3o7cp fk0Q== X-Gm-Message-State: AKaTC01aYgQnoi9lKUPDnXFRhK2rhmvxrHlJDSai3zL4GalbKOOv96Suwp+g6fWJSjT+YW7qXd0a1VmG8zhyCQ== X-Received: by 10.176.82.48 with SMTP id i45mr75193124uaa.126.1481758765801; Wed, 14 Dec 2016 15:39:25 -0800 (PST) MIME-Version: 1.0 Sender: mureninc@gmail.com Received: by 10.159.36.16 with HTTP; Wed, 14 Dec 2016 15:39:24 -0800 (PST) In-Reply-To: <20161214142048.Horde.JOZn2cO5FyhzaoCSGj30FT1@webmail.leidinger.net> References: <200A5D70-24CE-4843-B99D-E10A2AF4F68F@FreeBSD.org> <20161213052759.GP61036@server.rulingia.com> <20161214142048.Horde.JOZn2cO5FyhzaoCSGj30FT1@webmail.leidinger.net> From: "Constantine A. Murenin" Date: Wed, 14 Dec 2016 17:39:24 -0600 X-Google-Sender-Auth: ZTj7DCwOy3nHONUh7vx-mf4z3tI Message-ID: Subject: Re: Sysctl as a Service, or: making sysctl(3) more friendly for monitoring systems To: Alexander Leidinger , "M. Warner Losh" Cc: Adrian Chadd , FreeBSD Hackers , Ed Schouten , "Constantine A. Murenin" , Andriy Gapon Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Dec 2016 23:39:27 -0000 On 14 December 2016 at 07:20, Alexander Leidinger wrote: > Quoting Adrian Chadd (from Mon, 12 Dec 2016 > 23:32:00 -0800): > >> On 12 December 2016 at 22:03, Warner Losh wrote: >>> >>> On Mon, Dec 12, 2016 at 10:49 PM, Adrian Chadd >>> wrote: >>>> >>>> If only we had a mechanism for these kinds of sensors to register, so >>>> the API they'd be using would be one that lead itself to edge/level >>>> triggered comparisons, versus polling. >>>> >>>> Wait, didn't we /have/ one of those up for review a few years ago, and >>>> it wasn't merged in? >>> >>> >>> Didn't we have people willing to work with the folks that put this up >>> when to address the defects in the review? Oh, wait, they never wanted >>> to work to fix the problems, even with many offers of help to do so. Most of the discussion was heavily politicised. It was a long time ago; however, I do not recall anyone making any concrete offers of what exactly had to be fixed. I think it would only be fair to say that someone didn't want "to work to fix the problems" if by that you mean that after so much backlash/politics, someone wasn't motivated enough to start an entirely new project, entirely from scratch, on their own spare time, even though an existing one did the job already. In fact, this wasn't just my own conclusion, many others have arrived at the same conclusion as well. That is not to say that the framework is without issues, however. I've documented my view on the subject within my MMath CS thesis, you can jump directly to Section 8, "Port to FreeBSD / DragonFly BSD": http://uwspace.uwaterloo.ca/handle/10012/5234 http://uwspace.uwaterloo.ca/bitstream/handle/10012/5234/UW.MMath.CS.mur= enin.cnst-sensors.2010-05-21.pages09.pdf >>> >>> My offer still stands, btw. As it's been almost ten years, perhaps you are thinking of another, more recent discussion instead: http://lists.freebsd.org/pipermail/freebsd-acpi/2010-April/006452.html Your comments and guidance in that thread was very specific, helpful and valued, got immediately addressed to everyone's mutual satisfaction, and the results were successfully committed without any controversy, 6 years and counting =E2=80=94 the *BSD aibs(4) driver in question is still present in FreeBSD, as well as all the other BSDs, too: http://mdoc.su/f/aibs.4 http://mdoc.su/f110,n70,d,o60/aibs.4 If there are any concrete dealbreaker issues that could likewise be addressed w/r/t the sensors framework, I'd be happy to hear them. >> >> >> Heh, this wasn't a troll? :) I should've been clearer! >> >> Does anyone remember where the ye olde framework was? > > > Original: > - Google Summer of Code 2007. > - I don't find the repo in svnweb right now > (https://svnweb.freebsd.org/socsvn/). Where do we have the things from > before 2011? We've had p4 back in the day; everything is still there, even p4web is still up, summary and the links are at: http://wiki.freebsd.org/GSoC2007/cnst-sensors Easiest way to bring back the code would probably be to simply pick up the 3 commits from CVS src HEAD / SVN base/head: http://svnweb.freebsd.org/base?view=3Drevision&revision=3D172631 http://svnweb.freebsd.org/base?view=3Drevision&revision=3D172632 http://svnweb.freebsd.org/base?view=3Drevision&revision=3D172633 History and background are available in my thesis: http://cnst.su/MMathCS http://uwspace.uwaterloo.ca/handle/10012/5234 > > There was at least in the past someone keeping it at least up-to-date, bu= t I > don't remember right now who/where. IIRC, there were a number of people that tried maintaining it henceforth, both publicly and privately, and the only issue you'd have applying r172631 to -CURRENT would probably be a few simple merge conflicts (Makefile etc), very simple to resolve. There was a public thread from 2012 by avg@: http://lists.freebsd.org/pipermail/freebsd-arch/2012-October/013180.htm= l > > If someone is interested in the mail-thread of the past... available on > request. Actually, I think an mbox file is already publicly available from here: http://www.leidinger.net/blog/2009/12/06/freenas-sensors-for-freebsd :-) Cheers, Constantine.SU. http://Constantine.SU/ > > Bye, > Alexander. > -- > http://www.Leidinger.net Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF > http://www.FreeBSD.org netchild@FreeBSD.org : PGP 0x8F31830F9F2772BF