目次
TOSHIBA EXCERIA 32GB microSDHC Class10 UHS-I U3
read_sd_attr.py
$ python3 read_sd_attr.py
===== SD and MMC Block Device Attributes Reader Ver 0.02 =====
device: /sys/block/mmcblk0/device
----------------------------------------
cid: 02544d554330443320e834cba100f2fb\n
csd: 400e00325b590000e8ff7f800a4000af\n
scr: 02b5840332022902\n
date: 02/2015\n
fwrev: 0x0\n
hwrev: 0x2\n
manfid: 0x000002\n
name: UC0D3\n
oemid: 0x544d\n ('TM')
prv: None
serial: 0xe834cba1\n
erase_size: 512\n
preferred_erase_size: 4194304\n
raw_rpmb_size_mult: None
rel_sectors: None
ocr: 0x00200000\n
dsr: 0x404\n
cmdq_en: None
----------------------------------------
オーバークロック前
sdbench.sh
$ sudo ./sdbench.sh CONFIG: default CLOCK : SD Bus: 50.000 MHz, CPU: 1000.002 MHz, CPU Temp: 36.856 ℃, SDRAM: 450 MHz VOLTS : core: 1.3500V, sdram(controller, I/O, physical): 1.2000V, 1.2000V, 1.2250V CORE : 400 MHz(400 MHz), turbo=0 DATA : 512 MB, /root/test.dat HDPARM: ====== Timing O_DIRECT disk reads: 66 MB in 3.01 seconds = 21.90 MB/sec Timing O_DIRECT disk reads: 66 MB in 3.02 seconds = 21.86 MB/sec Timing O_DIRECT disk reads: 66 MB in 3.02 seconds = 21.85 MB/sec WRITE: ===== 536870912 bytes (537 MB, 512 MiB) copied, 85.1029 s, 6.3 MB/s 536870912 bytes (537 MB, 512 MiB) copied, 79.3622 s, 6.8 MB/s 536870912 bytes (537 MB, 512 MiB) copied, 86.9324 s, 6.2 MB/s READ: ==== 536870912 bytes (537 MB, 512 MiB) copied, 23.116 s, 23.2 MB/s 536870912 bytes (537 MB, 512 MiB) copied, 23.108 s, 23.2 MB/s 536870912 bytes (537 MB, 512 MiB) copied, 23.1199 s, 23.2 MB/s RESULT (AVG): ============ core_freq turbo sd clock WRITE READ HDPARM 400 0 50.000 MHz 6.12 MB/s 22.15 MB/s 21.88 MB/s microSD card benchmark complete! CPU Temp: 42.774 ℃
microsd-benchmarks.sh
$ sudo ./microsd-benchmarks.sh
Raspberry Pi Dramble microSD benchmarks
microSD clock: 50.000 MHz
Running hdparm test...
/dev/mmcblk0:
 Timing buffered disk reads:  68 MB in  3.06 seconds =  22.21 MB/sec
Running dd test...
51200+0 レコード入力
51200+0 レコード出力
419430400 bytes (419 MB, 400 MiB) copied, 43.6287 s, 9.6 MB/s
Running iozone test...
        Iozone: Performance Test of File I/O
                Version $Revision: 3.492 $
                Compiled for 32 bit mode.
                Build: linux-arm
        Contributors:William Norcott, Don Capps, Isom Crawford, Kirby Collins
                     Al Slater, Scott Rhine, Mike Wisner, Ken Goss
                     Steve Landherr, Brad Smith, Mark Kelly, Dr. Alain CYR,
                     Randy Dunlap, Mark Montague, Dan Million, Gavin Brebner,
                     Jean-Marc Zucconi, Jeff Blomberg, Benny Halevy, Dave Boone,
                     Erik Habbinga, Kris Strecker, Walter Wong, Joshua Root,
                     Fabrice Bacchella, Zhenghua Xue, Qin Li, Darren Sawyer,
                     Vangel Bojaxhi, Ben England, Vikentsi Lapa,
                     Alexey Skidanov, Sudhir Kumar.
        Run began: Tue Mar 15 12:23:08 2022
        Include fsync in write timing
        O_DIRECT feature enabled
        Auto Mode
        File size set to 102400 kB
        Record Size 4 kB
        Command line used: ./iozone -e -I -a -s 100M -r 4k -i 0 -i 1 -i 2
        Output is in kBytes/sec
        Time Resolution = 0.000001 seconds.
        Processor cache size set to 1024 kBytes.
        Processor cache line size set to 32 bytes.
        File stride size set to 17 * record size.
                                                              random    random     bkwd    record    stride
              kB  reclen    write  rewrite    read    reread    read     write     read   rewrite      read   fwrite frewrite    fread  freread
          102400       4      779      813     6018     5980     5872      309
