From owner-freebsd-questions@FreeBSD.ORG Mon Oct 25 07:42:45 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1DDCD106566B for ; Mon, 25 Oct 2010 07:42:45 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from ch-smtp03.sth.basefarm.net (ch-smtp03.sth.basefarm.net [80.76.149.214]) by mx1.freebsd.org (Postfix) with ESMTP id C70518FC12 for ; Mon, 25 Oct 2010 07:42:44 +0000 (UTC) Received: from c83-255-61-120.bredband.comhem.se ([83.255.61.120]:64315 helo=falcon.midgard.homeip.net) by ch-smtp03.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1PAHhV-00064R-A1 for freebsd-questions@freebsd.org; Mon, 25 Oct 2010 09:42:38 +0200 Received: (qmail 46701 invoked from network); 25 Oct 2010 09:42:34 +0200 Received: from owl.midgard.homeip.net (10.1.5.7) by falcon.midgard.homeip.net with ESMTP; 25 Oct 2010 09:42:34 +0200 Received: (qmail 71375 invoked by uid 1001); 25 Oct 2010 09:42:34 +0200 Date: Mon, 25 Oct 2010 09:42:34 +0200 From: Erik Trulsson To: "Igor V. Ruzanov" Message-ID: <20101025074234.GA71353@owl.midgard.homeip.net> References: <201010250446.o9P4kcid004004@mail.r-bonomi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-Originating-IP: 83.255.61.120 X-Scan-Result: No virus found in message 1PAHhV-00064R-A1. X-Scan-Signature: ch-smtp03.sth.basefarm.net 1PAHhV-00064R-A1 c10684e9f64b73f62f3fa756d0dd101b Cc: Kenton Varda , freebsd-questions@freebsd.org, Robert Bonomi Subject: Re: EVFILT_VNODE doesn't scale to large directory trees? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Oct 2010 07:42:45 -0000 On Mon, Oct 25, 2010 at 10:48:58AM +0400, Igor V. Ruzanov wrote: > On Sun, 24 Oct 2010, Kenton Varda wrote: > > |That doesn't answer my question. I'm not even using make. I could write a > |few thousand words describing exactly what I'm trying to do and why it does, > |in fact, make sense, but it's really beside the point. I just want to know > |if there is any scalable way to monitor a very large directory tree for > |changes. Is there? > | > Dig `kqueue' - its the native FreeBSD's events polling/notification > mechanism. Since the OP mentioned using EVFILT_VNODE I would assume he is already using kqueue but is not satisfied with it. -- Erik Trulsson ertr1013@student.uu.se