From owner-freebsd-mips@FreeBSD.ORG Thu May 29 02:47:49 2014 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id ABDAC2F5 for ; Thu, 29 May 2014 02:47:49 +0000 (UTC) Received: from mail-qg0-x230.google.com (mail-qg0-x230.google.com [IPv6:2607:f8b0:400d:c04::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 707C82FD0 for ; Thu, 29 May 2014 02:47:49 +0000 (UTC) Received: by mail-qg0-f48.google.com with SMTP id i50so20778080qgf.35 for ; Wed, 28 May 2014 19:47:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=dpz8Z2h2q1MNcovCHMP+ttl+AQ/gMOeR5kGX6e0PRcQ=; b=EzWrrPdIPsVzqaJGA5tFADK94xXMf0rW4IRU292Yk9L2gugEprzzL+rpFYXLhEym41 skwjqZtCz/nABjpTZ2FjfWZ9kCEbUGpfp8T0eUXYRN4A+BFe3jGSE2tQJNYOYnAWckto m3wujdcFGPoK5H3nb3mD2b0rXVNhSRqHL2OONPsVbqTatFG0MW65kUb794YMdIHhxXOE DMEeO0FBOP1jsSaXAunHh1HcwVGeZTebIhgfsYNRI52q/RgfUN78waz0rWATS1k9bCjV Gap6FYkU1cpk8NScZ7DMSSSmwNfA530YR62tD+Z6uzZsvKryxqEZjQLZK2AreoZV5Sel tYvw== MIME-Version: 1.0 X-Received: by 10.224.16.199 with SMTP id p7mr5659777qaa.76.1401331668546; Wed, 28 May 2014 19:47:48 -0700 (PDT) Received: by 10.140.43.245 with HTTP; Wed, 28 May 2014 19:47:48 -0700 (PDT) Date: Wed, 28 May 2014 23:47:48 -0300 Message-ID: Subject: Are there any hardcoded limits on octeon ethernet module? From: Cesar Fazan To: freebsd-mips@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.18 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 May 2014 02:47:49 -0000 Hi, While testing the network performance of FreeBSD 10 running on EdgeRouter Lite I noticed that kernel{octe taskq_0/1} can't use more than 50% of the cpu. Are there any hardcoded limiting this? PID USERNAME PRI NICE SIZE RES STATE C TIME CPU COMMAND 10 root 155 ki31 0K 32K RUN 0 21:03 56.98% idle{idle: cpu0} 10 root 155 ki31 0K 32K CPU1 1 20:39 51.95% idle{idle: cpu1} 0 root -92 0 0K 144K - 1 4:29 48.00% kernel{octe taskq_1} 0 root -92 0 0K 144K - 0 4:10 43.99% kernel{octe taskq_0} Also, are there any other hardcoded var that can possible increase its performance? I can't get past 80kpps, and if you load ipfw with a single rule that will drop by half while still using 50% of the cpus For reference with the official EdgeRouter linux I can get: 190Kpps with hardware offload module disabled 740Kpps with it enabled, which is my test lab limit