iozone test complete.
microSD card benchmark complete!
オーバークロック後
設定値割り出し
| core_freq (MHz) | dtparam=sd_overclock (MHz) | actual clock (MHz) | judge | benchmark | 
|---|---|---|---|---|
| 560 | 133 (=560/4.210) | 125.000 (=560/4.480) | NG | NG | 
| 558(557.999) | 133 (=558/4.210) | 125.000 (=558/4.480) | NG | NG | 
| 557 | 133 (=557/4.210) | 125.000 (=557/4.480) | NG | NG | 
| 556 | 133 (=556/4.210) | 125.000 (=556/4.480) | NG | NG | 
| 555 | 133 (=555/4.172) | 125.000 (=555/4.440) | NG | OK | 
| 555 | 125 (=555/4.440) | 125.000 (=555/4.440) | OK | OK | 
| 550 | 133 (=550/4.135) | 125.000 (=550/4.400) | NG | OK | 
| 550 | 110 (=550/5.000) | 110.000 (=550/5.000) | OK | OK | 
| 532 | 133 (=532/4.000) | 125.000 (=532/4.256) | NG | OK | 
| 500 | 125 (=500/4.000) | 100.000 (=500/5.000) | NG | OK | 
| 480 | 120 (=480/4.000) | 96.000 (=480/5.000) | NG | OK | 
| 480 | 96 (=480/5.000) | 96.000 (=480/5.000) | OK | OK | 
| 400 | 100 (=400/4.000) | 100.000 (=400/4.000) | OK | OK | 
config.txt の設定 (force_turbo=1,sd_overclock=100)
- /boot/config.txt
 $ sudo nano /boot/config.txt force_turbo=1 dtparam=sd_overclock=100 $ sudo reboot
sdbench.sh
$ sudo ./sdbench.sh CONFIG: dtparam=sd_overclock=100 CLOCK : SD Bus: 100.000 MHz, CPU: 1000.000 MHz, CPU Temp: 43.312 ℃, SDRAM: 450 MHz VOLTS : core: 1.3500V, sdram(controller, I/O, physical): 1.2000V, 1.2000V, 1.2250V CORE : 400 MHz(400 MHz), turbo=1 DATA : 512 MB, /root/test.dat HDPARM: ====== Timing O_DIRECT disk reads: 126 MB in 3.03 seconds = 41.65 MB/sec Timing O_DIRECT disk reads: 126 MB in 3.03 seconds = 41.65 MB/sec Timing O_DIRECT disk reads: 126 MB in 3.03 seconds = 41.59 MB/sec WRITE: ===== 536870912 bytes (537 MB, 512 MiB) copied, 79.4532 s, 6.8 MB/s 536870912 bytes (537 MB, 512 MiB) copied, 69.8294 s, 7.7 MB/s 536870912 bytes (537 MB, 512 MiB) copied, 75.2594 s, 7.1 MB/s READ: ==== 536870912 bytes (537 MB, 512 MiB) copied, 11.8353 s, 45.4 MB/s 536870912 bytes (537 MB, 512 MiB) copied, 11.8332 s, 45.4 MB/s 536870912 bytes (537 MB, 512 MiB) copied, 11.8372 s, 45.4 MB/s RESULT (AVG): ============ core_freq turbo sd clock WRITE READ HDPARM 400 1 100.000 MHz 6.86 MB/s 43.26 MB/s 41.58 MB/s microSD card benchmark complete! CPU Temp: 45.464 ℃
microsd-benchmarks.sh
$ sudo ./microsd-benchmarks.sh
Raspberry Pi Dramble microSD benchmarks
microSD clock: 100.000 MHz
Running hdparm test...
/dev/mmcblk0:
 Timing buffered disk reads: 132 MB in  3.04 seconds =  43.47 MB/sec
