Routing performance (Buffalo WZR-HP-G301NH)

Mori Hiroki yamori813 at yahoo.co.jp
Fri Jun 15 07:05:04 UTC 2018


Hi

I remember WZR-HP-AG301H. This target arge hints was very worry.

In Zrouter boards/Buffalo/WZR-HP-G301NH/board.hints

#hint.arge.0.media=1000 
hint.arge.0.media=100 
hint.arge.0.fduplex=1 
hint.arge.0.phymask=0x0

# This is RTL8366RB revision setting
hint.arge.0.miimode=3   # RGMII
hint.arge.1.miimode=3   # RGMII
hint.arge.0.pll_1000=0x1f000000
hint.arge.1.pll_1000=0x100

hint.arge.1.phymask=0x10
hint.arge.1.mdio=mdioproxy0                                                    
hint.arge.1.eeprommac=0xbfff120c

hint.rtl8366rb.0.phy4cpu=1

This setting is work only 100baseTX.

ifconfig and etherswich command say arge is 100baseTX.

pll_1000 value get from dd-wrt. 


Hiroki Mori


----- Original Message -----
> From: Mori Hiroki <yamori813 at yahoo.co.jp>
> To: Adrian Chadd <adrian.chadd at gmail.com>; "josef.lar at gmail.com" <josef.lar at gmail.com>
> Cc: "freebsd-mips at freebsd.org" <freebsd-mips at freebsd.org>
> Date: 2018/6/15, Fri 09:09
> Subject: Re: Routing performance (Buffalo WZR-HP-G301NH)
> 
> Hi
> 
> I add iperf3 profile to ZRouter and check network performance.
> 
> This is result.
> 
> WZR-HP-G300NH
> 
> AR9132
> 
> 
> [  4]   0.00-10.04  sec   118 MBytes  98.2 Mbits/sec    0             sender
> [  4]   0.00-10.04  sec   118 MBytes  98.2 Mbits/sec                  receiver
> 
> WZR-HP-AG300H
> 
> AR7161
> 
> 
> [  4]   0.00-10.03  sec   222 MBytes   186 Mbits/sec    0             sender
> [  4]   0.00-10.03  sec   222 MBytes   186 Mbits/sec                  receiver
> 
> I seem AR9132 is slower than AR7161
> 
> Also you can tcp tuning on sysctl.
> 
> Hiroki Mori
> 
> 
> ----- Original Message -----
>>  From: Adrian Chadd <adrian.chadd at gmail.com>
>>  To: josef.lar at gmail.com
>>  Cc: "freebsd-mips at freebsd.org. Robert Pera" 
> <mips at freebsd.org>
>>  Date: 2018/6/12, Tue 06:39
>>  Subject: Re: Routing performance (Buffalo WZR-HP-G301NH)
>> 
>>  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 at 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
>>> 
>>> 
>>  _______________________________________________
>>  freebsd-mips at freebsd.org mailing list
>>  https://lists.freebsd.org/mailman/listinfo/freebsd-mips
>>  To unsubscribe, send any mail to 
>>  "freebsd-mips-unsubscribe at freebsd.org"
>> 
> _______________________________________________
> freebsd-mips at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-mips
> To unsubscribe, send any mail to 
> "freebsd-mips-unsubscribe at freebsd.org"
> 


More information about the freebsd-mips mailing list