[DOCS-14430] Investigate changes in SERVER-56728: Cannot run 4.9+ on Apple Silicon Created: 07/May/21  Updated: 13/Nov/23  Resolved: 14/Jun/21

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: 4.9.0-rc1, 5.0.0-rc0, Server_Docs_20231030, Server_Docs_20231106, Server_Docs_20231105, Server_Docs_20231113

Type: Task Priority: Major - P3
Reporter: Backlog - Core Eng Program Management Team Assignee: Andrew Feierabend (Inactive)
Resolution: Works as Designed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-56728 Cannot run 4.9+ on Apple Silicon Closed
Participants:
Days since reply: 2 years, 39 weeks, 5 days ago
Epic Link: DOCSP-9747

 Description   

Description

Downstream Change Summary

We should adjust our documentation around the sandybridge requirement to indicate that it does not apply to macOS (or Windows, for that matter).

Description of Linked Ticket

Mongo 4.9+ cannot start on M1 laptops:

% /tmp/mms-automation/test/versions/mongodb-macos-x86_64-4.9.0-rc0/bin/mongod
zsh: illegal hardware instruction  /tmp/mms-automation/test/versions/mongodb-macos-x86_64-4.9.0-rc0/bin/mongod

acm tracked down that this is because the ISA targeting for the server build was upgraded in 4.9 to sandybridge, which uses AVX instructions that are not handled by Rosetta:
https://developer.apple.com/documentation/apple-silicon/about-the-rosetta-translation-environment

Rosetta translates all x86_64 instructions, but it doesn't support the execution of some newer instruction sets and processor features, such as AVX, AVX2, and AVX512 vector instructions.

He recommended special case downgrading the macOS target ISA to something that doesn’t generate AVX until we have a native Apple Silicon build.

Scope of changes

Impact to Other Docs

MVP (Work and Date)

Resources (Scope or Design Docs, Invision, etc.)


Generated at Thu Feb 08 08:10:21 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.