From owner-freebsd-mips@FreeBSD.ORG Sat May 14 06:33:49 2011 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D728B106566B for ; Sat, 14 May 2011 06:33:49 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 96FCC8FC08 for ; Sat, 14 May 2011 06:33:49 +0000 (UTC) Received: by ywf7 with SMTP id 7so1371731ywf.13 for ; Fri, 13 May 2011 23:33:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:date:x-google-sender-auth :message-id:subject:from:to:content-type; bh=IckOaneBo29shCLNrKOV8E2JHSDGVLL3czeI2HXL7DQ=; b=FPc0ze1QA6RnwpA5Icdo+QHLTBwTI2HhZOF3ZMaKajOxAUpAP7VBd3m6weZKht8nH/ 3V/sAGcAqzH9qph24fu+S95TYFxkv9huxsVuSIClsegXYZ/AmNwqhCLafSpWUXJCM/EA o5PbGBAyNnpqiXEx7SSF1xqpQHEIj+K27LaX4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; b=RBJjvoklagfImNyOFDe9rBNRxj7q9iix/xRED5r/lOC3RIJTvQSMG+CqCaThG6pJRW DG8SbyPh4w3Fhqq+SecfixxziYtjdu6kGfXGIw2EwpW+1FGbVV6XPVM15Plmr7Jyg5hR S8Y10G88Z6svAfcgmFybOZoQBcPm9iDA/X4AA= MIME-Version: 1.0 Received: by 10.150.14.13 with SMTP id 13mr2096577ybn.438.1305354828813; Fri, 13 May 2011 23:33:48 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.150.201.4 with HTTP; Fri, 13 May 2011 23:33:48 -0700 (PDT) Date: Sat, 14 May 2011 14:33:48 +0800 X-Google-Sender-Auth: w5E5AlPppdrzenQkVQAs_Seqayw Message-ID: From: Adrian Chadd To: freebsd-mips@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: request - bump if_arge TX/RX ring buffer to 1024 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 May 2011 06:33:49 -0000 Hi all, I'd like to bump the if_arge ring buffer sizes from 128 to 1024. I've been trying to source/squish 11n throughput issues on the routerstation pro board and I was finding that under high UDP 11n RX load (which meant high if_arge TX load) packets would start being dropped after around 100-125mbit. Bumping the ring buffer up to 512 helped but it started dropping packets at around 180mbit. With 1024, I can sustain 200mbit UDP throughput before the 11n MAC falls over and needs to be reset. (Just for a rough estimate - 200mbit of iperf UDP here is about 18,000 pps.) Are there any issues with this? I can make it a compile time option if that would help. Thanks, Adrian