{"id":868,"date":"2014-04-12T04:49:55","date_gmt":"2014-04-12T04:49:55","guid":{"rendered":"http:\/\/poojanwagh.opalstacked.com\/techblog\/?p=868"},"modified":"2014-04-12T04:49:55","modified_gmt":"2014-04-12T04:49:55","slug":"crucial-m500-120gb-as-a-zfs-slog","status":"publish","type":"post","link":"https:\/\/tech.poojanblog.com\/blog\/unix-linux\/crucial-m500-120gb-as-a-zfs-slog\/","title":{"rendered":"Crucial m500 120GB as a ZFS slog"},"content":{"rendered":"<p>I re-did my <a title=\"More ZIL\/SLOG comparisons\" href=\"http:\/\/poojanwagh.opalstacked.com\/techblog\/unix-linux\/more-zilslog-comparisons\/\" target=\"_blank\">benchmarks of my ZFS ZIL<\/a> using a <a title=\"Crucial m500 120GB benchmarks\" href=\"http:\/\/poojanwagh.opalstacked.com\/techblog\/unix-linux\/crucial-m500-120gb-benchmarks\/\" target=\"_blank\">Crucial m500<\/a>. The <a title=\"ZFS slog (ZIL) considerations\" href=\"http:\/\/poojanwagh.opalstacked.com\/techblog\/unix-linux\/zfs-slog-zil-considerations\/\" target=\"_blank\">main reason<\/a> I got this drive is that it has power-loss protection. And, it&#8217;s speeds are adequate to keep up with my gigabit Ethernet samba server.<\/p>\n<p>Here are the results. My first run was decent, but not stellar:<\/p>\n<pre>\r\n2014-04-11 23:32:15,079 - 16777216000 bytes written in 192.07929635047913 seconds 87.345259581685 MB\/s\r\n<\/pre>\n<p>I didn&#8217;t do a [ccie]zpool iostat[\/ccie] during this run. This matches around what I was getting as a 4k random write. My second run was much better:<\/p>\n<pre>\r\n2014-04-11 23:35:22,221 - 16777216000 bytes written in 136.14709854125977 seconds 123.22859744907173 MB\/s\r\n<\/pre>\n<p>And it matches a typical zpool iostat:<\/p>\n<pre>\r\n                        capacity     operations    bandwidth\r\npool                 alloc   free   read  write   read  write\r\n-------------------  -----  -----  -----  -----  -----  -----\r\ntank                 5.17T  2.71T      0  2.96K      0   262M\r\n  raidz1             5.17T  2.71T      0  1.13K      0   137M\r\n    gpt\/TOSH-3TB-A       -      -      0    565      0  68.7M\r\n    gpt\/TOSH-3TB-B       -      -      0    565      0  68.7M\r\n    gpt\/SGT-USB-3TB      -      -      0    563      0  68.7M\r\nlogs                     -      -      -      -      -      -\r\n  gpt\/tank_log0      1.56G  30.2G      0  1.83K      0   125M\r\ncache                    -      -      -      -      -      -\r\n  gpt\/tank_cache0    24.5G   150G      0    632  3.15K  78.5M\r\n-------------------  -----  -----  -----  -----  -----  -----\r\n<\/pre>\n<p>Overall, I&#8217;m pretty happy. I was hoping to get at minimum 125 MB\/s, which my gigabit Ethernet can&#8217;t really saturate.<\/p>\n<p>I can now even try turning on forced sync writes in Samba.<\/p>\n<div class='wp_likes' id='wp_likes_post-868'><a class='like' href=\"javascript:wp_likes.like(868);\" title='' ><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/tech.poojanblog.com\/blog\/wp-content\/plugins\/wp-likes\/images\/like.png\" alt='' border='0'\/><\/a><span class='text'>Be the first to like.<\/span><\/p>\n<div class='like' ><a href=\"javascript:wp_likes.like(868);\">Like<\/a><\/div>\n<div class='unlike' ><a href=\"javascript:wp_likes.unlike(868);\">Unlike<\/a><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>I re-did my benchmarks of my ZFS ZIL using a Crucial m500. The main reason I got this drive is that it has power-loss protection. And, it&#8217;s speeds are adequate to keep up with my gigabit Ethernet samba server. Here are the results. My first run was decent, but not stellar: 2014-04-11 23:32:15,079 &#8211; 16777216000 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[10],"tags":[174,213,212,210,129,3,191],"class_list":["post-868","post","type-post","status-publish","format-standard","hentry","category-unix-linux","tag-benchmark","tag-crucial","tag-m500","tag-slog","tag-ssd","tag-zfs","tag-zil"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/tech.poojanblog.com\/blog\/wp-json\/wp\/v2\/posts\/868","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tech.poojanblog.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tech.poojanblog.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tech.poojanblog.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/tech.poojanblog.com\/blog\/wp-json\/wp\/v2\/comments?post=868"}],"version-history":[{"count":3,"href":"https:\/\/tech.poojanblog.com\/blog\/wp-json\/wp\/v2\/posts\/868\/revisions"}],"predecessor-version":[{"id":871,"href":"https:\/\/tech.poojanblog.com\/blog\/wp-json\/wp\/v2\/posts\/868\/revisions\/871"}],"wp:attachment":[{"href":"https:\/\/tech.poojanblog.com\/blog\/wp-json\/wp\/v2\/media?parent=868"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tech.poojanblog.com\/blog\/wp-json\/wp\/v2\/categories?post=868"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tech.poojanblog.com\/blog\/wp-json\/wp\/v2\/tags?post=868"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}