From owner-svn-src-all@FreeBSD.ORG Thu Mar 6 18:56:24 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6C54171D; Thu, 6 Mar 2014 18:56:24 +0000 (UTC) Received: from cell.glebius.int.ru (glebius.int.ru [81.19.69.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7481BC23; Thu, 6 Mar 2014 18:56:23 +0000 (UTC) Received: from cell.glebius.int.ru (localhost [127.0.0.1]) by cell.glebius.int.ru (8.14.8/8.14.8) with ESMTP id s26IuLXk078461 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 6 Mar 2014 22:56:21 +0400 (MSK) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.glebius.int.ru (8.14.8/8.14.8/Submit) id s26IuLlF078460; Thu, 6 Mar 2014 22:56:21 +0400 (MSK) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.glebius.int.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Thu, 6 Mar 2014 22:56:21 +0400 From: Gleb Smirnoff To: Alexander Motin Subject: Re: svn commit: r262860 - in head: . etc usr.sbin/rpcbind Message-ID: <20140306185621.GM68791@FreeBSD.org> References: <201403061733.s26HXSsF013188@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201403061733.s26HXSsF013188@svn.freebsd.org> User-Agent: Mutt/1.5.22 (2013-10-16) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Mar 2014 18:56:24 -0000 On Thu, Mar 06, 2014 at 05:33:28PM +0000, Alexander Motin wrote: A> Author: mav A> Date: Thu Mar 6 17:33:27 2014 A> New Revision: 262860 A> URL: http://svnweb.freebsd.org/changeset/base/262860 A> A> Log: A> Disable libwrap (TCP wrappers) support in rpcbind by default, introducing A> new command line options -W, to enable it when needed. A> A> On my tests this change by almost ten times improves rpcbind performance. A good extension to libwrap would be to make it cache contents of /etc/hosts.allow and observe its changes via EVFILT_VNODE kevent(2) filter. And actually reread the file only when its contents change. Of course this implies that application using libwrap is kevent(2)-driven. Sounds like a GSoC project, btw. -- Totus tuus, Glebius.