From owner-freebsd-stable@FreeBSD.ORG Sun Jun 6 20:23:29 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EA9881065675 for ; Sun, 6 Jun 2010 20:23:29 +0000 (UTC) (envelope-from ncrogers@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id A0DDB8FC1D for ; Sun, 6 Jun 2010 20:23:29 +0000 (UTC) Received: by iwn5 with SMTP id 5so3369302iwn.13 for ; Sun, 06 Jun 2010 13:23:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=qqvomEQuN8dd6bY7B+3ZL517OVHcKsYIR/B5HCcxT3s=; b=O77BUh5MyjllrSYBLECe1v/lHZWHYrCuGiucGsADzYxUVudYk18t0OTAzLKjF0gxp7 Ch6C/yqVC4ky3K4itSfqWTbd4YYNBR44R5461CTpsL994kFg9kj6B9+18Q+lvmPgoBAj qHBbBNSstV2O174rnSWb2Mt4odgX3pWzHAzmQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=g2ePRjsJTC8/w1omvxgrWhRf0ox128SDFdCzkI0LXTyCx7GRrA9dbPQARPn3RdeiyY kMP81qEVNTZb04gI4LwU0wq2nxAPDjY1UUIg/6//+jrrxt/0qkvCXo7w07grvAoQxiXR vf+prF4+6cSfNn6zmW7FNkIz+AIjnqjjc9k1c= MIME-Version: 1.0 Received: by 10.231.190.132 with SMTP id di4mr5304146ibb.41.1275855808735; Sun, 06 Jun 2010 13:23:28 -0700 (PDT) Received: by 10.231.190.131 with HTTP; Sun, 6 Jun 2010 13:23:28 -0700 (PDT) In-Reply-To: References: <20100606031627.GA4742@icarus.home.lan> Date: Sun, 6 Jun 2010 16:23:28 -0400 Message-ID: From: Nick Rogers To: Garrett Cooper Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD STABLE , Jeremy Chadwick Subject: Re: arp -na performance w/ many permanent entries X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Jun 2010 20:23:30 -0000 On Sat, Jun 5, 2010 at 11:54 PM, Garrett Cooper wrote: > > > I agree with Jeremy. I think that the problem that you've > discovered is the fact that it's using stdio-based buffered output > instead of buffering more of the contents in a string and punting it > out in larger chunks. > HTH, > -Garrett > I don't think so. The performance difference when taking out the interface lookup is huge even though the data output to STDOUT is mostly the same. I'll try the other lists, thanks.