From owner-freebsd-isp Sat Jul 26 22:41:44 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id WAA18422 for isp-outgoing; Sat, 26 Jul 1997 22:41:44 -0700 (PDT) Received: from scanner.worldgate.com (scanner.worldgate.com [198.161.84.3]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id WAA18416 for ; Sat, 26 Jul 1997 22:41:42 -0700 (PDT) Received: from znep.com (uucp@localhost) by scanner.worldgate.com (8.8.5/8.8.5) with UUCP id XAA13603 for freebsd-isp@FreeBSD.ORG; Sat, 26 Jul 1997 23:41:41 -0600 (MDT) Received: from localhost (marcs@localhost) by alive.znep.com (8.7.5/8.7.3) with SMTP id XAA23408 for ; Sat, 26 Jul 1997 23:42:21 -0600 (MDT) Date: Sat, 26 Jul 1997 23:42:21 -0600 (MDT) From: Marc Slemko To: freebsd-isp@FreeBSD.ORG Subject: Re: analog and Apache? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Sat, 26 Jul 1997, Marc Slemko wrote: > If you have a program that can handle multiple pending queries at once > (not nice to do with current resolvers), you could speed things up a good > bit more. Hmm, perhaps I should try that. Fork a bunch of child > processes and have a parent process send names to be resolved to them. My first few hacks have got the time, starting with a restarted named to clear the cache, for a 10000 lookup logfile down to 20 seconds on a P120 with a decent connection to the net. Using just the logresolve program that is distributed with Apache, that same file took 370 seconds before any changes. At that point it was being CPU limited. I'll probably make a nicer implementation of this sometime and add it to the logresolve program distributed with Apache.