Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 May 2008 21:33:33 +0300
From:      Oleksandr Samoylyk <oleksandr@samoylyk.sumy.ua>
To:        net@freebsd.org
Cc:        Julian Elischer <julian@elischer.org>
Subject:   Re: Problems with netgraph
Message-ID:  <4820A47D.8010404@samoylyk.sumy.ua>
In-Reply-To: <48209BC4.5080602@elischer.org>
References:  <48207C8B.4020509@samoylyk.sumy.ua> <48209BC4.5080602@elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Julian Elischer wrote:
> 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
> 
> unfortunatly I've been totally  ignoring this thread because it said
> "trouble with em" in the topic..
> If you'd said
> trouble with mpd  then maybe I'd have looked earlier..
> 
>>
>> 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.
> 
> how many?

more than 2500

>> 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.
> 
> netgraph just had some work done on it for this exact reason,
> but you may be jumping the gun a bit..
> 
>>
> 


-- 
  Oleksandr Samoylyk
  OVS-RIPE



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4820A47D.8010404>