差分
このページの2つのバージョン間の差分を表示します。
次のリビジョン | 前のリビジョン 次のリビジョン両方とも次のリビジョン | ||
hardware:raspberry_pi:sdcard_overclock:sandisk_128gb_microsdxc_class10_uhs-i_u1_a1 [2022/03/13 08:52] – 作成 ともやん | hardware:raspberry_pi:sdcard_overclock:sandisk_128gb_microsdxc_class10_uhs-i_u1_a1 [2022/03/28 11:57] – [設定値割り出し] ともやん | ||
---|---|---|---|
行 6: | 行 6: | ||
$ python3 read_sd_attr.py | $ python3 read_sd_attr.py | ||
+ | ===== SD and MMC Block Device Attributes Reader Ver 0.02 ===== | ||
+ | device: / | ||
+ | ---------------------------------------- | ||
+ | cid: 035344534431323885d7c3db51015ba9\n | ||
+ | csd: 400e00325b590003b8ab7f800a404079\n | ||
+ | scr: 0245804300000000\n | ||
+ | date: 11/2021\n | ||
+ | fwrev: 0x5\n | ||
+ | hwrev: 0x8\n | ||
+ | manfid: 0x000003\n | ||
+ | name: SD128\n | ||
+ | oemid: 0x5344\n (' | ||
+ | prv: None | ||
+ | serial: 0xd7c3db51\n | ||
+ | erase_size: 512\n | ||
+ | preferred_erase_size: | ||
+ | raw_rpmb_size_mult: | ||
+ | rel_sectors: | ||
+ | ocr: 0x00200000\n | ||
+ | dsr: 0x404\n | ||
+ | cmdq_en: None | ||
+ | ---------------------------------------- | ||
</ | </ | ||
行 14: | 行 36: | ||
<WRAP mincode_long>< | <WRAP mincode_long>< | ||
$ sudo ./ | $ sudo ./ | ||
+ | |||
+ | CONFIG: default | ||
+ | CLOCK : SD Bus: 50.000 MHz, CPU: 1000.000 MHz, CPU Temp: 42.236 ℃, SDRAM: 450 MHz | ||
+ | VOLTS : core: 1.3500V, sdram(controller, | ||
+ | CORE : 400 MHz(400 MHz), turbo=0 | ||
+ | DATA : 512 MB, / | ||
+ | |||
+ | HDPARM: | ||
+ | ====== | ||
+ | | ||
+ | | ||
+ | | ||
+ | |||
+ | WRITE: | ||
+ | ===== | ||
+ | 536870912 bytes (537 MB, 512 MiB) copied, 32.2294 s, 16.7 MB/s | ||
+ | 536870912 bytes (537 MB, 512 MiB) copied, 31.9951 s, 16.8 MB/s | ||
+ | 536870912 bytes (537 MB, 512 MiB) copied, 31.5782 s, 17.0 MB/s | ||
+ | |||
+ | READ: | ||
+ | ==== | ||
+ | 536870912 bytes (537 MB, 512 MiB) copied, 23.1221 s, 23.2 MB/s | ||
+ | 536870912 bytes (537 MB, 512 MiB) copied, 23.3045 s, 23.0 MB/s | ||
+ | 536870912 bytes (537 MB, 512 MiB) copied, 23.1063 s, 23.2 MB/s | ||
+ | |||
+ | RESULT (AVG): | ||
+ | ============ | ||
+ | core_freq | ||
+ | | ||
+ | |||
+ | microSD card benchmark complete! | ||
+ | CPU Temp: 43.850 ℃ | ||
</ | </ | ||
行 20: | 行 74: | ||
<WRAP mincode_long>< | <WRAP mincode_long>< | ||
$ sudo ./ | $ sudo ./ | ||
+ | |||
+ | Raspberry Pi Dramble microSD benchmarks | ||
+ | microSD clock: 50.000 MHz | ||
+ | |||
+ | Running hdparm test... | ||
+ | |||
+ | / | ||
+ | | ||
+ | |||
+ | Running dd test... | ||
+ | |||
+ | 51200+0 レコード入力 | ||
+ | 51200+0 レコード出力 | ||
+ | 419430400 bytes (419 MB, 400 MiB) copied, 23.8758 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: | ||
+ | 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, | ||
+ | | ||
+ | Erik Habbinga, Kris Strecker, Walter Wong, Joshua Root, | ||
+ | | ||
+ | | ||
+ | | ||
+ | |||
+ | Run began: Wed Mar 16 02:19: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 | ||
+ | |||
+ | kB reclen | ||
+ | 102400 | ||
+ | |||
+ | |||
+ | iozone test complete. | ||
+ | |||
+ | microSD card benchmark complete! | ||
</ | </ | ||
行 25: | 行 132: | ||
===== オーバークロック後 ===== | ===== オーバークロック後 ===== | ||
- | ==== config.txt の設定 (その1) ==== | + | ==== 設定値割り出し ==== |
+ | <WRAP mintbl> | ||
+ | ^ core_freq (MHz) ^ dtparam=sd_overclock (MHz) ^ actual clock (MHz) ^ judge ^ benchmark | ||
+ | | 550 | 110 (=550/ | ||
+ | | 525 | 105 (=525/ | ||
+ | | 520 | 104 (=520/ | ||
+ | | 532 | 100 (=500/ | ||
+ | | 515 | 100 (=500/ | ||
+ | | 510 | 100 (=500/ | ||
+ | | 500 | 125 (=500/ | ||
+ | | 500 | 120 (=500/ | ||
+ | | 500 | 115 (=500/ | ||
+ | | 500 | 110 (=500/ | ||
+ | | 500 | 105 (=500/ | ||
+ | | 500 | 100 (=500/ | ||
+ | </ | ||
+ | |||
+ | ==== config.txt の設定 (force_turbo=1, | ||
<WRAP mincode>< | <WRAP mincode>< | ||
$ sudo nano / | $ sudo nano / | ||
行 38: | 行 162: | ||
<WRAP mincode_long>< | <WRAP mincode_long>< | ||
$ sudo ./ | $ sudo ./ | ||
+ | |||
+ | CONFIG: dtparam=sd_overclock=100 | ||
+ | CLOCK : SD Bus: 100.000 MHz, CPU: 1000.000 MHz, CPU Temp: 41.160 ℃, SDRAM: 450 MHz | ||
+ | VOLTS : core: 1.3500V, sdram(controller, | ||
+ | CORE : 400 MHz(400 MHz), turbo=1 | ||
+ | DATA : 512 MB, / | ||
+ | |||
+ | HDPARM: | ||
+ | ====== | ||
+ | | ||
+ | | ||
+ | | ||
+ | |||
+ | WRITE: | ||
+ | ===== | ||
+ | 536870912 bytes (537 MB, 512 MiB) copied, 32.7833 s, 16.4 MB/s | ||
+ | 536870912 bytes (537 MB, 512 MiB) copied, 28.2781 s, 19.0 MB/s | ||
+ | 536870912 bytes (537 MB, 512 MiB) copied, 29.6275 s, 18.1 MB/s | ||
+ | |||
+ | READ: | ||
+ | ==== | ||
+ | 536870912 bytes (537 MB, 512 MiB) copied, 12.25 s, 43.8 MB/s | ||
+ | 536870912 bytes (537 MB, 512 MiB) copied, 12.1017 s, 44.4 MB/s | ||
+ | 536870912 bytes (537 MB, 512 MiB) copied, 12.3091 s, 43.6 MB/s | ||
+ | |||
+ | RESULT (AVG): | ||
+ | ============ | ||
+ | core_freq | ||
+ | | ||
+ | |||
+ | microSD card benchmark complete! | ||
+ | CPU Temp: 48.154 ℃ | ||
</ | </ | ||
行 44: | 行 200: | ||
<WRAP mincode_long>< | <WRAP mincode_long>< | ||
$ sudo ./ | $ sudo ./ | ||
+ | |||
+ | Raspberry Pi Dramble microSD benchmarks | ||
+ | microSD clock: 100.000 MHz | ||
+ | |||
+ | Running hdparm test... | ||
+ | |||
+ | / | ||
+ | | ||
+ | |||
+ | Running dd test... | ||
+ | |||
+ | 51200+0 レコード入力 | ||
+ | 51200+0 レコード出力 | ||
+ | 419430400 bytes (419 MB, 400 MiB) copied, 22.5824 s, 18.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: | ||
+ | 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, | ||
+ | | ||
+ | Erik Habbinga, Kris Strecker, Walter Wong, Joshua Root, | ||
+ | | ||
+ | | ||
+ | | ||
+ | |||
+ | Run began: Wed Mar 16 02:31:16 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 | ||
+ | |||
+ | kB reclen | ||
+ | 102400 | ||
+ | |||
+ | |||
+ | iozone test complete. | ||
+ | |||
+ | microSD card benchmark complete! | ||
</ | </ | ||
- | ==== config.txt の設定 (その2) ==== | + | ==== config.txt の設定 (force_turbo=1, |
<WRAP mincode>< | <WRAP mincode>< | ||
$ sudo nano / | $ sudo nano / | ||
行 60: | 行 269: | ||
## | ## | ||
+ | ## | ||
## | ## | ||
## | ## | ||
行 69: | 行 279: | ||
## | ## | ||
- | core_freq=515 | + | ##core_freq=560 |
- | over_voltage=2 | + | # |
+ | ## | ||
+ | core_freq=500 | ||
+ | ## | ||
+ | over_voltage=3 | ||
sdram_freq=533 | sdram_freq=533 | ||
行 79: | 行 293: | ||
dtparam=sd_overclock=100 | dtparam=sd_overclock=100 | ||
+ | # | ||
</ | </ | ||
行 84: | 行 299: | ||
<WRAP mincode_long>< | <WRAP mincode_long>< | ||
$ sudo ./ | $ sudo ./ | ||
+ | |||
+ | CONFIG: core_freq=500, | ||
+ | CLOCK : SD Bus: 100.000 MHz, CPU: 1050.110 MHz, CPU Temp: 40.622 ℃, SDRAM: 533 MHz | ||
+ | VOLTS : core: 1.4000V, sdram(controller, | ||
+ | CORE : 500 MHz(500 MHz), turbo=1 | ||
+ | DATA : 512 MB, / | ||
+ | |||
+ | HDPARM: | ||
+ | ====== | ||
+ | | ||
+ | | ||
+ | | ||
+ | |||
+ | WRITE: | ||
+ | ===== | ||
+ | 536870912 bytes (537 MB, 512 MiB) copied, 24.986 s, 21.5 MB/s | ||
+ | 536870912 bytes (537 MB, 512 MiB) copied, 24.3514 s, 22.0 MB/s | ||
+ | 536870912 bytes (537 MB, 512 MiB) copied, 25.5795 s, 21.0 MB/s | ||
+ | |||
+ | READ: | ||
+ | ==== | ||
+ | 536870912 bytes (537 MB, 512 MiB) copied, 12.0372 s, 44.6 MB/s | ||
+ | 536870912 bytes (537 MB, 512 MiB) copied, 12.0061 s, 44.7 MB/s | ||
+ | 536870912 bytes (537 MB, 512 MiB) copied, 12.3255 s, 43.6 MB/s | ||
+ | |||
+ | RESULT (AVG): | ||
+ | ============ | ||
+ | core_freq | ||
+ | | ||
+ | |||
+ | microSD card benchmark complete! | ||
+ | CPU Temp: 49.768 ℃ | ||
</ | </ | ||
行 90: | 行 337: | ||
<WRAP mincode_long>< | <WRAP mincode_long>< | ||
$ sudo ./ | $ sudo ./ | ||
+ | |||
+ | Raspberry Pi Dramble microSD benchmarks | ||
+ | microSD clock: 100.000 MHz | ||
+ | |||
+ | Running hdparm test... | ||
+ | |||
+ | / | ||
+ | | ||
+ | |||
+ | Running dd test... | ||
+ | |||
+ | 51200+0 レコード入力 | ||
+ | 51200+0 レコード出力 | ||
+ | 419430400 bytes (419 MB, 400 MiB) copied, 17.4052 s, 24.1 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: | ||
+ | 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, | ||
+ | | ||
+ | Erik Habbinga, Kris Strecker, Walter Wong, Joshua Root, | ||
+ | | ||
+ | | ||
+ | | ||
+ | |||
+ | Run began: Wed Mar 16 02:57: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 | ||
+ | |||
+ | kB reclen | ||
+ | 102400 | ||
+ | |||
+ | |||
+ | iozone test complete. | ||
+ | |||
+ | microSD card benchmark complete! | ||
</ | </ | ||