Date: Wed, 14 Dec 2016 17:39:24 -0600 From: "Constantine A. Murenin" <cnst++@freebsd.org> To: Alexander Leidinger <Alexander@leidinger.net>, "M. Warner Losh" <imp@bsdimp.com> Cc: Adrian Chadd <adrian.chadd@gmail.com>, FreeBSD Hackers <freebsd-hackers@freebsd.org>, Ed Schouten <ed@nuxi.nl>, "Constantine A. Murenin" <cnst++@freebsd.org>, Andriy Gapon <avg@freebsd.org> Subject: Re: Sysctl as a Service, or: making sysctl(3) more friendly for monitoring systems Message-ID: <CAPKkNb7=De_QVpDk_-VPGhwre3jU6w2V5n%2BED9%2BiUec=ooX4Qg@mail.gmail.com> In-Reply-To: <20161214142048.Horde.JOZn2cO5FyhzaoCSGj30FT1@webmail.leidinger.net> References: <CABh_MKk87hJTsu1ETX8Ffq9E8gqRPELeSEKzf1jKk_wwUROgAw@mail.gmail.com> <eea0aa41-2bbc-0ddc-d951-f495c5ba2341@freebsd.org> <200A5D70-24CE-4843-B99D-E10A2AF4F68F@FreeBSD.org> <CABh_MKkAoTj4wA9oTz-fK0rokgMfuiUWpLt6t=qRXy6vvCh7rg@mail.gmail.com> <CANCZdfrjsLdMoZ9Eg19-mEbyxUefJxUmeq=cT_bagrJqzWnUOg@mail.gmail.com> <20161213052759.GP61036@server.rulingia.com> <B9B40604-B8E6-42A8-B5CB-41EDAE025911@bsdimp.com> <CANCZdfp2x9m8tD_aR2q_UVB_KoPwZEnUTsKMkDRcLm_ODsD-8A@mail.gmail.com> <CAJ-Vmok=MWQras00Dt1OP_j6RVrMsgyf4R8yQAoPAnb8tYRBLA@mail.gmail.com> <CANCZdfqf6nQk_bk4-Mdn5B1DYtZxoXL5em=UNDs=NzRdbwWHvQ@mail.gmail.com> <CAJ-Vmo==5H4qaDm11y=H8AR%2B1PU01vAVUg3dfsJhtS3f7g2gEg@mail.gmail.com> <20161214142048.Horde.JOZn2cO5FyhzaoCSGj30FT1@webmail.leidinger.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 14 December 2016 at 07:20, Alexander Leidinger <Alexander@leidinger.net> wrote: > Quoting Adrian Chadd <adrian.chadd@gmail.com> (from Mon, 12 Dec 2016 > 23:32:00 -0800): > >> On 12 December 2016 at 22:03, Warner Losh <imp@bsdimp.com> wrote: >>> >>> On Mon, Dec 12, 2016 at 10:49 PM, Adrian Chadd <adrian.chadd@gmail.com> >>> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPKkNb7=De_QVpDk_-VPGhwre3jU6w2V5n%2BED9%2BiUec=ooX4Qg>