Date: Fri, 4 May 2018 18:26:46 +0900 From: Josef Larsson <josef.lar@gmail.com> To: mips@freebsd.org Subject: Routing performance (Buffalo WZR-HP-G301NH) Message-ID: <69b4cfd1-1664-ebbf-5734-7be38a70e938@gmail.com>
next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --z3GL2fKPqAIE6rLHluqeIG5aeTkvCLqIR Content-Type: multipart/mixed; boundary="AgURqJgTsVAjDZfo69oAgTUCOIuXR56Rk"; protected-headers="v1" From: Josef Larsson <josef.lar@gmail.com> To: mips@freebsd.org Message-ID: <69b4cfd1-1664-ebbf-5734-7be38a70e938@gmail.com> Subject: Routing performance (Buffalo WZR-HP-G301NH) --AgURqJgTsVAjDZfo69oAgTUCOIuXR56Rk Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Language: en-US 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 --AgURqJgTsVAjDZfo69oAgTUCOIuXR56Rk-- --z3GL2fKPqAIE6rLHluqeIG5aeTkvCLqIR Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEXOZ5DdYY2uMl8/NHxUD9C+gJpGAFAlrsJ1YACgkQxUD9C+gJ pGDSZA//VmPvWS9AfmOU063VP+KYthYoCyoYbLSbKxcPZUwy6/QOKa0K24wIU+T1 EvFdZZEyoMTt5Vv/Vt9GThp/Hm2ZBAQoPiluKY055WCo0A81qKODC6ZXODGp+fdY xdd/Lj+Tuv6YuBgDkEc7UmrRNBOYyhcF3khbC6JKFrgzXjbPekFOQtbyGCanaPTe 8KpISXpnYpSVnTZ5TjUmOQDhKt7ex0Mu4B/vDAvrZIhek3wUz7lW7Qp0VhtpidHn l4M7iWlikm+/uwKr3mL+m9EuwhesDU9pt7CITDc1f5cA0Jw5i9OowtGYzuyRf62z PIW0n86lCGJfXIxDxrSeows+9DzY7QWLVDtGM90F2GtIQ7pM3RWUBD5m7b1a7yHh iHsCSzT+hLMceQvb1SG/e/f/sHWoZZkMcTA22iIBwykDn7l/CX73IZYF4KSbq5Vq cp+3fKetggAlC3xeV9+a52flra0c+gw5/AgfUnz6SyOZ9k8U2i8kk4cml4fBzB+p Js1nYetLy06651mA4ran7LBkgKbexDI5h9+Y9XBiRlYQ6Uz0neg/7iVmztU4xaJ5 Qb7DEAxnS5Fqx7MNb9tC+86ua/ETxuemZMpOmXLoU0gAbo/Sqav3h82npGnktVKX fRCKvxklJS9Yr0zHtcEl9ThCly18Msm+i+mo3xiW0OlFQc8hvro= =ZqzT -----END PGP SIGNATURE----- --z3GL2fKPqAIE6rLHluqeIG5aeTkvCLqIR--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69b4cfd1-1664-ebbf-5734-7be38a70e938>