Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SD driver - Write speed

Tags:

embedded

We've been trying to figure out why we only achieve writing speed of ~53MBps on UHS104 cards that claim 90MBps. Due to hardware constraints, clock frequency supplied to the card is only 148.5 MHz (instead of 208MHz). Does that mean that we should achieve speed of (148.5 * 4)/8 = 74.25MBps? Or is our caclulation wrong since it assumes that if card guarantees speed of 90MBps on frequency of 208MHz, then it should guarantee speed of 74.25MBps on frequency of 148.5?

like image 554
Shmoopy Avatar asked Mar 28 '26 08:03

Shmoopy


1 Answers

The simplified physical layer spec states that for maximum performance you need to write full AU blocks - usually 2 or 4 MByte, otherwise the card will have to copy data around internally when writing across block boundaries. Unfortunately, most of the Speed Class Specification is missing in the 4.13 chapter.

The first AUs may have a different wear level strategy, as they are normally used for the FATs. This could make them slower to write to.

like image 193
Turbo J Avatar answered Mar 30 '26 10:03

Turbo J



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!