Guias

Raspberry Pi CM4 does 2.5 Gigabit Ethernet!








The CM4 goes beyond 1 Gigabit with WiFi 6. But can it do 2.5 Gbps Ethernet?

I’ll explore that question using the Rosewill RC20001 PCIe card, and test how fast it can go on my new baby 10 Gbps home network!

Support me on Patreon:
Sponsor me on GitHub:

Products I used (affiliate links):

– Rosewill RC-20001 PCIe 2.5 Gbps Network Adapter:
– MikroTik 1+4-port SFP+ 10 Gbps switch:
– MikroTik S+RJ10 RJ-45 Transciever:
– OWC Thunderbolt 3 10G Ethernet Adapter:

Mentioned in this episode:

– Blog post for this video:
– Raspberry Pi PCIe Database:
– Raspberry Pi Internal Ethernet MTU 9000 blog post:
– AvE’s BOLTR video describing magic smoke:
– WiFi 6 on the Raspberry Pi CM4:

#RaspberryPi #ComputeModule4

Contents:

00:00 – Bumps in the Road
01:23 – Testing the Hardware
02:22 – Getting a driver
03:18 – It works!
03:47 – Benchmarking defaults
04:38 – Benchmarking with 9000 MTU
06:01 – Benchmarking with overclock
07:03 – Bidirectional and UDP tests
08:05 – Final Thoughts and Bloopers

Link do Vídeo






37 Comentários

  1. Came back to this for “gotchas” as I had an idea. CM4 “steam links”. Basically the CM4 on a carrier board that gives it up to 2.5Gb/s running steam OS3.0 (steam deck os) maybe a NVMe SSD or an m.2 SATA. While it would have steam os it wouldn’t be playing games directly by streaming them.

    Haven’t play with steam os 3.0 much yet as it’s not official, but if you can have different user logins and that login streamed the game from that player’s library.

    Idk. I think I am on to something, but maybe not

  2. Hi. Amazing content.
    Here is an interesting experiment:
    Have pi have 2 x 1gig ethernet ports, configured to be LACP, and pass through the combined traffic via 3rd 2.5G ethernet dongle.
    Use Case – to make a 2.5G adapter for NASes, that have 2 x 1G etherner and LACP support, but no support for multi Gig dongles via USB, such as PR4100

  3. 2.5gb switches r still way too expensive and its been a year since u made the vid, if i wanna buy a pcie card on ebay from my own country its 111$ and china i can get 4 cards for 100$ then wait 2 months to get here with all this bullshit going on. Anyway i scored a 16 sata expansion card PCIe 1x slot for 45$ which is a bargain so I cant wait to test that out when it gets here and eventually get a raspi to test it on.

  4. I'd be curious to see a multigig usb ethernet device throughput on a pi4. I'm curious if they would be supported on the pi.

  5. It would be nice to plug cm4 in and it auto run at 1gb or 2GB. If there is hardware out there for cm4, they should automatically have downloads to update OS as an auto – switch for their adapter. If Raspbian / Raspberry foundation wants value in compatibility of different vendor adapters they gotta communicate well as Microsoft seems to with hardware adapter vendors.
    I know the foundation is working wide open. However YOU ALONE keep coming up with ideas / videos on new things for PI4 /cm4.
    I sit up to 2a-3A a lot of times going back over your videos in enthusiastic wonderment!

    I want to do them all!

  6. If you often need to recompile the kernel, instead of cross compiling, what about compiling on your cluster ? That would be a very nice usecase : building a cluster of pi so that pi related dev gets faster ^^

  7. I'm not sure why you bother with cross compiling kernel with BCM2711. I mean, I did attempt compile the whole android-rpi with 8GB pi 4.

    While task failed successfully (curse google closed source binaries), native kernel compile performance is decent. I haven't time it against my Ryzen 3 1200 (4c/4t) but compiling android-rpi kernel (forked from rpi) pretty decent. Thought I had to wait around 2 hors but it finished earlier. My machine uses external HDD over USB3 so I can compile everything fyi

  8. All of those network cards after the raids, are you trying to make a compact NAS ? Like for a backup NAS ?

  9. There's a company called 10gtek based in california that makes and sells spf transceivers for a really good price. They also oem code the transceivers to a lot of popular brands. I bought an sfp fiber for my mikrotik hap ac and one for my netgear gc110 switch and they work as expected. They're on ebay and amazon. Both transceivers cost $18 total. I believe rj45 transceivers are slightly more expensive but still less than half from whatever brand you're buying from.

  10. Did you do a retest of the initial setup but with switch os? Might've been routeros just playing tricks on you. Sometimes those irq percentages don't really show bottlenecks.

  11. Re: Enabling Jumbo frames – not only the devices you want to use Jumbo frames on need to be configured to it, but all devices in the Ethernet Segment, ie all devices in the same IP Subnet need to have the same MTU or you get into 'network randomly breaks' territory.

  12. May sound stupid, but I don't know so here it goes. Why not install all the drivers when compiling linux? Would that make it easier in the long run?

  13. Wondering how PCIe compares to the flurry of USB 3.0 to 2.5G Ethernet adapters that have come out 2020 for £30-£40 and potentially can be used on Raspberry Pi 4(00)?

  14. Is it really necessary to build the whole kernel? I noticed that you enabled the driver as a module [M] so you'd only have to build that and copy to /lib/modules and stuff.

    But maybe I don't know what I'm talking about…

  15. Great video!
    Do you happen to have a video on how to build a distributed mysql cluster on multi node kubernetes using raspberry pi?
    There are so much things to consider and I am quite lost!
    Thanks in advance!

  16. Hello Jeff, great video! You have became my favorite rpi chanel 🙂
    About your compiles, can't you just compile the driver as modules and modprobe those to your pi? do you have to recompile the whole kernel each time? (it has been a long time since i compiled a kernel)
    Also are you still using your pi zero + hq camera for shooting, or was it only for the video on the HQ cam?

  17. cwn you belive it happend the same thing to me today but with inte nuc. iv been iperfing all day long, imstall, tweek, bios, bla bla .. ethtool did the job

Comentários estão fechados.