{"id":1654,"date":"2023-09-10T14:58:51","date_gmt":"2023-09-10T05:58:51","guid":{"rendered":"http:\/\/biochemistry.isc.chubu.ac.jp\/labo\/suzuki\/?p=1654"},"modified":"2023-09-10T15:00:19","modified_gmt":"2023-09-10T06:00:19","slug":"post-1654","status":"publish","type":"post","link":"http:\/\/biochemistry.isc.chubu.ac.jp\/labo\/suzuki\/archives\/1654","title":{"rendered":"\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2RAID\u306e\u6027\u80fd\u6bd4\u8f03"},"content":{"rendered":"<p>alphafold2\u3092\u52d5\u4f5c\u3055\u305b\u308b\u305f\u3081\u306b\u306f\u7d042.6TB\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u304c\u5fc5\u8981\u3068\u306a\u308a\u307e\u3059\u3002LAN\u7d4c\u7531\u3067\u306f\u9045\u304f\u306a\u308b\u306e\u3067\u3001GPU\u3092\u642d\u8f09\u3057\u305f\u30b5\u30fc\u30d0\u30fc\u306b\u76f4\u63a5\u30cf\u30fc\u30c9\u30c7\u30a3\u30b9\u30af\u3092\u5897\u8a2d\u3057\u307e\u3057\u305f\u3002\u3067\u304d\u308b\u3060\u3051\u8aad\u307f\u53d6\u308a\u901f\u5ea6\u3092\u9ad8\u304f\u3057\u305f\u3044\u306e\u3067\u3059\u304c\u3001SSD\u306f\u9ad8\u4fa1\u3067\u624b\u304c\u51fa\u305b\u306a\u3044\u306e\u3067\u30012\u53f0\u306e\u30cf\u30fc\u30c9\u30c7\u30a3\u30b9\u30af\u3067RAID\u3092\u7d44\u307f\u307e\u3057\u305f\u3002<\/p>\n<p>Linux\u306e\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2RAID\u306emdadm\u3068lvm\u3067\u6027\u80fd\u304c\u5909\u308f\u308b\u304b\u3069\u3046\u304b\u3092\u8abf\u3079\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<h3>\u7d50\u8ad6<\/h3>\n<p>mdadm\u306estripe\u304clvm\u306estripe\u3088\u308a\u3082\u30e9\u30f3\u30c0\u30e0\u30ea\u30fc\u30c9\u3067\u6027\u80fd\u304c\u9ad8\u304b\u3063\u305f\u3002<br \/>\nmdadm\u306e\u4e0a\u306blvm\u3092\u3064\u304f\u3063\u3066\u3082\u307b\u3068\u3093\u3069\u8aad\u307f\u66f8\u304d\u306e\u901f\u5ea6\u306b\u5f71\u97ff\u3092\u4e0e\u3048\u306a\u304b\u3063\u305f\u3002<\/p>\n<h3>\u8abf\u67fb\u65b9\u6cd5<\/h3>\n<h4>OS<\/h4>\n<p>CentOS 7.9<\/p>\n<h4>\u30cf\u30fc\u30c9\u30c7\u30a3\u30b9\u30af<\/h4>\n<p>SEAGATE BarraCuda-4TB (ST4000DM004) 2\u53f0 (sda\u3068sdb)<\/p>\n<h4>\u6027\u80fd\u6e2c\u5b9a\u65b9\u6cd5<\/h4>\n<p>fio \u3092\u4f7f\u7528\u3002yum install fio \u3068\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3002\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u5b9f\u884c<\/p>\n<pre class=\"console\"># fio -filename=$DISK\/testfile_$TEST -name=${DIST}_${TEST} -output=${DISK}_${TEST}.txt \\\n     -rw=$TEST -direct=0 -bs=128k -size=10g -numjobs=8 -runtime=60 -group_reporting\n<\/pre>\n<p>IOPS (I\/O per second)\u3068BW (Band Width)\u3092\u6027\u80fd\u3068\u3057\u305f\u3002<\/p>\n<h3>SSD (NVMe)<\/h3>\n<p>\u30b5\u30fc\u30d0\u30fc\u306e\u8d77\u52d5\u30c7\u30a3\u30b9\u30af\u3067\u8a66\u3057\u305f\u3068\u3053\u308d\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u3063\u305f\u3002<\/p>\n<table>\n<caption>NVMe\u306e\u6027\u80fd<\/caption>\n<thead>\n<tr>\n<th>\u8abf\u67fb\u9805\u76ee<\/th>\n<th>IOPS<\/th>\n<th>BW<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<th>\u30e9\u30f3\u30c0\u30e0\u8aad\u8fbc<\/th>\n<td class=\"number\">47.1k<\/td>\n<td class=\"number\">5883 MiB\/s<\/td>\n<\/tr>\n<tr>\n<th>\u9023\u7d9a\u8aad\u8fbc<\/th>\n<td>52.1k<\/td>\n<td class=\"number\">6517 MiB\/s<\/td>\n<\/tr>\n<tr>\n<th>\u30e9\u30f3\u30c0\u30e0\u66f8\u8fbc<\/th>\n<td>25.3k<\/td>\n<td class=\"number\">3164 MiB\/s<\/td>\n<\/tr>\n<tr>\n<th>\u9023\u7d9a\u66f8\u8fbc<\/th>\n<td>24.7k<\/td>\n<td class=\"number\">3085 MiB\/s<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u30e9\u30f3\u30c0\u30e0\u8aad\u8fbc\u306e\u6027\u80fd\u306f\u30cf\u30fc\u30c9\u30c7\u30a3\u30b9\u30af\u306e100\u500d\u4ee5\u4e0a\u3068\u5727\u5012\u7684\u3067\u3042\u3063\u305f\u3002\u9023\u7d9a\u8aad\u8fbc\u30822\u500d\u4ee5\u4e0a\u3067\u3042\u3063\u305f\u304c\u3001\u66f8\u304d\u8fbc\u307f\u306e\u307b\u3046\u306f\u305d\u308c\u307b\u3069\u9055\u3044\u304c\u306a\u304b\u3063\u305f\u3002<\/p>\n<h3>\u30cf\u30fc\u30c9\u30c7\u30a3\u30b9\u30af\u5358\u4f53\u3067\u306e\u6027\u80fd<\/h3>\n<table>\n<caption>RAID\u7121\u3057\u3067\u306eHDD\u306e\u6027\u80fd<\/caption>\n<thead>\n<tr>\n<th>\u8abf\u67fb\u9805\u76ee<\/th>\n<th>IOPS<\/th>\n<th>BW<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<th>\u30e9\u30f3\u30c0\u30e0\u8aad\u8fbc<\/th>\n<td class=\"number\">197<\/td>\n<td class=\"number\">24.7 MiB\/s<\/td>\n<\/tr>\n<tr>\n<th>\u9023\u7d9a\u8aad\u8fbc<\/th>\n<td>12.1k<\/td>\n<td class=\"number\">1513 MiB\/s<\/td>\n<\/tr>\n<tr>\n<th>\u30e9\u30f3\u30c0\u30e0\u66f8\u8fbc<\/th>\n<td>33.9k<\/td>\n<td class=\"number\">4236 MiB\/s<\/td>\n<\/tr>\n<tr>\n<th>\u9023\u7d9a\u66f8\u8fbc<\/th>\n<td>14.5k<\/td>\n<td class=\"number\">1812 MiB\/s<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><!-- mdadm stripe\n--><\/p>\n<h3>mdadm stripe<\/h3>\n<h4>\u4f5c\u6210\u30b3\u30de\u30f3\u30c9<\/h4>\n<pre class=\"console\"># mdadm --create \/dev\/md0 --auto=yes --level=stripe --raid-devices=2 \/dev\/sda1 \/dev\/sdb1<\/pre>\n<table>\n<caption>mdadm stripe\u306e\u6027\u80fd<\/caption>\n<thead>\n<tr>\n<th>\u8abf\u67fb\u9805\u76ee<\/th>\n<th>IOPS<\/th>\n<th>BW<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<th>\u30e9\u30f3\u30c0\u30e0\u8aad\u8fbc<\/th>\n<td class=\"number\">341<\/td>\n<td class=\"number\">42.7 MiB\/s<\/td>\n<\/tr>\n<tr>\n<th>\u9023\u7d9a\u8aad\u8fbc<\/th>\n<td>24.6k<\/td>\n<td class=\"number\">3073 MiB\/s<\/td>\n<\/tr>\n<tr>\n<th>\u30e9\u30f3\u30c0\u30e0\u66f8\u8fbc<\/th>\n<td>32.5k<\/td>\n<td class=\"number\">4066 MiB\/s<\/td>\n<\/tr>\n<tr>\n<th>\u9023\u7d9a\u66f8\u8fbc<\/th>\n<td>1259<\/td>\n<td class=\"number\">157 MiB\/s<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u30c7\u30a3\u30b9\u30af\u5358\u4f53\u3067\u306e\u6027\u80fd\u3088\u308a\u8aad\u8fbc\u306f\u304a\u3088\u305d2\u500d\u901f\u304f\u306a\u3063\u305f\u30022\u53f0\u306e\u30c7\u30a3\u30b9\u30af\u304b\u3089\u540c\u6642\u306b\u8aad\u307f\u8fbc\u3093\u3067\u3044\u304f\u6a5f\u80fd\u304c\u3044\u304b\u3093\u306a\u304f\u767a\u63ee\u3055\u308c\u3066\u3044\u308b\u3002\u9023\u7d9a\u66f8\u304d\u8fbc\u307f\u306e\u6027\u80fd\u304c\u4ed6\u3088\u308a\u3082\u8457\u3057\u304f\u4f4e\u3044\u306e\u306f\u305f\u3076\u3093\u6e2c\u5b9a\u6642\u306b\u4f55\u304b\u3092\u3057\u305f\u305f\u3081\u3002<br \/>\n<!-- lvm stripe\n--><\/p>\n<h3>lvm stripe<\/h3>\n<h4>\u4f5c\u6210\u30b3\u30de\u30f3\u30c9<\/h4>\n<pre class=\"console\"># pvcreate \/dev\/sda1 \/dev\/sdb1\n# vgcreate vg0 \/dev\/sda1 \/dev\/sdb1\n# lvcreate --stripes 2 -l 100%FREE vg0\n<\/pre>\n<table>\n<caption>LVM stripe\u306e\u6027\u80fd<\/caption>\n<thead>\n<tr>\n<th>\u8abf\u67fb\u9805\u76ee<\/th>\n<th>IOPS<\/th>\n<th>BW<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<th>\u30e9\u30f3\u30c0\u30e0\u8aad\u8fbc<\/th>\n<td class=\"number\">202<\/td>\n<td class=\"number\">25.3 MiB\/s<\/td>\n<\/tr>\n<tr>\n<th>\u9023\u7d9a\u8aad\u8fbc<\/th>\n<td class=\"number\">24.5k<\/td>\n<td class=\"number\">3068 MiB\/s<\/td>\n<\/tr>\n<tr>\n<th>\u30e9\u30f3\u30c0\u30e0\u66f8\u8fbc<\/th>\n<td class=\"number\">31.0k<\/td>\n<td class=\"number\">3881 MiB\/s<\/td>\n<\/tr>\n<tr>\n<th>\u9023\u7d9a\u66f8\u8fbc<\/th>\n<td class=\"number\">31.7k<\/td>\n<td class=\"number\">3968 MiB\/s<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u30e9\u30f3\u30c0\u30e0\u8aad\u8fbc\u3060\u3051\u307b\u307c\u5358\u4f53\u3068\u540c\u3058\u3067\u3001\u4ed6\u306fmdadm\u306e\u30b9\u30c8\u30e9\u30a4\u30d4\u30f3\u30b0\u3068\u540c\u7a0b\u5ea6\u306e\u6027\u80fd\u3067\u3042\u3063\u305f\u3002<\/p>\n<h3>mdadm stripe\u306e\u4e0a\u306blvm<\/h3>\n<p>\u30c7\u30a3\u30b9\u30af\u306e\u62e1\u5f35\u306a\u3069\u3092\u3057\u3084\u3059\u304f\u3059\u308b\u305f\u3081\u306bmdadm\u3067\u4f5c\u6210\u3057\u305f\u30c7\u30a3\u30b9\u30af\u3092lvm\u3067\u307e\u3068\u3081\u3066\u307f\u305f\u3002<\/p>\n<h4>\u4f5c\u6210\u30b3\u30de\u30f3\u30c9<\/h4>\n<pre class=\"console\"># mdadm --create \/dev\/md0 --auto=yes --level=stripe --raid-devices=2 \/dev\/sda1 \/dev\/sdb1\n# pvcreate \/dev\/md0\n# vgcreate vg0 \/dev\/md0\n# lvcreate --size 3500G vg0\n<\/pre>\n<table>\n<caption>mdadm\u306e\u30b9\u30c8\u30e9\u30a4\u30d4\u30f3\u30b0\u306e\u4e0a\u306bLVM\u3092\u3064\u304f\u3063\u305f\u6642\u306e\u6027\u80fd<\/caption>\n<thead>\n<tr>\n<th>\u8abf\u67fb\u9805\u76ee<\/th>\n<th>IOPS<\/th>\n<th>BW<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<th>\u30e9\u30f3\u30c0\u30e0\u8aad\u8fbc<\/th>\n<td class=\"number\">338<\/td>\n<td class=\"number\">42.3 MiB\/s<\/td>\n<\/tr>\n<tr>\n<th>\u30b7\u30fc\u30b1\u30f3\u30b7\u30e3\u30eb\u8aad\u8fbc<\/th>\n<td class=\"number\">24.6k<\/td>\n<td class=\"number\">3078 MiB\/s<\/td>\n<\/tr>\n<tr>\n<th>\u30e9\u30f3\u30c0\u30e0\u66f8\u8fbc<\/th>\n<td class=\"number\">33.0k<\/td>\n<td class=\"number\">4125 MiB\/s<\/td>\n<\/tr>\n<tr>\n<th>\u30b7\u30fc\u30b1\u30f3\u30b7\u30e3\u30eb\u66f8\u8fbc<\/th>\n<td class=\"number\">22.6k<\/td>\n<td class=\"number\">2821 MiB\/s<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>LVM\u306b\u3088\u308b\u6027\u80fd\u4f4e\u4e0b\u306f\u306a\u304b\u3063\u305f\u306e\u3067\u3001\u3053\u308c\u3092\u63a1\u7528\u3057\u305f\u3002<br \/>\n<!-- mdadm stripe\n--><\/p>\n<h3>mdadm mirroring (RAID1)<\/h3>\n<p>\u30df\u30e9\u30fc\u30ea\u30f3\u30b0(RAID1)\u306f\u4eca\u56de\u306e\u76ee\u7684\u306b\u5408\u308f\u306a\u3044\u3053\u3068\u306f\u308f\u304b\u3063\u3066\u3044\u305f\u304c\u3001\u3064\u3044\u3067\u306b\u8abf\u3079\u3066\u307f\u305f\u3002<\/p>\n<h4>\u4f5c\u6210\u30b3\u30de\u30f3\u30c9<\/h4>\n<pre class=\"console\"># mdadm --create \/dev\/md0 --auto=yes --level=raid1 --raid-devices=2 \/dev\/sda1 \/dev\/sdb1\n<\/pre>\n<table>\n<caption>mdadm\u306e\u30df\u30e9\u30fc\u30ea\u30f3\u30b0\u306e\u6027\u80fd<\/caption>\n<thead>\n<tr>\n<th>\u8abf\u67fb\u9805\u76ee<\/th>\n<th>IOPS<\/th>\n<th>BW<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<th>\u30e9\u30f3\u30c0\u30e0\u8aad\u8fbc<\/th>\n<td class=\"number\">194<\/td>\n<td class=\"number\">24.3 MiB\/s<\/td>\n<\/tr>\n<tr>\n<th>\u30b7\u30fc\u30b1\u30f3\u30b7\u30e3\u30eb\u8aad\u8fbc<\/th>\n<td class=\"number\">11.9k<\/td>\n<td class=\"number\">1483 MiB\/s<\/td>\n<\/tr>\n<tr>\n<th>\u30e9\u30f3\u30c0\u30e0\u66f8\u8fbc<\/th>\n<td class=\"number\">24.7k<\/td>\n<td class=\"number\">3085 MiB\/s<\/td>\n<\/tr>\n<tr>\n<th>\u30b7\u30fc\u30b1\u30f3\u30b7\u30e3\u30eb\u66f8\u8fbc<\/th>\n<td class=\"number\">21.6k<\/td>\n<td class=\"number\">2696 MiB\/s<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u30c7\u30a3\u30b9\u30af\u5358\u4f53\u3068\u307b\u307c\u540c\u3058\u6027\u80fd\u3002\u66f8\u304d\u8fbc\u307f\u306e\u6027\u80fd\u304c\u3084\u3084\u4e0a\u304c\u3063\u3066\u3044\u308b\u3088\u3046\u306b\u307f\u3048\u308b\u304c\u3001\u7406\u7531\u306f\u308f\u304b\u3089\u306a\u3044\u3002<\/p>\n<p><!-- \u30b0\u30e9\u30d5\u4f5c\u6210\u7528 \u30e9\u30f3\u30c0\u30e0\u8aad\u8fbc\t\t\t\u30b7\u30fc\u30b1\u30f3\u30b7\u30e3\u30eb\u8aad\u8fbc\t\t\t\u30e9\u30f3\u30c0\u30e0\u66f8\u8fbc\t\t\t\u30b7\u30fc\u30b1\u30f3\u30b7\u30e3\u30eb\u66f8\u8fbc\n\n47.1k\u00a0\u00a0\u00a0\t5883 MiB\/s\u00a0\u00a0\u00a0\t\t52.1k\t6517 MiB\/s\u00a0\u00a0\u00a0\t\t25.3k\u00a0\u00a0\u00a0\t3164 MiB\/s\t\t24.7k\u00a0\u00a0\u00a0\t3085 MiB\/s\n197\u00a0\u00a0\u00a0\t24.7 MiB\/s\u00a0\u00a0\u00a0\t\t12.1k\t1513 MiB\/s\u00a0\u00a0\u00a0\t\t33.9k\u00a0\u00a0\u00a0\t4236 MiB\/s\t\t14.5k\u00a0\u00a0\u00a0\t1812 MiB\/s\n341\u00a0\u00a0\u00a0\t42.7 MiB\/s\u00a0\u00a0\u00a0\t\t24.6k\t3073 MiB\/s\u00a0\u00a0\u00a0\t\t32.5k\u00a0\u00a0\u00a0\t4066 MiB\/s\t\t1259\u00a0\u00a0\u00a0\t157 MiB\/s\n202\u00a0\u00a0\u00a0\t25.3 MiB\/s\u00a0\u00a0\u00a0\t\t24.5k\t3068 MiB\/s\u00a0\u00a0\u00a0\t\t31.0k\u00a0\u00a0\u00a0\t3881 MiB\/s\t\t31.7k\u00a0\u00a0\u00a0\t3968 MiB\/s\n338\u00a0\u00a0\u00a0\t42.3 MiB\/s\u00a0\u00a0\u00a0\t\t24.6k\u00a0\u00a0\u00a0\t3078 MiB\/s\u00a0\u00a0\u00a0\t\t33.0k\t4125 MiB\/s\u00a0\u00a0\u00a0\t\t22.6k\u00a0\u00a0\u00a0\t2821 MiB\/s\n194\u00a0\u00a0\u00a0\t24.3 MiB\/s\u00a0\u00a0\u00a0\t\t11.9k\t1483 MiB\/s\u00a0\u00a0\u00a0\t\t24.7k\u00a0\u00a0\u00a0\t3085 MiB\/s\t\t21.6k\u00a0\u00a0\u00a0\t2696 MiB\/s\n\n--><\/p>\n","protected":false},"excerpt":{"rendered":"<p>alphafold2\u3092\u52d5\u4f5c\u3055\u305b\u308b\u305f\u3081\u306b\u306f\u7d042.6TB\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u304c\u5fc5\u8981\u3068\u306a\u308a\u307e\u3059\u3002LAN\u7d4c\u7531\u3067\u306f\u9045\u304f\u306a\u308b\u306e\u3067\u3001GPU\u3092\u642d\u8f09\u3057\u305f\u30b5\u30fc\u30d0\u30fc\u306b\u76f4\u63a5\u30cf\u30fc\u30c9\u30c7\u30a3\u30b9\u30af\u3092\u5897\u8a2d\u3057\u307e\u3057\u305f\u3002\u3067\u304d\u308b\u3060\u3051\u8aad\u307f\u53d6\u308a\u901f\u5ea6\u3092\u9ad8\u304f\u3057\u305f\u3044\u306e\u3067\u3059\u304c\u3001SS [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"_links":{"self":[{"href":"http:\/\/biochemistry.isc.chubu.ac.jp\/labo\/suzuki\/wp-json\/wp\/v2\/posts\/1654"}],"collection":[{"href":"http:\/\/biochemistry.isc.chubu.ac.jp\/labo\/suzuki\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/biochemistry.isc.chubu.ac.jp\/labo\/suzuki\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/biochemistry.isc.chubu.ac.jp\/labo\/suzuki\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/biochemistry.isc.chubu.ac.jp\/labo\/suzuki\/wp-json\/wp\/v2\/comments?post=1654"}],"version-history":[{"count":32,"href":"http:\/\/biochemistry.isc.chubu.ac.jp\/labo\/suzuki\/wp-json\/wp\/v2\/posts\/1654\/revisions"}],"predecessor-version":[{"id":1687,"href":"http:\/\/biochemistry.isc.chubu.ac.jp\/labo\/suzuki\/wp-json\/wp\/v2\/posts\/1654\/revisions\/1687"}],"wp:attachment":[{"href":"http:\/\/biochemistry.isc.chubu.ac.jp\/labo\/suzuki\/wp-json\/wp\/v2\/media?parent=1654"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/biochemistry.isc.chubu.ac.jp\/labo\/suzuki\/wp-json\/wp\/v2\/categories?post=1654"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/biochemistry.isc.chubu.ac.jp\/labo\/suzuki\/wp-json\/wp\/v2\/tags?post=1654"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}