Raspberry Pi loves SSD: for running NKN mainnet node

Recently I updated my NKN mining Raspberry Pi 4 (4GB version) from MicroSD boot to external SSD boot.

  • Why? It is supposed to give me much higher read/write speed, and NKN node software need to read and write a lot for keeping in sync with the latest blocks and transactions.
  • The result? More than 7 times faster (8250 versus 1133)!
  • Does it matter to mining yield? Most likely not, or at least too early to tell. Iā€™m in for the tech. :joy:
  • For more info: https://jamesachambers.com/raspberry-pi-storage-benchmarks-2019-benchmarking-script/

MicroSD: Samsung Evo plus 32GB

Category                  Test                      Result     
HDParm                    Disk Read                 40.71 MB/s               
HDParm                    Cached Disk Read          37.68 MB/s               
DD                        Disk Write                21.3 MB/s                
FIO                       4k random read            3367 IOPS (13471 KB/s)   
FIO                       4k random write           416 IOPS (1667 KB/s)     
IOZone                    4k read                   10345 KB/s               
IOZone                    4k write                  2454 KB/s                
IOZone                    4k random read            10446 KB/s               
IOZone                    4k random write           1931 KB/s                

                      Score: 1133                                        

SSD via USB 3.0: Crucial MX500 240GB:

Category                  Test                      Result     
HDParm                    Disk Read                 298.67 MB/s              
HDParm                    Cached Disk Read          273.96 MB/s              
DD                        Disk Write                177 MB/s                 
FIO                       4k random read            14959 IOPS (59839 KB/s)  
FIO                       4k random write           8504 IOPS (34019 KB/s)   
IOZone                    4k read                   34015 KB/s               
IOZone                    4k write                  27122 KB/s               
IOZone                    4k random read            24806 KB/s               
IOZone                    4k random write           33853 KB/s               

                      Score: 8250