From owner-freebsd-net@FreeBSD.ORG Tue May 6 17:53:25 2008 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 44667106564A for ; Tue, 6 May 2008 17:53:25 +0000 (UTC) (envelope-from oleksandr@samoylyk.sumy.ua) Received: from mail.telesweet.net (news.telesweet.net [194.110.252.16]) by mx1.freebsd.org (Postfix) with ESMTP id ECBB48FC0C for ; Tue, 6 May 2008 17:53:24 +0000 (UTC) (envelope-from oleksandr@samoylyk.sumy.ua) Received: from localhost (localhost [127.0.0.1]) by mail.telesweet.net (Postfix) with ESMTP id 0CEF110083 for ; Tue, 6 May 2008 20:53:20 +0300 (EEST) X-Virus-Scanned: by Telesweet Mail Virus Scanner X-Spam-Flag: NO X-Spam-Score: -1.44 X-Spam-Level: X-Spam-Status: No, score=-1.44 tagged_above=-999 required=5 tests=[ALL_TRUSTED=-1.44] Received: from [10.0.0.109] (pigeon-work.telesweet [10.0.0.109]) by mail.telesweet.net (Postfix) with ESMTP id 8379D1008A for ; Tue, 6 May 2008 20:48:05 +0300 (EEST) Message-ID: <482099CE.5050802@samoylyk.sumy.ua> Date: Tue, 06 May 2008 20:47:58 +0300 From: Oleksandr Samoylyk User-Agent: Thunderbird 2.0.0.12 (X11/20080227) MIME-Version: 1.0 To: net@freebsd.org References: <48207C8B.4020509@samoylyk.sumy.ua> <4820801A.90504@samoylyk.sumy.ua> In-Reply-To: <4820801A.90504@samoylyk.sumy.ua> Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 8bit Cc: Subject: Re: Problems with netgraph X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 May 2008 17:53:25 -0000 Oleksandr Samoylyk пишет: > Oleksandr Samoylyk wrote: >> Dear developers, >> >> Please read this thread: >> http://lists.freebsd.org/pipermail/freebsd-net/2008-May/017891.html >> >> I'm using no encryption and no compression in mpd, so netgraph should >> fly. >> It seems to get bad after 500 sessions... >> >> In FreeBSD 6 - it's swi1: net - 100% CPU >> In FreeBSD 7 - it's em0 taskq - 100% CPU >> >> After playing with it I can make guess that's a netgraph problem. >> >> Maybe it's a poor design in netgraph the way it handle its tables and >> it's is probably not designed to add so many interfaces. >> >> Might be there something in the source code I can edit to improve the >> table lookups or hash table or whatever netgraph use to store and >> process the node information and do the ppp/gre work. >> > > I can also offer a shell access to server in order to investigate the > problem. > # ngctl list ngctl: send msg: No buffer space available However: kern.ipc.maxpipekva="400000000" net.graph.maxalloc="8192" net.graph.maxdgram="256000" net.graph.recvspace="256000" -- Oleksandr Samoylyk OVS-RIPE