Date: Mon, 11 Jun 2018 14:39:07 -0700 From: Adrian Chadd <adrian.chadd@gmail.com> To: josef.lar@gmail.com Cc: "freebsd-mips@freebsd.org. Robert Pera" <mips@freebsd.org> Subject: Re: Routing performance (Buffalo WZR-HP-G301NH) Message-ID: <CAJ-Vmo=BMTVVcyTpY8NqcsuLKdGtXnQSbfduWqgejdveNtbukw@mail.gmail.com> In-Reply-To: <69b4cfd1-1664-ebbf-5734-7be38a70e938@gmail.com> References: <69b4cfd1-1664-ebbf-5734-7be38a70e938@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi! Ok, so! * the seiral console hurts a lot. Don't print stuff on the console whilst testing. * I've done a writeup on this when I dug into it a couple years ago. https://adrianchadd.blogspot.com/ -adrian On Fri, 4 May 2018 at 02:22, Josef Larsson <josef.lar@gmail.com> wrote: > > Hi, > > I would like to use the Buffalo WZR-HP-G301NH as a router with pf. I use > a custom built ZRouter image for this. This works in practice, but I am > not happy with the performance (I basically can't download faster than > 80 mbit/s). > > I have a couple of concerns: > > 1. According to ps aux, there is an interrupt load at about 9 - 10 % > during idle conditions. Is this reasonable? It seems high to me. > 2. When I am running "pmcstat -TS instructions -w1", there seems to be a > lot of action going on in uart_ar71xx_probe. Is this reasonable? There > are some unknown functions, and I am suspect that the function names are > not resolved correctly. Also, apb_attach is invoked a lot according > pmcstat. While the sampling percentage for this function is less than 2 > %, I still find it odd that an attach function is invoked at idle... > 3. When downloading a large file, the system becomes pretty much > unresponsive. When a "ps aux" call actually goes through, one can see > that the CPU is busy with ~100 % interrupt handling. This is what I > would like to profile with pmcstat, but the arge functions do not show > up as functions with high load, which is not really what I expect at > this point, since the interrupt definitely has to do with the LAN load. > Any suggestions on how to profile the arge driver? > > Best regards, > > Josef Larsson > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-Vmo=BMTVVcyTpY8NqcsuLKdGtXnQSbfduWqgejdveNtbukw>