HPE MSA-2050、FC読み取り/書き込み速度が非常に遅い

HPE MSA-2050、FC読み取り/書き込み速度が非常に遅い

Debian 9.8を実行しているHP DL380 Gen10サーバー(デュアルXeon Silver 4110 2.10GHz、128Gb RAM、qlogic qla2xxx)は、データベースサーバー(percona server-5.6.43-84.3)として機能します。

Mysqlデータディレクトリは、FCを介してHPE MSA-2050(RAID 10、SAS HDD 900Gb 15K 14個、ディスクグループ1個、プール1個、2.5Tb ext4ボリューム1個)に16Gbpsで接続されます。単一の光リンクを使用します(マルチパスなし)。

次のことは、次をsysbench使用してランダムな読み書き速度をテストすることです。したがって、mysql I/Oも同じ速度を出す。

ただし、順次読み取り/書き込みテストを使用すると、速度は800 / 600 M / sに増加します。ddデータ書き込み、コピー操作、または順次ファイル操作に使用する場合、速度は同じです。

HPE MSAでさまざまなプールとボリュームのオプションを試しましたが、成功しませんでした。

オプションでマウントされたSANボリューム/dev/sde1 on /mysql-data type ext4 (rw,noatime,stripe=256,data=ordered)

このテストに合格してください:

sysbench --test=fileio --file-total-size=150G prepare sysbench --test=fileio --file-total-size=150G --file-test-mode=rndrd --max-time=100 --max-requests=0 run

結果:

Number of threads: 1
Initializing random number generator from current time


Extra file open flags: (none)
128 files, 1.1719GiB each
150GiB total file size
Block size 16KiB
Number of IO requests: 0
Read/Write ratio for combined random IO test: 1.50
Periodic FSYNC enabled, calling fsync() each 100 requests.
Calling fsync() at the end of test, Enabled.
Using synchronous I/O mode
Doing random read test
Initializing worker threads...

Threads started!

File operations:
    reads/s:                      561.86
    writes/s:                     0.00
    fsyncs/s:                     0.00

Throughput:
    read, MiB/s:                  8.78
    written, MiB/s:               0.00

General statistics:
    total time:                          100.0053s
    total number of events:              56191

Latency (ms):
         min:                                    0.01
         avg:                                    1.78
         max:                                  111.23
         95th percentile:                       11.65
         sum:                                99924.80

Threads fairness:
    events (avg/stddev):           56191.0000/0.00
    execution time (avg/stddev):   99.9248/0.00

開始すると、sysbench --test=fileio --file-total-size=150G --file-test-mode=seqrd --max-time=100 --max-requests=0 run結果は次のようになります。

Running the test with following options:
Number of threads: 1
Initializing random number generator from current time


Extra file open flags: (none)
128 files, 1.1719GiB each
150GiB total file size
Block size 16KiB
Periodic FSYNC enabled, calling fsync() each 100 requests.
Calling fsync() at the end of test, Enabled.
Using synchronous I/O mode
Doing sequential read test
Initializing worker threads...

Threads started!


File operations:
    reads/s:                      31642.04
    writes/s:                     0.00
    fsyncs/s:                     0.00

Throughput:
    read, MiB/s:                  494.41
    written, MiB/s:               0.00

General statistics:
    total time:                          100.0008s
    total number of events:              3164351

Latency (ms):
         min:                                    0.00
         avg:                                    0.03
         max:                                   32.77
         95th percentile:                        0.06
         sum:                                98523.42

Threads fairness:
    events (avg/stddev):           3164351.0000/0.00
    execution time (avg/stddev):   98.5234/0.00

ランダム書き込みと順次書き込みの結果は似ています。

質問がありますか?

ベストアンサー1

おすすめ記事