From owner-freebsd-net@FreeBSD.ORG Thu Aug 30 19:01:13 2012 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 175D8106564A; Thu, 30 Aug 2012 19:01:13 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id D54968FC12; Thu, 30 Aug 2012 19:01:12 +0000 (UTC) Received: by dadr6 with SMTP id r6so1400048dad.13 for ; Thu, 30 Aug 2012 12:01:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=IpEyXqw1BJkRIVqr6LQKsNcW1xNCDwvJQ3L20Wd9dXg=; b=qH8mY45pspvTZofTB49Q3xHFMKDYYvIQR6oOod0DFUT+RTjCpvKMWTthLfKH8FFSu0 q+Br4T6BM+2WAvlyenmHr/SGqnnUyvlkS9OP4scvjkyrm/gK0KGWdwFQAQ/fBPkebP/G 2Dt1d/fZVwwxUENpEAUWRk8i6b4cQTyicytrZr0aKtzMksvB572JCnGYglZ2ll/EZ3FX 8lbIbwdU21j6CaazzFzyfEtoGXkRXus54vuT4Ji3w52WCrx7H52nKzlzpEb7CaYpemrq ty6hSkA1dDqqtKcZjCDqOAM4Qy8OUXmwMc4jOFYd1DO6dQxlwsv63jbuARM4cauqpDru XfVg== MIME-Version: 1.0 Received: by 10.68.227.233 with SMTP id sd9mr12862408pbc.48.1346353272639; Thu, 30 Aug 2012 12:01:12 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.68.36.106 with HTTP; Thu, 30 Aug 2012 12:01:12 -0700 (PDT) In-Reply-To: <534292400.20120830131158@serebryakov.spb.ru> References: <1865271844.20120829131610@serebryakov.spb.ru> <1807373989.20120829223125@serebryakov.spb.ru> <20120830152726.A33776@sola.nimnet.asn.au> <534292400.20120830131158@serebryakov.spb.ru> Date: Thu, 30 Aug 2012 12:01:12 -0700 X-Google-Sender-Auth: 6L83-ftMvfJ4XXmZ7MSdpnYGzmk Message-ID: From: Adrian Chadd To: lev@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-net@freebsd.org, Ian Smith Subject: Re: Bad routing performance on 500Mhz Geode LX with CURRENT, ipfw and mpd5 (was: ipfw, "ip|all" proto and PPPoE -- does PPPoE packets passed to ipfw?) 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: Thu, 30 Aug 2012 19:01:13 -0000 On 30 August 2012 02:11, Lev Serebryakov wrote: > Yes, it is only 500Mhz Geode LX, but it is only 40 mbit/s and > 4.5Kpps in both directions, nothing like full 100Mbit or more, and > I've learned "empirical" rule/heuristics about 1Gbit(!) per 1Ghz(!) > for softrouters, So, theoretically, 40mbit should not be a problem at > all for this hardware. It honestly shouldn't be that bad, but without dumping a bunch of effort into profiling (even if it's just sampled profiling via gprof) I won't know whether that's "good" or not. > And now I have not-working WiFi (this box is also AP) when wired > traffic is high (wifi speed drops down to 100KB/s from 2.5-3MB/s > without wired traffic), userland freezes under load (very bad with > ULE, better with 4BSD), and inability to pass through 40Mbit in both > directions simultaneously. Hm. What about disabling preemption and see if that helps? I still haven't fully debugged/diagnosed why preemption acts weirdly on my mips24k boards (which is why all the mips24k Atheros SoC's have 4BSD + no PREEMPT.) Adrian