From owner-freebsd-net@FreeBSD.ORG Mon Jun 16 21:00:32 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 504491065676 for ; Mon, 16 Jun 2008 21:00:32 +0000 (UTC) (envelope-from paul@gtcomm.net) Received: from atlas.gtcomm.net (atlas.gtcomm.net [67.215.15.242]) by mx1.freebsd.org (Postfix) with ESMTP id 27B848FC13 for ; Mon, 16 Jun 2008 21:00:32 +0000 (UTC) (envelope-from paul@gtcomm.net) Received: from c-76-108-179-28.hsd1.fl.comcast.net ([76.108.179.28] helo=[192.168.1.6]) by atlas.gtcomm.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1K8LmH-0000x2-Hm; Mon, 16 Jun 2008 16:58:13 -0400 Message-ID: <4856D4E1.6070909@gtcomm.net> Date: Mon, 16 Jun 2008 17:02:25 -0400 From: Paul User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: "Bruce M. Simpson" References: <4852E23E.2040505@gtcomm.net> <4854EBF1.7020708@FreeBSD.org> In-Reply-To: <4854EBF1.7020708@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Net Subject: Re: Route messages 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: Mon, 16 Jun 2008 21:00:32 -0000 Yes but I DO have a default route.. I tried putting one in, removing it, putting it back, rebooting.. The problem is ZEBRA listens to the socket and uses 10-15% cpu because of these messages.. It doesn't happen on -RELEASE though so hmmmm.. I guess I could hack it to skip over the reporting of the message.. probably be good in the future, but something is wrong because I've added a default and removed it also so maybe something with the -STABLE code that changed something in the routing area.. Bruce M. Simpson wrote: > Paul wrote: >> Get these with GRE tunnel on >> FreeBSD 7.0-STABLE FreeBSD 7.0-STABLE #5: Sun May 11 19:00:57 EDT >> 2008 :/usr/obj/usr/src/sys/ROUTER amd64 >> But do not get them with 7.0-RELEASE >> >> Any ideas what changed? :) Wish there was some sort of changelog.. >> # of messages per second seems consistent with packets per second on >> GRE interface.. >> No impact in routing, but definitely impact in cpu usage for all >> processes monitoring the route messages. > > RTM_MISS is actually fairly common when you don't have a default route. > > Messages which get enqueued don't necessarily get delivered -- and > very few processes actually listen to the routing socket actively like > this, so I wouldn't worry about it. > > If it's a real concern for you then you could try hacking in a sysctl > to tell the radix trie code not to issue RTM_MISS messages on the > routing socket. > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >