From owner-freebsd-net@FreeBSD.ORG Sun Dec 3 03:09:06 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4EDA616A403 for ; Sun, 3 Dec 2006 03:09:06 +0000 (UTC) (envelope-from ask@develooper.com) Received: from x8.develooper.com (x8.develooper.com [216.52.237.208]) by mx1.FreeBSD.org (Postfix) with ESMTP id 10DF943CA2 for ; Sun, 3 Dec 2006 03:08:42 +0000 (GMT) (envelope-from ask@develooper.com) Received: (qmail 4720 invoked from network); 3 Dec 2006 03:09:05 -0000 Received: from dsl081-039-130.lax1.dsl.speakeasy.net (HELO ?10.50.0.20?) (ask@cleverpeople.org@64.81.39.130) by smtp.develooper.com with (AES128-SHA encrypted) SMTP; 3 Dec 2006 03:09:05 -0000 Mime-Version: 1.0 (Apple Message framework v752.3) Content-Transfer-Encoding: 7bit Message-Id: <0B1CC4E4-DEBA-4E72-9ADD-FBFA4F1B7EC8@develooper.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: freebsd-net@freebsd.org From: =?ISO-8859-1?Q?Ask_Bj=F8rn_Hansen?= Date: Sat, 2 Dec 2006 19:09:03 -0800 X-Mailer: Apple Mail (2.752.3) Subject: poor fastforwarding and polling performance 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: Sun, 03 Dec 2006 03:09:06 -0000 Hi, I'm playing with the settings for some PC Engines WRAP cards[1] (sis interfaces) that acts as mini routers on relatively slow networks. I am testing with iperf from two Linux boxes (that are plugged directly into an interface each on the FreeBSD box). The IP addresses used for the routing are managed by CARP, does that make a difference? Without polling or fastforwarding I get ~25-40Mbit throughput (~25Mbit with pf, ~40Mbit with pf disabled). (During this the box is completely unresponsive on the console). With fastforwarding I get ~7-15Mbit (!) With polling (ifconfig sis0 polling; ifconfig sis1 polling) I get about 1.5-2Mbit (pf doesn't make a difference). If I enable both fastforwarding and polling I seem to get slightly better results, but still Not Good. The only upside is that with polling enabled the box stays responsive, but it not much help. :-) Any ideas? - ask [1] http://www.pcengines.ch/wrap.htm -- http://develooper.com/ - http://askask.com/