{"id":200750,"date":"2020-11-22T08:40:56","date_gmt":"2020-11-22T00:40:56","guid":{"rendered":"http:\/\/4563.org\/?p=200750"},"modified":"2020-11-22T08:40:56","modified_gmt":"2020-11-22T00:40:56","slug":"%e5%85%b3%e4%ba%8e-apple-m1-%e7%9a%84%e7%be%a4%e4%bc%97%e6%84%8f%e8%a7%81%e6%af%8f%e6%97%a5%e6%b1%87%e6%80%bb-%e7%a0%81%e5%86%9c%e6%96%b9%e5%90%912020-11-22","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=200750","title":{"rendered":"\u5173\u4e8e Apple M1 \u7684\u7fa4\u4f17\u610f\u89c1\u6bcf\u65e5\u6c47\u603b [\u7801\u519c\u65b9\u5411][2020.11.22]"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u5173\u4e8e Apple M1 \u7684\u7fa4\u4f17\u610f\u89c1\u6bcf\u65e5\u6c47\u603b [\u7801\u519c\u65b9\u5411][2020.11.22]               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : zckevin <\/span>  <span><i><\/i> 2<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<h2>Retain\/Release an NSObject, M1 v.s. current gen Intel, by David Smith<\/h2>\n<p>fun fact: retaining and releasing an NSObject takes ~30 nanoseconds on current gen Intel, and ~6.5 nanoseconds on an M1<\/p>\n<p>\u2026and ~14 nanoseconds on an M1 emulating an Intel<\/p>\n<p>(The price we pay for this is that certain kinds of multithreading bugs can remain dormant on Intel but become symptomatic on M1. Use Thread Sanitizer to test your apps!)<\/p>\n<p>this further improvement is because uncontended acquire-release atomics are about the same speed as regular load\/store on A14<\/p>\n<p>https:\/\/twitter.com\/Catfish_Man\/status\/1326238434235568128<\/p>\n<p>https:\/\/blog.metaobject.com\/2020\/11\/m1-memory-and-performance.html?m=1<\/p>\n<h2>1080p AV1 dav1d \u8f6f\u89e3\uff0cM1 v.s. i9-9980H, by VideoLan<\/h2>\n<p>M1 chips are very fast. Full decode of AV1 sample Chimera in 1080p using dav1d:<\/p>\n<ul>\n<li>i9-9980H: 76\/312\/369fps<\/li>\n<li>MacMini M1: 79\/354\/346fps<\/li>\n<\/ul>\n<p>(Numbers are SingleThread; 4 Frame Threads with 4 Tiles Threads; and finally 8 Frame Threads with 4 Tiles Threads)<\/p>\n<p>Oh, and the M1 running the x86 code gives 168fps with 4+4 threads. Around half-speed, which is very impressive for emulation.<\/p>\n<blockquote class=\"twitter-tweet\" data-width=\"550\" data-dnt=\"true\">\n<p lang=\"en\" dir=\"ltr\">M1 chips are very fast.<br \/>Full decode of AV1 sample Chimera in 1080p using dav1d:<br \/>i9-9980H: 76\/312\/369fps<br \/>MacMini M1: 79\/354\/346fps<\/p>\n<p>(Numbers are SingleThread; 4 Frame Threads with 4 Tiles Threads; and finally 8 Frame Threads with 4 Tiles Threads)<\/p>\n<p>&mdash; VideoLAN (@videolan) <a href=\"https:\/\/twitter.com\/videolan\/status\/1329403827309715456?ref_src=twsrc%5Etfw\">November 19, 2020<\/a><\/p><\/blockquote>\n<p><script async src=\"https:\/\/platform.twitter.com\/widgets.js\" charset=\"utf-8\"><\/script><\/p>\n<h2>PostgreSQL Benchmarks using pgbench-tools<\/h2>\n<p><img decoding=\"async\" src=\"http:\/\/4563.org\/wp-content\/uploads\/2020\/11\/20201125_5fbdd2b66fce8.png\" alt=\"\u5173\u4e8e Apple M1 \u7684\u7fa4\u4f17\u610f\u89c1\u6bcf\u65e5\u6c47\u603b [\u7801\u519c\u65b9\u5411][2020.11.22]\" \/><\/p>\n<p>https:\/\/info.crunchydata.com\/blog\/postgresql-benchmarks-apple-arm-m1-macbook-pro-2020<\/p>\n<h2>Minecraft running on Apple Silicon without Rosetta2<\/h2>\n<p>Got Minecraft running on a MacBook Air running on Apple Silicon without Rosetta, I got MultiMC running with a build of Qt and then built LWJGL and dependencies for arm64. The JDK being used is the Azul Zulu JDK built for macOS arm64.<\/p>\n<p>Performance is unbelievable. I&#8217;m getting well over 200fps average on a regular sized windows and ~100fps at 4k on an external display!<\/p>\n<p>The laptop has no fans but doesn&#8217;t even begin to get hot enough to cause any sort of throttling. Looking forwards to the official Minecraft port as this was mostly straightforward.<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/4563.org\/wp-content\/uploads\/2020\/11\/20201125_5fbdd2bd72a89.png\" alt=\"\u5173\u4e8e Apple M1 \u7684\u7fa4\u4f17\u610f\u89c1\u6bcf\u65e5\u6c47\u603b [\u7801\u519c\u65b9\u5411][2020.11.22]\" \/><\/p>\n<p>https:\/\/old.reddit.com\/r\/Minecraft\/comments\/jxzilu\/minecraft_on_apple_silicon\/<\/p>\n<h2>React Native M1 support discussion<\/h2>\n<p>https:\/\/github.com\/react-native-community\/discussions-and-proposals\/issues\/295<\/p>\n<h2>If you disable SIP, all you iOS apps will stop working on your M1<\/h2>\n<p>It\u2018s only affect iOS apps though<\/p>\n<p>https:\/\/forums.macrumors.com\/threads\/if-you-disable-sip-all-you-ios-apps-will-stop-working-on-your-m1.2269661\/<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>10<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"4297599\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : coolcatha <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             wow \u8c22\u8c22\u5206\u4eab\u3002\u5f88\u68d2\u5f88\u68d2                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4297600\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : wyfyw <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8c8c\u4f3c A14 \u53ea\u652f\u6301\u4e86\u786c\u89e3 vp9\uff0c\u6ca1\u652f\u6301 av1\uff0c\u4e0d\u77e5\u9053 M1 \u662f\u4e0d\u662f\u4e5f\u662f\u4e00\u6837\u3002\u8c8c\u4f3c\u8fd9\u4e2a\u8f6f\u89e3\u901f\u5ea6\u770b 4k60Hz av1 \u6ca1\u95ee\u9898\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4297601\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lqf96 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @wyfyw https:\/\/www.cpu-monkey.com\/en\/cpu-apple_m1-1804<br \/>\u6709\u7684\u5427\uff0c\u53ea\u662f\u6ca1\u6709\u7f16\u7801\u800c\u5df2&#8230;                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4297602\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : konata09 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             M1 \u8f6f\u89e3 AV1 \u90a3\u4e48\u5f3a\uff1f\uff01\u5e0c\u671b\u6709\u4eba\u6d4b\u4e00\u4e0b libaom \u7684\u7f16\u7801\u6027\u80fd                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4297603\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : wyfyw <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @lqf96 https:\/\/www.reddit.com\/r\/AV1\/comments\/jrt8u0\/it_seems_that_new_apple_m1_mac_chips_support_av1\/<\/p>\n<p>\u60f3\u77e5\u9053\u8fd9\u4e2a CPU monkey \u5982\u4f55\u5f97\u5230\u652f\u4e0d\u652f\u6301\u7684\u7ed3\u8bba\u3002\u3002\u3002\u4e0d\u8fc7 QuickTime \u8c8c\u4f3c\u6253\u4e0d\u5f00\u4ece Youtube \u4e0b\u8f7d\u7684 AV1\uff0cIINA \u6bd4\u8f83\u5361                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4297604\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : kevin0201 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u611f\u8c22\u5206\u4eab                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4297605\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Zzzzzzzzzzz <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8bf4 m1 \u4f9d\u9760\u4e13\u7528\u7535\u8def\u52a0\u901f\uff0c\u65b0\u7b97\u6cd5\u51fa\u6765\u540e\u5c31\u4e0d\u884c\u7684\uff0c\u8138\u75bc\u4e0d                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4297606\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : chengluyu <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e0d\u77e5\u9053\u4e3b\u6709\u6ca1\u6709\u53d1\u8fc7\u8fd9\u4e2a\u6e38\u620f\u6027\u80fd\u6d4b\u8bd5\u7684\u96c6\u5408\u8d34\uff1a https:\/\/twitter.com\/__tosh\/status\/1329099180476928002<\/p>\n<p>\u91cc\u9762\u6709\u4e2a Google Sheets \u5217\u51fa\u4e86\u4e0a\u767e\u79cd\u6e38\u620f\u5728 M1 \u82af\u7247\u4e0a\u7684\u6d4b\u8bd5\u6570\u636e\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4297607\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : longbye0 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u516c\u7248 arm \u6211\u8bb0\u5f97\u4e5f\u6709 av1 \u786c\u89e3                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4297608\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : longbye0 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @longbye0 \u8bb0\u9519\u4e86\uff0c\u662f\u6676\u6668\u7684\u82af\u7247<\/p>\n<p>https:\/\/www.cnx-software.com\/2019\/10\/20\/amlogic-s905x4-s908x-s805x2-av1-1080p-4k-8k-media-processors\/                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u5173\u4e8e Apple M1 \u7684\u7fa4\u4f17\u610f\u89c1&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/200750"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=200750"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/200750\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=200750"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=200750"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=200750"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}