Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 2428

General discussion • Solid State Hard Drive

$
0
0
Solid State Hard Drive

I obtained another Pi 5 at the same time as the 5 amps power supply and active cooler. I had overstressed the original board creating a irrecoverable hardware failure. This occurred on plugging in a new Solid State Drive, where tests indicated power sirregularities.

It is a SanDisk 1TB Extreme Portable SSD, USB-C USB 3.2 Gen 2, External NVMe Solid State Drive up to 1050 MB/s, now with FAT32 and Ext3 partitions.

I quite rightly completed all other proposed tests before returning to those for the SSD, this time with the active cooler in use.

I repeated the last heavy stress test via both the 5 amps and 4 amps power supplies. The results indicate around a 10% increase in USB current, with slightly faster operation at 4 amps but at a higher temperature. A few more runs would be required to determine the truth.

With these particular drives, SSD reading speed was around 2.45 times faster.

Code:

                           INT      MP                 CPU  PMIC OpenGL Drive      Volts  Amps       MB/sec  MFLOPS   MHz   Volts    °C    °C   FPS   MB/s5A Supply SSDPower  5.12  2.74  Min   94755          2400  0.8838  36.7  40.2  60.0  146.7USB    4.80  0.59  Avg   96325          2400  0.8838  64.8  64.6  64.7  166.1                   Max  109008          2400  0.8838  68.6  68.3  69.04A Supply SSDPower  5.12  2.95  Min  109197          2400  0.8830  38.4  41.7  64.0  148.5USB    4.84  0.59  Avg  111188          2400  0.8830  67.7  67.9  67.2  168.4                   Max  119425          2400  0.8830  71.9  71.1  70.0   
DriveSpeed and LanSpeed I/O Benchmarks

As indicated earlier, there are two varieties of the original drive benchmark, DriveSpeed using Direct I/O and LANSpeed without that option. The former would not run via 64 bit OS software and extra large files have to be selected to avoid caching data using the latter.

First of the following results is for LanSpeed using Ext3 formatted files where one of the 4096 MB files appears to have been partially cached and not identified in vmstat sampling. Note that USB power consumption was up to 640 mA at 5.14 volts.

The second details are partial results running DriveSpeed on a FAT32 partition, where writing large files was slower than during the Ext3 test but similar on reading. The main observation is the exceptionally slow speed on handling small files, particularly on writing. Partition size was around 500 GB.

New Benchmark Large Files earlier indicates best USB 3 hard drive results like 30 MB/second writing and 310 MB/second reading. Results for that benchmark on the SSD were around 165 and 415 MB/second respectively.

Code:

   LanSpeed RasPi 64 Bit gcc 8 Tue Dec 26 12:49:03 2023  Selected File Path: /media/raspberrypi/Ext3/ Total MB  491955, Free MB  491955                        MBytes/Second  MB   Write1   Write2   Write3    Read1    Read2    Read34096   491.86   393.63   360.86   416.77   937.70   420.408192   407.49   364.13   365.28   579.91   412.14   411.16 Random         Read                       Write From MB        4        8       16        4        8       16 msecs      0.002    0.002    0.002     0.52     0.49     0.48 200 Files      Write                      Read                  Delete File KB        4        8       16        4        8       16     secs MB/sec    139.48    34.81   100.02   479.48   558.20  1353.81 ms/file     0.03     0.24     0.16     0.01     0.01     0.01    0.019                End of test Tue Dec 26 12:52:22 2023procs  -----------memory---------- ---swap--  -----io---- -system-- ------cpu----- r  b   swpd    free   buff  cache   si   so     bi     bo   in   cs us sy id wa st 1  3      0 6805744 182608 752752    0    0      0 413554 3775 2544  0 22 46 31  0 2  2      0 6805744 182608 752752    0    0      0 401661 6715 8275  0 18 32 50  0 1  3      0 6805744 182608 752752    0    0    123 382200 4824 5126  0 20 32 48  0 1  3      0 6805744 182608 752752    0    0     13 332742 4379 4918  0 18 27 55  0 1  3      0 6805744 182608 752752    0    0     66 363967 4509 4615  0 17 47 36  0 2  2      0 6805744 182608 752752    0    0     46 345998 6905 9378  0 17 45 38  0 2  0      0 6805744 182608 752752    0    0  85870 272317 4082 4434  0  4 55 41  0 1  1      0 6805744 182608 752752    0    0 409245      0 3435  648  0  5 73 21  0 1  1      0 6805744 182608 752752    0    0 381261      0 3076  616  0  5 74 20  0 1  1      0 6805744 182608 752752    0    0 406957      3 3332  846  0  5 74 21  0 2  0      0 6805744 182608 752752    0    0 414537      1 3147  597  0  5 74 21  0    DriveSpeed RasPi 64 Bit gcc 8 Tue Dec 26 12:33:43 2023 /media/raspberrypi/FAT32/                        MBytes/Second  MB   Write1   Write2   Write3    Read1    Read2    Read31024   194.07   198.99   218.42   426.35   426.37   425.99 200 Files      Write                      Read                  Delete File KB        4        8       16        4        8       16     secs ms/file   104.09   104.07   104.07     0.14     0.21     0.12    0.052  

Statistics: Posted by RoyLongbottom — Wed Jan 17, 2024 5:41 pm



Viewing all articles
Browse latest Browse all 2428

Trending Articles