{"id":30700,"date":"2020-11-16T16:13:56","date_gmt":"2020-11-16T21:13:56","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=30700"},"modified":"2020-11-27T12:01:13","modified_gmt":"2020-11-27T17:01:13","slug":"performance-of-rosetta-2-on-apple-m1","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2020\/11\/16\/performance-of-rosetta-2-on-apple-m1\/","title":{"rendered":"Performance of Rosetta 2 on Apple M1"},"content":{"rendered":"<p><a href=\"https:\/\/www.macrumors.com\/2020\/11\/15\/m1-chip-emulating-x86-benchmark\/\">Frank McShan<\/a> (<a href=\"https:\/\/twitter.com\/MacRumors\/status\/1328103105968316416\">tweet<\/a>, <a href=\"https:\/\/news.ycombinator.com\/item?id=25105597\">Hacker News<\/a>):<\/p>\n<blockquote cite=\"https:\/\/www.macrumors.com\/2020\/11\/15\/m1-chip-emulating-x86-benchmark\/\"><p>The new Rosetta 2 Geekbench results uploaded show that the M1 chip running on a MacBook Air with 8GB of RAM has single-core and multi-core scores of 1,313 and 5,888 respectively. Since this version of Geekbench is running through Apple&rsquo;s translation layer Rosetta 2, an impact on performance is to be expected. Rosetta 2 running x86 code appears to be achieving 78%-79% of the performance of native Apple Silicon code.<\/p>\n<p>Despite the impact on performance, the single-core Rosetta 2 score results still outperforms any other Intel Mac, including the 2020 27-inch iMac with Intel Core i9-10910 @ 3.6GHz.<\/p><\/blockquote>\n\n<p><a href=\"https:\/\/www.audiodamage.com\/blogs\/news\/a-quick-note-about-apple-silicon\">Chris Randall<\/a>:<\/p>\n<blockquote cite=\"https:\/\/www.audiodamage.com\/blogs\/news\/a-quick-note-about-apple-silicon\">\n<p>On the whole, our general opinion is that as a producer you won&rsquo;t really notice (or even be able to tell) whether a plugin or host is running native ARM or in Rosetta 2. The CPU load should be more or less the same; the ARM version may be slightly lower, but this is difficult to measure consistently.<\/p>\n<\/blockquote>\n\n<p>Previously:<\/p>\n<ul>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2020\/11\/12\/apple-m1-benchmarks\/\">Apple M1 Benchmarks<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2020\/11\/11\/the-apple-silicon-m1\/\">The Apple Silicon M1<\/a><\/li>\n<\/ul>\n\n<p id=\"performance-of-rosetta-2-on-apple-m1-update-2020-11-19\">Update (2020-11-19): <a href=\"https:\/\/www.macrumors.com\/2020\/11\/12\/rosetta-2-translation-can-take-20-seconds\/\">Joe Rossignol<\/a>:<\/p>\n<blockquote cite=\"https:\/\/www.macrumors.com\/2020\/11\/12\/rosetta-2-translation-can-take-20-seconds\/\">\n<p>Microsoft this week indicated that when launching any of its Mac apps for the first time on Apple Silicon Macs, the apps will bounce in the dock for approximately 20 seconds while the Rosetta 2 translation process is completed, with all subsequent launches being fast.<\/p>\n<\/blockquote>\n\n<p><a href=\"https:\/\/twitter.com\/realmrpippy\/status\/1329202633794494465\">Brendan Shanks<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/realmrpippy\/status\/1329202633794494465\">\n<p> We&rsquo;re making it official: \n@codeweavers\n CrossOver\/Wine runs 32- and 64-bit Windows apps\/games on Apple Silicon Macs!\nAnd it works today!<\/p>\n<p>Big thanks to the Rosetta folks at Apple and everyone at CodeWeavers for their hard work on this.<\/p>\n<\/blockquote>\n\n<p><a href=\"https:\/\/twitter.com\/colincornaby\/status\/1329215028990406657\">Colin Cornaby<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/colincornaby\/status\/1329215028990406657\">\n<p>Stuff like this makes me hope that Rosetta sticks around in some form for a very long time. PowerPC wasn&rsquo;t a bit industry force that required long term compatibility. But the x86 platform will be with us for a long while, even if Apple leaves it.<\/p>\n<\/blockquote>\n\n<p id=\"performance-of-rosetta-2-on-apple-m1-update-2020-11-27\">Update (2020-11-27): <a href=\"https:\/\/twitter.com\/ErrataRob\/status\/1331736203402547201\">Robert Graham<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/ErrataRob\/status\/1331736203402547201\">\n<p>So Apple simply cheated. They added Intel&rsquo;s memory-ordering to their CPU. When running translated x86 code, they switch the mode of the CPU to conform to Intel&rsquo;s memory ordering.<\/p>\n<p>With underlying architectural issues ironed out, running x86 code simply means translating those instructions to the Arm equivalent. This is very efficient and results in code that often runs at the same speed.<\/p>\n<\/blockquote>","protected":false},"excerpt":{"rendered":"<p>Frank McShan (tweet, Hacker News): The new Rosetta 2 Geekbench results uploaded show that the M1 chip running on a MacBook Air with 8GB of RAM has single-core and multi-core scores of 1,313 and 5,888 respectively. Since this version of Geekbench is running through Apple&rsquo;s translation layer Rosetta 2, an impact on performance is to [&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":"2020-11-16T21:13:59Z","apple_news_api_id":"1cfc47b2-aa8c-44bc-a1a9-71b85967f1d6","apple_news_api_modified_at":"2020-11-27T17:01:17Z","apple_news_api_revision":"AAAAAAAAAAAAAAAAAAAAAQ==","apple_news_api_share_url":"https:\/\/apple.news\/AHPxHsqqMRLyhqXG4WWfx1g","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":[2014,262,30,1173,100,1891,1025],"class_list":["post-30700","post","type-post","status-publish","format-standard","hentry","category-technology","tag-apple-m1","tag-arm","tag-mac","tag-macbook-air","tag-macbookpro","tag-macos-11-0","tag-rosetta"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/30700","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=30700"}],"version-history":[{"count":3,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/30700\/revisions"}],"predecessor-version":[{"id":30836,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/30700\/revisions\/30836"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=30700"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=30700"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=30700"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}