From owner-freebsd-mips@freebsd.org Fri Jun 15 00:12:10 2018 Return-Path: Delivered-To: freebsd-mips@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 90E14101D652 for ; Fri, 15 Jun 2018 00:12:10 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from nh502-vm9.bullet.mail.kks.yahoo.co.jp (nh502-vm9.bullet.mail.kks.yahoo.co.jp [183.79.56.154]) by mx1.freebsd.org (Postfix) with SMTP id A098A6CC60 for ; Fri, 15 Jun 2018 00:12:08 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from [183.79.100.138] by nh502.bullet.mail.kks.yahoo.co.jp with NNFMP; 15 Jun 2018 00:09:08 -0000 Received: from [183.79.100.136] by t501.bullet.mail.kks.yahoo.co.jp with NNFMP; 15 Jun 2018 00:09:08 -0000 Received: from [127.0.0.1] by omp505.mail.kks.yahoo.co.jp with NNFMP; 15 Jun 2018 00:09:08 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 249808.16011.bm@omp505.mail.kks.yahoo.co.jp Received: (qmail 77509 invoked by uid 60001); 15 Jun 2018 00:09:07 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.jp; s=yj20110701; t=1529021347; bh=T3mAbG57Nfu7oKo36s5O06DJBJxVbRwzsoP3a+0TD54=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:X-YMail-JAS:References:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=VBtWZRSsbObL74pCvN8aLFZakQLTnd7vsLfY01KIVMWhg3jcXZwhHpqtOWbYD3YJY67xPAV/b1WU1DhYuPBFvHnJLWBX4R9yzqEvlg6F5+AnmpaK8965LDnIPTX8rubG25A9u8Z7lyXfFUZnRtshHw/oBTFjgxFgFqzQeQW+QiU= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=yj20110701; d=yahoo.co.jp; h=Message-ID:X-YMail-OSG:Received:X-Mailer:X-YMail-JAS:References:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=m5KU9Huji7y9wacLO+qi4+XtZs29iRgKi0ivgGu+yef//CTqz5/FZfW0YkAHnohL+xwmaV+0ktb4leiWHWedkbFTTRuhVrw+eK5s9jEdxsEyDnYtj+x179YggbJWsYuBcXFk44pD/V9WHxPijuvXPk2+DrjKH+g8QGEOrO5N7tU=; Message-ID: <161784.64603.qm@web101702.mail.ssk.yahoo.co.jp> X-YMail-OSG: ___.o4oVM1nzzjqFO2XK1lFSjk90pJx03LgdpF6_R2s2L9gtJFkFkuZEA6_FTCPZDQs5CG0Llloo0FANwwr1W.m5_4U88KDCuj35oUAhxcX65N1179q_4KLVGWuZD_SVgKtwF_CC7IbPIk3aLUAHkdEq.4UTfgSI1sXzmXtNJFQhbp.8MwfjUrTEUQguT9LXpyF112Up2tDZPYVuKWKh7qmMJXZPYMj9fQVvLIbVsG3Bb3rv3flFWaaHQuZf0OmDKcLjM0PR_H4YuenypfE2O7pP2KfhIYPd7CCfdeRad4_p4GlyyMdmLIQ7cvr5oxAQ3nQC59NEk4UKTIIDF0LKRPjlQL4mrAUeGH0rstYlxCoF9_sTgxxf4.sQSS3vLjZTR4XokFIBQS3VSpX.57JVd.YoWUyVUU7M82gcak3P3i3mF.BZCBEcTTeK5PymbqBtzILOQyYOzEv9JYQeHFnVpuMTuaEPerevgE4JKa22wRwXiaPok_lKOsrmfHFF6To3NZc4JHKl2.TEyU8WiAthxhfYfXNPg3YRdmUjTX_cReIXGd4KaY_9fpGBYm4m0vaQrsImLtsIic5dVKmrWCFE6GnyPlUQYMRxf0mRs2cp_WdZdJyDqitdfBdIiFkecAob2w-- Received: from [203.165.91.75] by web101702.mail.ssk.yahoo.co.jp via HTTP; Fri, 15 Jun 2018 09:09:05 JST X-Mailer: YahooMailWebService/0.8.111_74 X-YMail-JAS: 0nNEGEQVM1lWodQp9Ya2uYtGPV5FBdlaKlPxVtYOmMQsEp1_LBpGarPMf2jScD6SqzuF4BQ3kfB0bXBAuFxi6JH5rjNW6RJVzmOUfGHd7y6xODC_mjRpGZ3RNYm1af.dqe_0 References: <69b4cfd1-1664-ebbf-5734-7be38a70e938@gmail.com> Date: Fri, 15 Jun 2018 09:09:05 +0900 (JST) From: Mori Hiroki Reply-To: Mori Hiroki Subject: Re: Routing performance (Buffalo WZR-HP-G301NH) To: Adrian Chadd , "josef.lar@gmail.com" Cc: "freebsd-mips@freebsd.org" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jun 2018 00:12:10 -0000 Hi=0A=0AI add iperf3 profile to ZRouter and check network performance.=0A= =0AThis is result.=0A=0AWZR-HP-G300NH=0A=0AAR9132=0A=0A=0A[=A0 4] =A0 0.00-= 10.04=A0 sec =A0 118 MBytes=A0 98.2 Mbits/sec=A0 =A0 0 =A0 =A0 =A0 =A0 =A0 = =A0 sender=0A[=A0 4] =A0 0.00-10.04=A0 sec =A0 118 MBytes=A0 98.2 Mbits/sec= =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 receiver=0A=0AWZR-HP-AG300H=0A=0AAR7161= =0A=0A=0A[=A0 4] =A0 0.00-10.03=A0 sec =A0 222 MBytes =A0 186 Mbits/sec=A0 = =A0 0 =A0 =A0 =A0 =A0 =A0 =A0 sender=0A[=A0 4] =A0 0.00-10.03=A0 sec =A0 22= 2 MBytes =A0 186 Mbits/sec=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 receiver=0A= =0AI seem=A0AR9132 is slower than=A0AR7161=0A=0AAlso you can tcp tuning on = sysctl.=0A=0AHiroki Mori=0A=0A=0A----- Original Message -----=0A> From: Adr= ian Chadd =0A> To: josef.lar@gmail.com=0A> Cc: "fre= ebsd-mips@freebsd.org. Robert Pera" =0A> Date: 2018/6/12,= Tue 06:39=0A> Subject: Re: Routing performance (Buffalo WZR-HP-G301NH)=0A>= =0A> Hi!=0A> =0A> Ok, so!=0A> =0A> * the seiral console hurts a lot. Don't= print stuff on the console=0A> whilst testing.=0A> * I've done a writeup o= n this when I dug into it a couple years ago.=0A> https://adrianchadd.blogs= pot.com/=0A> =0A> =0A> =0A> -adrian=0A> =0A> On Fri, 4 May 2018 at 02:22, J= osef Larsson wrote:=0A>> =0A>> Hi,=0A>> =0A>> I wou= ld like to use the Buffalo WZR-HP-G301NH as a router with pf. I use=0A>> a= custom built ZRouter image for this. This works in practice, but I am=0A>>= not happy with the performance (I basically can't download faster than=0A= >> 80 mbit/s).=0A>> =0A>> I have a couple of concerns:=0A>> =0A>> 1. Acc= ording to ps aux, there is an interrupt load at about 9 - 10 %=0A>> during= idle conditions. Is this reasonable? It seems high to me.=0A>> 2. When I = am running "pmcstat -TS instructions -w1", there seems =0A> to be a=0A>> l= ot of action going on in uart_ar71xx_probe. Is this reasonable? There=0A>> = are some unknown functions, and I am suspect that the function names are= =0A>> not resolved correctly. Also, apb_attach is invoked a lot according= =0A>> pmcstat. While the sampling percentage for this function is less tha= n 2=0A>> %, I still find it odd that an attach function is invoked at idle= ...=0A>> 3. When downloading a large file, the system becomes pretty much= =0A>> unresponsive. When a "ps aux" call actually goes through, one can = =0A> see=0A>> that the CPU is busy with ~100 % interrupt handling. This is= what I=0A>> would like to profile with pmcstat, but the arge functions do= not show=0A>> up as functions with high load, which is not really what I = expect at=0A>> this point, since the interrupt definitely has to do with t= he LAN load.=0A>> Any suggestions on how to profile the arge driver?=0A>> = =0A>> Best regards,=0A>> =0A>> Josef Larsson=0A>> =0A>> =0A> ____________= ___________________________________=0A> freebsd-mips@freebsd.org mailing li= st=0A> https://lists.freebsd.org/mailman/listinfo/freebsd-mips=0A> To unsub= scribe, send any mail to =0A> "freebsd-mips-unsubscribe@freebsd.org"=0A>