{"id":248,"date":"2010-10-06T20:39:20","date_gmt":"2010-10-07T01:39:20","guid":{"rendered":"http:\/\/www.shainmiley.com\/wordpress\/?p=248"},"modified":"2010-10-20T11:21:11","modified_gmt":"2010-10-20T16:21:11","slug":"ext4-vs-zfs-kernel-modulebenchmarks-so-far","status":"publish","type":"post","link":"https:\/\/www.shainmiley.com\/wordpress\/2010\/10\/06\/ext4-vs-zfs-kernel-modulebenchmarks-so-far\/","title":{"rendered":"Ext4 vs Zfs Kernel Module:benchmarks so far."},"content":{"rendered":"<p>Well I have finally set aside some time to try and test performance using the zfs kernel module that I<a title=\"zfs\" href=\"http:\/\/shainmiley.com\/wordpress\/?p=216\" target=\"_blank\"> blogged about<\/a> a bit ago.<\/p>\n<p>Overall the zfs kernel module produced results that were similar to the ones I saw while using ext4, however most real world zfs setups are not limited to a single disk, so it will be very interesting to see what kind of performance numbers we will see when we start benchmarking on setups that have many disks.<\/p>\n<p>Although the zfs results were slower in almost every single case, ext4 was not too much faster in most of those cases and I suspect that there are lots of people out there who would be more then willing to take a tiny hit in speed, in order to gain the substantial<a title=\"wiki\" href=\"http:\/\/en.wikipedia.org\/wiki\/ZFS#Features\" target=\"_blank\"> benefits<\/a> that comes with having zfs as your underlying filesystem.<\/p>\n<p>Here are some of the benchmarks I got doing the following:<\/p>\n<p>a)create 10,000 files using touch<br \/>\nb)create 10,000 directories using mkdir<br \/>\nc)untar the latest stable linux kernel<br \/>\nd)create a 1GB file using dd<br \/>\ne)find 10,000 files<br \/>\nf)delete 10,000 files<br \/>\ng)find 10,000 directories<br \/>\nh)delete 10,000 directories<\/p>\n<p>At some point soon I plan to add values for raid2z, btrfs, iozone results, etc.<\/p>\n<p>[easychart type=&#8221;vertbar&#8221; height=&#8221;10&#8243; width=&#8221;10&#8243; title=&#8221;Various File Operations in Seconds&#8221; groupnames=&#8221;Ext4,Zfs,Zfs-mirror&#8221; valuenames=&#8221;Touch x 10000,Mkdir x 10000,Untar kernel,Create 1 GB file&#8221; group1values=&#8221;12.669,14.276,4.997,1.110&#8243; group2values=&#8221;13.009,13.015,6.577,6.084&#8243; group3values=&#8221;13.044,13.352,9.787,12.208&#8243;] [easychart type=&#8221;vertbar&#8221; height=&#8221;10&#8243; width=&#8221;10&#8243; title=&#8221;Various File Operations in Seconds&#8221; groupnames=&#8221;Ext4,Zfs,Zfs-mirror&#8221; valuenames=&#8221;Delete files,Find files,Delete directories,Find directories&#8221; group1values=&#8221;0.122,0.036,0.163,0.295&#8243; group2values=&#8221;0.577,0.096,0.247,0.764&#8243; group3values=&#8221;0.526,0.141,0.261,0.690&#8243; ]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Well I have finally set aside some time to try and test performance using the zfs kernel module that I blogged about a bit ago. Overall the zfs kernel module produced results that were similar to the ones I saw while using ext4, however most real world zfs setups are not limited to a single [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3,14],"tags":[],"_links":{"self":[{"href":"https:\/\/www.shainmiley.com\/wordpress\/wp-json\/wp\/v2\/posts\/248"}],"collection":[{"href":"https:\/\/www.shainmiley.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.shainmiley.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.shainmiley.com\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.shainmiley.com\/wordpress\/wp-json\/wp\/v2\/comments?post=248"}],"version-history":[{"count":61,"href":"https:\/\/www.shainmiley.com\/wordpress\/wp-json\/wp\/v2\/posts\/248\/revisions"}],"predecessor-version":[{"id":309,"href":"https:\/\/www.shainmiley.com\/wordpress\/wp-json\/wp\/v2\/posts\/248\/revisions\/309"}],"wp:attachment":[{"href":"https:\/\/www.shainmiley.com\/wordpress\/wp-json\/wp\/v2\/media?parent=248"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.shainmiley.com\/wordpress\/wp-json\/wp\/v2\/categories?post=248"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.shainmiley.com\/wordpress\/wp-json\/wp\/v2\/tags?post=248"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}