Running dd test...
51200+0 レコード入力
51200+0 レコード出力
419430400 bytes (419 MB, 400 MiB) copied, 42.5475 s, 9.9 MB/s
Running iozone test...
        Iozone: Performance Test of File I/O
                Version $Revision: 3.492 $
                Compiled for 32 bit mode.
                Build: linux-arm
        Contributors:William Norcott, Don Capps, Isom Crawford, Kirby Collins
                     Al Slater, Scott Rhine, Mike Wisner, Ken Goss
                     Steve Landherr, Brad Smith, Mark Kelly, Dr. Alain CYR,
                     Randy Dunlap, Mark Montague, Dan Million, Gavin Brebner,
                     Jean-Marc Zucconi, Jeff Blomberg, Benny Halevy, Dave Boone,
                     Erik Habbinga, Kris Strecker, Walter Wong, Joshua Root,
                     Fabrice Bacchella, Zhenghua Xue, Qin Li, Darren Sawyer,
                     Vangel Bojaxhi, Ben England, Vikentsi Lapa,
                     Alexey Skidanov, Sudhir Kumar.
        Run began: Tue Mar 15 12:47:09 2022
        Include fsync in write timing
        O_DIRECT feature enabled
        Auto Mode
        File size set to 102400 kB
        Record Size 4 kB
        Command line used: ./iozone -e -I -a -s 100M -r 4k -i 0 -i 1 -i 2
        Output is in kBytes/sec
        Time Resolution = 0.000001 seconds.
        Processor cache size set to 1024 kBytes.
        Processor cache line size set to 32 bytes.
        File stride size set to 17 * record size.
                                                              random    random     bkwd    record    stride
              kB  reclen    write  rewrite    read    reread    read     write     read   rewrite      read   fwrite frewrite    fread  freread
          102400       4      809      870     6998     6998     6761      189
iozone test complete.
microSD card benchmark complete!
config.txt の設定 (force_turbo=1,core_freq=555,sd_overclock=125)
- /boot/config.txt
 $ sudo nano /boot/config.txt #----- Zero OC ----- ##fake_vsync_isr=1 ##framebuffer_swap=0 ##gpu_mem=48 ##init_emmc_clock=100000000 force_turbo=1 ##arm_freq=1150 ##arm_freq=1100 ##arm_freq=1095 for my other unit with heatsink ##arm_freq=1085 arm_freq=1050 ##gpu_freq=550 for the unit with a heatsink ##gpu_freq=530 gpu_freq=520 ##gpu_freq=300 #core_freq=560 core_freq=555 #core_freq=532 #core_freq=500 #core_freq=440 over_voltage=3 sdram_freq=533 over_voltage_sdram=1 ##over_voltage_sdram_c=7 ##over_voltage_sdram_i=7 ##over_voltage_sdram_p=8 dtparam=sd_overclock=125
sdbench.sh
$ sudo ./sdbench.sh CONFIG: core_freq=555,dtparam=sd_overclock=125 CLOCK : SD Bus: 125.000 MHz, CPU: 1050.108 MHz, CPU Temp: 34.704 ℃, SDRAM: 533 MHz VOLTS : core: 1.4000V, sdram(controller, I/O, physical): 1.2250V, 1.2250V, 1.2250V CORE : 555 MHz(555 MHz), turbo=1 DATA : 512 MB, /root/test.dat HDPARM: ====== Timing O_DIRECT disk reads: 142 MB in 3.04 seconds = 46.68 MB/sec Timing O_DIRECT disk reads: 140 MB in 3.01 seconds = 46.56 MB/sec Timing O_DIRECT disk reads: 138 MB in 3.02 seconds = 45.63 MB/sec WRITE: ===== 536870912 bytes (537 MB, 512 MiB) copied, 75.0018 s, 7.2 MB/s 536870912 bytes (537 MB, 512 MiB) copied, 74.7103 s, 7.2 MB/s 536870912 bytes (537 MB, 512 MiB) copied, 73.3767 s, 7.3 MB/s READ: ==== 536870912 bytes (537 MB, 512 MiB) copied, 10.9022 s, 49.2 MB/s 536870912 bytes (537 MB, 512 MiB) copied, 10.6658 s, 50.3 MB/s 536870912 bytes (537 MB, 512 MiB) copied, 10.6644 s, 50.3 MB/s RESULT (AVG): ============ core_freq turbo sd clock WRITE READ HDPARM 555 1 125.000 MHz 6.89 MB/s 47.66 MB/s 46.31 MB/s microSD card benchmark complete! CPU Temp: 46.540 ℃
microsd-benchmarks.sh
$ sudo ./microsd-benchmarks.sh
Raspberry Pi Dramble microSD benchmarks
microSD clock: 125.000 MHz
Running hdparm test...
/dev/mmcblk0:
 Timing buffered disk reads: 146 MB in  3.03 seconds =  48.26 MB/sec
