TeckFire

Untitled

Mar 11th, 2026
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.18 KB | None | 0 0
  1. # 🚀 macOS Sequoia "Invictus" Master Knowledge Base (v18)
  2.  
  3. * **Target:** 2012 MacBook Pro Retina 15" (MBP 10,1) | i7-3820QM | 16GB LPDDR3 RAM | Intel HD4000 iGPU/ Nvidia GT 650M dGPU
  4. * **Hardware Specs:** 2TB mSATA SSD | 1TB SD Card | 15% Unpartitioned SSD Scratchpad
  5. * **Toolchain:** Fish Shell • Micro Editor • Eza (ls replacement)
  6. * **Philosophy:** Digital Silence • Silicon-Lite Architecture • Interrupt Alignment
  7. * **Updated:** March 2026
  8.  
  9. ---
  10.  
  11. ### 🛠️ 1. Hardware, Thermal & Physical Architecture
  12. - **Thermal Interface:** Honeywell PTM7950 Phase-Change on CPU/GPU and auxilliary heatsinks; verified stable thermal cycling.
  13. - **Airflow Geometry (The "Shingling" Mod):**
  14. - **Sealed Pressure Tunnel:** 4-side bridge between fan housing and radiator fin-stacks using high-rigidity copper tape and sugru.
  15. - **Logic:** Eliminates internal chassis recirculation; forces maximum fan static pressure through the radiator fins.
  16. - **Result:** Sustained +200MHz clock increase at identical thermal ceiling (105°C).
  17. - **Physical Modification (Passive Oxidation):**
  18. - **Target:** High-Emissivity ($\varepsilon \approx 0.70–0.75$) naturally grown Cupric Oxide ($CuO$) layer on all raw copper pipes and auxiliary sinks.
  19. - **Protocol:** 99% IPA de-masking followed by heat cycling to accelerate $CuO$ formation without increasing material thickness or thermal resistance ($R_{thermal}$).
  20. - **Logic:** Enhances radiative cooling into the aluminum chassis/top-case bridge; stabilizes 3.2GHz "Mobile" floor and reduces PECI recovery time.
  21. - **Passive Mass:** VRM (2.0mm thick copper block grid pattern heatsinks) drilled to allow airflow through them, and bridged to bottom case via Arctic TP-3 thermal pads. Provides ~35% performance uplift during saturation.
  22. - **Intake Optimization:** Custom drilled bottom-case intake arrays aligned with fan hubs for direct atmospheric access via IETS GT600 high-pressure docking.
  23. - **Fan Logic (TG Pro):** 8s Polling / 16s Smoothing. Left fan leads Right by 3–5% for harmonic cancellation.
  24. - **Acoustics:** 36 dB (Idle) / 47 dB (Internal Max) / 65 dB (GT600 Docked Max).
  25.  
  26. ---
  27.  
  28. ## ⚙️ 2. Core OS & Kernel Framework
  29. - **System Integrity:**
  30. - **SIP Disabled:** Enforced via `<data>fwg=</data>` (0x807F) to allow Sentinel process prioritization.
  31. - **Security Bypass:** `amfi=0x80` (Surgical mode) maintained to reduce background verification loops while maintaining OCLP driver compatibility.
  32. - **Thermal Polling:** `notp` (No Thermal Pressure) boot-arg enforced. Disables high-frequency kernel polling of the SMC; eliminates constant "Thermal Level" interrupts.
  33. - **Performance Floor:** `mitigations=0` and `kpti=0` to eliminate Meltdown/Spectre performance tax on Ivy Bridge silicon.
  34. - **Background Throttling:** `dasd`, `spotlightknowledged`, and `mds` are throttled via Sentinel loop to eliminate CPU micro-spikes.
  35. - **NVRAM Configuration:**
  36. - **Boot-Args:** `amfi=0x80 kpti=0 mitigations=0 ncl=131072 alcid=1 ipc_control_port_options=0 no_vhentropy=1 -lilubetaall -nokcmismatchpanic -no_auto_rebuild`
  37. - **Persistence:** `nvram SystemAudioVolume=%80` set to prevent NVRAM writes; `WriteFlash=False` enforced to preserve physical chip longevity and ensure a "Stateless" boot environment.
  38. - **Memory Model:**
  39. - `vm.vm_page_background_exclude_external=1` to reduce vnode jitter and active page eviction.
  40. - **Networking Logic:**
  41. - **TCP/IP:** Delayed ACK=1. ECN/L4S/RACK disabled for Legacy WiFi stability.
  42. - **Buffers:** `maxsockbuf` expanded to 8MB; auto-buffers capped to prevent memory pressure.
  43. - **Scaling:** `ncl=131072` (Network Cluster Limit) optimized for high-speed I/O.
  44. - **Interrupt Coalescing:**
  45. - **Tier 0 (Interactive):** 5ms ($5\times 10^6\text{ns}$) slack for UI tasks (Scale: 1).
  46. - **Tier 1 (Active):** 5ms ($5\times 10^6\text{ns}$) slack, aligned with Tier 0 (Scale: 1).
  47. - **Tier 2 (Default):** 100ms ($100\times 10^6\text{ns}$) slack, moderate batching (Scale: 4).
  48. - **Tier 3 (Background):** 250ms ($250\times 10^6\text{ns}$) slack for suppression (Scale: -5).
  49. - **Tier 4/5 (Maintenance):** 30s ($30\times 10^9\text{ns}$) slack for extreme batching (Scale: -15).
  50. - **I/O Latency:**
  51. - `vfs.generic.sync_timeout=20`: Extended 20s Write-Back delay for SSD longevity.
  52. - `debug.lowpri_throttle_enabled=0`: Disables default background task choking.
  53. - **I/O Throttle Windows:**
  54. - `Tier 1`: 5ms ($15\text{ms}$ SSD) window for active I/O.
  55. - `Tier 2`: 85ms ($15\text{ms}$ SSD) window for default I/O.
  56. - `Tier 3`: 200ms ($25\text{ms}$ SSD) window for background I/O.
  57. - **Process Management:**
  58. - PID-specific `taskpolicy` enforcement on all Tier 4 & 5 processes to mimic Efficiency Core behavior on the i7-3820QM.
  59.  
  60. ---
  61.  
  62. ## 🧠 3. Priority & Interrupt Engine
  63. ### The Silent Sentinel (`silent_sentinel.sh`)
  64. - **Logic:** Atomic Zsh-native engine, combining Sysctl injection, and Adaptive Process Watchdog. Runs itself at Nice -20 with `renice` batching.
  65. - **Tier 1 (Hardware/UI Critical):** `hidd` (-20), `WindowServer` (-18), `SkyLight` (-17), `bluetoothd` (-19), `coreaudiod` (-16), `powerd` (-16).
  66. - **Tier 2 (Interactive User):** `WindowManager` (-18), `Alfred` (-15), `Terminal` (-14), `DynamicLakePro` (-14), `logd` (-9), `Dock` (-13), `Finder` (-12).
  67. - **Tier 4 (Throttle):** `mds`, `backupd`, `cloudd`, `intelligenceplatformd`, `siriknowledged`, `syspolicyd`.
  68. - **Tier 5 (Background Leeches):** `triald`, `parsec-fbf`, `analyticsd`, `biometrictalkerd`, `vmd`, `symptomsd`, `remoted`, `parsecd`, `biomesyncd`.
  69. - **Action:** `renice` batching + `taskpolicy -c background`. Persistent RAM blacklists (`STUBBORN_NI`/`TP`) prevent redundant syscalls to SIP-protected processes.
  70. - **Ghost Mitigation:** Automatic `bootout` of UID `16908544` after initial stability check.
  71. - **Adaptive Interval:** 15s (Active Shift) / 90s (Stable State) / 2.5hr (Cache Flush).
  72.  
  73. ---
  74.  
  75. ## 🛡️ 4. Silicon-Lite & "Ghost" Suppression
  76. - **Intelligence & Proactive (Disabled):**
  77. - `intelligenceplatformd`, `intelligencecontextd`, `knowledge-agent`, `knowledgeconstructiond`.
  78. - `proactived`, `proactiveeventtrackerd`, `siriinferenced`, `siriknowledged`.
  79. - `suggestd`, `ospredictiond`, `biomesyncd`, `BiomeAgent`.
  80. - **Hardware Ghosts & Apple Silicon Cruft (Disabled):**
  81. - **Camera Stubbing:** `appleh13` through `appleh16camerad` (Removes driver polling for non-existent T2/M-series ISP).
  82. - **Mobile/Biometric:** `nfcd`, `biometrickitd`, `touchbarserver`, `geod`, `geoanalyticsd`, `mbproximityhelper`.
  83. - **Translation Layer:** `oahd` (Rosetta 2 background daemon—unnecessary on native Intel).
  84. - **Telemetry & Logging (Hard-Disabled):**
  85. - `analyticsd`, `osanalyticshelper`, `symptomsd` (Network/GUI).
  86. - `tailspind`, `spindump`, `systemstatsd`, `powerlogHelperd`.
  87. - `ReportCrash`, `ReportCrash.Root`, `diagnosed`.
  88. - **ACPI "INVICTUS" Architecture:**
  89. - **SSDT-INVICTUS.aml:** Custom address-space targeting for Ivy Bridge mobile platform (MBP 10,1).
  90. - **Host Bridge:** `MCHC` (00:00.0) forced to 32-bit addressing cap via `_DSM` to reduce bus-mastering discovery overhead.
  91. - **Ghost Bridges:** Suppression of `00:01.1` and `00:01.2` (unused PCIe bridges) via `_STA=0` to prevent redundant kernel probing.
  92. - **Interrupt Alignment:**
  93. - **SMC (Vector 0x46):** Reduced to ~13.8 interrupts/sec via `notp` (Previously ~25+).
  94. - **IGPU (Vector 0x7b):** Primary remaining wake-source (~64 interrupts/sec); mitigated by static UI and 50% brightness floor.
  95. - **Bluetooth Noise:** `bluetoothd` identified as high-WPS "leech" (19–25 WPS). Recommend hardware-toggle **OFF** when not in active use to achieve sub-4.3W floor.
  96. - **Sleep Integrity:** "Wake for Network Access" set to NEVER (Prevents OCLP WiFi DarkWakes).
  97. - **AirPlay XPCHelper:** Forced `bootout` from system domain; eliminates constant encoder-ready polling.
  98. - **Battery Monitoring:**
  99. - **App:** `Stats` (Open Source)
  100. - **Logic:** Configured for extreme efficiency (1-minute polling interval).
  101. - **Exclusion:** Added to `silent_sentinel.sh` watchdog exception list to prevent `renice` loops from affecting the UI thread.
  102.  
  103. ---
  104.  
  105. ## 🖥️ 5. Visual Efficiency — “Digital Silence”
  106. - **UI Redraws:** Static wallpaper, Reduced Transparency, Zero widgets, Shadows disabled.
  107. - **DynamicLakePro Muting:** `muiscWavemodeKey=0`, `showSecondesDefKey=0` (Eliminates 1Hz wake).
  108. - **Sensor Muting:** `dAuto=0`, `kAuto=0` (Stops `AppleLMUController` polling; forces static brightness).
  109. - **Widget Suppression:** `com.apple.widgets.extension-vending` disabled via `launchctl` (removes all widget-related process forks).
  110. - **Sidecar/Continuity:** `sidecardisplayagent` and `sidecarrelay` disabled via `launchctl` (cuts networking/encoder polling).
  111.  
  112. ---
  113.  
  114. ## 🚀 6. Boot Automation (`launchd`)
  115. - **Master Sentinel Service:** `/Library/LaunchDaemons/com.invictus.sentinel.plist`
  116. - **Logic:** Runs a single, consolidated script (`silent_sentinel.sh`) at boot.
  117. - **Persistent Phase:** `KeepAlive` ensures the script restarts if killed, maintaining the adaptive process watchdog loop indefinitely.
  118. - **Logging:** Standard out/error redirected to `/var/log/sentinel.log` for debugging watchdog behavior.
  119.  
  120. ---
  121.  
  122. ### 📊 7. Performance Benchmarks
  123. | Metric | Target | Observed | Notes |
  124. | :--- | :--- | :--- | :--- |
  125. | **Heaven 4.0 (Mobile)**| > 750 | **945** | 720p Basic. 60 Min Heat Soak baseline. 66°C GPU temp |
  126. | **Cinebench R23 (Mobile)** | > 3,000 | **3,3385** | Sustained 3.2–3.3GHz on battery. |
  127. | **Cinebench R23 (Docked)** | > 3,400 | **3,539** | With GT600 Fan (3.4-3.5GHz). |
  128. | **3DMark Fire Strike (Docked)** | > 1800 | **2,085** | Verified World Record (MBP 10,1). |
  129. | **GPU Temp (Peak Load)** | < 75°C | **66°C** | 15°C reduction vs. original heatsink. |
  130. | **CPU Idle (PECI)** | < 50°C | **40°C** | Sub-5W floor reached consistently. |
  131. | **Idle Package Power** | < 4.5W | 4.03–5.23W | 4.31W Avg. |
  132. | **C7 Residency** | > 90% | 95.51% | Idle state efficiency. |
  133. | **Wakes Per Second** | < 190 | 179.8 – 184.6 | System interrupt suppression check. |
  134. | **Idle Load** | < 0.70 | 0.53 | `top` command metric. |
  135. | **Speedometer 3.0** | > 11.0 | 12.3 | Browser performance. |
Advertisement
Add Comment
Please, Sign In to add comment