Raspberry Pi 1 B+のFreeBSD - システムSDカードの読み取り/書き込み速度が非常に遅い

Raspberry Pi 1 B+のFreeBSD - システムSDカードの読み取り/書き込み速度が非常に遅い

Goodram Class 10 16GB SDカードを使用してRaspberry Pi 1 B+(armv6l)に公式FreeBSD 13-RELEASEをインストールしましたが、ディスクの読み書きが非常に遅い(186KB /秒)。

# diskinfo -tv /dev/mmcsd0
/dev/mmcsd0
        512             # sectorsize
        15634268160     # mediasize in bytes (15G)
        30535680        # mediasize in sectors
        4194304         # stripesize
        0               # stripeoffset
        SDHC SD16G 2.0 SN 00000247 MFG 04/2021 by 254 42        # Disk descr.
        00000247        # Disk ident.
                        # Attachment
        Yes             # TRIM/UNMAP support
        0               # Rotation rate in RPM

Seek times:
        Full stroke:      250 iter in   0.954876 sec =    3.820 msec
        Half stroke:      250 iter in   0.946644 sec =    3.787 msec
        Quarter stroke:   500 iter in   1.888141 sec =    3.776 msec
        Short forward:    400 iter in   1.510555 sec =    3.776 msec
        Short backward:   400 iter in   1.510279 sec =    3.776 msec
        Seq outer:       2048 iter in   7.485804 sec =    3.655 msec
        Seq inner:       2048 iter in   7.220448 sec =    3.526 msec

Transfer rates:
        outside:       102400 kbytes in 549.596899 sec =      186 kbytes/sec
        middle:        102400 kbytes in 549.520508 sec =      186 kbytes/sec
        inside:        102400 kbytes in 547.767644 sec =      187 kbytes/sec

名前:

# uname -a
FreeBSD rpi-b 13.0-RELEASE FreeBSD 13.0-RELEASE #0 releng/13.0-n244733-ea31abc261f: Fri Apr  9 06:30:27 UTC 2021     [email protected]:/usr/obj/usr/src/arm.armv6/sys/RPI-B  arm

システム全体の速度も非常に遅い(たとえば、起動時間〜5分)。ここで何をすべきかについてのアイデアはありますか?

ベストアンサー1

Sandisk Ultra SDHC 16Gは私に適しています。


  • 13.0のRPiゼロ(ARM ARM1176 r0p7)
  • mmcsd0: 16GB <SDHC SU16G 8.0 SN 00736959 MFG 06/2013 by 3 SD> (mmc0 50.0MHz/4bit/65535ブロック)
  • ロードなし、時々テスト用
  • 午後9時34分33日、午前18時34分、ユーザー1人、負荷平均:0.01、0.02、0.00
root@rpi-b:~ # diskinfo -tv /dev/mmcsd0
/dev/mmcsd0
    512             # sectorsize
    15931539456     # mediasize in bytes (15G)
    31116288        # mediasize in sectors
    4194304         # stripesize
    0               # stripeoffset
    SDHC SU16G 8.0 SN 00736959 MFG 06/2013 by 3 SD  # Disk descr.
    00736959        # Disk ident.
                    # Attachment
    Yes             # TRIM/UNMAP support
    0               # Rotation rate in RPM

Seek times:
    Full stroke:      250 iter in   0.176581 sec =    0.706 msec
    Half stroke:      250 iter in   0.346380 sec =    1.386 msec
    Quarter stroke:   500 iter in   0.318554 sec =    0.637 msec
    Short forward:    400 iter in   0.249260 sec =    0.623 msec
    Short backward:   400 iter in   0.242115 sec =    0.605 msec
    Seq outer:   2048 iter in   1.541124 sec =    0.753 msec
    Seq inner:   2048 iter in   1.592520 sec =    0.778 msec

Transfer rates:
    outside:       102400 kbytes in   6.119237 sec =    16734 kbytes/sec
    middle:        102400 kbytes in   6.354481 sec =    16115 kbytes/sec
    inside:        102400 kbytes in   6.650328 sec =    15398 kbytes/sec

  • 12.2のRPi3(ARM Cortex-A53 r0p4)
  • mmcsd0: mmc0 50.0MHz/4bit/65535ブロックの16GB <SDHC SU16G 8.0 SN 1CCBFA6F MFG 10/2012 by 3 SD>。
  • 問題なく低ボリュームNagiosテスト
  • 午前12時89日、23時38分、ユーザー1人、負荷平均:0.00、0.00、0.00
root@rpi-3:~ # diskinfo -tv /dev/mmcsd0
/dev/mmcsd0
    512             # sectorsize
    15931539456     # mediasize in bytes (15G)
    31116288        # mediasize in sectors
    4194304         # stripesize
    0               # stripeoffset
    SDHC SU16G 8.0 SN 1CCBFA6F MFG 10/2012 by 3 SD  # Disk descr.
    1CCBFA6F        # Disk ident.
    Yes             # TRIM/UNMAP support
    0               # Rotation rate in RPM

Seek times:
    Full stroke:      250 iter in   0.825192 sec =    3.301 msec
    Half stroke:      250 iter in   0.533887 sec =    2.136 msec
    Quarter stroke:   500 iter in   0.648232 sec =    1.296 msec
    Short forward:    400 iter in   0.198193 sec =    0.495 msec
    Short backward:   400 iter in   1.061558 sec =    2.654 msec
    Seq outer:   2048 iter in   1.054052 sec =    0.515 msec
    Seq inner:   2048 iter in   0.821306 sec =    0.401 msec

Transfer rates:
    outside:       102400 kbytes in   5.042619 sec =    20307 kbytes/sec
    middle:        102400 kbytes in   4.768441 sec =    21475 kbytes/sec
    inside:        102400 kbytes in   5.317633 sec =    19257 kbytes/sec

おすすめ記事