Running dd test...
51200+0 レコード入力
51200+0 レコード出力
419430400 bytes (419 MB, 400 MiB) copied, 39.592 s, 10.6 MB/s
Running iozone test...
        Iozone: Performance Test of File I/O
                Version $Revision: 3.492 $
                Compiled for 32 bit mode.
                Build: linux-arm
        Contributors:William Norcott, Don Capps, Isom Crawford, Kirby Collins
                     Al Slater, Scott Rhine, Mike Wisner, Ken Goss
                     Steve Landherr, Brad Smith, Mark Kelly, Dr. Alain CYR,
                     Randy Dunlap, Mark Montague, Dan Million, Gavin Brebner,
                     Jean-Marc Zucconi, Jeff Blomberg, Benny Halevy, Dave Boone,
                     Erik Habbinga, Kris Strecker, Walter Wong, Joshua Root,
                     Fabrice Bacchella, Zhenghua Xue, Qin Li, Darren Sawyer,
                     Vangel Bojaxhi, Ben England, Vikentsi Lapa,
                     Alexey Skidanov, Sudhir Kumar.
        Run began: Wed Mar 16 01:46:40 2022
        Include fsync in write timing
        O_DIRECT feature enabled
        Auto Mode
        File size set to 102400 kB
        Record Size 4 kB
        Command line used: ./iozone -e -I -a -s 100M -r 4k -i 0 -i 1 -i 2
        Output is in kBytes/sec
        Time Resolution = 0.000001 seconds.
        Processor cache size set to 1024 kBytes.
        Processor cache line size set to 32 bytes.
        File stride size set to 17 * record size.
                                                              random    random     bkwd    record    stride
              kB  reclen    write  rewrite    read    reread    read     write     read   rewrite      read   fwrite frewrite    fread  freread
          102400       4      827      877     7940     7948     7729      307
iozone test complete.
microSD card benchmark complete!
config.txt の設定 (force_turbo=1,core_freq=550,sd_overclock=133)
- /boot/config.txt
 $ sudo nano /boot/config.txt #----- Zero OC ----- ##fake_vsync_isr=1 ##framebuffer_swap=0 ##gpu_mem=48 ##init_emmc_clock=100000000 force_turbo=1 ##arm_freq=1150 ##arm_freq=1095 for my other unit with heatsink ##arm_freq=1085 arm_freq=1050 ##gpu_freq=550 for the unit with a heatsink ##gpu_freq=530 gpu_freq=520 ##gpu_freq=300 core_freq=550 over_voltage=2 sdram_freq=533 over_voltage_sdram=1 ##over_voltage_sdram_c=7 ##over_voltage_sdram_i=7 ##over_voltage_sdram_p=8 dtparam=sd_overclock=133
sdbench.sh
$ sudo ./sdbench.sh CONFIG: core_freq=550,dtparam=sd_overclock=133 CLOCK : SD Bus: 125.000 MHz, CPU: 1050.108 MHz, CPU Temp: 46.540 ℃, SDRAM: 533 MHz VOLTS : core: 1.4000V, sdram(controller, I/O, physical): 1.2250V, 1.2250V, 1.2250V CORE : 550 MHz(550 MHz), turbo=1 DATA : 512 MB, /root/test.dat HDPARM: ====== Timing O_DIRECT disk reads: 138 MB in 3.05 seconds = 45.32 MB/sec Timing O_DIRECT disk reads: 136 MB in 3.00 seconds = 45.29 MB/sec Timing O_DIRECT disk reads: 138 MB in 3.01 seconds = 45.79 MB/sec WRITE: ===== 536870912 bytes (537 MB, 512 MiB) copied, 77.1025 s, 7.0 MB/s 536870912 bytes (537 MB, 512 MiB) copied, 73.325 s, 7.3 MB/s 536870912 bytes (537 MB, 512 MiB) copied, 76.304 s, 7.0 MB/s READ: ==== 536870912 bytes (537 MB, 512 MiB) copied, 10.7562 s, 49.9 MB/s 536870912 bytes (537 MB, 512 MiB) copied, 10.7478 s, 50.0 MB/s 536870912 bytes (537 MB, 512 MiB) copied, 10.7498 s, 49.9 MB/s RESULT (AVG): ============ core_freq turbo sd clock WRITE READ HDPARM 550 1 125.000 MHz 6.78 MB/s 47.62 MB/s 45.48 MB/s microSD card benchmark complete! CPU Temp: 50.844 ℃
microsd-benchmarks.sh
$ sudo ./microsd-benchmarks.sh
Raspberry Pi Dramble microSD benchmarks
microSD clock: 125.000 MHz
Running hdparm test...
/dev/mmcblk0:
 Timing buffered disk reads: 144 MB in  3.01 seconds =  47.86 MB/sec
Running dd test...
51200+0 レコード入力
51200+0 レコード出力
419430400 bytes (419 MB, 400 MiB) copied, 35.8538 s, 11.7 MB/s
Running iozone test...
        Iozone: Performance Test of File I/O
                Version $Revision: 3.492 $
                Compiled for 32 bit mode.
                Build: linux-arm
        Contributors:William Norcott, Don Capps, Isom Crawford, Kirby Collins
                     Al Slater, Scott Rhine, Mike Wisner, Ken Goss
                     Steve Landherr, Brad Smith, Mark Kelly, Dr. Alain CYR,
                     Randy Dunlap, Mark Montague, Dan Million, Gavin Brebner,
                     Jean-Marc Zucconi, Jeff Blomberg, Benny Halevy, Dave Boone,
                     Erik Habbinga, Kris Strecker, Walter Wong, Joshua Root,
                     Fabrice Bacchella, Zhenghua Xue, Qin Li, Darren Sawyer,
                     Vangel Bojaxhi, Ben England, Vikentsi Lapa,
                     Alexey Skidanov, Sudhir Kumar.
        Run began: Tue Mar 15 16:07:42 2022
        Include fsync in write timing
        O_DIRECT feature enabled
        Auto Mode
        File size set to 102400 kB
        Record Size 4 kB
        Command line used: ./iozone -e -I -a -s 100M -r 4k -i 0 -i 1 -i 2
        Output is in kBytes/sec
        Time Resolution = 0.000001 seconds.
        Processor cache size set to 1024 kBytes.
        Processor cache line size set to 32 bytes.
        File stride size set to 17 * record size.
                                                              random    random     bkwd    record    stride
              kB  reclen    write  rewrite    read    reread    read     write     read   rewrite      read   fwrite frewrite    fread  freread
          102400       4      796      863     7891     7881     6827      188
iozone test complete.
microSD card benchmark complete!
config.txt の設定 (force_turbo=1,core_freq=550,sd_overclock=110)
- /boot/config.txt
 $ sudo nano /boot/config.txt #----- Zero OC ----- ##fake_vsync_isr=1 ##framebuffer_swap=0 ##gpu_mem=48 ##init_emmc_clock=100000000 force_turbo=1 ##arm_freq=1150 ##arm_freq=1095 for my other unit with heatsink ##arm_freq=1085 arm_freq=1050 ##gpu_freq=550 for the unit with a heatsink ##gpu_freq=530 gpu_freq=520 ##gpu_freq=300 core_freq=550 over_voltage=2 sdram_freq=533 over_voltage_sdram=1 ##over_voltage_sdram_c=7 ##over_voltage_sdram_i=7 ##over_voltage_sdram_p=8 dtparam=sd_overclock=110
sdbench.sh
$ sudo ./sdbench.sh CONFIG: core_freq=550,dtparam=sd_overclock=110 CLOCK : SD Bus: 110.000 MHz, CPU: 1050.108 MHz, CPU Temp: 36.856 ℃, SDRAM: 533 MHz VOLTS : core: 1.4000V, sdram(controller, I/O, physical): 1.2250V, 1.2250V, 1.2250V CORE : 550 MHz(550 MHz), turbo=1 DATA : 512 MB, /root/test.dat HDPARM: ====== Timing O_DIRECT disk reads: 140 MB in 3.04 seconds = 46.04 MB/sec Timing O_DIRECT disk reads: 138 MB in 3.01 seconds = 45.88 MB/sec Timing O_DIRECT disk reads: 138 MB in 3.01 seconds = 45.85 MB/sec WRITE: ===== 536870912 bytes (537 MB, 512 MiB) copied, 72.9741 s, 7.4 MB/s 536870912 bytes (537 MB, 512 MiB) copied, 78.228 s, 6.9 MB/s 536870912 bytes (537 MB, 512 MiB) copied, 81.2838 s, 6.6 MB/s READ: ==== 536870912 bytes (537 MB, 512 MiB) copied, 10.7835 s, 49.8 MB/s 536870912 bytes (537 MB, 512 MiB) copied, 10.7872 s, 49.8 MB/s 536870912 bytes (537 MB, 512 MiB) copied, 10.7841 s, 49.8 MB/s RESULT (AVG): ============ core_freq turbo sd clock WRITE READ HDPARM 550 1 110.000 MHz 6.62 MB/s 47.47 MB/s 45.92 MB/s microSD card benchmark complete! CPU Temp: 47.616 ℃
microsd-benchmarks.sh
$ sudo ./microsd-benchmarks.sh
Raspberry Pi Dramble microSD benchmarks
microSD clock: 110.000 MHz
Running hdparm test...
/dev/mmcblk0:
 Timing buffered disk reads: 144 MB in  3.01 seconds =  47.85 MB/sec
Running dd test...
51200+0 レコード入力
51200+0 レコード出力
419430400 bytes (419 MB, 400 MiB) copied, 42.182 s, 9.9 MB/s
Running iozone test...
        Iozone: Performance Test of File I/O
                Version $Revision: 3.492 $
                Compiled for 32 bit mode.
                Build: linux-arm
        Contributors:William Norcott, Don Capps, Isom Crawford, Kirby Collins
                     Al Slater, Scott Rhine, Mike Wisner, Ken Goss
                     Steve Landherr, Brad Smith, Mark Kelly, Dr. Alain CYR,
                     Randy Dunlap, Mark Montague, Dan Million, Gavin Brebner,
                     Jean-Marc Zucconi, Jeff Blomberg, Benny Halevy, Dave Boone,
                     Erik Habbinga, Kris Strecker, Walter Wong, Joshua Root,
                     Fabrice Bacchella, Zhenghua Xue, Qin Li, Darren Sawyer,
                     Vangel Bojaxhi, Ben England, Vikentsi Lapa,
                     Alexey Skidanov, Sudhir Kumar.
        Run began: Tue Mar 15 13:15:05 2022
        Include fsync in write timing
        O_DIRECT feature enabled
        Auto Mode
        File size set to 102400 kB
        Record Size 4 kB
        Command line used: ./iozone -e -I -a -s 100M -r 4k -i 0 -i 1 -i 2
        Output is in kBytes/sec
        Time Resolution = 0.000001 seconds.
        Processor cache size set to 1024 kBytes.
        Processor cache line size set to 32 bytes.
        File stride size set to 17 * record size.
                                                              random    random     bkwd    record    stride
              kB  reclen    write  rewrite    read    reread    read     write     read   rewrite      read   fwrite frewrite    fread  freread
          102400       4      826      868     7878     7883     7628      314
iozone test complete.
microSD card benchmark complete!
config.txt の設定 (force_turbo=1,core_freq=532,sd_overclock=133)
- /boot/config.txt
 $ sudo nano /boot/config.txt #----- Zero OC ----- ##fake_vsync_isr=1 ##framebuffer_swap=0 ##gpu_mem=48 ##init_emmc_clock=100000000 force_turbo=1 ##arm_freq=1150 ##arm_freq=1095 for my other unit with heatsink ##arm_freq=1085 arm_freq=1050 ##gpu_freq=550 for the unit with a heatsink ##gpu_freq=530 gpu_freq=520 ##gpu_freq=300 core_freq=532 over_voltage=2 sdram_freq=533 over_voltage_sdram=1 ##over_voltage_sdram_c=7 ##over_voltage_sdram_i=7 ##over_voltage_sdram_p=8 dtparam=sd_overclock=133
sdbench.sh
$ sudo ./sdbench.sh CONFIG: core_freq=532,dtparam=sd_overclock=133 CLOCK : SD Bus: 125.000 MHz, CPU: 1050.110 MHz, CPU Temp: 47.616 ℃, SDRAM: 533 MHz VOLTS : core: 1.4000V, sdram(controller, I/O, physical): 1.2250V, 1.2250V, 1.2250V CORE : 532 MHz(532 MHz), turbo=1 DATA : 512 MB, /root/test.dat HDPARM: ====== Timing O_DIRECT disk reads: 134 MB in 3.01 seconds = 44.55 MB/sec Timing O_DIRECT disk reads: 134 MB in 3.00 seconds = 44.61 MB/sec Timing O_DIRECT disk reads: 134 MB in 3.01 seconds = 44.51 MB/sec WRITE: ===== 536870912 bytes (537 MB, 512 MiB) copied, 75.599 s, 7.1 MB/s 536870912 bytes (537 MB, 512 MiB) copied, 73.9234 s, 7.3 MB/s 536870912 bytes (537 MB, 512 MiB) copied, 75.2662 s, 7.1 MB/s READ: ==== 536870912 bytes (537 MB, 512 MiB) copied, 11.1092 s, 48.3 MB/s 536870912 bytes (537 MB, 512 MiB) copied, 11.1037 s, 48.4 MB/s 536870912 bytes (537 MB, 512 MiB) copied, 11.0987 s, 48.4 MB/s RESULT (AVG): ============ core_freq turbo sd clock WRITE READ HDPARM 532 1 125.000 MHz 6.83 MB/s 46.11 MB/s 44.57 MB/s microSD card benchmark complete! CPU Temp: 49.768 ℃
microsd-benchmarks.sh
$ sudo ./microsd-benchmarks.sh
Raspberry Pi Dramble microSD benchmarks
microSD clock: 125.000 MHz
Running hdparm test...
/dev/mmcblk0:
 Timing buffered disk reads: 140 MB in  3.02 seconds =  46.37 MB/sec
Running dd test...
51200+0 レコード入力
51200+0 レコード出力
419430400 bytes (419 MB, 400 MiB) copied, 41.1053 s, 10.2 MB/s
Running iozone test...
        Iozone: Performance Test of File I/O
                Version $Revision: 3.492 $
                Compiled for 32 bit mode.
                Build: linux-arm
        Contributors:William Norcott, Don Capps, Isom Crawford, Kirby Collins
                     Al Slater, Scott Rhine, Mike Wisner, Ken Goss
                     Steve Landherr, Brad Smith, Mark Kelly, Dr. Alain CYR,
                     Randy Dunlap, Mark Montague, Dan Million, Gavin Brebner,
                     Jean-Marc Zucconi, Jeff Blomberg, Benny Halevy, Dave Boone,
                     Erik Habbinga, Kris Strecker, Walter Wong, Joshua Root,
                     Fabrice Bacchella, Zhenghua Xue, Qin Li, Darren Sawyer,
                     Vangel Bojaxhi, Ben England, Vikentsi Lapa,
                     Alexey Skidanov, Sudhir Kumar.
        Run began: Tue Mar 15 15:43:02 2022
        Include fsync in write timing
        O_DIRECT feature enabled
        Auto Mode
        File size set to 102400 kB
        Record Size 4 kB
        Command line used: ./iozone -e -I -a -s 100M -r 4k -i 0 -i 1 -i 2
        Output is in kBytes/sec
        Time Resolution = 0.000001 seconds.
        Processor cache size set to 1024 kBytes.
        Processor cache line size set to 32 bytes.
        File stride size set to 17 * record size.
                                                              random    random     bkwd    record    stride
              kB  reclen    write  rewrite    read    reread    read     write     read   rewrite      read   fwrite frewrite    fread  freread
          102400       4      792      855     7791     7793     6761      184
iozone test complete.
microSD card benchmark complete!
