{"id":19012,"date":"2017-09-26T10:52:20","date_gmt":"2017-09-26T14:52:20","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=19012"},"modified":"2018-01-11T11:50:25","modified_gmt":"2018-01-11T16:50:25","slug":"apfs-benchmarks","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2017\/09\/26\/apfs-benchmarks\/","title":{"rendered":"APFS Benchmarks"},"content":{"rendered":"<p><a href=\"https:\/\/malcont.net\/2017\/07\/apfs-and-hfsplus-benchmarks-on-2017-macbook-pro-with-macos-high-sierra\/\">Malc<\/a> (via <a href=\"https:\/\/news.ycombinator.com\/item?id=15333036\">Hacker News<\/a>):<\/p>\n<blockquote cite=\"https:\/\/malcont.net\/2017\/07\/apfs-and-hfsplus-benchmarks-on-2017-macbook-pro-with-macos-high-sierra\/\"><p>As you can see, APFS&rsquo; encryption takes about 53% of file system 4K read speed, 32% of 4K write speed, 65% of 1M read speed and 47% of 1M write speed. That is a lot compared to HFS+&rsquo;s accordingly: 41, 7, 4 and 0.1%.<\/p><\/blockquote>\n\n<p>Even without encryption, the results show HFS+ as faster.<\/p>\n\n<p><a href=\"https:\/\/www.phoronix.com\/scan.php?page=news_item&amp;px=macOS-APFS-HFS-Benchmarks\">Michael Larabel<\/a>:<\/p>\n<blockquote cite=\"https:\/\/www.phoronix.com\/scan.php?page=news_item&amp;px=macOS-APFS-HFS-Benchmarks\"><p>Some have complained of slowdowns with APFS, but for the most part my benchmark numbers are showing faster results.<\/p><\/blockquote>\n\n<p><a href=\"https:\/\/bombich.com\/kb\/ccc5\/high-sierra-testing-and-known-issues\">Bombich Software<\/a>:<\/p>\n<blockquote cite=\"https:\/\/bombich.com\/kb\/ccc5\/high-sierra-testing-and-known-issues\"><p>These tests also demonstrate that boot time performance between HFS+ and APFS are comparable, with only one notable exception. The pre-encrypted APFS volume (both as a source and destination) encountered a very noticeable stall during startup when the progress indicator had filled to approximately 25%. I would not conclude that these numbers reflect a degradation of performance of the filesystem when it is pre-encrypted, rather it seems there is a flaw in the startup process that is specific to this filesystem variant. Regardless, if boot-time performance is important to your workflow, we recommend that you establish macOS on a non-encrypted volume initially, then enable FileVault via the Security &amp; Privacy Preference Pane.<\/p><\/blockquote>\n<p>His test Mac was a 2011 Mac mini. Presumably a newer Mac would have less of a performance penalty for enabling encryption.<\/p>\n\n<p>Update (2017-09-29): <a href=\"https:\/\/malcont.net\/2017\/09\/apfs-vs-hfs-benchmarks-on-2017-macbook-pro-with-macos-high-sierra\/\">Mac<\/a>:<\/p>\n<blockquote cite=\"https:\/\/malcont.net\/2017\/09\/apfs-vs-hfs-benchmarks-on-2017-macbook-pro-with-macos-high-sierra\/\">\n<p>in some cases APFS appears to be slightly slower than HFS+ when it comes to writing data, especially in smaller chunks<\/p>\n<p>AFFS appears to be a lot faster than HFS+ when it comes to reading data<\/p>\n<p>AFPS&rsquo; built-in encryption shows decreased throughput speeds in comparison to HFS+ with FileVault2<\/p>\n<p>seek rates seem a tiny bit higher with APFS but that would be unnoticeable on most workflows<\/p>\n<\/blockquote>\n\n<p>Update (2018-01-11): <a href=\"https:\/\/reverse.put.as\/2018\/01\/07\/measuring-osx-meltdown-patches-performance\/\">fG!<\/a> (via <a href=\"https:\/\/twitter.com\/steipete\/status\/950854195481075712\">Peter Steinberger<\/a>):<\/p>\n<blockquote cite=\"https:\/\/reverse.put.as\/2018\/01\/07\/measuring-osx-meltdown-patches-performance\/\"><p>We can observe that the performance loss between Sierra to High Sierra (HFS+ to APFS) is considerable and around 40% or more.<\/p>\n<p>[&#8230;]<\/p>\n<p>APFS appears to introduce a considerable performance loss, even against an HFS+ encrypted filesystem. I heard before some buzz about APFS performance issues but this was the first time I installed High Sierra outside a virtual machine and measured its performance.<\/p><\/blockquote>","protected":false},"excerpt":{"rendered":"<p>Malc (via Hacker News): As you can see, APFS&rsquo; encryption takes about 53% of file system 4K read speed, 32% of 4K write speed, 65% of 1M read speed and 47% of 1M write speed. That is a lot compared to HFS+&rsquo;s accordingly: 41, 7, 4 and 0.1%. Even without encryption, the results show HFS+ [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"","apple_news_api_id":"","apple_news_api_modified_at":"","apple_news_api_revision":"","apple_news_api_share_url":"","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[2],"tags":[1395,537,706,30,1529],"class_list":["post-19012","post","type-post","status-publish","format-standard","hentry","category-technology","tag-apple-file-system-apfs","tag-filesystem","tag-filevault","tag-mac","tag-macos-10-13"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/19012","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=19012"}],"version-history":[{"count":4,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/19012\/revisions"}],"predecessor-version":[{"id":20127,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/19012\/revisions\/20127"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=19012"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=19012"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=19012"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}