Skip to content

SDcardTesting

Vincent Belpois edited this page Apr 10, 2024 · 1 revision

Speed testing of SD cards

Read and write speed are important for a well running system. To reduce boot time and make the robot more responsive, the SD card needs to be fast.

Test read and write speed using dd.

For write speed testing :

sudo dd if=/dev/zero of=/dev/sda bs=1M count=1024 oflag=direct status=progress

For read speed testing :

sudo dd if=/dev/sda of=/dev/null bs=1M count=1024 iflag=direct status=progress

A size of 1.1G is used for the test (1024MB).

For entry testing:

SD Card Read (MB/s) Write(MB/s)
SanDisk Ultra 32GB (White) 18.9 13.1
Kingston Canvas Go! plus 64Gb 18.4 11.7
SanDisk Ultra 32GB (Red) 18.4 10.4
Samsung ECO 32GB (Orange) 17.9 7.4
SanDisk 8Gb (Black) 18.5 8.8
ALUNX Smart 64Gb (Black and blue) 8.1 3.1

Testing readers

Testing different readers just to know which is faster : The Kingston Canvas Go! plus 64Gb will be used for testing. All the previous test were done with a microSD to USB adapter that comes with a 3d printer.

SD Card Reader Read (MB/s) Write(MB/s)
Black 3D printer reader 18.4 11.7
SD to microSD adapter 80.6 43.3

This concludes that retesting is needed with the microSD to SD adapter.

Retesting with microSD to SD adapter

SD Card Read (MB/s) Write(MB/s)
Kingston Canvas Go! plus 64Gb 80.6 43.3
SanDisk Ultra 32GB (White) 85.2 21.1
SanDisk Ultra 32GB (Red) 86.0 14.4
SanDisk 8Gb (Black) 45.2 10.8
Samsung ECO 32GB (Orange) 44.3 9.8
ALUNX Smart 64Gb (Black and blue) 15.6 8.8
Clone this wiki locally