From owner-freebsd-embedded@FreeBSD.ORG Mon Jun 11 12:09:49 2012 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BDDB7106566C for ; Mon, 11 Jun 2012 12:09:49 +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 8EB348FC15 for ; Mon, 11 Jun 2012 12:09:49 +0000 (UTC) Received: by dadv36 with SMTP id v36so5550522dad.13 for ; Mon, 11 Jun 2012 05:09:49 -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=X85/doqXh7Rp078G7Y6BdlyyFlbqkVrfe+93nSh7ExM=; b=fx6j3FuB8Pma6V0LQ3Bh7yfXrzbM2ADTUDd5FuJ3z71b2IRZf/KM1vVEC9f+Sl9/5h vAF9C/URnmRrF2vGhp6UqD7HpjmpT/eCO8h4zserr97a/l69p2k+UVRvlL3h3oQmQYhy vqjA1UCC16O2kbjtoS/in3gH2ADhNfaF14rJywAVHPvZqH4M7US3/1qkalbpQSRMXWiI MrKnBQpVeV/tcHwS/DMHc4LT1bTLCxmMfoNvLKk9CFupTjMYK/Avw+lyKapWx8d0Sqov pn2FuihvupxsTRQEvxUFfdV1wBxm2c/0YdE8BC6LKmgaP32vha0ezvWLDrDDAdropE6A JmXA== MIME-Version: 1.0 Received: by 10.68.234.35 with SMTP id ub3mr26294690pbc.8.1339416544180; Mon, 11 Jun 2012 05:09:04 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.143.91.18 with HTTP; Mon, 11 Jun 2012 05:09:04 -0700 (PDT) In-Reply-To: <1339012052.2872.21.camel@manbearpig.dynamic.weites.net> References: <1338844627.7561.25.camel@manbearpig.dynamic.weites.net> <1339012052.2872.21.camel@manbearpig.dynamic.weites.net> Date: Mon, 11 Jun 2012 05:09:04 -0700 X-Google-Sender-Auth: 3p8CaaNT8GWp-ubLYMqodwH40W8 Message-ID: From: Adrian Chadd To: Harm Weites Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-embedded@freebsd.org Subject: Re: Current status of TL-WR1043ND X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jun 2012 12:09:49 -0000 On 6 June 2012 12:47, Harm Weites wrote: > Adrian, > > thanks for the additional information. Looking through the scripts > (again) I've now added some other tools to the image. > Are the ath* tools needed for wifi to 'just work', or are they installed > for debug purposes? Since leaving them out frees some valuable Kbytes to > store bsnmpd :) The ath* tools are for debugging, yes. But believe me when I say they're invaluable. :) It would be better to look at how to slim down the image by adding options to the generated 'make.conf' - eg by stripping out kerberos/pam from the build. i haven't really put a lot of effort into that just yet. I bet the userland can be quite significantly slimmed. > Could you explain a bit about the issues that you are still seeing > (regarding aggregate traffic)? Right now I'm just debugging out of order frames and discarded frames by the receiver. I think I've jus fixed that. Now I just need to implement some better buffer management so higher priority traffic (eg management) has a higher chance of having buffers available. If all buffers are exhausted when a BAR TX needs to occur, the TX will just fail and all traffic stops for a while. This is not a good behaviour. :) > Furthermore, the OpenWrt wiki mentions roughly 250Mbit throughput for > routed traffic and you mention 50Mbit on your blog (although you still > have debug options enabled). Did you/someone else do a test without > debug options (and where do I disable debug options in your scripts)? You can just disable INVARIANTS/WITNESS in the kernel. But I've not seen 250MBit over the TL-1043ND Wifi, sorry. Adrian