V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
zckevin
V2EX  ›  Apple

关于 Apple M1 的群众意见每日汇总 [码农方向][2020.11.22]

  •  
  •   zckevin · 2020-11-22 09:23:41 +08:00 · 4102 次点击
    这是一个创建于 1491 天前的主题,其中的信息可能已经有所发展或是发生改变。

    Retain/Release an NSObject, M1 v.s. current gen Intel, by David Smith

    fun fact: retaining and releasing an NSObject takes ~30 nanoseconds on current gen Intel, and ~6.5 nanoseconds on an M1

    …and ~14 nanoseconds on an M1 emulating an Intel

    (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!)

    this further improvement is because uncontended acquire-release atomics are about the same speed as regular load/store on A14

    https://twitter.com/Catfish_Man/status/1326238434235568128

    https://blog.metaobject.com/2020/11/m1-memory-and-performance.html?m=1

    1080p AV1 dav1d 软解,M1 v.s. i9-9980H, by VideoLan

    M1 chips are very fast. Full decode of AV1 sample Chimera in 1080p using dav1d:

    • i9-9980H: 76/312/369fps
    • MacMini M1: 79/354/346fps

    (Numbers are SingleThread; 4 Frame Threads with 4 Tiles Threads; and finally 8 Frame Threads with 4 Tiles Threads)

    Oh, and the M1 running the x86 code gives 168fps with 4+4 threads. Around half-speed, which is very impressive for emulation.

    https://twitter.com/videolan/status/1329403827309715456

    PostgreSQL Benchmarks using pgbench-tools

    image.png

    https://info.crunchydata.com/blog/postgresql-benchmarks-apple-arm-m1-macbook-pro-2020

    Minecraft running on Apple Silicon without Rosetta2

    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.

    Performance is unbelievable. I'm getting well over 200fps average on a regular sized windows and ~100fps at 4k on an external display!

    The laptop has no fans but doesn'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.

    image.png

    https://old.reddit.com/r/Minecraft/comments/jxzilu/minecraft_on_apple_silicon/

    React Native M1 support discussion

    https://github.com/react-native-community/discussions-and-proposals/issues/295

    If you disable SIP, all you iOS apps will stop working on your M1

    It‘s only affect iOS apps though

    https://forums.macrumors.com/threads/if-you-disable-sip-all-you-ios-apps-will-stop-working-on-your-m1.2269661/

    10 条回复    2020-11-23 02:00:45 +08:00
    coolcatha
        1
    coolcatha  
       2020-11-22 09:44:30 +08:00 via iPhone
    wow 谢谢分享。很棒很棒
    wyfyw
        2
    wyfyw  
       2020-11-22 09:48:12 +08:00
    貌似 A14 只支持了硬解 vp9,没支持 av1,不知道 M1 是不是也是一样。貌似这个软解速度看 4k60Hz av1 没问题。
    lqf96
        3
    lqf96  
       2020-11-22 09:50:06 +08:00
    @wyfyw https://www.cpu-monkey.com/en/cpu-apple_m1-1804
    有的吧,只是没有编码而已...
    konata09
        4
    konata09  
       2020-11-22 09:51:30 +08:00
    M1 软解 AV1 那么强?!希望有人测一下 libaom 的编码性能
    wyfyw
        5
    wyfyw  
       2020-11-22 10:01:09 +08:00
    @lqf96 https://www.reddit.com/r/AV1/comments/jrt8u0/it_seems_that_new_apple_m1_mac_chips_support_av1/

    想知道这个 CPU monkey 如何得到支不支持的结论。。。不过 QuickTime 貌似打不开从 Youtube 下载的 AV1,IINA 比较卡
    kevin0201
        6
    kevin0201  
       2020-11-22 11:20:21 +08:00 via iPhone
    感谢分享
    Zzzzzzzzzzz
        7
    Zzzzzzzzzzz  
       2020-11-22 11:44:44 +08:00
    说 m1 依靠专用电路加速,新算法出来后就不行的,脸疼不
    chengluyu
        8
    chengluyu  
       2020-11-22 12:22:24 +08:00   ❤️ 1
    不知道楼主有没有发过这个游戏性能测试的集合贴: https://twitter.com/__tosh/status/1329099180476928002

    里面有个 Google Sheets 列出了上百种游戏在 M1 芯片上的测试数据。
    longbye0
        9
    longbye0  
       2020-11-23 01:55:25 +08:00
    公版 arm 我记得也有 av1 硬解
    longbye0
        10
    longbye0  
       2020-11-23 02:00:45 +08:00
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2565 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 03:08 · PVG 11:08 · LAX 19:08 · JFK 22:08
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.