-
-
Notifications
You must be signed in to change notification settings - Fork 148
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
Pi 5 HAT: Radxa Penta SATA HAT #615
Comments
It's on the site now: https://pipci.jeffgeerling.com/hats/radxa-penta-sata-hat.html I'll be testing and benchmarking soon! |
Some usage notes:
|
One concern could be heating—the JMB585 SATA controller chip hit peaks of 60+°C in my testing: There is an official fan/OLED board, and that seems like it would be a wise choice for this build. It seems to also require the case, which is also announced but not available anywhere right now. See: https://forum.radxa.com/t/penta-sata-hat-is-now-available/20378 |
I've also been monitoring IRQs and CPU affinity while doing network copies—the writes, specifically—and nothing really jumps out and suggests a bottleneck there (I'm reminded of this old Raspberry Pi linux issue): This was in the middle of a 50 GB folder copy to a ZFS array. It is averaging 70 MB/sec or so, which is a fair bit less than line speed over the gigabit connection :( @ThomasKaiser had suggested over in the Radxa forum there could be some affinity issues with networking on the Pi 5, but I don't see that via |
What about
|
More stats on the share from the macOS client:
And Samba version on the Pi:
|
Do you do only Finder copies (AKA 'network + storage combined' plus various unknown 'optimization strategies') or have you already tested network and storage individually? A quick And for Samba performance I came up with these settings when I wrote the generic 'OMV on SBC' install routine over half a decade ago: https://github.com/armbian/build/blob/e83d1a0eabcc11815945453d58e1b9f4e201de43/config/templates/customize-image.sh.template#L122 |
I've tested iperf3 on this setup a few times—on the 1 Gbps port, I get 940 Mbps up, 940 Mbps down (doing I set it to 50 GB to try to bypass more of the cached speed (since this is an 8 GB RAM Pi 5):
|
Testing from Windows 11 on the same network, reads maxed out at 110 MB/sec, just like on the Mac. Writes... are getting a consistent 108 MB/sec. (It did get a little more up-and-down around the halfway point, where the below screenshot was taken, but still averages above 105 MB/sec.) Now I'm shaking my fist strongly at my Mac—why does Apple have to hate GPLv3 so much!? Will try to see if there's a way to see what's going on with macOS Finder. I've heard from @jrasamba that macOS might try using packet signing (see article), which could definitely result in different performance characteristics. Not sure about Windows 11's defaults. Maybe I have to ditch using my Mac as the 'real world performance' test bed... with other networking stuff it's not an issue. And I know Finder's terrible... I just didn't think it was that terrible. :P (@jrasamba also suggested watching this video on io_uring with some good general performance tips.) |
You can check with As for GPL or not, IIRC Apple always used an SMB client that was derived from *BSD. Only for the SMB server component license issues came into play when Apple replaced Samba with their smbx. But they had another good reason since starting from 10.8 or 10.9 we were able to transfer Mac files flawlessly between Macs via SMB since all the HFS+ attributes were properly mapped via SMB unlike with Samba. Am about to setup tomorrow a q&d local Netatalk instance on a RPi 5 to restore a TM backup for a colleague on a MacBook to be shipped to her. But since this sounds like fun I might try to do the excercise with Samba instead and see whether the Samba tunables developed over half a decade ago are still important or not. No idea whether spare time allows or not... |
@ThomasKaiser - see above (#615 (comment)) — |
Yes. Sorry haven't seen the whole comment. |
I tried adding
Doesn't seem to make a difference either in the file copy speed, nor in the I also tried setting
I unmounted and re-mounted the share, and I'm still seeing the same performance. (So I set it back to I'm going to reboot the Pi and Mac entirely and try again. (I had just unmounted the share, restarted smbd on the Pi, and re-mounted the share.) |
Reboot changed nothing, so I had a gander at the SMB config documentation, and found the client signing variable might need to be disabled?
I re-mounted the share, but it's still showing as |
One last little nugget is I was debugging SMB via debug logging (easy enough to enable via OMV's UI), and I noticed there are actually two log files that are being written to when I'm working on my Mac:
I wonder if there's any possibility of SMB doing some kind of internal thrashing when it sees my Mac as both IP 10.0.2.15 and local hostname |
The Signing could really be the culprit (just searched through my OMV 'career'). Since I just replaced a M1 Pro MBP with an M3 Air I checked defaults (or what I believe the defaults are):
Not required doesn't mean disabled. Unfortunately I'm on macOS 14 for just a couple of days (the lazy guy trying to skip every other macOS release) and am not into all the details yet... |
Note that on my Mac, I didn't have anything in place in Even with |
This can and will harm SMB performance (bitten by this several times). But I guess you also tried it with log settings set to |
I only had it set to debug for about 3 minutes while I was replaying the copy, to get a snapshot of the log. Then set it right back to 'None' (which is the default in OMV). None of the performance data in this issue that I've posted was taken at any time when any smbd logging was enabled. |
Maybe Apple's most idiotic software piece ever :) Back in the days when network/storage testing was a huge part of my day job I always used Helios LanTest since being limited in some ways (explained here) showing the performance differences/increases you were aiming for when debugging settings while Windows Explorer and Finder do a lot under the hood that masquerades basic network setting mismatches due to parallelisms and automagically tuned settings like block sizes. |
@lolren - Right now, no. Also Michael Klements did a build with the Penta SATA HAT, and released four variants of his 3D printable case, which is pretty nice looking! |
@geerlingguy can you verify something I'm seeing? When plugged in with the 12v DC barrel jack -- The external ATX power supply pins are live. |
@celly - Yes, it looks like there's no backfeed protection on the board (tested with my multimeter just now, also confirmed live 12V on the 12V molex pin), so the +12v DC just passes through from the molex to the barrel plug. I would recommend against plugging two power supplies into the board at the same time! |
Yeah, Radxa specifically calls out that you shouldn't plug the Pi and the HAT in at the same time on their Raspberry Pi page for the product, now. I can't say if that was always there or not, though. |
@geerlingguy thanks for checking. Wanted to make sure I didn't have a bad board before I plugged drives in. @pfriedel Yeah, that makes sense. But I'd figure they would have a diode or something on it to protect it from being live. Since, if it is plugged in, even if you think the pi is off, those pins are still live, since they seem to be connected directly to mains. On a plus side, I may take advantage of this, and use that to power a 12v fan. Also, sorry to hijack, but this seems to be the best place for info on this right now, so one note about cases. In case anyone finds this and is looking for a case for it, the RADXA official case is not ready for primetime. I have spent the last 3 days fighting it, and each part leads to more headaches and disappointment. The three major issues are, there is not any clearance for the PCIe cable, so to get the pi and hat in the case, you'll damage the cable. The drive holder is clever, but doesn't allow for any airflow. And, finally, it is designed for the top fan to be from their fan / OLED board, which isn't available. Not to mention, unless you are very experienced with your 3D printer it is a very tough print, with lots of press fits with zero room for error, and also tabs and screw holes that are not meant for PLA. It really is more meant for mass production and not hobby printing. If you need a case, I'd start with Michael Klements one from this comment until someone has a chance to tweak the official one. |
Yeah, for what it's worth I think there are 3 options for connecting a fan:
And boy howdy, you want a fan if you put this in a case for the Pi if nothing else. I stuck a random heatsink from a Pi4 heatsink kit onto the SATA controller chip after chopping off two of the five fins and it just barely clears two 9.5mm drives. Is it doing any good? Who knows, but it probably isn't hurting. On the other hand, I don't think this is a new chip for Radxa, and people have been building NASes off of their hardware for a while, so maybe it just runs warm normally. Oh, it should also be noted that 15mm drives do not fit. 9.5 is fine if tight. I don't have any 12.5mm drives to test if they fit the spacing or not, unfortunately. Update: That header is definitely JST PHD 2x5, works like a charm, although the PWM fan I have is about as noisy at 50% as my Noctua 4010 5v is at 100%. I should have figured. And the 5v PWM 4010 is on backorder everywhere. Maybe the 4020 will fit... |
@pfriedel That is all great information. Thank you so much for taking the time. Probing the JST and the 10-pin looking for a solid 5v connection is what started all of this for me. The weird fan connector threw me for a loop -- nothing I had fit it. I saw 5v, but not sure how much power I could safely pull through it as I want to use a larger fan. The 10-pin is interesting since it has I2C and GPIO pass thru on it along with 5v, but I didn't want to tap into that yet, since adding a cheap OLED display is too tempting. Once I saw that there was 12v on the molex, I decided to go with a 12v 80mm ultra quiet noctua fan that can be run at 1000rpm, and a female to 3-pin molex connector. It is stupid. But it'll be the best type of stupid -- quiet stupid. The case you designed is awesome -- really great job. I wish you had sent me that case a few hours ago before I decided to design my own.. 🤣 The one I just finished is a bit more "Server" as I decided to not expose the HDMI ports in exchange for a wider case with a larger fan. If it works, I'll share it in the next few days after the fan gets here. Update: The 12v molex works like a dream for the fan. I published my case using it here -- https://cults3d.com/en/3d-model/gadget/pi-5-nas-tower-for-radxa-hat-with-option-noctua-fan |
has anyone checkt the E-Sata for 5v and 12v power? |
I suspect anything that draws more than a few watts (i.e. four 3.5" HDDs) would still need an external power supply. The cable that Radxa provides doesn't appear to be 12v eSATApd compatible, but that doesn't mean the port isn't. It's enough for an external 2.5" HDD, though. Also, it looks like the SATA Fan/Display HAT is now available from Arace and AliExpress for USD$15-20 if anyone wants to give it a shot. Looking at the pictures of the fan it looks like it's a standard(ish) 3-pin, so it might just be 40mm fan running at full bore which is noisy. Also Celly's case got linked to from Radxa's wiki, congrats! I redesigned mine to fit an 80mm fan as well because I had to reprint it in PETG after my initial PLA case developed a terminal case of brittleness. I knew PLA wasn't recommended for ITX-based NAS cases, but I figured those get properly hot, while the Pi solution never really gets over 40C, but that's enough. To be fair to PLA I tend to design thin walls that are only 3 perimeters thick, so it doesn't take much for them to lose structural rigidity. |
I'm having an issue with eSATA connection. I first tried to connect the supplied eSATA cable to a 3.5" HDD, however no lights came on, and no disk detected when starting up the Pi. Connecting the drive to one of the regular SATA ports to showed the drive (3.5" drives are too big to fit without extender cables on all but one of the SATA ports). I'm powering with the 12V barrel jack alone (https://www.amazon.ca/100-240V-Adapter-Converter-Transformer-5-5x2-1mm/dp/B07NV6N5QS?ref_=ast_sto_dp is the power supply I'm using which I would think is more than enough). Would it just be a matter of getting a different cable for eSATApd functionality, or as mentioned in the above comment do I need to somehow supply power separately?
|
The eSATA cable come with the Penta SATA kits of the first batch are 5V only, no 12V power signal. This is changed for the later batches. You can try with another eSATA cable. |
Does someone ever faced that Penta Sata Hat got disconnected time to time, without any reason ? |
My Penta Sata Hat is working with 3 3.5" drives and OMV7 since may without issues. |
Thinking of going this route, but want to keep system cool. I have the Pi5 already with the active cooler. I am planning to use 4 2.5ssd's i already have. Anyone come up with a 40mm fan mount to attach to side of the drives to mount on top pulling air up from the sata hat board |
Is it possible to connect two 2.5' HDD directly to this hat? |
Yeah, any combination of 1, 2, 3 or 4 2.5" drives is fine. One drive is maybe a little unstable, but once you have two they lock in nicely. |
HDDs might not fit if they're too thick. You can connect them with 22-pin SATA riser cables if you aren't attached to the idea of mounting them directly overhead the board, though. I have a NAS design in the works that uses those kind of cables with this board and my prototype has been working without issues so far.
|
@Tobiyashi, do you have dtparam=pciex1_gen=3 enabled ? |
@0x800700 yes i have.
and i get with the following speeds with the test command:
And I have a relatively beefy power supply with 120W. |
Can anyone please tell me if 3.5inch HDD fits in this hat ?? It would be great if you share a picture of how many 3.5 inch HDD gets fits in the right slot. I am planning to buy this hat but unsure if my existing 3.5inch HDDs would work Thanks in Advance |
You cannot fit any 3.5" drives directly on there, they'll be way too big. You can connect them with SATA cables, though you'll probably have to use an external power supply. Something like this 3.5" drive enclosure could make that easy to build, otherwise you'll have to figure out your own mounting system. |
Technically one 3.5 inch drive works on the hat, but no other can fit due
to the spacing. I bought 20 cm sata + power extender cables from
AliExpress to fit more 3.5inch drives.
…On Thu, Oct 24, 2024, 4:20 PM AxioPaladin ***@***.***> wrote:
Can anyone please tell me if 3.5inch HDD fits in this hat ?? It would be
great if you share a picture of how many 3.5 inch HDD gets fits in the
right slot.
I am planning to buy this hat but unsure if my existing 3.5inch HDDs would
work
Thanks in Advance
You cannot fit any 3.5" drives directly on there, they'll be way too big.
You can connect them with SATA cables, though you'll probably have to use
an external power supply. Something like this 3.5" drive enclosure
<https://shop.allnetchina.cn/products/internal-sata-iii-drive-enclosure>
could make that easy to build, otherwise you'll have to figure out your own
mounting system.
—
Reply to this email directly, view it on GitHub
<#615 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAE4KXQRXAFAJGMSLOTNDP3Z5FJCXAVCNFSM6AAAAABFHKRYCCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMZWGI3DOOJSGY>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Could you please share a picture of your setup if you don’t mind. This might be helpful. Thanks |
May I ask a noob question? Just got my pi 5 and the hat and did set the dtparam's. lspci gives me:
So the speed has indeed gone up, but the width is still downgraded. That's to be expected? |
@Iliceth - that just means it's capable of x2, but it's been downgraded to x1 since the port only has one lane. |
@geerlingguy I noticed in a recent video you're still using this. I've just got one for Xmas.
|
I use OMV with the ZFS plugin and it works well for me. If you want to expand your ZFS storage one drive at a time, the keyword you should search is "ZFS pool expansion". It's a relatively new feature in openZFS so I'm not sure how much GUI sugar there is for it in OMV yet, but it should be doable from CLI if not.
|
@HarvsG - OMV certainly works fine, though my setup is completely headless / GUI-less, I run this: https://github.com/geerlingguy/arm-nas |
Radxa sells an updated version of their Penta SATA HAT for $45, and it includes four SATA drive connectors, plus one edge connector for a 5th drive, 12V power inputs (molex or barrel jack) to power both the drives and the Pi 5 via GPIO, a cable for the 5th drive, an FFC cable to connect the HAT to the Pi 5, and screws for the mounting.
It looks like the SATA controller is a JMB585 PCIe Gen 3x2 SATA controller, so it could benefit from running the Pi 5's PCIe lane at Gen 3.0 speeds (setting
dtparam=pciex1_gen=3
in/boot/firmware/config.txt
). Radxa sent me a unit for testing.The text was updated successfully, but these errors were encountered: