目次
文書の過去の版を表示しています。
KIOXIA EXCERIA 128GB microSDXC Class10 UHS-I U1 (read 100MB/s)
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: 02544d5341313238722aaa858e01551f\n csd: 400e00325b590003a2df7f800a400001\n scr: 0205808301000000\n date: 05/2021\n fwrev: 0x2\n hwrev: 0x7\n manfid: 0x000002\n name: SA128\n oemid: 0x544d\n ('TM') prv: None serial: 0x2aaa858e\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.104 MHz, CPU Temp: 44.388 ℃, 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.01 seconds = 21.89 MB/sec Timing O_DIRECT disk reads: 66 MB in 3.07 seconds = 21.51 MB/sec WRITE: ===== 536870912 bytes (537 MB, 512 MiB) copied, 42.0641 s, 12.8 MB/s 536870912 bytes (537 MB, 512 MiB) copied, 45.2603 s, 11.9 MB/s 536870912 bytes (537 MB, 512 MiB) copied, 40.4184 s, 13.3 MB/s READ: ==== 536870912 bytes (537 MB, 512 MiB) copied, 23.1773 s, 23.2 MB/s 536870912 bytes (537 MB, 512 MiB) copied, 23.1925 s, 23.1 MB/s 536870912 bytes (537 MB, 512 MiB) copied, 23.183 s, 23.2 MB/s RESULT (AVG): ============ core_freq turbo sd clock WRITE READ HDPARM 400 0 50.000 MHz 12.05 MB/s 22.09 MB/s 21.79 MB/s microSD card benchmark complete! CPU Temp: 44.926 ℃
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.23 MB/sec Running dd test... 51200+0 レコード入力 51200+0 レコード出力 419430400 bytes (419 MB, 400 MiB) copied, 31.2954 s, 13.4 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 30 12:03:11 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 2730 3664 5736 5741 5010 3531 iozone test complete. microSD card benchmark complete!
オーバークロック後
設定値割り出し
core_freq (MHz) | dtparam=sd_overclock (MHz) | actual clock (MHz) | judge | benchmark |
---|---|---|---|---|
576 | 125 (=576/4.608) | 125.000 (=576/8.000) | boot NG | - |
575 | 125 (=575/4.600) | 115.000 (=575/8.000) | NG | - |
574 | 125 (=574/4.592) | 114.800 (=574/5.000) | NG | NG |
573 | 125 (=573/4.584) | 63.667 (=573/8.999) | NG | NG |
572 | 125 (=572/4.576) | 95.333 (=572/6.000) | NG | NG |
571 | 125 (=571/4.568) | 95.333 (=571/6.000) | NG | NG |
570 | 125 (=570/4.560) | 50.000 (=570/11.400) | NG | NG |
569 | 125 (=569/4.560) | 83.333 (=569/4.552) | NG | NG |
568 | 125 (=568/4.560) | 113.600 (=568/4.544) | NG | NG |
567 | 125 (=567/4.536) | 125.000 (=567/4.536) | OK | OK |
566 | 125 (=566/4.528) | 125.000 (=566/4.421) | OK | OK |
565 | 125 (=565/4.520) | 125.000 (=565/4.520) | OK | OK |
560 | 125 (=560/4.480) | 125.000 (=560/4.480) | OK | OK |
555 | 125 (=555/4.440) | 125.000 (=555/4.440) | OK | OK |
550 | 125 (=550/4.400) | 125.000 (=550/4.400) | OK | OK |
550 | 110 (=550/5.000) | 110.000 (=550/5.000) | OK | OK |
500 | 125 (=500/4.000) | 125.000 (=500/4.000) | boot NG | - |
500 | 100 (=500/5.000) | 100.000 (=500/5.000) | OK | OK |
core_freq=565 を設定するには、over_voltage=2 へ変更。
core_freq=565 で sd bus freq が 113.000 MHz にダウンするので、over_voltage=3 へ変更。
core_freq=566 以降は不安定。
core_freq=567 で sd bus freq が 113.400 MHz にダウンするので、over_voltage=7 へ変更。
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: 44.388 ℃, 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: 124 MB in 3.01 seconds = 41.20 MB/sec Timing O_DIRECT disk reads: 124 MB in 3.01 seconds = 41.18 MB/sec Timing O_DIRECT disk reads: 124 MB in 3.02 seconds = 41.10 MB/sec WRITE: ===== 536870912 bytes (537 MB, 512 MiB) copied, 37.2488 s, 14.4 MB/s 536870912 bytes (537 MB, 512 MiB) copied, 36.7761 s, 14.6 MB/s 536870912 bytes (537 MB, 512 MiB) copied, 39.1785 s, 13.7 MB/s READ: ==== 536870912 bytes (537 MB, 512 MiB) copied, 12.3571 s, 43.4 MB/s 536870912 bytes (537 MB, 512 MiB) copied, 12.5768 s, 42.7 MB/s 536870912 bytes (537 MB, 512 MiB) copied, 12.0358 s, 44.6 MB/s RESULT (AVG): ============ core_freq turbo sd clock WRITE READ HDPARM 400 1 100.000 MHz 13.58 MB/s 41.56 MB/s 41.15 MB/s microSD card benchmark complete! CPU Temp: 47.078 ℃
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: 130 MB in 3.02 seconds = 43.01 MB/sec Running dd test... 51200+0 レコード入力 51200+0 レコード出力 419430400 bytes (419 MB, 400 MiB) copied, 27.1918 s, 15.4 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 30 13:33:28 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 2798 3745 6359 6362 5483 3793 iozone test complete. microSD card benchmark complete!
config.txt の設定 (force_turbo=1,core_freq=565,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=565 ##core_freq=532 ##core_freq=500 ##core_freq=440 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=125 #dtparam=sd_overclock=125
sdbench.sh
$ sudo ./sdbench.sh CONFIG: core_freq=565,dtparam=sd_overclock=125 CLOCK : SD Bus: 125.000 MHz, CPU: 1050.110 MHz, CPU Temp: 43.312 ℃, SDRAM: 533 MHz VOLTS : core: 1.4000V, sdram(controller, I/O, physical): 1.2250V, 1.2250V, 1.2250V CORE : 565 MHz(565 MHz), turbo=1 DATA : 512 MB, /root/test.dat HDPARM: ====== Timing O_DIRECT disk reads: 142 MB in 3.00 seconds = 47.27 MB/sec Timing O_DIRECT disk reads: 142 MB in 3.01 seconds = 47.24 MB/sec Timing O_DIRECT disk reads: 142 MB in 3.02 seconds = 46.99 MB/sec WRITE: ===== 536870912 bytes (537 MB, 512 MiB) copied, 33.2574 s, 16.1 MB/s 536870912 bytes (537 MB, 512 MiB) copied, 32.9995 s, 16.3 MB/s 536870912 bytes (537 MB, 512 MiB) copied, 33.2747 s, 16.1 MB/s READ: ==== 536870912 bytes (537 MB, 512 MiB) copied, 10.7843 s, 49.8 MB/s 536870912 bytes (537 MB, 512 MiB) copied, 10.7909 s, 49.8 MB/s 536870912 bytes (537 MB, 512 MiB) copied, 10.7849 s, 49.8 MB/s RESULT (AVG): ============ core_freq turbo sd clock WRITE READ HDPARM 565 1 125.000 MHz 15.44 MB/s 47.47 MB/s 47.18 MB/s microSD card benchmark complete! CPU Temp: 47.078 ℃
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: 148 MB in 3.01 seconds = 49.16 MB/sec Running dd test... 51200+0 レコード入力 51200+0 レコード出力 419430400 bytes (419 MB, 400 MiB) copied, 23.8946 s, 17.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: Fri Apr 1 10:08:53 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 3160 4263 7336 7343 6205 4205 iozone test complete. microSD card benchmark complete!
config.txt の設定 (force_turbo=1,core_freq=550,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=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=1 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=550,dtparam=sd_overclock=125 CLOCK : SD Bus: 125.000 MHz, CPU: 1050.110 MHz, CPU Temp: 34.704 ℃, SDRAM: 533 MHz VOLTS : core: 1.3750V, 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.03 seconds = 45.59 MB/sec Timing O_DIRECT disk reads: 136 MB in 3.00 seconds = 45.31 MB/sec Timing O_DIRECT disk reads: 138 MB in 3.02 seconds = 45.76 MB/sec WRITE: ===== 536870912 bytes (537 MB, 512 MiB) copied, 34.4274 s, 15.6 MB/s 536870912 bytes (537 MB, 512 MiB) copied, 32.9932 s, 16.3 MB/s 536870912 bytes (537 MB, 512 MiB) copied, 32.0265 s, 16.8 MB/s READ: ==== 536870912 bytes (537 MB, 512 MiB) copied, 11.2592 s, 47.7 MB/s 536870912 bytes (537 MB, 512 MiB) copied, 11.13 s, 48.2 MB/s 536870912 bytes (537 MB, 512 MiB) copied, 11.2834 s, 47.6 MB/s RESULT (AVG): ============ core_freq turbo sd clock WRITE READ HDPARM 550 1 125.000 MHz 15.46 MB/s 45.62 MB/s 45.52 MB/s microSD card benchmark complete! CPU Temp: 46.002 ℃
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: 138 MB in 3.01 seconds = 45.85 MB/sec Running dd test... 51200+0 レコード入力 51200+0 レコード出力 419430400 bytes (419 MB, 400 MiB) copied, 23.8174 s, 17.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: Fri Apr 1 09:38: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 3071 4228 7318 7322 6203 4063 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=1 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.110 MHz, CPU Temp: 44.388 ℃, SDRAM: 533 MHz VOLTS : core: 1.3750V, 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.03 seconds = 45.47 MB/sec Timing O_DIRECT disk reads: 136 MB in 3.00 seconds = 45.28 MB/sec Timing O_DIRECT disk reads: 136 MB in 3.01 seconds = 45.23 MB/sec WRITE: ===== 536870912 bytes (537 MB, 512 MiB) copied, 33.402 s, 16.1 MB/s 536870912 bytes (537 MB, 512 MiB) copied, 34.7447 s, 15.5 MB/s 536870912 bytes (537 MB, 512 MiB) copied, 33.4198 s, 16.1 MB/s READ: ==== 536870912 bytes (537 MB, 512 MiB) copied, 11.1318 s, 48.2 MB/s 536870912 bytes (537 MB, 512 MiB) copied, 11.1767 s, 48.0 MB/s 536870912 bytes (537 MB, 512 MiB) copied, 11.2143 s, 47.9 MB/s RESULT (AVG): ============ core_freq turbo sd clock WRITE READ HDPARM 550 1 110.000 MHz 15.13 MB/s 45.82 MB/s 45.35 MB/s microSD card benchmark complete! CPU Temp: 49.768 ℃
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: 142 MB in 3.00 seconds = 47.28 MB/sec Running dd test... 51200+0 レコード入力 51200+0 レコード出力 419430400 bytes (419 MB, 400 MiB) copied, 23.88 s, 17.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 30 15:18:06 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 3055 4231 7176 7176 6118 4164 iozone test complete. microSD card benchmark complete!
config.txt の設定 (force_turbo=1,core_freq=500,sd_overclock=100)
- /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=500 over_voltage=1 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=100
over_voltage=1 core クロックを 500 MHz に引き上げるなら 1 くらいはボルテージを盛らないと Kernel パニックで起動出来ませんでした。
sdbench.sh
$ sudo ./sdbench.sh CONFIG: core_freq=500,dtparam=sd_overclock=100 CLOCK : SD Bus: 100.000 MHz, CPU: 1050.110 MHz, CPU Temp: 40.622 ℃, SDRAM: 533 MHz VOLTS : core: 1.3750V, sdram(controller, I/O, physical): 1.2250V, 1.2250V, 1.2250V CORE : 500 MHz(500 MHz), turbo=1 DATA : 512 MB, /root/test.dat HDPARM: ====== Timing O_DIRECT disk reads: 128 MB in 3.02 seconds = 42.37 MB/sec Timing O_DIRECT disk reads: 128 MB in 3.03 seconds = 42.21 MB/sec Timing O_DIRECT disk reads: 128 MB in 3.04 seconds = 42.15 MB/sec WRITE: ===== 536870912 bytes (537 MB, 512 MiB) copied, 35.0098 s, 15.3 MB/s 536870912 bytes (537 MB, 512 MiB) copied, 33.4804 s, 16.0 MB/s 536870912 bytes (537 MB, 512 MiB) copied, 33.5926 s, 16.0 MB/s READ: ==== 536870912 bytes (537 MB, 512 MiB) copied, 12.4019 s, 43.3 MB/s 536870912 bytes (537 MB, 512 MiB) copied, 12.3895 s, 43.3 MB/s 536870912 bytes (537 MB, 512 MiB) copied, 12.1872 s, 44.1 MB/s RESULT (AVG): ============ core_freq turbo sd clock WRITE READ HDPARM 500 1 100.000 MHz 15.05 MB/s 41.54 MB/s 42.24 MB/s microSD card benchmark complete! CPU Temp: 49.230 ℃
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: 130 MB in 3.04 seconds = 42.80 MB/sec Running dd test... 51200+0 レコード入力 51200+0 レコード出力 419430400 bytes (419 MB, 400 MiB) copied, 25.3463 s, 16.5 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 30 14:24:27 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 3052 4036 6928 6930 5959 4091 iozone test complete. microSD card benchmark complete!
config.txt の設定 (force_turbo=1,core_freq=,sd_overclock=)
- /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=500 over_voltage=1 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=100
sdbench.sh
$ sudo ./sdbench.sh
microsd-benchmarks.sh
$ sudo ./microsd-benchmarks.sh