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

2020-11-22 09:23:41 +08:00
 zckevin

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:

(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

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.

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/

3794 次点击
所在节点    Apple
10 条回复
coolcatha
2020-11-22 09:44:30 +08:00
wow 谢谢分享。很棒很棒
wyfyw
2020-11-22 09:48:12 +08:00
貌似 A14 只支持了硬解 vp9,没支持 av1,不知道 M1 是不是也是一样。貌似这个软解速度看 4k60Hz av1 没问题。
lqf96
2020-11-22 09:50:06 +08:00
@wyfyw https://www.cpu-monkey.com/en/cpu-apple_m1-1804
有的吧,只是没有编码而已...
konata09
2020-11-22 09:51:30 +08:00
M1 软解 AV1 那么强?!希望有人测一下 libaom 的编码性能
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
2020-11-22 11:20:21 +08:00
感谢分享
Zzzzzzzzzzz
2020-11-22 11:44:44 +08:00
说 m1 依靠专用电路加速,新算法出来后就不行的,脸疼不
chengluyu
2020-11-22 12:22:24 +08:00
不知道楼主有没有发过这个游戏性能测试的集合贴: https://twitter.com/__tosh/status/1329099180476928002

里面有个 Google Sheets 列出了上百种游戏在 M1 芯片上的测试数据。
longbye0
2020-11-23 01:55:25 +08:00
公版 arm 我记得也有 av1 硬解
longbye0
2020-11-23 02:00:45 +08:00

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/727970

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX