From owner-freebsd-net@FreeBSD.ORG Fri Feb 11 10:47:03 2005 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 915FE16A4CE for ; Fri, 11 Feb 2005 10:47:03 +0000 (GMT) Received: from relay.bestcom.ru (relay.bestcom.ru [217.72.144.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id CA78843D31 for ; Fri, 11 Feb 2005 10:47:02 +0000 (GMT) (envelope-from glebius@freebsd.org) Received: from cell.sick.ru (root@cell.sick.ru [217.72.144.68]) by relay.bestcom.ru (8.13.1/8.12.9) with ESMTP id j1BAl0dB014263 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Fri, 11 Feb 2005 13:47:01 +0300 (MSK) (envelope-from glebius@freebsd.org) Received: from cell.sick.ru (glebius@localhost [127.0.0.1]) by cell.sick.ru (8.12.11/8.12.8) with ESMTP id j1BAkxXm031412 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 11 Feb 2005 13:47:00 +0300 (MSK) (envelope-from glebius@freebsd.org) Received: (from glebius@localhost) by cell.sick.ru (8.12.11/8.12.11/Submit) id j1BAksFJ031411; Fri, 11 Feb 2005 13:46:54 +0300 (MSK) (envelope-from glebius@freebsd.org) X-Authentication-Warning: cell.sick.ru: glebius set sender to glebius@freebsd.org using -f Date: Fri, 11 Feb 2005 13:46:54 +0300 From: Gleb Smirnoff To: Guy Helmer Message-ID: <20050211104654.GC31252@cell.sick.ru> Mail-Followup-To: Gleb Smirnoff , Guy Helmer , freebsd-net@freebsd.org References: <4203AAE3.4090906@palisadesys.com> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <4203AAE3.4090906@palisadesys.com> User-Agent: Mutt/1.5.6i X-Virus-Scanned: ClamAV version devel-20050125, clamav-milter version 0.80ff on relay.bestcom.ru X-Virus-Status: Clean cc: freebsd-net@freebsd.org Subject: Re: Netgraph performance question X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Feb 2005 10:47:03 -0000 On Fri, Feb 04, 2005 at 11:03:31AM -0600, Guy Helmer wrote: G> I'm wondering if bumping the recvspace should help, if changing the G> ngsocket hook to queue incoming data should help, if it would be best to G> replace ngsocket with a memory-mapped interface, or if anyone has any G> other ideas that would help performance. You can try to use ng_device as gate between netgraph and userland. May be, it would be better than ng_socket. But it may be not. -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE