AWS Lambda Python\u3067Lambda\u95a2\u6570\u5b9f\u884c\u30b5\u30fc\u30d0\u306e\u30c7\u30a3\u30b9\u30af\u30a2\u30af\u30bb\u30b9\u901f\u5ea6\u3092\u7c21\u6613\u6e2c\u5b9a\u3059\u308b<\/a>\u300d\u3067AWS Lambda Python\u4e0a\u3067\u30c7\u30a3\u30b9\u30af\u30a2\u30af\u30bb\u30b9\u3092\u7c21\u6613\u7684\u306b\u6e2c\u5b9a\u3059\u308b\u65b9\u6cd5\u3092\u8a18\u8f09\u3057\u307e\u3057\u305f\u304c\u3001yum\u3067\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u6e2c\u5b9a\u6642\u9593\u306b\u5236\u9650\u304c\u7121\u3044Amazon Linux\u3067\u306f\u3088\u308a\u5e45\u5e83\u304f\u30d9\u30f3\u30c1\u30de\u30fc\u30af\u30c4\u30fc\u30eb\u3092\u7528\u3044\u3066\u30c7\u30a3\u30b9\u30af\u30a2\u30af\u30bb\u30b9\u901f\u5ea6\u3092\u6e2c\u5b9a\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n\u4eca\u56de\u306fAWS Lambda\u306e\u7c21\u6613\u6e2c\u5b9a\u3067\u7528\u3044\u305fdd\u30b3\u30de\u30f3\u30c9\u3068Linux\u3067\u4ee3\u8868\u7684\u306a\u30c7\u30a3\u30b9\u30af\u30a2\u30af\u30bb\u30b9\u30d9\u30f3\u30c1\u30de\u30fc\u30af\u30c4\u30fc\u30eb\u306efio\u3001bonnie++\u3067\u306e\u6e2c\u5b9a\u306b\u3064\u3044\u3066\u5099\u5fd8\u9332\u3068\u3057\u3066\u307e\u3068\u3081\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n
AWS EC2 Amazon Linux\u3067\u306edd\u30b3\u30de\u30f3\u30c9\u3001\u30d9\u30f3\u30c1\u30de\u30fc\u30af\u30c4\u30fc\u30eb(fio\u3001bonnie++)\u3092\u7528\u3044\u305f\u30c7\u30a3\u30b9\u30af\u30a2\u30af\u30bb\u30b9\u901f\u5ea6\u6e2c\u5b9a\u65b9\u6cd5<\/h2>\ndd\u30b3\u30de\u30f3\u30c9\u3092\u5229\u7528\u3057\u305f\u30c7\u30a3\u30b9\u30af\u30a2\u30af\u30bb\u30b9\u901f\u5ea6\u306e\u6e2c\u5b9a<\/h3>\ndd\u30b3\u30de\u30f3\u30c9\u3067\u306e\u30c7\u30a3\u30b9\u30af\u30a2\u30af\u30bb\u30b9\u901f\u5ea6\u6e2c\u5b9a\u5b9f\u884c\u4f8b<\/h4>\n
\u66f8\u304d\u8fbc\u307f\u901f\u5ea6\u306e\u307f\u306e\u6e2c\u5b9a<\/p>\n
\r\ndd bs=1M count=1024 if=\/dev\/zero of=\/tmp\/disktest oflag=direct\r\n<\/pre>\n\u6e2c\u5b9a\u30d5\u30a1\u30a4\u30eb\u304c\u6b8b\u308b\u305f\u3081\u524a\u9664\u3057\u3066\u304a\u304f<\/p>\n
\r\nrm -f \/tmp\/disktest\r\n<\/pre>\n\u30cf\u30fc\u30c9\u30c7\u30a3\u30b9\u30af\u30d9\u30f3\u30c1\u30de\u30fc\u30af\u30c4\u30fc\u30ebfio\u3092\u5229\u7528\u3057\u305f\u30c7\u30a3\u30b9\u30af\u30a2\u30af\u30bb\u30b9\u901f\u5ea6\u306e\u6e2c\u5b9a<\/h3>\nfio\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h4>\n\r\nyum install -y fio\r\n<\/pre>\nfio\u30b3\u30de\u30f3\u30c9\u306e\u5b9f\u884c\u4f8b<\/h4>\n
\u8aad\u307f\u8fbc\u307f\u901f\u5ea6\u306e\u6e2c\u5b9a<\/p>\n
\r\nfio --directory=\/tmp --name fio_test_file --direct=1 --rw=randread --bs=16k --size=1G --numjobs=1 --time_based --runtime=180 --group_reporting --norandommap\r\n<\/pre>\nfio\u306e\u6e2c\u5b9a\u30d5\u30a1\u30a4\u30eb\u304c\u6b8b\u308b\u305f\u3081\u524a\u9664\u3057\u3066\u304a\u304f<\/p>\n
\r\nrm -f \/tmp\/fio_test_file*\r\n<\/pre>\n\u66f8\u304d\u8fbc\u307f\u901f\u5ea6\u306e\u6e2c\u5b9a<\/p>\n
\r\nfio --directory=\/tmp --name fio_test_file --direct=1 --rw=randwrite --bs=16k --size=1G --numjobs=1 --time_based --runtime=180 --group_reporting --norandommap\r\n<\/pre>\nfio\u306e\u6e2c\u5b9a\u30d5\u30a1\u30a4\u30eb\u304c\u6b8b\u308b\u305f\u3081\u524a\u9664\u3057\u3066\u304a\u304f<\/p>\n
\r\nrm -f \/tmp\/fio_test_file*\r\n<\/pre>\n\u30cf\u30fc\u30c9\u30c7\u30a3\u30b9\u30af\u30d9\u30f3\u30c1\u30de\u30fc\u30af\u30c4\u30fc\u30ebbonnie++\u3092\u5229\u7528\u3057\u305f\u30c7\u30a3\u30b9\u30af\u30a2\u30af\u30bb\u30b9\u901f\u5ea6\u306e\u6e2c\u5b9a<\/h3>\nbonnie++\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h4>\n\r\nyum install -y bonnie++\r\n<\/pre>\nbonnie++\u30b3\u30de\u30f3\u30c9\u306e\u5b9f\u884c\u4f8b<\/h4>\n
\u8aad\u307f\u8fbc\u307f\u901f\u5ea6\u3001\u66f8\u304d\u8fbc\u307f\u901f\u5ea6\u306e\u4e21\u65b9\u3092\u6e2c\u5b9a<\/p>\n
\r\nbonnie++ -d \/tmp\/ -u root -n 256:1024:1024:16\r\n<\/pre>\nbonnie++\u306e\u6e2c\u5b9a\u30d5\u30a1\u30a4\u30eb\u306f\u57fa\u672c\u7684\u306b\u306f\u6b8b\u3089\u306a\u3044\u304c\u3001\u6b8b\u3063\u3066\u3044\u308b\u5834\u5408\u306f\u524a\u9664\u3057\u3066\u304a\u304f<\/p>\n
\r\nrm -f \/tmp\/Bonnie.*\r\n<\/pre>\n\u51fa\u529b\u7d50\u679c\u306e\u898b\u65b9<\/h4>\n\n- Sequential Output\uff1a\u30b7\u30fc\u30b1\u30f3\u30b7\u30e3\u30eb\u30e9\u30a4\u30c8(\u9023\u7d9a\u66f8\u304d\u8fbc\u307f)<\/li>\n
Per Cha\uff1a\u30ad\u30e3\u30e9\u30af\u30bf\u5358\u4f4d\u3067\u306e\u30a2\u30af\u30bb\u30b9
\nBlock\uff1a\u30d6\u30ed\u30c3\u30af\u5358\u4f4d\u3067\u306e\u30a2\u30af\u30bb\u30b9<\/p>\n
- Sequential Input\uff1a\u30b7\u30fc\u30b1\u30f3\u30b7\u30e3\u30eb\u30ea\u30fc\u30c9(\u9023\u7d9a\u8aad\u307f\u8fbc\u307f)<\/li>\n
Per Cha\uff1a\u30ad\u30e3\u30e9\u30af\u30bf\u5358\u4f4d\u3067\u306e\u30a2\u30af\u30bb\u30b9
\nBlock\uff1a\u30d6\u30ed\u30c3\u30af\u5358\u4f4d\u3067\u306e\u30a2\u30af\u30bb\u30b9<\/p>\n
- Random\uff1a\u30e9\u30f3\u30c0\u30e0\u30a2\u30af\u30bb\u30b9\n
- Sequential Create\uff1a\u30b7\u30fc\u30b1\u30f3\u30b7\u30e3\u30eb\u30a2\u30af\u30bb\u30b9(\u9023\u7d9a\u30a2\u30af\u30bb\u30b9)\u306b\u3088\u308b\u30d5\u30a1\u30a4\u30eb\u306e\u4f5c\u6210\u3001\u8aad\u307f\u8fbc\u307f\u3001\u524a\u9664<\/li>\n
- Random Create\uff1a\u30e9\u30f3\u30c0\u30e0\u30a2\u30af\u30bb\u30b9\u306b\u3088\u308b\u30d5\u30a1\u30a4\u30eb\u306e\u4f5c\u6210\u3001\u8aad\u307f\u8fbc\u307f\u3001\u524a\u9664<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"
\u300cAWS Lambda Python\u3067Lambda\u95a2\u6570\u5b9f\u884c\u30b5\u30fc\u30d0\u306e\u30c7\u30a3\u30b9\u30af\u30a2\u30af\u30bb\u30b9\u901f\u5ea6\u3092\u7c21\u6613\u6e2c\u5b9a\u3059\u308b\u300d\u3067AWS Lambda Python\u4e0a\u3067\u30c7\u30a3\u30b9\u30af\u30a2\u30af\u30bb\u30b9\u3092\u7c21\u6613\u7684\u306b\u6e2c\u5b9a\u3059\u308b\u65b9\u6cd5\u3092\u8a18\u8f09\u3057\u307e\u3057\u305f\u304c\u3001yum\u3067\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4 […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":""},"categories":[3,22,79,82],"tags":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.magtranetwork.com\/wp-json\/wp\/v2\/posts\/1901"}],"collection":[{"href":"https:\/\/www.magtranetwork.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.magtranetwork.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.magtranetwork.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.magtranetwork.com\/wp-json\/wp\/v2\/comments?post=1901"}],"version-history":[{"count":4,"href":"https:\/\/www.magtranetwork.com\/wp-json\/wp\/v2\/posts\/1901\/revisions"}],"predecessor-version":[{"id":1905,"href":"https:\/\/www.magtranetwork.com\/wp-json\/wp\/v2\/posts\/1901\/revisions\/1905"}],"wp:attachment":[{"href":"https:\/\/www.magtranetwork.com\/wp-json\/wp\/v2\/media?parent=1901"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.magtranetwork.com\/wp-json\/wp\/v2\/categories?post=1901"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.magtranetwork.com\/wp-json\/wp\/v2\/tags?post=1901"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}