From owner-freebsd-stable@FreeBSD.ORG Wed Jun 9 22:18:27 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 E2916106567C for ; Wed, 9 Jun 2010 22:18:26 +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 6CFAA8FC12 for ; Wed, 9 Jun 2010 22:18:26 +0000 (UTC) Received: by iwn7 with SMTP id 7so3012300iwn.13 for ; Wed, 09 Jun 2010 15:18:25 -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:content-type; bh=vlvXXtEY2PtYcF/4GHHqnuIejZ/usyMS2je7T7OnHhw=; b=IEYqZVZ2IO9sXbx5jil4IgiAiO1faZujgghicj+/kGyCQrGp5zTCd37zU3xfGIdVeY 2owt4FMUhUJY5BFyThkMCDzhd2janjWQW+4UCOig2bPVLa/MNkh+JNigNtPRx0RSz9ZW e+HkBvD7T4NlkyYDS4TacWJcQZuqU8ACQpu8M= 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 :content-type; b=X5HyipRW6o9d3cnE2L7jBx3AVvgb7wtDOoy1cz15BzucWHIvuLYtSughedu93bZzrz +Ko/F+EzTongY6dePH63mqTb10cCTXdKKyqlZ9CrbTd0P3CAzA9E1f4+RVtcyFenD7sb 50b+F1rYzPI+Il6OOzuMg9UiSJHTlaUHZLvXs= MIME-Version: 1.0 Received: by 10.231.124.40 with SMTP id s40mr8748244ibr.172.1276121903409; Wed, 09 Jun 2010 15:18:23 -0700 (PDT) Received: by 10.231.190.131 with HTTP; Wed, 9 Jun 2010 15:18:23 -0700 (PDT) In-Reply-To: References: <20100606031627.GA4742@icarus.home.lan> Date: Wed, 9 Jun 2010 18:18:23 -0400 Message-ID: From: Nick Rogers To: FreeBSD STABLE Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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: Wed, 09 Jun 2010 22:18:27 -0000 On Sun, Jun 6, 2010 at 4:23 PM, Nick Rogers wrote: > > > 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. > > FYI there is a bugfix/patch for this issue being discussed in freebsd-hackers: http://www.mail-archive.com/freebsd-hackers@freebsd.org/msg157097.html Thanks again for suggesting I try another list.