# SOME DESCRIPTIVE TITLE # Copyright (C) YEAR Free Software Foundation, Inc. # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "POT-Creation-Date: 2019-01-14 13:37+0900\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. type: Title == #, no-wrap msgid "Measuring block device performance" msgstr "ブロックデバイスのパフォーマンス測定" #. type: Title === #, no-wrap msgid "Measuring throughput" msgstr "スループットの測定" #. type: Plain text msgid "" "When measuring the impact of using DRBD on a system's I/O throughput, the " "_absolute_ throughput the system is capable of is of little relevance. What " "is much more interesting is the _relative_ impact DRBD has on I/O " "performance. Thus it is always necessary to measure I/O throughput both with " "and without DRBD." msgstr "" "DRBDを使用することによるシステムのI/Oスループットへの影響を測定する際には、ス" "ループットの _絶対値_ はほとんど意味がありません。必要なのは、DRBDがI/Oパ" "フォーマンスに及ぼす _相対的_ な影響です。したがって、I/Oスループットを測定す" "る際には、必ずDRBDがある場合とない場合の両方を測定する必要があります。" #. type: Plain text msgid "" "The tests described in this section are intrusive; they overwrite data and " "bring DRBD devices out of sync. It is thus vital that you perform them only " "on scratch volumes which can be discarded after testing has completed." msgstr "" "ここで説明するテストは過激なものです。データが上書きされるため、DRBDデバイス" "の同期が失われます。そのためこのテストは、テストが完了したら破棄できるスク" "ラッチボリュームで行ってください。" #. type: Plain text msgid "" "I/O throughput estimation works by writing significantly large chunks of " "data to a block device, and measuring the amount of time the system took to " "complete the write operation. This can be easily done using a fairly " "ubiquitous utility, `dd`, whose reasonably recent versions include a built-" "in throughput estimation." msgstr "" "I/Oスループットを見積もるには、比較的大きなデータチャンクをブロックデバイスに" "書き込み、システムが書き込み操作を完了するまでの時間を測定します。これは一般" "的なユーティリティである `dd` を使用して簡単に測定できます。比較的新しいバー" "ジョンにはスループット見積もり機能が組み込まれています。" #. type: Plain text msgid "" "A simple ``dd``-based throughput benchmark, assuming you have a scratch " "resource named `test`, which is currently connected and in the secondary " "role on both nodes, is one like the following:" msgstr "" "簡単な `dd` ベースのスループットベンチマークは、たとえば次のようになります。" "ここでは、test という名前のスクラッチリソースが現在接続されており、両方のノー" "ドでセカンダリロールになっています。" #. type: delimited block - #, no-wrap msgid "" "# TEST_RESOURCE=test\n" "# TEST_DEVICE=$(drbdadm sh-dev $TEST_RESOURCE | head -1)\n" "# TEST_LL_DEVICE=$(drbdadm sh-ll-dev $TEST_RESOURCE | head -1)\n" "# drbdadm primary $TEST_RESOURCE\n" "# for i in $(seq 5); do\n" " dd if=/dev/zero of=$TEST_DEVICE bs=1M count=512 oflag=direct\n" " done\n" "# drbdadm down $TEST_RESOURCE\n" "# for i in $(seq 5); do\n" " dd if=/dev/zero of=$TEST_LL_DEVICE bs=1M count=512 oflag=direct\n" " done\n" msgstr "" "# TEST_RESOURCE=test\n" "# TEST_DEVICE=$(drbdadm sh-dev $TEST_RESOURCE | head -1)\n" "# TEST_LL_DEVICE=$(drbdadm sh-ll-dev $TEST_RESOURCE | head -1)\n" "# drbdadm primary $TEST_RESOURCE\n" "# for i in $(seq 5); do\n" " dd if=/dev/zero of=$TEST_DEVICE bs=1M count=512 oflag=direct\n" " done\n" "# drbdadm down $TEST_RESOURCE\n" "# for i in $(seq 5); do\n" " dd if=/dev/zero of=$TEST_LL_DEVICE bs=1M count=512 oflag=direct\n" " done\n" #. type: Plain text msgid "" "This test simply writes 512MiB of data to your DRBD device, and then to its " "backing device for comparison. Both tests are repeated 5 times each to allow " "for some statistical averaging. The relevant result is the throughput " "measurements generated by `dd`." msgstr "" "このテストでは、512MのデータチャンクをDRBDデバイスに書き込み、次に比較のため" "に下位デバイスに書き込みます。両方のテストをそれぞれ5回繰り返し、統計平均を求" "めます。この結果は `dd` が生成したスループット測定値です。" #. type: Plain text msgid "" "For freshly enabled DRBD devices, it is normal to see slightly reduced " "performance on the first `dd` run. This is due to the Activity Log being " "\"cold\", and is no cause for concern." msgstr "" "新規に有効にしたDRBDデバイスの場合は、最初の `dd` 実行ではパフォーマンスがか" "なり低くなりますが、これは正常な状態です。アクティビティログがいわゆる「コー" "ルド」な状態のためで、問題はありません。" #. type: Plain text msgid "See our <> chapter for some performance numbers." msgstr "パフォーマンスの参考値については<>をご参照ください。" #. type: Title === #, no-wrap msgid "Measuring latency" msgstr "レイテンシの測定" #. type: Plain text msgid "" "Latency measurements have objectives completely different from throughput " "benchmarks: in I/O latency tests, one writes a very small chunk of data " "(ideally the smallest chunk of data that the system can deal with), and " "observes the time it takes to complete that write. The process is usually " "repeated several times to account for normal statistical fluctuations." msgstr "" "レイテンシ測定はスループット測定とはまったく異なります。I/Oレイテンシテストで" "は非常に小さいデータチャンク(理想的にはシステムが処理可能な最も小さいデータ" "チャンク)を書き込み、書き込みが完了するまでの時間を測定します。通常はこれを何" "度か繰り返して、通常の統計変動を相殺します。" #. type: Plain text msgid "" "Just as throughput measurements, I/O latency measurements may be performed " "using the ubiquitous `dd` utility, albeit with different settings and an " "entirely different focus of observation." msgstr "" "スループットの測定と同様に、I/O待ち時間の測定にも一般的な `dd` ユーティリティ" "を使用できますが、異なる設定とまったく異なった測定を行います。" #. type: Plain text msgid "" "Provided below is a simple ``dd``-based latency micro-benchmark, assuming " "you have a scratch resource named `test` which is currently connected and in " "the secondary role on both nodes:" msgstr "" "以下は簡単な `dd` ベースの待ち時間のマイクロベンチマークです。ここでは、 " "`test` という名前のスクラッチリソースが現在接続されており、両方のノードでセカ" "ンダリロールになっています。" #. type: delimited block - #, no-wrap msgid "" "# TEST_RESOURCE=test\n" "# TEST_DEVICE=$(drbdadm sh-dev $TEST_RESOURCE | head -1)\n" "# TEST_LL_DEVICE=$(drbdadm sh-ll-dev $TEST_RESOURCE | head -1)\n" "# drbdadm primary $TEST_RESOURCE\n" "# dd if=/dev/zero of=$TEST_DEVICE bs=4k count=1000 oflag=direct\n" "# drbdadm down $TEST_RESOURCE\n" "# dd if=/dev/zero of=$TEST_LL_DEVICE bs=4k count=1000 oflag=direct\n" msgstr "" "# TEST_RESOURCE=test\n" "# TEST_DEVICE=$(drbdadm sh-dev $TEST_RESOURCE | head -1)\n" "# TEST_LL_DEVICE=$(drbdadm sh-ll-dev $TEST_RESOURCE | head -1)\n" "# drbdadm primary $TEST_RESOURCE\n" "# dd if=/dev/zero of=$TEST_DEVICE bs=4k count=1000 oflag=direct\n" "# drbdadm down $TEST_RESOURCE\n" "# dd if=/dev/zero of=$TEST_LL_DEVICE bs=4k count=1000 oflag=direct\n" #. type: Plain text msgid "" "This test writes 1,000 chunks with 4kiB each to your DRBD device, and then " "to its backing device for comparison. 4096 bytes is the smallest block size " "that a Linux system (on all architectures except s390), modern hard disks, " "and SSDs, are expected to handle." msgstr "" "このテストでは、4kiBのデータチャンクをDRBDデバイスに1,000回書き込み、次に比" "較のために下位デバイスにも1000回書き込みます。4096バイトはLinuxシステム(s390" "以外のすべてのアーキテクチャ)が扱うことができる最小のブロックサイズです。" #. type: Plain text msgid "" "It is important to understand that throughput measurements generated by `dd` " "are completely irrelevant for this test; what is important is the _time_ " "elapsed during the completion of said 1,000 writes. Dividing this time by " "1,000 gives the average latency of a single block write." msgstr "" "`dd` が生成するスループット測定はこのテストではまったく意味がなく、ここで重要" "なのは、1,000回の書き込みが完了するまでにかかった時間です。この時間を1,000で" "割ると、1つのセクタへの書き込みの平均待ち時間を求めることができます。" #. type: Plain text msgid "" "This is the _worst-case_, in that it is single-threaded and does one write " "strictly after the one before, i.e. runs with an I/O-depth of 1. Please take " "a look at <>." msgstr "" "これは、シングルスレッドで厳密に1つずつ書き込みをしますので、最悪のケースで" "はあります。つまり、I/O-depthが1の場合などです。<>をご参照く" "ださい。" #. type: Plain text msgid "" "Furthermore, see our <> chapter for some typical performance " "values." msgstr "参考情報として<>もご参照ください。"