From owner-freebsd-net Fri Mar 7 2:11:12 2003 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 1D8D637B401 for ; Fri, 7 Mar 2003 02:11:10 -0800 (PST) Received: from pipenetworks.com (cartman.pipenetworks.com [202.4.251.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id BA99D43FB1 for ; Fri, 7 Mar 2003 02:11:08 -0800 (PST) (envelope-from steve@pipenetworks.com) Received: (from root@localhost) by pipenetworks.com (8.11.6/8.11.2) id h27A2nE19654; Fri, 7 Mar 2003 20:02:49 +1000 From: Steve Baxter Received: from internal.pipenetworks.com (internal.pipenetworks.com [10.10.10.1]) by pipenetworks.com (8.11.6/8.11.2) with ESMTP id h27A2nV19621; Fri, 7 Mar 2003 20:02:49 +1000 Received: from internal (internal [10.10.10.1]) by internal.pipenetworks.com (8.11.6/8.11.2) with ESMTP id h27ANaR29087; Fri, 7 Mar 2003 20:23:37 +1000 Date: Fri, 7 Mar 2003 20:23:36 +1000 (EST) To: freebsd-net@freebsd.org Cc: Chris Foote Subject: is there a better way to bridge ethernet over IP (some performance stats included) Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-scanner: nil by mouth Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello, Currently I am using FreeBSD 4.7STABLE on a Sokris net4521. The SOEKRIS has an equivilent 486-133 chip in it so it is not especially speedy. I am using vtund and netgraph to bridge over IP in the following configuration : LAN The bridging works well, it will bridge 10Mb/sec one direction | which is a series of wgets of a large gzipped file. |tap +----------+ I thought it was suffering some or all of : | SOEKRIS | +----------+ o packets over 1500 bytes need to get fragmented adding to CPU | load |IP o vtund is a user space app | o netgraph *may* also be user space +----------+ o tap device processing overhead maybe | SOEKRIS | +----------+ I have reduced the MTU in order to make the MTU issue go away, |tap as a result little or no fragments were sent but this had no | effect on the CPU untilisation of the SOEKRIS box. | This also had no positive effect on the throughput :-( LAN I went from netgraph to sysctl bridging and this had little of no effect as well. I am looking for a way to bridge ether over IP that does not require a user process to do it, maybe an all netgraph method of of encapsulating ethernet frames into udp and then striping them out at the other end ? I have looked at the netgraph examples and am essentially using the ethernet example for my netgraph bridging, it is just that I am using vtund to do the encapsulation of packets. Does any body have any ideas on how to directly encapsulate ethernet frames onto udp without vtund or similar user process ? Cheers, SB -- Stephen Baxter Director - PIPE Networks phone : 07 3220 1100/ 0417 818 695 fax : 07 3220 1800 ______________________________________ PIPE Networks/IX Services Australia disclaimer The above email should be read in conjunction with our standard disclaimer/terms which can be found at : http://www.pipenetworks.com/docs/disclaimer.htm To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message