From owner-freebsd-mips@freebsd.org Sat Oct 31 12:53:53 2015 Return-Path: Delivered-To: freebsd-mips@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2252AA214C1 for ; Sat, 31 Oct 2015 12:53:53 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-io0-x229.google.com (mail-io0-x229.google.com [IPv6:2607:f8b0:4001:c06::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D869D1CF2 for ; Sat, 31 Oct 2015 12:53:52 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by ioll68 with SMTP id l68so105941735iol.3 for ; Sat, 31 Oct 2015 05:53:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=KISndXJWSR2tGB9Wm+o4bUZdF/5NGSAF8JoHFQyjqd0=; b=B4agXwEPLoWgCXtTqXYK/BEhPNaOk7/JQywg8SyW7pGJw9A1wLzq9hLTIpvas4ixbU 5YiUAc6OvFclNXnk7rmVZutptjyD1rPmOhG+m0DwgBYFvwoIo/QpXMiSDzyCNewX4BiR qYFK+Hlf/BlxgoEW/nedzxtVK8yYeBQ6e3aRiHZSXLKuKMWJX55N2UYZ4n1IK63DkqE5 PeDgBDvh1PAiWoGxEQMvCS8SEftne1I50QFPdKd8g87MDW0NcWksFURQRBVHJvQVkjsQ Lk8ItcsISMQhijAq0sik17eeRoWVyQlWyaIyrda6gthaddsjAIwsuRtRbSQJ+VK+iHbS wzaw== MIME-Version: 1.0 X-Received: by 10.107.46.142 with SMTP id u14mr14382565iou.165.1446296032212; Sat, 31 Oct 2015 05:53:52 -0700 (PDT) Received: by 10.36.46.66 with HTTP; Sat, 31 Oct 2015 05:53:52 -0700 (PDT) In-Reply-To: <56347090.6030301@grosbein.net> References: <562CBEC3.8030308@rdtc.ru> <5630E844.2080807@grosbein.net> <56321ED9.4050602@grosbein.net> <56323496.609@grosbein.net> <56325769.8070202@grosbein.net> <56328C54.1050709@grosbein.net> <56328DB1.9010105@grosbein.net> <5633C18C.2030006@grosbein.net> <56347090.6030301@grosbein.net> Date: Sat, 31 Oct 2015 08:53:52 -0400 Message-ID: Subject: Re: SOLVED: interrup storm (Re: arge1 on TL WDR3600) From: Adrian Chadd To: Eugene Grosbein Cc: "freebsd-mips@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Oct 2015 12:53:53 -0000 On 31 October 2015 at 03:41, Eugene Grosbein wrote: > On 31.10.2015 07:11, Adrian Chadd wrote: >> Hi, >> >> can you svn update and retry? >> >> The latest changes I made to the mips74k support has routing up to >> 330mbit and bridging up to 720mbit for me; up from 120mbit when I >> started. I also hit your issue a couple of times before I fixed some >> things and now it doesn't occur. >> >> Would you mind giving it a whirl and reporting back? You'll have to do >> a clean kernel build as I went and changed some mips .h stuff. > > I've updated source tree to r290224 and no additional patches, > did clean rebuild and repeated my test 3 times. No interrupt storms now, > it works just fine. Average routing speed is slightly above 16MBytes/s > and peak speed is 22,714 MB/s according to systat -ifstat. > > Thank you very much! > > I will take some PMC tests as next step. Yay! I'm so glad that I both figured out how to make this a heck of a lot faster and fix your bugs at the same time. Going from 120mbit to 720mbit in straight bridging tests is pretty amazing. I'll go see what I can find out about the forwarding performance. Hopefully there are some more low hanging fruit that I can address to increase performance a bit. -adrian