From owner-freebsd-performance@FreeBSD.ORG Sun Aug 14 11:30:33 2005 Return-Path: X-Original-To: freebsd-performance@freebsd.org Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B26FC16A41F for ; Sun, 14 Aug 2005 11:30:33 +0000 (GMT) (envelope-from nivo+sender+a818f9@yuckfou.org) Received: from ssdd.xs4all.nl (ssdd.xs4all.nl [195.64.89.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E12143D46 for ; Sun, 14 Aug 2005 11:30:33 +0000 (GMT) (envelope-from nivo+sender+a818f9@yuckfou.org) Received: from localhost (localhost [127.0.0.1]) by imhotep.yuckfou.org (Postfix) with ESMTP id 4B3289FA for ; Sun, 14 Aug 2005 13:30:46 +0200 (CEST) Received: from ssdd.xs4all.nl ([127.0.0.1]) by localhost (imhotep.yuckfou.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 17335-07 for ; Sun, 14 Aug 2005 13:30:45 +0200 (CEST) Received: by imhotep.yuckfou.org (Postfix, from userid 1000) id F0F44451; Sun, 14 Aug 2005 13:30:44 +0200 (CEST) Received: from [192.168.2.239] (turbata-xp.gondel.local [192.168.2.239]) by localhost.yuckfou.org (tmda-ofmipd) with ESMTP; Sun, 14 Aug 2005 13:30:39 +0200 (CEST) Message-ID: <42FF2B50.80601@yuckfou.org> Date: Sun, 14 Aug 2005 13:30:24 +0200 User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-performance@freebsd.org X-Enigmail-Version: 0.92.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit From: Nils Vogels X-Delivery-Agent: TMDA/1.0.3 (Seattle Slew) X-TMDA-Fingerprint: LXcNOiNpSnIUr0cB7m+0h/Ij3OI X-Virus-Scanned: amavisd-new at yuckfou.org X-Spam-Status: No, hits=-5.899 tagged_above=-999 required=6.31 tests=[ALL_TRUSTED=-3.3, BAYES_00=-2.599] X-Spam-Level: Subject: 5.4-REL-p6 bridging causes performance problems X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Nils Vogels List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Aug 2005 11:30:33 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi! I'm hoping this is the right list for my problem, if not, please redirect me ;) I am installing a Soekris net4801 with 3 NICs and a wireless card, using 5.4-REL-p6 and a custom kernel config. My kernel config can be found at http://www.is-root.com/node/62, my dmesg can be found at http://www.is-root.com/node/72 Basically, what I am aiming for with the kernel config is to create a smaller kernel, not supporting hardware the net4801 doesn't have (and will never have) After all is done, and my kernel boots, I am enabling the wireless interface via ifconfig ath0 up ssid my_sid mode 11g mediaopt hostap wepmode mixed wepkey 0xdeadbeef and enabling bridging using kldload bridge sysctl net.link.ether.bridge.enable=1 sysctl net.link.ether.bridge.config="ath0 sis0" sysctl net.inet.ip.check_interface=0 Packets are being forwarded, all is good. When I turn off my regular access point, forcing traffic to go through my net4801, my performance drops. An ftp-session from the LAN that sis0 is connected to tops at 30kilobytes per second, while when I disable the bridge and return to my normal access point, I get speeds in the range of 2.5Megabytes per second. I've searched the net, but am unable to find any clear hints as to where my problem might be, does any of you have an idea ? Greetings, Nils - -- Simple guidelines to happiness: Work like you don't need the money, love like your heart has never been broken and dance like no one can see you. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (MingW32) Comment: GnuPT 2.6.2.1 by EQUIPMENTE.DE Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFC/ytOMzNX/a06Wq0RArPWAJ47ZjMXb53yIbkspVTQdfOXeT9yHwCeNbwv A/D4Kh6wBYkcZjv/D40BWTY= =wmWX -----END PGP SIGNATURE-----