Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test DeskPi Super6C CM4 6-node Mini-ITX cluster board #425

Closed
geerlingguy opened this issue Apr 18, 2022 · 82 comments
Closed

Test DeskPi Super6C CM4 6-node Mini-ITX cluster board #425

geerlingguy opened this issue Apr 18, 2022 · 82 comments

Comments

@geerlingguy
Copy link
Owner

I just heard about the CM4 Cluster Mini ITX board on DWMzone:

raspberry-pi-cm4-cluster-mini-itx-board-6-rpi-cm4-supported

raspberry-pi-cm4-cluster-mini-itx-board-6-rpi-cm4-supported-1

It looks like it supports up to 6 CM4 modules, with an M.2 slot and microSD card slot available to each of the boards. It uses a 4-pin ATX CPU power plug, and has two RJ45 Gigabit Ethernet ports connected through an onboard switch. It looks like there is a USB 2.0 hub and two HDMI ports connected through to the first Pi, which is nice for cluster management / debugging purposes.

I just ordered one and will post testing notes here or to a new issue later.

@geerlingguy geerlingguy changed the title Add EVB board CM4 Cluster Mini-ITX board Test EVB board CM4 Cluster Mini-ITX board Apr 19, 2022
@geerlingguy
Copy link
Owner Author

Board is up on the site now: https://pipci.jeffgeerling.com/boards_cm/cm4-cluster-mini-itx.html

Changed the title for this issue so I can test it out soon.

@geerlingguy
Copy link
Owner Author

geerlingguy commented Apr 27, 2022

Guess what just arrived?

DSC07324

I believe @danmanners is getting one today too...

@geerlingguy
Copy link
Owner Author

Some notes from a tour around the board:

DSC07331

  • Ethernet switch is a Realtek RTL8370N.
  • Each Pi seems to have its own 12-pin header with GND/3V3 on one side, and nRPiBOOT, BT_nDisable, WL_nDisable, EEPROM, nWP, 5V, and GPIO18 down the left side.
  • Each Pi also has its own microSD jack for flashing on each slot
  • Each Pi also has a set of four LEDs. I'm guessing power/act, then Ethernet link/act, but not sure yet.
  • There's an 'Always ON' switch that seems to allow the board to always power all the Pis, or not... though I'm not sure. I'll have to see what that switch does exactly.
  • There are built in PWR_BTN and RESET momentary buttons.
  • There is a built-in front panel header, with PWR_LED connections, PWR_BTN, and RESET pins available
  • There are three fan headers—looks like they're PWM (they're all 4 pin)
  • There are two 4-pin POE1/POE2 headers near the Ethernet jacks, so I'm guessing there would be a way to add a PoE header. Not sure.
  • On the back side, there is a space for an M.2 2280 M-key device (e.g. NVMe SSD) and microSD card for each pi (though it doesn't follow a 1-6 order, so make sure you note which slot goes where!)
  • There's a chip labeled "6679GM 946118" on the back near the power input. Not sure what it is for.
  • The USB 2.0 ports are driven through a CoreChips SL2.1A USB 2.0 HUB TT0122A21.
  • Near the power/reset buttons, there's an STC Micro 15W408AS, with a 'Enhanced 8051 Central Processing Unit' inside. I'm guessing this is the MCU that controls power on the board.
  • On the top, near an oscillator and the Ethernet switch chip, there's an IC labeled "ATMCL908 24C08N SU27 D", not sure what it is though.

@danmanners
Copy link
Contributor

danmanners commented Apr 27, 2022

PXL_20220427_203953015

I can confirm that the Chassis-connector power button and LED work as expected, and I've had one node boot up successfully.

Power supply shipped with my unit is a 19V 5.26A, or 100W (99.94w, but whatever) and my one Pi CM4 boots up. I haven't hooked up HDMI or network yet, but that's next on the list.

Can also confirm that the two Noctua Fans connected or operating as expected, albeit at full speed.

The unit powered off (with LEDs on the board on) draws ~2.0 watts according to my Kill-A-Watt, and powered on with a single CM4, Micro SD, and NVMe drive is drawing ~6.3W at peak and is idling at ~4.6W.

I'll be able to update more findings over the next few days.

EDIT: Just a note (not a gripe), the CM4 heatsink I'm using is definitely a little bit annoying to install with the unit. Not an issue, but definitely makes hot-swapping modules effectively impossible if this is installed in a chassis of any kind.

@geerlingguy
Copy link
Owner Author

@danmanners - Hmm... that's the same one I'm using. It looks like the little flat screws that hold the heatsink on can't but up against the risers in each of the four corners :(

D'oh!

@danmanners
Copy link
Contributor

image

Migrated over my MicroSD and NVMe from one of my Waveshare BaseBoard (B) and have TalosOS up and operational, as well as HDMI via capture card.

image

At least according to my Ubnt EdgeSwitch, it doesn't see any additional MAC Addresses or management IPs, so my immediate guess is that Realtek chip is unmanaged.

@tltangliang
Copy link
Contributor

Some notes from a tour around the board:

DSC07331

  • Ethernet switch is a Realtek RTL8370N.
  • Each Pi seems to have its own 12-pin header with GND/3V3 on one side, and nRPiBOOT, BT_nDisable, WL_nDisable, EEPROM, nWP, 5V, and GPIO18 down the left side.
  • Each Pi also has its own microSD jack for flashing on each slot
  • Each Pi also has a set of four LEDs. I'm guessing power/act, then Ethernet link/act, but not sure yet.
  • There's an 'Always ON' switch that seems to allow the board to always power all the Pis, or not... though I'm not sure. I'll have to see what that switch does exactly.
  • There are built in PWR_BTN and RESET momentary buttons.
  • There is a built-in front panel header, with PWR_LED connections, PWR_BTN, and RESET pins available
  • There are three fan headers—looks like they're PWM (they're all 4 pin)
  • There are two 4-pin POE1/POE2 headers near the Ethernet jacks, so I'm guessing there would be a way to add a PoE header. Not sure.
  • On the back side, there is a space for an M.2 2280 M-key device (e.g. NVMe SSD) and microSD card for each pi (though it doesn't follow a 1-6 order, so make sure you note which slot goes where!)
  • There's a chip labeled "6679GM 946118" on the back near the power input. Not sure what it is for.
  • The USB 2.0 ports are driven through a CoreChips SL2.1A USB 2.0 HUB TT0122A21.
  • Near the power/reset buttons, there's an STC Micro 15W408AS, with a 'Enhanced 8051 Central Processing Unit' inside. I'm guessing this is the MCU that controls power on the board.
  • On the top, near an oscillator and the Ethernet switch chip, there's an IC labeled "ATMCL908 24C08N SU27 D", not sure what it is though.

https://wiki.wisdpi.com/raspberry-pi-cm4/rpi-cm4-itx-cluster

@geerlingguy
Copy link
Owner Author

geerlingguy commented Apr 28, 2022

@tltangliang - Oh excellent! Thanks for posting that. Looks like the switch is basically unmanaged, and the two Ethernet ports are just hanging off it in addition to the 6 internal ports then.

That site also answers some other questions I had, like:

  1. The six green LEDs are 'ACT' LEDs for each of the individual Pis.
  2. The pinout of the ATX 12V input
  3. LED mapping for each of the Pis
  4. The 4-pin header by CM Test SATA adapter (I/O Crest 4 port Marvell 9215) #1 is actually ARGB (controlled via GPIO pin 18). That's cool!

As @danmanners, myself, and some others get into testing this board, we may have more questions too. Is there a specific support forum or email we can contact? I know I got an email directly from one of the devs, and I'll share feedback there, but it would also be nice to know a central place so other users could also provide feedback or get guidance.

Edit: Looks like there's a forum but it's still being set up a bit. Is that the best place to direct users?

@danmanners
Copy link
Contributor

I'll second everything @geerlingguy said.

Also going to see if I can control the addressable RGB via Kubernetes somehow, because why not, lol.

@tltangliang
Copy link
Contributor

@tltangliang - Oh excellent! Thanks for posting that. Looks like the switch is basically unmanaged, and the two Ethernet ports are just hanging off it in addition to the 6 internal ports then.

That site also answers some other questions I had, like:

  1. The six green LEDs are 'ACT' LEDs for each of the individual Pis.
  2. The pinout of the ATX 12V input
  3. LED mapping for each of the Pis
  4. The 4-pin header by CM Test SATA adapter (I/O Crest 4 port Marvell 9215) #1 is actually ARGB (controlled via GPIO pin 18). That's cool!

As @danmanners, myself, and some others get into testing this board, we may have more questions too. Is there a specific support forum or email we can contact? I know I got an email directly from one of the devs, and I'll share feedback there, but it would also be nice to know a central place so other users could also provide feedback or get guidance.

Edit: Looks like there's a forum but it's still being set up a bit. Is that the best place to direct users?

I think the forum can be working now.
https://forum.wisdpi.com/

Repository owner deleted a comment from tltangliang Apr 30, 2022
@geerlingguy
Copy link
Owner Author

Hmm... this looks awfully similar to 52Pi's DeskPi Super6C, which retails for $199.

The Cluster Mini-ITX board is $200 on DWMZone and shipping was $40ish. Shipping is about the same on 52Pi. So the question is, who actually makes the board, and what's the board's most 'official' name? :D

@Pi-Mania
Copy link

Great Question. Let's find out..

Hmm... this looks awfully similar to 52Pi's DeskPi Super6C, which retails for $199.

The Cluster Mini-ITX board is $200 on DWMZone and shipping was $40ish. Shipping is about the same on 52Pi. So the question is, who actually makes the board, and what's the board's most 'official' name? :D

@Pi-Mania
Copy link

The ''official'' name is "DeskPi Super6C" DWMZone is an authorised agent

@geerlingguy
Copy link
Owner Author

Thanks for clarifying that! I guess we should update the name on the site, then, and also add a reference to both locations in the description.

@geerlingguy geerlingguy changed the title Test EVB board CM4 Cluster Mini-ITX board Test EVB board CM4 Cluster Mini-ITX board / DeskPi Super 6C May 16, 2022
@geerlingguy geerlingguy changed the title Test EVB board CM4 Cluster Mini-ITX board / DeskPi Super 6C Test EVB board CM4 Cluster Mini-ITX board / DeskPi Super6C May 16, 2022
@drifterdave
Copy link

Hey guys, would either of you by chance have a 3d Printer? I got this board, and designed an IO shield for the Super6c but don't have a 3D printer to try to print it out just yet.

Would you be willing to make sure all of the holes line up? As always, great work, I really appreciate the work you put into your videos.

thin_ITX_IO_Shield_Super6c.scad.txt

(It is labeled thin ITX, but there is a customizer that you can toggle Standard ATX or Thin ATX. The case I happen to be using is a Thin ITX case.)

@adamfowleruk
Copy link

FYI I've purchased a DeskPi Super6C board and am using it to test the SOQuartz module. Booted Manjaro ok, but need to rejig the USB driver. Initial details and picture on the SOQuartz issue here: #336 (comment)

@danmanners
Copy link
Contributor

Hey guys, would either of you by chance have a 3d Printer? I got this board, and designed an IO shield for the Super6c but don't have a 3D printer to try to print it out just yet.

Would you be willing to make sure all of the holes line up? As always, great work, I really appreciate the work you put into your videos.

thin_ITX_IO_Shield_Super6c.scad.txt

(It is labeled thin ITX, but there is a customizer that you can toggle Standard ATX or Thin ATX. The case I happen to be using is a Thin ITX case.)

Hey @drifterdave; my apologies for the delay. I don't have a functional 3D printer, but I'm hoping to get one working in the next 2-3 months, so I should be able to validate everything for you then!

punnypenguins added a commit to punnypenguins/raspberry-pi-pcie-devices that referenced this issue Jul 26, 2022
Updated names and added newer links.

for issue geerlingguy#425
@1201am
Copy link

1201am commented Oct 4, 2022

Looks like there is a new revision of DeskPi board....with LED light on network ports and USB header finally the way it should be.
20221003_195549
20221003_195613

@geerlingguy
Copy link
Owner Author

Nice! Looks like they're doing a great job taking feedback and adjusting a bit.

@michaelarmstrong
Copy link

michaelarmstrong commented Nov 2, 2022

My case arrived and it looks like the USB header is the wrong way around on my board so I can't plug it in! Anyone hazard a guess to confirm or denyy?
usbheader

@michaelarmstrong
Copy link

Additionally I'm seeing packet loss of around 25% on all CM4's... wondering if anyone else experienced this.

@althas316
Copy link

Has anyone ran EMMC on this board. I have had nothing but problems

Flashed 64-bit piOS lite - regularly fails to boot reporting end kernel panic - not syncing asynchronous error interrupt

Tried ubuntu lite and sticks on the rainbow boot screen

Spent the day flashing and re-flashing the emmc on this board and a carrier board and all the same results. Have no issues on the carrier board, they boot each and every time
I am not a hugely knowledgeable person on this (that is half the reason to get this) so if anyone has encountered these issue would appreciate any feedback

@rr4444
Copy link

rr4444 commented Jan 19, 2023

@geerlingguy @michaelarmstrong @joshuatam

Amazing post, video and thread! I am now really thinking about one of these...

Do you guys have an idea whether:

  1. there is space for NVME heatsinks underneath in the official or unofficial cases?

  2. can the micro USBs used for mass storage, like SSDs, and would that be USB3?

  3. any idea if Intel Optane NVME is RPI compatible? Struggling to find this out, as it seems like a very particular storage arch...

  4. is the Deskpi AliExpress store legit? How on earth do problems get assessed? I'm worried I'll end up with an old board with upside USB problem or some other issue....

Any insights appreciated!!!!

@danmanners
Copy link
Contributor

@rr4444 responding in order:

  1. Considering motherboard standoff screws are generally 6mm in height, as long as you have a heatsink that is no taller than ~2-3mm then yes. That being said, you're not going to have a ton of options for heatsinks that make any difference at that thickness, IMO.
  2. No, MicroUSB cannot be use for mass storage. Definitely USB2/3.
  3. No idea, but quick googling does not seem promising.
  4. No idea; I would buy directly from DeskPi's website personally, unless they don't ship to your location.

@danmanners
Copy link
Contributor

danmanners commented Jan 19, 2023

@althas316 sorry, just seeing this now!!

I haven't tried any eMMC units on the board, but the fact that DeskPi is selling the eMMC units as related items, it'e be bizarre to not support them.

@rr4444
Copy link

rr4444 commented Jan 20, 2023

Many thanks @danmanners !!

@rr4444 responding in order:

  1. Considering motherboard standoff screws are generally 6mm in height, as long as you have a heatsink that is no taller than ~2-3mm then yes. That being said, you're not going to have a ton of options for heatsinks that make any difference at that thickness, IMO.

This was my concern.... I'm now wondering about using longer screws, which leads me to ask how tight the gap is at the top between the CM4 heatsinks and the official case?

Impossible to know without having one :(

  1. No, MicroUSB cannot be use for mass storage. Definitely USB2/3.

Just for flashing and stuff. Makes sense.

BTW can that be used as tty? This will actually be my first foray in rpis!

  1. No idea, but quick googling does not seem promising.

Booting from something else is ok though. So that link (which hadn't found myself, thank you!) is helpful, cos it confirms that the Rpi does see the Optane as NVME.

  1. No idea; I would buy directly from DeskPi's website personally, unless they don't ship to your location.

Looks official though....

Desk Pi Store
https://a.aliexpress.com/_mKITP7u

I've asked on the Deskpi repo issues, but no answer.

@rr4444
Copy link

rr4444 commented Jan 20, 2023

@danmanners

@althas316 sorry, just seeing this now!!

I haven't tried any eMMC units on the board, but the fact that DeskPi is selling the eMMC units as related items, it's be bizarre to not support them.

The official deskpi site and other listings expressly say emmc is supported............

I hope so, that's what I have!

@1201am
Copy link

1201am commented Jan 20, 2023

I have 6x CM4 modules with eMMC on my DeskPi installed and the OS is on eMMCs so it is definitely supported and works just fine.

I do have (6) 256GB NVMe SSDs as well installed for storage (not booting from these).

@rr4444
Copy link

rr4444 commented Jan 20, 2023

Additionally I'm seeing packet loss of around 25% on all CM4's... wondering if anyone else experienced this.
@michaelarmstrong
Where did you get yours from?

@rr4444
Copy link

rr4444 commented Jan 20, 2023

I have 6x CM4 modules with eMMC on my DeskPi installed and the OS is on eMMCs so it is definitely supported and works just fine.

I do have (6) 256GB NVMe SSDs as well installed for storage (not booting from these).

That's great news re eMMC @1201am , thank you! Which NVMEs do you use?

And how do your NVME temperatures behave?

I'm also wondering about how heatsinks fit in the official case... I was thinking about using longer screws, but then occurred to be that then the ports won't line up with the case :(

NVMEs need heatsinks, and I read about the WD Reds, for example, running at 80C! And that's without something like k8s etcd constantly hammering them

@1201am
Copy link

1201am commented Jan 21, 2023

@rr4444: At first, I was testing it with Kioxia (Toshiba) 256GB SSD KBG40ZNV256G and I had nothing than problems: SC4s running too hot even idle, 1 or 2 network ports not working at all (not passing any traffic if all 6 SSDs are installed), SSDs running way too hot (hitting 70C with no I/O operations). I thought that the initial set of (6) SSDs os defective so I purchased (4) more Kioxia but the issue persisted.

If I remember correctly, the other brand/model that did not work was SK Hynix HFM256GD3JX013N, don't recall the model of the third one I tried as I was tired of testing and replacing SSDs. What I think is common between all 3 brands that caused the issue is that all 3 of them are single-chip packages and leverage Host Memory Buffer (HMB). The Samsung models utilize separate controller chip along with memory chips. I am not making any conclusions here, just sharing thoughts as I am not sure what is causing the issue here :-).

I had a few larger Samsung 970 EVO that I installed just to try and immediately everything started working as it should: no "dead" network ports, CM4 runs relatively cool (I had heatsinks on these), and SSDs are not hot even without cooling.
So my final configuration has (6) Samsung PM981a 256GB (eBay item number 223708631693).

@althas316
Copy link

@danmanners
Thanks Danniel. After a lot of playing around, it was the nvme drives I had purchased. Looks like they were not compatible with the board.
I had bought Integral 250GB SSD NVME M.2 2280 PCIe Gen3x4 R-2000MB/s W-1200MB/s TLC M1 Solid State Drive, and these did not work

I had a spare Patriot P300 M.2 PCIe Gen 3 x4 128GB Low-Power Consumption SSD laying around, threw that on and no issues at all

Bought another 5 and is now very happily working away. All the CM4 are set up to boot from the nvme drives. Learning Ansible currently, then K3s, then docker, that's the plan

@rr4444
Copy link

rr4444 commented Jan 22, 2023

You'll want to learn Docker before any flavour of Kubernetes. Maybe even Docker Swarm too, which is v limited compared to Kube potential. But perfect for many use cases. Then K3S. You can't really understand Kube without understanding how containers, networking and APIs work.

Just my 2c to maximise your learning :)

@adminy
Copy link

adminy commented May 14, 2023

There are actually no usable GPIO pins on this cluster board is there? ...
What a waste considering how much potential GPIO pins probably lead nowhere on the cm4 boards.

@knewt
Copy link

knewt commented Dec 6, 2023

Does anyone have any idea why NVMe drives wouldn't get detected on this? They're not showing up at all, which is needless to say rather frustrating!

@knewt
Copy link

knewt commented Dec 6, 2023

Okay, this is bleh. So the drives I got are WD Blue SN580s, as I spotted they were discounted for Black Friday. Just nabbed a different drive from another system to try out, and it worked fine. That one.... it's an SN570 !!

So something about the newer drive isn't working on the super6c/cm4, grrr.

@filipnavara
Copy link

As a separate data point I can confirm that SN570 SSDs do work. I got two batches which were made in different factories and they are quite different to each other but both of them work.

@knewt
Copy link

knewt commented Dec 6, 2023

Nice confirmation, thanks. Guess I'll be contacting WD tomorrow, but assuming they can't solve it, I suspect they won't be willing to swap my SN580s for SN570s. Though I'll try. Otherwise I guess I'll be having to return them all, gah.

@1201am
Copy link

1201am commented Dec 6, 2023

Does anyone have any idea why NVMe drives wouldn't get detected on this? They're not showing up at all, which is needless to say rather frustrating!

Look at my posts from January, I spent many hours until I found that there is a compatibility issue with some SSDs. Samsung PM981a 256GB finally worked as it should.

@althas316
Copy link

althas316 commented Dec 7, 2023 via email

@knewt
Copy link

knewt commented Dec 15, 2023

Ugh, this is ridiculous. With my SN570 500GB working fine, and the report from @filipnavara above, I grabbed some 2TB SN570s. And the one I've opened and tried right now isn't working! Tested in a little minipc x86 box that my 500GB is normally in, and the 2TB shows up in the bios fine there, but just as with the SN580s, nothing on the pcie bus at all on the CM4!

@knewt
Copy link

knewt commented Dec 15, 2023

Might try some 1TB drives, see if they work. The 500GB actually shows up on the pcie but listed as 1TB from lspci, though nvme list reports the expected 500GB model. But who knows, maybe an indication that 1TB would work 🤞🏻

@knewt
Copy link

knewt commented Dec 16, 2023

Well, picked up an SN570 1TB today (ordered more, but didn’t bother grabbing them yet just in case!), and it works 🧡

ETA: So yay for finally having a drive that works, but boo that the 2TB is somehow different in a way that doesn’t work on the CM4/Super6C

@freesurr
Copy link

I am interested in buying the Super6c with the case to create a Ceph storage cluster.
But first they need to upgrade the switch, some management would be very nice.
And I really hope Deskpi will also make some brackets for the case so you can hang it in a 19 inch server rack.

@pcnate
Copy link

pcnate commented Apr 21, 2024

I am interested in buying the Super6c with the case to create a Ceph storage cluster. But first they need to upgrade the switch, some management would be very nice. And I really hope Deskpi will also make some brackets for the case so you can hang it in a 19 inch server rack.

I just completed one. Hoping that it is not deprecated by the CM5 someday. I agree on the switch upgrade though I would like the ability to connect a 2.5Gig port.
I'd also like at least 1 USB port exposed from each pi. This could allow use to run a USB cable to 6 printers or something. I suppose one could use a USB other IP setup but that is just more things.

@Miguel-Rodrigues
Copy link

Miguel-Rodrigues commented Apr 29, 2024

Very interesting board. I wonder if using these M.2 board to USB C adapters and a couple of USB C hubs could be a workaround for the lack of connectivity. The only thing is you may need to make some holes on the back of the case to have access to the adapters IO, or even a rectangle cut to have easy access to the M.2 and SD card slots. Also a DC power jumper on each Pi would be great for easier hot-swap or manual disabling.

https://pt.aliexpress.com/item/1005005676467186.html
https://pt.aliexpress.com/item/1005005871725446.html

@pcnate
Copy link

pcnate commented Apr 29, 2024

I don't think modifying the is that big of a deal. I do prefer to use the NVMe SSDs rather than the sdcard. An interesting thought those is to use an NVMe on the first CM4, and then the adapters on the rest and make CM4 #2-6 network boot from the first one and mount their own FS there over NFS?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests