{"id":797,"date":"2013-12-03T05:58:37","date_gmt":"2013-12-03T05:58:37","guid":{"rendered":"http:\/\/poojanwagh.opalstacked.com\/techblog\/?p=797"},"modified":"2013-12-03T05:59:34","modified_gmt":"2013-12-03T05:59:34","slug":"797","status":"publish","type":"post","link":"https:\/\/tech.poojanblog.com\/blog\/unix-linux\/797\/","title":{"rendered":"Kingston SV100 64 GB (SV100S264G) Sequential Random Write Benchmark"},"content":{"rendered":"<p><a title=\"24 GB mSATA Caching SSD at Amazon\" href=\"http:\/\/www.amazon.com\/gp\/product\/B00DY5C7AY\/ref=as_li_ss_tl?ie=UTF8&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B00DY5C7AY&amp;linkCode=as2&amp;tag=mydig0b-20\" target=\"_blank\">This SSD <\/a>caught my eye as a ZIL. I wonder how it compares to my <a title=\"Kingston SV100S264G 64GB Benchmarks\" href=\"http:\/\/poojanwagh.opalstacked.com\/techblog\/un\/kingston-sv100s264g-64gb-benchmarks\/\" target=\"_blank\">previously benchmarked<\/a> (a number of times) Kingston SV100 64 GB SSD.<\/p>\n<p>I decided to remove it from the ZIL and try it out. I wanted to make sure I exercise the sequential writes (which is all I really care about in a ZIL&#8211;I think) with random data, as some SSD controllers get their speed from compression.<\/p>\n<p>In order to do this test, I first wrote the random data to a memory file system. I then wrote from the memory file system to the SSD.<\/p>\n<code><\/p>\n<p>Poojan@server ~ &gt;!df<br \/>\ndf -h -t ufs<br \/>\nFilesystem\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Size\u00a0\u00a0\u00a0 Used\u00a0\u00a0 Avail Capacity\u00a0 Mounted on<br \/>\n\/dev\/gpt\/usbrootfs\u00a0\u00a0\u00a0\u00a0 42G\u00a0\u00a0\u00a0 7.4G\u00a0\u00a0\u00a0\u00a0 31G\u00a0\u00a0\u00a0 19%\u00a0\u00a0\u00a0 \/<br \/>\n\/dev\/md0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 247M\u00a0\u00a0\u00a0 8.0k\u00a0\u00a0\u00a0 227M\u00a0\u00a0\u00a0\u00a0 0%\u00a0\u00a0\u00a0 \/var\/tmp<br \/>\nPoojan@server ~ &gt;dd if=\/dev\/random of=\/var\/tmp\/random bs=1M count=100<br \/>\n100+0 records in<br \/>\n100+0 records out<br \/>\n104857600 bytes transferred in 1.048121 secs (100043413 bytes\/sec)<br \/>\nPoojan@server ~ &gt;dd if=\/dev\/random of=\/var\/tmp\/random bs=1M count=100<br \/>\n100+0 records in<br \/>\n100+0 records out<br \/>\n104857600 bytes transferred in 1.048035 secs (100051629 bytes\/sec)<br \/>\nPoojan@server ~ &gt;dd if=\/var\/tmp\/random of=\/dev\/null bs=1M count=100<br \/>\n100+0 records in<br \/>\n100+0 records out<br \/>\n104857600 bytes transferred in 0.012362 secs (8482249780 bytes\/sec)<br \/>\nPoojan@server ~ &gt;dd if=\/var\/tmp\/random of=\/dev\/null bs=1M count=100<br \/>\n100+0 records in<br \/>\n100+0 records out<br \/>\n104857600 bytes transferred in 0.012305 secs (8521529347 bytes\/sec)<br \/>\nPoojan@server ~ &gt;dd if=\/var\/tmp\/random of=\/dev\/null bs=1M count=100<br \/>\n100+0 records in<br \/>\n100+0 records out<br \/>\n104857600 bytes transferred in 0.012351 secs (8489781699 bytes\/sec)<br \/>\nPoojan@server ~ &gt;sudo dd if=\/var\/tmp\/random of=\/dev\/gpt\/tank_zil0 bs=1M count=100<br \/>\n100+0 records in<br \/>\n100+0 records out<br \/>\n104857600 bytes transferred in 0.641571 secs (163438858 bytes\/sec)<br \/>\nPoojan@server ~ &gt;sudo dd if=\/var\/tmp\/random of=\/dev\/gpt\/tank_zil0 bs=1M count=100<br \/>\n100+0 records in<br \/>\n100+0 records out<br \/>\n104857600 bytes transferred in 0.641162 secs (163543088 bytes\/sec)<br \/>\nPoojan@server ~ &gt;sudo dd if=\/var\/tmp\/random of=\/dev\/gpt\/tank_zil0 bs=1M count=100<br \/>\n100+0 records in<br \/>\n100+0 records out<br \/>\n104857600 bytes transferred in 0.641077 secs (163564741 bytes\/sec)<br \/>\nPoojan@server ~ &gt;sudo dd if=\/var\/tmp\/random of=\/dev\/gpt\/tank_zil0 bs=10M count=10<br \/>\n10+0 records in<br \/>\n10+0 records out<br \/>\n104857600 bytes transferred in 0.643163 secs (163034263 bytes\/sec)<br \/>\n<\/code>\n<p>With random data, we&#8217;re seeing around 155 MB\/s. This SSD is great for sequential writes.<\/p>\n<div class='wp_likes' id='wp_likes_post-797'><a class='like' href=\"javascript:wp_likes.like(797);\" 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(797);\">Like<\/a><\/div>\n<div class='unlike' ><a href=\"javascript:wp_likes.unlike(797);\">Unlike<\/a><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>This SSD caught my eye as a ZIL. I wonder how it compares to my previously benchmarked (a number of times) Kingston SV100 64 GB SSD. I decided to remove it from the ZIL and try it out. I wanted to make sure I exercise the sequential writes (which is all I really care about [&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,137,114,119,129],"class_list":["post-797","post","type-post","status-publish","format-standard","hentry","category-unix-linux","tag-benchmark","tag-benchmarks","tag-dd","tag-sata","tag-ssd"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/tech.poojanblog.com\/blog\/wp-json\/wp\/v2\/posts\/797","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=797"}],"version-history":[{"count":2,"href":"https:\/\/tech.poojanblog.com\/blog\/wp-json\/wp\/v2\/posts\/797\/revisions"}],"predecessor-version":[{"id":799,"href":"https:\/\/tech.poojanblog.com\/blog\/wp-json\/wp\/v2\/posts\/797\/revisions\/799"}],"wp:attachment":[{"href":"https:\/\/tech.poojanblog.com\/blog\/wp-json\/wp\/v2\/media?parent=797"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tech.poojanblog.com\/blog\/wp-json\/wp\/v2\/categories?post=797"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tech.poojanblog.com\/blog\/wp-json\/wp\/v2\/tags?post=797"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}