0
egg

Espressonbin 2.5Gbps, anyone?

Recommended Posts

The Espresobin wiki says

 

2 x Gigabit Ethernet 1Gbps / 2.5Gbps
SGMII / HS-SGMII / RGMII

 

Does that mean we actually have 2.5Gbps Nic x2?

 

I also find this link

 

But it's saying 

Quote

..and I think i'm officially convinced that the max bandwidth between topaz switch and cpu is in fact 1gigabit... The connection is using a seperate RGMII lane. (eth0)

 

 

And there is even an official wiki talking about 2.5Gbps. Anyone has any luck on 2.5Gbps mode?

Share this post


Link to post
Share on other sites

The information you linked indicating there is 2.5Gbps mode is always only for the chip (Armada 3700) used on the espressobin. This Marvell chip does have the 2.5Gbps interface. That is also the reason it is explained on Marvell github.

 

The espressobin itself has all 3 ethernet ports wired through one switch with only RGMII going in. As can be seen here: http://wiki.espressobin.net/tiki-index.php?page=Block+diagram

As only one RGMII is feeding all 3 ports I dont think 2.5Gbps will be possible on any of them.

Share this post


Link to post
Share on other sites
(edited)

Yeah, I noticed it's kind of lame the single RGMII is bottlenecking the forwarding performance. I am using openwrt 19.07 and benchmarking the nat forwarding performance, it turns out for 1Gbps from wan to lan0, the eth0 has 1Gbps traffic on both RX and TX. So the 3 Nics are sharing single a 1Gbps on eth0, which is kind of slow for some use cases.

 

PRC | sys    4.15s | user   0.02s |              |              | #proc     63 | #trun      2 | #tslpi    34 | #tslpu     0 | #zombie    0 | clones     0 |              |              | no  procacct |
CPU | sys       2% | user      0% | irq     149% |              | idle     49% | wait      0% | steal     0% | guest     0% |              | ipc notavail | cycl unknown | avgf  724MHz | avgscal  90% |
cpu | sys       1% | user      0% | irq      76% |              | idle     23% | cpu000 w  0% | steal     0% | guest     0% |              | ipc notavail | cycl unknown | avgf  724MHz | avgscal  90% |
cpu | sys       0% | user      0% | irq      74% |              | idle     26% | cpu001 w  0% | steal     0% | guest     0% |              | ipc notavail | cycl unknown | avgf  724MHz | avgscal  90% |
CPL | avg1    0.50 |              | avg5    0.48 | avg15   0.39 |              |              | csw    32526 |              | intr  513384 |              |              | numcpu     2 |              |
MEM | tot   999.0M | free  944.9M | cache  11.3M | dirty   0.0M | buff    1.1M | slab   21.8M | slrec  12.4M | shmem   1.4M | shrss   0.0M | shswp   0.0M | vmbal   0.0M | hptot   0.0M | hpuse   0.0M |
SWP | tot     0.0M | free    0.0M |              |              |              |              |              |              |              |              | vmcom  11.9M |              | vmlim 499.5M |
NET | eth0     85% | pcki  880470 | pcko  880566 | sp 1000 Mbps | si  852 Mbps | so  853 Mbps |              | coll       0 | mlti       0 | erri       0 | erro       0 | drpi       0 | drpo       0 |
NET | lan0     81% | pcki  166027 | pcko  709256 | sp 1000 Mbps | si   29 Mbps | so  813 Mbps |              | coll       0 | mlti       0 | erri       0 | erro       0 | drpi       0 | drpo       0 |
NET | wan      80% | pcki  712159 | pcko  168320 | sp 1000 Mbps | si  808 Mbps | so   31 Mbps |              | coll       0 | mlti       0 | erri       0 | erro       0 | drpi       0 | drpo       0 |
NET | lan1      0% | pcki    2284 | pcko    2722 | sp 1000 Mbps | si  127 Kbps | so 2318 Kbps |              | coll       0 | mlti       0 | erri       0 | erro       0 | drpi       1 | drpo       0 |

 

Edited by egg

Share this post


Link to post
Share on other sites

Yep the Espressobin is not optimal for routing / switching. 

 

If you need multiple eth's maybe look at the PCEngines boards (APU2) which have up to 4 dedicated Gbit ports. https://pcengines.ch/apu4d4.htm

Or check the Clearfogpro / base. These atleast have a seperate SFP port, which can be used as copper/fiber with up to 2.5Gbit/s and additional LANs. 

Share this post


Link to post
Share on other sites

>> Yep the Espressobin is not optimal for routing / switching. 

 

mixed feelings here - espressobin includes topaz... which is really the limit...

 

MV3720 is fast enough - across BR-LAN on a specific design, it's fast enough.

Share this post


Link to post
Share on other sites
(edited)

I might switch to rpi4(1Gbps + usb 3.0 ethernet adapter) or NanoPi R2S(1Gbp x2 RK3328) or NanoPi NEO3 (1Gbps x1 + Usb3.0 RK3328), or just hEX once I get bored of SBC DIY stuff.

Both APUx or Clearfogpro are way above my budget.

Edited by egg

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
0