From owner-freebsd-hackers@FreeBSD.ORG Thu Mar 12 16:24:09 2015 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DC648CCB for ; Thu, 12 Mar 2015 16:24:09 +0000 (UTC) Received: from barracuda.ixsystems.com (mail.ixsystems.com [69.198.165.135]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.ixsystems.com", Issuer "Go Daddy Secure Certification Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id B699B211 for ; Thu, 12 Mar 2015 16:24:09 +0000 (UTC) X-ASG-Debug-ID: 1426177447-08ca04364f1df6f0002-P5m3U7 Received: from [172.20.10.2] (74.sub-70-211-65.myvzw.com [70.211.65.74]) by barracuda.ixsystems.com with ESMTP id ievEGQzXATfdUdlr (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 12 Mar 2015 09:24:08 -0700 (PDT) X-Barracuda-Envelope-From: jkh@mail.turbofuzz.com X-Barracuda-AUTH-User: jkh@ixsystems.com X-Barracuda-Apparent-Source-IP: 70.211.65.74 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2087\)) Subject: Re: file system change notifications From: Jordan Hubbard X-ASG-Orig-Subj: Re: file system change notifications In-Reply-To: <5786089D-414D-485C-B675-35B5A62C5950@gmail.com> Date: Thu, 12 Mar 2015 09:24:06 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <85EE0305-5D79-4C66-A6F4-05219655DAD5@mail.turbofuzz.com> References: <237A50A5-FAB7-4FC1-B8F1-0E40DCBF6137@dons.net.au> <5786089D-414D-485C-B675-35B5A62C5950@gmail.com> To: Guy Helmer X-Mailer: Apple Mail (2.2087) X-Barracuda-Connect: 74.sub-70-211-65.myvzw.com[70.211.65.74] X-Barracuda-Start-Time: 1426177448 X-Barracuda-Encrypted: ECDHE-RSA-AES256-SHA X-Barracuda-URL: https://10.2.0.41:443/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at ixsystems.com X-Barracuda-BRTS-Status: 1 X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=8.0 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.16568 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Cc: FreeBSD Hackers , "O'Connor, Daniel" X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Mar 2015 16:24:09 -0000 > On Mar 12, 2015, at 6:37 AM, Guy Helmer wrote: >=20 > How are Darwin (OS X) fsevents implemented? It=E2=80=99s a been a = handy interface for some of my work. They have their own tap from the kernel and their own daemon (fseventsd) = to handle coalescing and a publish/subscribe model that will feed = multiple consumers without duplicating or losing events (I haven=E2=80=99t= looked deeply into the implementation, but presumably all the cache = management is there as well so that memory consumption can be kept = manageable. Maybe someone should keep a list of =E2=80=9COS X features we would = really like in FreeBSD=E2=80=9D (add purgeable memory and memory = pressure bands to that list while you=E2=80=99re at it) and parcel them = out as GSoC projects. :-) - Jordan