Live data from Hacker News

A2-class microSD cards offer no better performance for the Raspberry Pi

jeffgeerling.com

11–20 of 112 posts

Re: A2-class microSD cards offer no better performance for the Raspberry Pi

#11
post #2

Testing microSD card speed on a Mac is rather pointless because performance is (severely) limited on the Raspberry Pi through it's terribly slow interface, not necessarily the actual card. Remember RPi 1-3 use a plain SPI interface, and even the new 4 only has UHS-1.

He explained in the article why he did this: to check if the manufacturers claims are incorrect, or if its a RPi hardware issue.

Re: A2-class microSD cards offer no better performance for the Raspberry Pi

#12
post #3

The major problem is not disk write speed, which we can all agree sucks, but longevity and lifespan when used as a system boot disk and also containing /var and similar. The write wear leveling on a u3 microsd card is nowhere near as good as even a $50 consumer class ssd. Small single board computers should move towards m.2 2280 nvme drive support, or at least one sata 6 gbps interface.

SD card performance on the Pi Jeff's benchmarks are accurate in my experience. If you try saving single images from a camera at even 5-10fps, the card quickly bottleneck and you start dropping frames. If you buffer and store (in my case 16-bit raw), you can essentially saturate USB bandwidth if you're also using a USB camera.

Re: A2-class microSD cards offer no better performance for the Raspberry Pi

#13
post #2

Testing microSD card speed on a Mac is rather pointless because performance is (severely) limited on the Raspberry Pi through it's terribly slow interface, not necessarily the actual card. Remember RPi 1-3 use a plain SPI interface, and even the new 4 only has UHS-1.

The point is if the cards actually meet spec and if they behave differently on the RPi.

So the first step is to show how the cards behave in an environment with no artificial performance limitations. This is the baseline "peak performance".

The next step is to show whether the RPi's performance ceiling is below that baseline, or if any specific card behave particularly poorly on the RPi. 2 cards may be equal on a high performing machine but for some reason have big differences when running in the RPi.

Re: A2-class microSD cards offer no better performance for the Raspberry Pi

#14
post #3

The major problem is not disk write speed, which we can all agree sucks, but longevity and lifespan when used as a system boot disk and also containing /var and similar. The write wear leveling on a u3 microsd card is nowhere near as good as even a $50 consumer class ssd. Small single board computers should move towards m.2 2280 nvme drive support, or at least one sata 6 gbps interface.

The Pi steals the lion’s share of the attention the in the cheap SBC space, but there are plenty of alternatives that have better storage solutions out there. I too grew fed up of SD card issues.

I always see the argument “but the Pi has the best community support!” trotted out, and I don’t disagree. However, it’s all normally just sane Linux distros on the Pi at the end of the day. Whatever instructions/advice someone has written for a given Pi project will likely be applicable on a non-Pi board anyway.

Re: A2-class microSD cards offer no better performance for the Raspberry Pi

#17
post #3

The major problem is not disk write speed, which we can all agree sucks, but longevity and lifespan when used as a system boot disk and also containing /var and similar. The write wear leveling on a u3 microsd card is nowhere near as good as even a $50 consumer class ssd. Small single board computers should move towards m.2 2280 nvme drive support, or at least one sata 6 gbps interface.

I expected they would have at least added a EMMC connection by now. With the improvements from the new faster EMMC options it isn't even that slow.

Re: A2-class microSD cards offer no better performance for the Raspberry Pi

#18
I'm surprised we haven't seen a smaller than M.2 form factor for SATA on embedded devices. It seems like the big limiter on devices like the Raspberry Pi and others are the sd cards/emmc modules, since the amount processing power and ram have been continually going up.

If you need disk performance on the Pi 4, wouldn't it make more sense to only keep the kernel,initrd on the sdcard and mount the primary filesystem off a USB3 device (like an mSATA-2-USB enclosure), that is if you have the space to spare for it in your project/enclosure?

I did something similar with one of the SolidRun devices, but I had to scuttle it due to other hardware problems:

https://penguindreams.org/blog/review-clearfog-pro/

Re: A2-class microSD cards offer no better performance for the Raspberry Pi

#19

I'm surprised we haven't seen a smaller than M.2 form factor for SATA on embedded devices. It seems like the big limiter on devices like the Raspberry Pi and others are the sd cards/emmc modules, since the amount processing power and ram have been continually going up. If you need disk performance on the Pi 4, wouldn't it make more sense to only keep the kernel,initrd on the sdcard and mount the primary filesystem of…

Yep. USB disks also are generally much more robust to errors than SD cards. My mail spool is on USB, the OS is on the SD card.

Re: A2-class microSD cards offer no better performance for the Raspberry Pi

#20

I'm surprised we haven't seen a smaller than M.2 form factor for SATA on embedded devices. It seems like the big limiter on devices like the Raspberry Pi and others are the sd cards/emmc modules, since the amount processing power and ram have been continually going up. If you need disk performance on the Pi 4, wouldn't it make more sense to only keep the kernel,initrd on the sdcard and mount the primary filesystem of…

The SD 7.0 standard includes support for PCIe and NVMe.

https://www.sdcard.org/press/SD_EXPRESS_A_REVOLUTIONARY_INNO...

Post reply on HN