<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by John O&#39;Donnell on Medium]]></title>
        <description><![CDATA[Stories by John O&#39;Donnell on Medium]]></description>
        <link>https://medium.com/@johnod_88019?source=rss-3c239d1f683d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*OX_19akQQ2R33hPw</url>
            <title>Stories by John O&amp;#39;Donnell on Medium</title>
            <link>https://medium.com/@johnod_88019?source=rss-3c239d1f683d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 16:30:51 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@johnod_88019/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Using Google Antigravity as a Knowledge Worker Tool: Rules, Skills, Workspace, and Automations]]></title>
            <link>https://medium.com/google-cloud/using-google-antigravity-as-a-knowledge-worker-tool-rules-skills-workspace-and-automations-0a75c428120d?source=rss-3c239d1f683d------2</link>
            <guid isPermaLink="false">https://medium.com/p/0a75c428120d</guid>
            <category><![CDATA[ai-automation]]></category>
            <category><![CDATA[agent-skills]]></category>
            <category><![CDATA[google-antigravity]]></category>
            <category><![CDATA[google-workspace]]></category>
            <category><![CDATA[knowledge-work]]></category>
            <dc:creator><![CDATA[John O'Donnell]]></dc:creator>
            <pubDate>Thu, 26 Nov 2026 19:17:27 GMT</pubDate>
            <atom:updated>2026-11-28T06:22:56.700Z</atom:updated>
            <content:encoded><![CDATA[<h4>Turn folders and Google Workspace into a repeatable AI workbench with Rules, Agent Skills, prompts, and scheduled Automations.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0lyF1RAzmhksOm5Oy6rAEA.png" /><figcaption>Figure 1: Functional Google Antigravity workflow uniting Google Workspace MCP (Gmail, Calendar, Drive, Docs, Sheets, Slides) and local folders with Rules, Agent Skills, and Automations. Image by John O’Donnell (CC BY 4.0).</figcaption></figure><p>Browser chat windows work well for one-off questions and poorly for recurring knowledge work: you re-upload files, copy-paste emails, restate formatting rules, and repeat the same morning prep manually every Monday.</p><p><a href="https://antigravity.google/"><strong>Google Antigravity</strong></a> fixes that — even if you never write code. Instead of a blank chat box, Antigravity works inside a <strong>local folder</strong> backed by persistent <strong>Rules</strong>, on-demand <strong>Agent Skills</strong>, <strong>Google Workspace MCP connectors</strong> (Gmail, Calendar, Drive, Docs, Sheets), reviewable <strong>Artifacts</strong>, and recurring background <strong>Automations</strong>. Its <a href="https://9to5google.com/2026/11/09/google-antigravity-knowledge-work/"><strong>Knowledge Work layout</strong></a> (Settings &gt; General &gt; Interface Layout, depending on workspace edition and admin settings) hides Git branches and terminal panes to spotlight folders, documents, and artifacts—while the exact same Rules, Skills, Workspace tools, and Automations run in the standard workspace too.</p><h3>1. The Five Building Blocks (In Plain English)</h3><p>Map each Antigravity primitive to a familiar knowledge-work habit:</p><ul><li><strong>Rules</strong> (GEMINI.md / AGENTS.md) — <em>Team style guide &amp; non-negotiable standards</em> (Workspace root, .agents/rules/*.md, or ~/.gemini/GEMINI.md): Always-on voice, citations, and approval gates (24 KB per file; 20,000-token combined rule budget).</li><li><strong>Agent Skills</strong> (SKILL.md) — <em>Standard Operating Procedures (SOPs) in a binder</em> (.agents/skills/&lt;name&gt;/SKILL.md (or ~/.gemini/antigravity/skills/)): Repeatable multi-step workflows (briefings, inbox triage, RFP scoring) loaded on demand via progressive disclosure.</li><li><strong>Artifacts</strong> — <em>Finished deliverables on your desk</em> (Generated in conversation and saved cleanly in your folder): Briefs, checklists, tables, and drafts outside raw chat scrollback.</li><li><strong>MCP Connectors</strong> — <em>Secure plugins to live tools</em> (Plugin Marketplace / mcp_config.json (or <a href="https://antigravity.google/docs/enterprise/">Gemini Enterprise</a>)): Connecting <strong>Google Workspace MCP</strong> (Gmail, Calendar, Drive, Docs, Sheets) or apps like Notion, Linear, and Figma.</li><li><strong>Automations</strong> (/automation, /schedule) — <em>Scheduled executive briefings &amp; check-ins</em> (<strong>Automations</strong> tab (~/.gemini/config/sidecars/&lt;id&gt;/sidecar.json)): Running recurring morning prep, digests, and Friday audits on a cron schedule (CRON_TZ) or one-off wait timers.</li></ul><p><strong>Rules</strong> govern <em>how you work</em>, <strong>Skills</strong> package <em>how each job runs</em>, <strong>Prompts</strong> handle <em>on-demand tasks</em>, and <strong>Automations</strong> run them <em>on your calendar automatically</em>.</p><h3>2. Four Everyday Workflows (Local Files + Google Workspace)</h3><p>With <a href="https://antigravity.google/">Google Workspace MCP servers</a> (plus the open-source <a href="https://github.com/googleworkspace/cli">Google Workspace CLI</a> for terminal users) and one structured workspace folder, four workflows eliminate hours of tab-switching:</p><pre>work-command-desk/<br>├── GEMINI.md                    # Voice, citation discipline &amp; read-first Workspace rules<br>├── .agents/<br>│   └── skills/<br>│       ├── workspace-daily-brief/<br>│       │   └── SKILL.md         # Calendar + Gmail + Drive prep brief &amp; draft replies<br>│       └── exec-brief-builder/<br>│           └── SKILL.md         # Multi-file PDF + Google Doc synthesis in briefs/<br>├── inbox/                       # Local PDFs, CSV exports, and transcripts (read-only)<br>├── briefs/                      # Morning prep, weekly digests &amp; scorecards<br>└── drafts/                      # Staged email replies &amp; Doc updates awaiting &quot;yes&quot;</pre><ol><li><strong>Morning Calendar, Gmail &amp; Drive Prep Brief:</strong> Pull today’s accepted Calendar meetings, search recent Gmail threads with attendees, and grab linked agenda Docs or slides from Drive into a 1-page brief in briefs/.</li><li><strong>Inbox Triage to Gmail Drafts:</strong> Scan unread threads waiting on a reply, summarize exact asks, and stage concise <strong>Gmail drafts</strong> in your voice — never auto-sending.</li><li><strong>Meeting Notes to Google Docs &amp; Sheet Previews:</strong> Extract decisions and owners from call notes, draft a clean summary Doc, and preview proposed row updates for a tracking Google Sheet.</li><li><strong>Mixed Local + Cloud Research Matrix:</strong> Combine PDFs in inbox/ with shared Google Docs in Drive into a normalized Markdown summary and .csv scorecard, flagging &quot;Not stated in source&quot; wherever details are missing.</li></ol><h3>3. Ready-to-Use Rules &amp; Agent Skills (GEMINI.md and SKILL.md)</h3><p>Drop this 10-line GEMINI.md in your workspace root so every chat and scheduled automation obeys the same guardrails:</p><pre># Workspace Rules: Knowledge &amp; Google Workspace Desk<br>1. **Ground every claim:** Cite the local filename, email subject/date, or Google Doc title for every metric, decision, or quote. Prefix inferences with `[Inference]`.<br>2. **Never fabricate gaps:** Write `Not specified in sources` instead of guessing missing dates, owners, or pricing.<br>3. **Protect source files:** Treat `inbox/` as read-only and save generated deliverables inside `briefs/` or `drafts/`.<br>4. **Read freely, draft locally before writing:** Search Gmail, Calendar, and Drive read-only for context. Stage replies as **Gmail drafts** (or Markdown in `drafts/`) and preview Docs or Sheets edits first.<br>5. **Explicit approval gate:** Never send an email, create calendar invites, share files, or overwrite shared Docs without explicit `&quot;yes&quot;` confirmation.</pre><h4>Skill Example 1: Workspace Daily Prep &amp; Inbox Brief (Gmail + Calendar + Drive)</h4><p>Save as .agents/skills/workspace-daily-brief/SKILL.md:</p><pre>---<br>name: workspace-daily-brief<br>description: &gt;-<br>  Prepares a daily briefing using Google Calendar, Gmail, and Google Drive files,<br>  and stages Gmail draft replies without sending. Use when asked to prep for<br>  today&#39;s meetings, triage emails, or summarize upcoming calendar threads.<br>  Don&#39;t use to send emails or modify calendar invites automatically.<br>---<br># Workspace Daily Prep &amp; Inbox Brief<br>1. **Pull today&#39;s schedule:** List accepted and tentative Google Calendar events for the target date, excluding declined invites.<br>2. **Gather email and file context:** For each meeting or priority thread:<br>   - Search relevant Gmail threads from the last 14 days for open questions or asks.<br>   - Locate linked or matching Google Docs, Slides, and Sheets in Drive (read-only).<br>3. **Write `briefs/YYYY-MM-DD_daily-brief.md`:**<br>   - **Top 3 Priorities** (what needs a decision today)<br>   - **Meeting Prep** (`Time | Meeting | Related Email/Drive Links | Prep Note`)<br>   - **Inbox Items Needing a Reply** (one-line summary + suggested response)<br>4. **Stage drafts safely:** When requested, create **Gmail drafts** (never send) or save copy in `drafts/`.</pre><h4>Skill Example 2: Multi-Source Brief &amp; RFP Scorecard (Local Files + Drive Docs)</h4><p>Save as .agents/skills/exec-brief-builder/SKILL.md:</p><pre>---<br>name: exec-brief-builder<br>description: &gt;-<br>  Synthesizes local files in inbox/ and referenced Google Docs or Sheets from<br>  Drive into a concise 1-page executive brief in briefs/. Use when building an<br>  executive summary, research recap, or comparison memo from source documents.<br>---<br># Executive Brief Builder<br>1. **Inventory inputs:** List every local file in `inbox/` and each Drive Doc or Sheet reviewed.<br>2. **Separate signal from gaps:** Distinguish verified metrics from contradictions and missing data.<br>3. **Write `briefs/YYYY-MM-DD_&lt;slug&gt;-brief.md` (~400 words max):**<br>   - **Bottom Line Up Front** (3 bullets)<br>   - **Evidence Table** (`Finding | Implication | Exact Source Doc / File`)<br>   - **Missing Data &amp; Next Decision Needed**</pre><h3>4. Six On-Demand Prompts for Files, Email, Calendar, and Docs</h3><h4>1. Morning Meeting Prep (Calendar + Gmail + Drive):</h4><pre>Check my Google Calendar for today&#39;s meetings (skip declined invites). Search<br>recent Gmail threads with those participants and pull related Drive Docs or<br>Slides. Write a 1-page prep brief in briefs/today-prep.md with each meeting&#39;s<br>goal, open questions, and the top 2 things to read beforehand.</pre><h4>2. Gmail Inbox Triage &amp; Draft Replies (Never Auto-Send):</h4><pre>Search unread and flagged Gmail threads from the last 48 hours waiting on a<br>reply from me. Rank them by urgency in a table, summarize each ask in one line,<br>and save concise draft replies as Gmail drafts (do NOT send).</pre><h4>3. Cross-Source Synthesis (Local PDFs + Drive Docs):</h4><pre>Read every PDF in inbox/q4-research/ alongside the Google Doc &quot;Q4 Strategy&quot; in<br>Drive. Save briefs/q4-landscape.md showing: (1) where sources agree,<br>(2) side-by-side contradictions with exact filenames/sections, and (3) top 3<br>unsubstantiated claims.</pre><h4>4. Google Sheet Diff Preview (Read First, Confirm Before Writing):</h4><pre>Compare action items from our last workshop Gmail thread and inbox/call-notes.md<br>against the Google Sheet &quot;Program Milestone Tracker&quot;. Do not edit the Sheet yet.<br>Show a diff table (`Row Key | Column | Current | Proposed | Source`) for my approval.</pre><h4>5. Red-Team Executive Risk Review:</h4><pre>Review our draft Google Doc &quot;Cloud Migration Business Case&quot; (or<br>briefs/proposal-draft.md) as a skeptical CFO and security lead. List the 8<br>weakest claims ranked Red / Amber / Green, the toughest executive question per<br>row, and which Doc, Sheet, or file provides the answer.</pre><h4>6. Meta-Prompt: Package Today’s Session Into a Skill:</h4><pre>Package the exact steps, Workspace lookups, draft-only guardrails, and output<br>template we just used into .agents/skills/&lt;name&gt;/SKILL.md, with explicit<br>trigger and non-trigger criteria in the YAML description.</pre><h3>5. Recurring Automations (/automation and /schedule)</h3><p>Once an on-demand prompt proves useful, turn it into a standing background workflow using Antigravity’s <strong>Automations</strong> (<a href="https://antigravity.google/">antigravity.google</a>). Trigger /automation directly in the composer (or open <strong>Automations -&gt; Create with Prompt</strong>) to schedule recurring prompts pinned to your timezone (CRON_TZ).</p><p>Three design rules make Automations dependable for knowledge work:</p><ul><li><strong>Every run is stateless:</strong> Each scheduled trigger opens a fresh conversation with zero memory of yesterday’s chat. Name the exact workspace folder, Skill, Gmail/Calendar window, and output file path inside the prompt so runs stay self-contained.</li><li><strong>New automations start Paused:</strong> Review the schedule, target folder, timezone, and chosen model tier (e.g., Flash for fast daily digests or Pro for deep weekly synthesis) in the <strong>Automations</strong> tab before flipping it on.</li><li><strong>Read + local draft only in the background:</strong> Because nobody is watching at 7:00 AM, restrict unattended schedules to reading Calendar/Gmail/Drive, writing local briefs, and staging <strong>Gmail drafts</strong> — never auto-sending messages.</li></ul><h4>Three Knowledge-Worker Automations Ready to Create</h4><h4>1. Weekday 7:30 AM Morning Briefing &amp; Draft Queue:</h4><pre>/automation every weekday at 7:30 AM America/New_York<br>In ~/work-command-desk/, run the workspace-daily-brief skill for today&#39;s date:<br>scan accepted Google Calendar meetings, unread/urgent Gmail threads from the<br>last 24 hours, and linked Drive Docs. Write briefs/YYYY-MM-DD_daily-brief.md<br>and save suggested replies as Gmail drafts (never send automatically).</pre><h4>2. Monday 8:00 AM Weekly Research Digest:</h4><pre>/automation every Monday at 8:00 AM America/New_York<br>In ~/work-command-desk/, check new PDFs or notes added to inbox/weekly-reading/<br>over the past 7 days plus newsletters labeled &quot;Industry-Digest&quot; in Gmail. Use<br>exec-brief-builder to write a 400-word synthesis in briefs/ comparing new trends<br>against last Monday&#39;s brief without repeating prior topics.</pre><h4>3. Friday 3:00 PM Open-Loops &amp; Accountability Audit:</h4><pre>/automation every Friday at 3:00 PM America/New_York<br>Audit briefs/decision-log.md and Sent/Inbox Gmail threads from the last 5 days<br>where an open deliverable has gone unanswered &gt;72 hours. Write<br>briefs/YYYY-MM-DD_weekly-open-loops.md summarizing overdue items and stage polite<br>follow-up nudges in drafts/ for Monday review.</pre><h4>One-Off Follow-Up Timers Inside an Active Chat (/schedule)</h4><p>Need the agent to circle back later today without you setting an alarm? Use /schedule inside any live conversation—it sets a non-blocking timer and resumes cleanly when triggered:</p><pre>/schedule in 3 hours, re-check the &quot;Q4 Vendor RFP&quot; Gmail thread; if the partner<br>replied with revised pricing, update briefs/vendor-comparison.md and flag deltas<br>in drafts/followup.md.</pre><h3>6. Governance &amp; Safety Habits Before Rolling Out</h3><p>Connecting local files, Google Workspace, and scheduled background runs multiplies leverage — and makes clean boundaries essential:</p><ul><li><strong>Keep raw inputs immutable and unattended outputs draft-only:</strong> Read-only inbox/ folders plus Gmail drafts/local staging keep humans firmly in control of external communication.</li><li><strong>Use official governed connectors:</strong> Route Workspace access through Google’s hosted <strong>Workspace MCP servers</strong> (or <a href="https://cloud.google.com/blog/products/ai-machine-learning/expanding-google-antigravity-for-enterprise-customers">Gemini Enterprise Workspace connectors</a>) so user-level Drive permissions, admin read/write policies, Data Loss Prevention rules, and audit logs remain enforced automatically.</li><li><strong>Inspect before unpausing:</strong> Test any new automation once manually, inspect its generated brief and citation links, and only then toggle the schedule active.</li></ul><p>Start small: give one weekly deliverable its own folder, add a 10-line GEMINI.md, connect Google Workspace read-first, save two SKILL.md playbooks, and schedule your first weekday 7:30 AM morning briefing.</p><p><em>Disclaimer &amp; Licensing: I am a Customer Engineer at Google Cloud. The opinions, workflows, and examples shared in this article are my own and do not necessarily represent the official views of Google. All product capabilities referenced in this post are drawn exclusively from publicly available Google Antigravity, Google Workspace, and Google Cloud documentation (</em><a href="https://antigravity.google/"><em>antigravity.google</em></a><em>, </em><a href="https://antigravity.google/docs/skills"><em>Skills docs</em></a><em>, </em><a href="https://antigravity.google/docs/rules"><em>Rules docs</em></a><em>, </em><a href="https://github.com/googleworkspace/cli"><em>Google Workspace CLI</em></a><em>, and the </em><a href="https://cloud.google.com/blog/products/ai-machine-learning/expanding-google-antigravity-for-enterprise-customers"><em>Gemini Enterprise announcement</em></a><em>). Except as otherwise noted, the text and graphics in this article are licensed under the </em><a href="https://creativecommons.org/licenses/by/4.0/"><em>Creative Commons Attribution 4.0 International License (CC BY 4.0)</em></a><em>, and all example rule, skill, prompt, and automation snippets are available under the </em><a href="https://www.apache.org/licenses/LICENSE-2.0"><em>Apache License 2.0</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0a75c428120d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/google-cloud/using-google-antigravity-as-a-knowledge-worker-tool-rules-skills-workspace-and-automations-0a75c428120d">Using Google Antigravity as a Knowledge Worker Tool: Rules, Skills, Workspace, and Automations</a> was originally published in <a href="https://medium.com/google-cloud">Google Cloud - Community</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Preparing for the Google Cloud Professional Agentic Architect Exam: Study Process, Tips, and Traps…]]></title>
            <link>https://medium.com/google-cloud/preparing-for-the-google-cloud-professional-agentic-architect-exam-study-process-tips-and-traps-e7844ee260c7?source=rss-3c239d1f683d------2</link>
            <guid isPermaLink="false">https://medium.com/p/e7844ee260c7</guid>
            <category><![CDATA[google-cloud-platform]]></category>
            <category><![CDATA[agentic-ai]]></category>
            <category><![CDATA[cloud-certification]]></category>
            <category><![CDATA[vertex-ai]]></category>
            <category><![CDATA[ai-agent]]></category>
            <dc:creator><![CDATA[John O'Donnell]]></dc:creator>
            <pubDate>Wed, 25 Nov 2026 16:36:53 GMT</pubDate>
            <atom:updated>2026-11-28T06:22:26.580Z</atom:updated>
            <content:encoded><![CDATA[<h3>Preparing for the Google Cloud Professional Agentic Architect Exam: Study Process, Tips, and Traps to Avoid</h3><h4>A practical Part 1 playbook: using Google Antigravity for practice exams, decoding scenarios, and avoiding product-boundary traps.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EX4BGqQ9-dn5NWsDQ5dwJg.png" /><figcaption>Figure 1: Study playbook for the Google Cloud Professional Agentic Architect (Part 1) certification. Image by John O’Donnell (CC BY 4.0).</figcaption></figure><p>Google Cloud’s <a href="https://cloud.google.com/learn/certification/agentic-architect">Professional Agentic Architect (PAA)</a> certification is a different animal from classic infrastructure exams. Instead of sizing clusters or wiring load balancers, it tests how you design, govern, evaluate, and operate autonomous AI agents in production.</p><p>The biggest mistake you can make is studying for it like a syntax quiz. Here is the study process I used to prepare — including how I used <strong>Google Antigravity</strong> to build custom practice exams and drills — along with the decision frameworks and exam-day habits that pay off most.</p><h3>At a Glance: Steps to Pass</h3><ul><li><strong>Baseline early:</strong> Take the 20 official sample questions first to expose product-boundary gaps rather than saving them for the end.</li><li><strong>Target the learning path:</strong> Work through the 8-course official Google Skills path, focusing hardest on the 5 architecture-heavy courses.</li><li><strong>Condense into A-vs-B rules:</strong> Build a one-page decision sheet covering your top 25–30 service boundaries instead of long passive notes.</li><li><strong>Drill realistic scenarios:</strong> Use Google Antigravity to generate blueprint-weighted practice exams, missed-question drills, a local quiz runner, and an exam-morning audio recap.</li><li><strong>Pass Part 1 (Multiple-Choice):</strong> Apply the 3-step constraint-first method across 50–60 online-proctored questions (2 hours).</li><li><strong>Complete Part 2 (2 Hands-On Labs):</strong> Watch for your emailed link after passing Part 1 and complete the <strong>two timed, moderate-complexity Google Skills (Qwiklabs) labs</strong> to finalize your certification.</li></ul><h3>1. Understand the Two-Part Exam Split</h3><p>Unlike traditional single-exam Google Cloud certifications, PAA has <strong>two distinct parts</strong>:</p><ul><li><strong>Part 1 (Proctored Multiple-Choice):</strong> 50–60 questions in 2 hours via Pearson (online-proctored or onsite), testing <strong>conceptual knowledge, system design choices, and architectural standards</strong>.</li><li><strong>Part 2 (Two Timed Hands-On Labs):</strong> Passing Part 1 is not the final step. After you pass, a link is emailed to you (with instructions via CM Connect) to complete <strong>two timed, moderate-complexity hands-on labs</strong> in <strong>Google Skills (Qwiklabs)</strong> to validate your execution and coding ability and complete the certification.</li></ul><p>For Part 1, skip memorizing obscure CLI flags and focus on <strong>which service owns which responsibility</strong> across the five weighted sections in the <a href="https://services.google.com/fh/files/misc/professional_agentic_architect_exam_guide_english.pdf">official exam guide</a>:</p><ul><li><strong>Developing custom agents (~33%)</strong> — models, Agent Development Kit (ADK), sessions, memory, retrieval, MCP, and multi-agent orchestration.</li><li><strong>Evaluating and deploying agentic workflows (~22%)</strong> — datasets, custom autoraters, trajectory metrics, runtimes, tracing, grounding, and cost control.</li><li><strong>Using coding agents for application development (~17%)</strong> — Cloud Workstations isolation, rules/skills/plugins, and MCP guardrails.</li><li><strong>Securing and governing agentic workflows (~15%)</strong> — Agent Identity, Agent Registry, Agent Gateway, IAM, Principal Access Boundary, and Model Armor.</li><li><strong>Building agents using low-code tools (~13%)</strong> — CX Agent Studio, Workflow Builder in Gemini Enterprise, connectors, and document parsing.</li></ul><h3>2. A Four-Step Study Process (Powered by Google Antigravity)</h3><h3>Step 1: Take the 20 official sample questions early, not last</h3><p>Download them from the <a href="https://cloud.google.com/learn/certification/agentic-architect">certification page</a> as a diagnostic baseline and log <em>why</em> you missed each question. Watch for weighting skew: the sample PDF over-indexes on security (35% vs. ~15% on the real blueprint) and barely touches coding agents (5% vs. ~17%). Do not shortchange Section 2.</p><h3>Step 2: Use the 8-course learning path selectively</h3><p>Anchor your study to the official <a href="https://www.skills.google/paths/4525">Google Skills learning path</a>, spending the most time on the five most decision-dense courses: <em>Optimize Agent Behavior</em>, <em>Build Agent Skills with Google</em>, <em>Build AI Agents with Enterprise Databases</em>, <em>AgentOps: Operationalize AI Agents on Google Cloud</em>, and <em>Model Armor: Securing AI Deployments</em>.</p><h3>Step 3: Build a one-page “A vs. B” decision sheet instead of long notes</h3><p>Every time two services overlap, write one deciding line:</p><ul><li><strong>CX Agent Studio vs. Workflow Builder vs. ADK:</strong> External customer web chat and telephony with human handoff → CX Agent Studio. Internal employee automations with schedules and approval steps → Workflow Builder in Gemini Enterprise. Full custom code → ADK.</li><li><strong>MCP vs. A2A:</strong> Deterministic, stateless tools and databases across frameworks → <strong>MCP</strong>. Delegating complex tasks between independent, opaque autonomous agents → <strong>A2A</strong>.</li><li><strong>Agent Search vs. RAG Engine vs. pgvector:</strong> Daily-refreshed websites or SaaS connectors with per-user ACLs → <strong>Agent Search</strong>. Managed corpus or standalone images via an LLM parser → <strong>RAG Engine</strong>. Live operational SQL filtering plus semantic search → <strong>Cloud SQL pgvector</strong> behind <strong>MCP Toolbox for Databases</strong>.</li><li><strong>Agent Runtime vs. Cloud Run vs. GKE:</strong> Managed agent runtime with Sessions and Memory Bank → <strong>Agent Runtime</strong> (formerly Vertex AI Agent Engine). Bursty custom MCP servers that scale to zero → <strong>Cloud Run</strong> (Agent Runtime orchestrates agents; it does not host custom MCP servers). GPU/TPU workloads or custom sandboxes → <strong>GKE</strong>.</li></ul><h3>Step 4: Use Google Antigravity to generate realistic practice exams and drills</h3><p>Because the certification is new, high-quality third-party practice banks are scarce. Using <strong>Google Antigravity</strong> turned out to be both a great study accelerator and a meta way to practice Section 2 workflows:</p><ul><li><strong>Blueprint-weighted simulation exams:</strong> I pointed Antigravity at the public exam guide, the 8-course learning path syllabus, and the official sample questions, then asked it to generate full 50–55 question simulation exams calibrated to the exact section weights and style of the official samples — with similar-length options and explicit explanations of why <em>each</em> distractor fails.</li><li><strong>Missed-question remediation drills:</strong> Whenever I missed a sample question, I had Antigravity diagnose the exact product-boundary confusion and generate focused mini-drills attacking that specific trap from four different angles.</li><li><strong>A lightweight local quiz app and exam-day audio review:</strong> Antigravity scaffolded a clean local web quiz runner in minutes (timed exam mode, per-section score tracking, and flagged-question review) alongside a condensed cheat sheet and a 35-minute two-host audio recap of my top 30 anchors to listen to on exam morning.</li></ul><p>Here is a representative prompt you can adapt in Google Antigravity to generate your own blueprint-weighted simulation exam and local quiz runner from public documentation:</p><pre>Review the official Google Cloud Professional Agentic Architect certification page (https://cloud.google.com/learn/certification/agentic-architect), the exam guide PDF, and the 8-course Google Skills learning path (https://www.skills.google/paths/4525).<br>1. Generate a realistic 55-question Part 1 simulation exam weighted to the official blueprint (S1 13%, S2 17%, S3 33%, S4 22%, S5 15%).<br>2. Match the style and difficulty of Google&#39;s official sample questions:<br>   - Self-contained enterprise scenarios with 2–3 explicit deciding constraints<br>   - Four plausible options of similar length (no obvious giveaway phrasing)<br>   - For every question, include: the deciding constraint, why the correct answer wins, why each of the three distractors fails, and official public doc links.<br>3. Scaffold a lightweight local HTML/JS exam simulator supporting:<br>   - Study mode (immediate rationale and per-distractor breakdown)<br>   - Timed Exam mode (120 minutes, flag for review, keyboard shortcuts A–D / N / P / F)<br>   - End-of-exam per-section score breakdown and a &quot;retry missed questions&quot; queue.</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uBVt-7XxT9dbtd7023qv8Q.png" /><figcaption>Figure 2: Local PAA exam simulator built with Google Antigravity, showing Study Mode with explicit deciding constraints, per-distractor explanations, and official documentation links. Image by John O’Donnell (CC BY 4.0).</figcaption></figure><h3>3. The 3-Step Method for Answering Online Exam Questions</h3><p>Because Part 1 is an online-proctored exam, you are reading dense scenarios straight off a screen with roughly two minutes per question. Nearly every stem hides <strong>two or three explicit deciding constraints</strong> — phrases like <em>“minimum operational overhead,”</em> <em>“without modifying agent code,”</em> <em>“deterministic,”</em> or <em>“per-user access controls.”</em></p><ol><li><strong>Isolate the deciding constraints first</strong> in your head before glancing at options A–D.</li><li><strong>Name the Google Cloud product or pattern whose documented job solves them</strong> before reading the choices.</li><li><strong>Rule out neighboring-product distractors first, then check both halves of every compound choice.</strong> Many options pair two actions (“do X and also do Y”) where the first half sounds right and the second half quietly breaks a constraint — like firing a monitoring alert when the scenario requires blocking an action inline.</li></ol><h3>4. Six High-Leverage Tips and Traps to Watch</h3><h3>Watch the four “right product, wrong job” traps</h3><ul><li><strong>Model Armor is content safety, never output formatting.</strong> It screens for prompt injection, jailbreaks, Sensitive Data Protection, harmful content, and malicious URLs — never response structure or JSON schemas (use explicit instructions + few-shot examples + chain-of-thought in low-code, or Pydantic output_schema + output_key in ADK).</li><li><strong>Shielded VM is boot integrity, never coding-agent isolation.</strong> To keep coding agents off laptops with central controls, use <strong>Cloud Workstations</strong> with admin container images, private clusters, no sudo, and VPC Service Controls.</li><li><strong>ROUGE and BLEU measure word overlap, not custom rubrics.</strong> Use a <strong>custom LLM autorater</strong> in the Gen AI evaluation service when scoring against proprietary brand-voice rubrics.</li><li><strong>Principal Access Boundary (PAB) and identity logs are not fleet traffic telemetry.</strong> PAB caps project eligibility; centralized fleet traffic visibility and MCP tool tracking belong to <strong>Agent Gateway</strong>.</li></ul><h3>Five more high-yield exam habits</h3><ul><li><strong>Never trust prompts or temperature = 0 for determinism.</strong> Reach for deterministic controls: ADK graph workflows with plain function nodes, after_tool_callback to strip sensitive fields before the LLM sees them, AgentTool with skip_summarization for verbatim legal text, RunConfig (max_llm_calls) to stop runaway loops, Dialogflow CX webhook.error handlers, and pinned stable model versions instead of moving latest aliases.</li><li><strong>Remember data-store parser immutability.</strong> In Agent Search, document chunking locks at creation, the layout parser (for tables, headings, and embedded diagrams) requires chunking, and parser changes skip existing documents — fixing an older store requires creating a new store and re-importing.</li><li><strong>Avoid the Knowledge-upload ACL trap.</strong> Uploading files directly into a chat agent’s Knowledge section makes them queryable by every user the agent is shared with, bypassing source permissions. Preserve per-user ACLs with a connector data store backed by your identity provider.</li><li><strong>Know both current product names and legacy SDK names.</strong> Map <strong>Agent Runtime</strong> (Vertex AI Agent Engine), <strong>Agent Search</strong> (Vertex AI Search), <strong>Agent Retrieval</strong> (Vector Search 2.0), and <strong>Workflow Builder</strong> (Agent Designer) alongside legacy SDK classes like VertexAiSessionService and VertexAiSearchTool.</li><li><strong>Do not pick the longest option by habit.</strong> Pace at roughly two minutes per question, flag murky items in the exam interface to revisit fresh, and trust a clean responsibility-first match over a flashier neighbor product.</li></ul><h3>5. Free Companion Study Kit: 13-Page Cheat Sheet PDF &amp; 35-Minute Audio Memory Jogger</h3><p>To save you setup time, I packaged the two study artifacts I used right before exam day into an open companion repository (<a href="https://github.com/johnod-lab/paa-exam-study-kit">github.com/johnod-lab/paa-exam-study-kit</a>):</p><ul><li><strong>Printable 13-Page Study Cheat Sheet (PDF):</strong> <a href="https://github.com/johnod-lab/paa-exam-study-kit/blob/main/PAA_Part1_Exam_Study_Cheat_Sheet.pdf">PAA_Part1_Exam_Study_Cheat_Sheet.pdf</a> — landscape, one section per page, covering the Top 30 Part 1 exam anchors, the 3-step constraint method, the distractor shelf, Section 1–5 architectural rules, the 8-course learning-path map, and the tricky “A vs. B” disambiguation matrix.</li><li><strong>35-Minute Exam-Day Audio Memory Jogger (MP3):</strong> <a href="https://github.com/johnod-lab/paa-exam-study-kit/raw/main/PAA_Exam_Day_Memory_Jogger_35min.mp3">Download / Listen to PAA_Exam_Day_Memory_Jogger_35min.mp3</a> — a conversational two-host walkthrough of all 30 anchors (00:00 playbook &amp; 4 traps, 03:51 S1 low-code, 07:57 S2 coding agents, 12:20 S3A custom agents, 16:01 S3B retrieval &amp; orchestration, 20:56 S4 eval &amp; deploy, 26:23 S5 security &amp; governance) ending with a <strong>15-question rapid-fire lightning recall quiz</strong> at 30:58 with 2-second pauses so you can call out each answer before the hosts lock it in.</li></ul><p>Want to generate your own tailored version in <strong>Google Antigravity</strong> (for PAA or any other cloud certification)? Here are the two representative prompts I used to create the study guide PDF and the 35-minute podcast:</p><h3>Representative Prompt: Printable Study Guide Cheat Sheet (PDF)</h3><pre>Based on the official Google Cloud Professional Agentic Architect exam guide, the 8-course Google Skills learning path (https://www.skills.google/paths/4525), the 20 public sample questions, and our practice-exam weak spots:<br>1. Build a comprehensive, printable landscape PDF cheat sheet (one section per page, auto-sized to fill each page cleanly with no clipped tables or orphan headers).<br>2. Structure it around:<br>   - Top 30 high-probability Part 1 exam anchors (one-line deciding rule each)<br>   - Part 1 playbook: 3-step constraint method, current vs. legacy SDK naming, distractor shelf, and 4 classic &quot;right product, wrong job&quot; traps<br>   - Section-by-section architectural key facts for S1–S5<br>   - An 8-course learning-path map plus a tricky &quot;A vs. B&quot; disambiguation matrix.</pre><h3>Representative Prompt: 35-Minute Exam-Day Audio Memory Jogger (MP3)</h3><pre>Using our Top 30 exam anchors and Part 1 cheat sheet, create a 35-minute conversational two-host exam-day memory-jogger podcast (MP3) to review right before the test:<br>1. Write a crisp, spoken-friendly dialogue script (Host + Architect) across 7 chapters: playbook &amp; 4 traps, Sections 1–5, and a 15-question rapid-fire lightning recall quiz at the end with a 2-second pause after each cue so I can answer aloud before the confirmation.<br>2. Synthesize each turn with two distinct Gemini TTS voices, balance relative speaker loudness, trim dead silence, normalize to -16 LUFS broadcast loudness, and encode a clean mono MP3 (~35 minutes, under 16 MB).<br>3. Include exact chapter timestamps and verify the finished audio duration and clarity.</pre><h3>Final Thought</h3><p>Part 1 rewards architectural clarity over memorization. Nail which Google Cloud layer owns identity, retrieval, execution, evaluation, and runtime guardrails, let each scenario’s constraints narrow the field, and you will walk into the two timed Part 2 hands-on labs with a clean mental model of the entire stack.</p><p><em>Disclaimer &amp; Licensing: I am a Customer Engineer at Google Cloud. The opinions, study workflows, and architectural mental models shared in this article are my own and do not necessarily represent the official views of Google. All certification details, sample simulator screenshots, and study guidance in this post are drawn exclusively from Google Cloud’s publicly available certification page, exam guide, sample questions, learning path, and product documentation. Except as otherwise noted, the text and graphics in this article are licensed under the </em><a href="https://creativecommons.org/licenses/by/4.0/"><em>Creative Commons Attribution 4.0 International License (CC BY 4.0)</em></a><em>, and any prompt or code snippets are also available under the </em><a href="https://www.apache.org/licenses/LICENSE-2.0"><em>Apache License 2.0</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e7844ee260c7" width="1" height="1" alt=""><hr><p><a href="https://medium.com/google-cloud/preparing-for-the-google-cloud-professional-agentic-architect-exam-study-process-tips-and-traps-e7844ee260c7">Preparing for the Google Cloud Professional Agentic Architect Exam: Study Process, Tips, and Traps…</a> was originally published in <a href="https://medium.com/google-cloud">Google Cloud - Community</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[From Weeks to Hours: Running Red Hat Enterprise Linux 10 on Cloud TPU v6e with Google Antigravity]]></title>
            <link>https://medium.com/google-cloud/from-weeks-to-hours-running-red-hat-enterprise-linux-10-on-cloud-tpu-v6e-with-google-antigravity-1145d11fa720?source=rss-3c239d1f683d------2</link>
            <guid isPermaLink="false">https://medium.com/p/1145d11fa720</guid>
            <category><![CDATA[red-hat]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[google-cloud-platform]]></category>
            <category><![CDATA[linux]]></category>
            <dc:creator><![CDATA[John O'Donnell]]></dc:creator>
            <pubDate>Fri, 13 Nov 2026 22:06:50 GMT</pubDate>
            <atom:updated>2026-11-28T06:22:21.215Z</atom:updated>
            <cc:license>http://creativecommons.org/licenses/by/4.0/</cc:license>
            <content:encoded><![CDATA[<h4>Solving UEFI lockdown, vfio-pci, PAM memlock, and 4-chip RHEL 10 VMs &amp; GKE UBI 10.2 containers in 13 autonomous build-test-fix loops</h4><figure><img alt="Hero banner showing three highlights of running Red Hat Enterprise Linux 10 on Cloud TPU v6e with Google Antigravity: 13 autonomous build-test-fix loops, a 393.6 MB UBI 10.2 GKE container alongside a RHEL 10.0 EUS VM image, and 95.4% BF16 peak hardware utilization." src="https://cdn-images-1.medium.com/max/1024/1*mRKWp5L2wUaXKQixdIQsCw.png" /><figcaption>Figure 1: Bringing up hardened Red Hat Enterprise Linux 10 and minimal UBI 10.2 containers on Cloud TPU v6e (Trillium) with Google Antigravity. Image by John O’Donnell (CC BY 4.0).</figcaption></figure><h3>1. The Regulated Enterprise Challenge: Hardened RHEL 10 on Cloud TPU v6e</h3><p>Recently, a global pharmaceutical organization came to us with an urgent infrastructure requirement. Their AI and computational science teams were ready to evaluate <a href="https://cloud.google.com/tpu/docs/v6e">Cloud TPU v6e (Trillium)</a> on <a href="https://cloud.google.com/">Google Cloud</a> for large-scale model training and high-throughput inference — but their corporate IT and cybersecurity standards enforced one non-negotiable rule:</p><blockquote><em>Every compute instance attached to their corporate network or handling internal research data had to run a hardened Red Hat Enterprise Linux 10 (RHEL 10) environment.</em></blockquote><p>If you work in life sciences, financial services, telecommunications, or the public sector, you have likely run into this exact constraint. Standard Cloud TPU quickstarts assume you are booting the default <a href="https://cloud.google.com/compute">Compute Engine</a> <strong>Ubuntu 22.04 LTS</strong> TPU VM image or running on <strong>Container-Optimized OS (COS)</strong> in <a href="https://cloud.google.com/kubernetes-engine">Google Kubernetes Engine (GKE)</a>.</p><p>When an engineering team attaches a stock RHEL 10 image to a Cloud TPU v6e instance, installs jax[tpu], and runs jax.devices(), initialization fails immediately—first with Found 0 UNKNOWN chips, and then with Couldn&#39;t mmap: Resource temporarily unavailable. Meanwhile, platform teams running Kubernetes often need a minimal, non-root Red Hat Universal Base Image (UBI 10.2) container path to satisfy enterprise vulnerability scanners, and infrastructure leads need empirical 4-chip (ct6e-standard-4t) benchmarks verifying that custom RHEL 10 introduces no OS or driver overhead compared to stock Ubuntu 22.04 LTS.</p><p>In a traditional engagement, resolving an unsupported OS across specialized AI accelerator hardware — spanning UEFI Secure Boot policies, Linux VFIO (vfio-pci) bindings, systemd-udevd environment paths, PAM memory-lock limits, multi-chip IOMMU kernel regressions, multi-stage container builds, and distributed LLM benchmarks—can easily take <strong>days or weeks</strong> of sequential troubleshooting.</p><p>By using <strong>Google Antigravity</strong> to drive 13 autonomous build-test-fix loops, I compressed that end-to-end engineering effort into <strong>a few hours</strong> and packaged everything into a reusable open-source toolkit that any regulated platform team can adopt today:</p><ul><li><strong>Open-Source Toolkit (</strong><strong>Apache-2.0):</strong> <a href="https://github.com/johnod-lab/rhel10-tpu-v6e">github.com/johnod-lab/rhel10-tpu-v6e</a> — includes the idempotent tpu-v6e-rhel-setup.sh golden-image builder (<strong>Path A</strong>), minimal non-root UBI 10.2 JAX and vLLM Containerfiles for GKE (<strong>Path B</strong>), a VFIO diagnostic runbook, and reproducible 4-chip benchmark harnesses.</li><li><strong>Official Product Documentation:</strong> <a href="https://cloud.google.com/tpu/docs/v6e">Cloud TPU v6e (Trillium) Architecture</a> and <a href="https://cloud.google.com/kubernetes-engine/docs/how-to/tpus">TPUs in Google Kubernetes Engine (GKE)</a>.</li></ul><h3>2. How Google Antigravity Compressed Weeks of Iteration into Hours</h3><p>Why does custom OS bring-up on AI accelerators typically stretch across weeks? Because blockers surface <em>sequentially</em> — fixing Secure Boot reveals a missing vfio-pci bind, fixing vfio-pci reveals a PAM RLIMIT_MEMLOCK failure, and scaling from 1 chip to 4 chips exposes a kernel IOMMU regression. Every single iteration requires scarce accelerator hardware, a clean image or container build, and low-level log inspection.</p><p>Instead of manually babysitting VMs and running one or two experiments per day, I paired with <strong>Google Antigravity</strong> across four automated engineering loops:</p><figure><img alt="Four-stage diagram of Agentic Accelerator Engineering with Google Antigravity covering Kernel and libtpu Root-Cause Analysis, Unattended TPU Capacity and Cost Control, Iterative UBI 10.2 Shrinking on Cloud Build, and 3-Tier Benchmarking and Apache-2.0 Release." src="https://cdn-images-1.medium.com/max/1024/1*-4d_h5INkDLYP80HrBS6iA.png" /><figcaption>Figure 2: Four automated engineering loops executed with Google Antigravity across kernel diagnostics, ephemeral TPU capacity management, UBI 10.2 container builds, and 4-chip benchmarking. Image by John O’Donnell (CC BY 4.0).</figcaption></figure><ol><li><strong>Unattended TPU Capacity Polling and Ephemeral Cost Hygiene:</strong> On-demand Cloud TPU v6e availability can fluctuate by zone. Rather than manually retrying gcloud commands, Antigravity ran a background retry loop that caught ct6e-standard-1t and ct6e-standard-4t capacity as soon as it opened, provisioned temporary Cloud NAT only while installing packages, executed the verification suites, and immediately stopped VMs or tore down ephemeral GKE clusters and Cloud NAT—eliminating idle TPU hours between runs.</li><li><strong>Automated Kernel, VFIO, and </strong><strong>libtpu Root-Cause Iteration:</strong> Each time a test VM hit a new blocker—from UEFI Secure Boot [integrity] kernel lockdown to systemd-udevd PATH stripping, libtpu MAP_LOCKED PCIe BAR mmap limits, /tmp/libtpu_lockfile permission collisions, and a 4-chip RHEL 10.2 AMD IOMMU kernel panic (CVE-2026-53283)—Antigravity inspected serial console and strace logs, isolated the root cause, updated tpu-v6e-rhel-setup.sh, rebuilt the golden Compute Engine image, and launched the next verification pass.</li><li><strong>Iterative Container Shrinking and Multi-Topology GKE Validation:</strong> To provide a low-maintenance Kubernetes option, Antigravity iterated on multi-stage Red Hat UBI 10.2 builds in Cloud Build—auditing every .so binary with ldd (0 unresolved links across 316 and 591 shared libraries) so we could strip compilers, dnf/rpm, and unused wheels. That reduced rhel10-tpu-jax by <strong>75%</strong> (393.6 MB compressed) and validated both JAX and vLLM on 1-chip (1x1) and 4-chip (2x2) GKE clusters.</li><li><strong>Live 4-Chip Benchmark Debugging and Open-Source Packaging:</strong> While executing OS parity suites alongside the open-source <a href="https://github.com/AI-Hypercomputer">Google AI-Hypercomputer</a> benchmark tools (TPUMS v2.0, vLLM Qwen3-32B, and MaxText Llama 3.1-8B), Antigravity resolved XLA compiler flags, 4-chip FSDP bfloat16 HBM budgets, and 180-vCPU Podman pids.max thread limits live—then extracted .xplane.pb XProf hardware traces and added Apache-2.0 license headers across all 101 repository files.</li></ol><h4>All 13 Attempts, Errors, and Fixes Across Three Engineering Tracks</h4><p>The flowchart below documents every failure mode encountered across Track 1 (Custom RHEL 10 VM Bring-Up), Track 2 (4-Chip AI-Hypercomputer Benchmarks), and Track 3 (Minimal Non-Root UBI 10.2 GKE Containers), paired with the exact fix applied on each iteration:</p><figure><img alt="Three-column engineering flowchart detailing all 13 attempts, specific error messages, and root-cause fixes across Custom RHEL 10 VM Bring-Up, 4-Chip AI-Hypercomputer Benchmarks, and Minimal Non-Root UBI 10.2 Containers on GKE." src="https://cdn-images-1.medium.com/max/1024/1*Qk0JgdDBhsjZEDiVRO6dmg.png" /><figcaption>Figure 3: Complete trace of all 13 attempts, error signatures, and engineering fixes across VM bring-up, 4-chip benchmarking, and GKE UBI 10.2 containers. Image by John O’Donnell (CC BY 4.0).</figcaption></figure><h3>3. Under the Hood: Why Stock RHEL 10 Fails on Cloud TPU v6e (and How to Fix Each Blocker)</h3><p>Nearly every failure on a stock RHEL 10 TPU VM comes down to how user-space libtpu.so discovers and memory-maps the Cloud TPU v6e PCIe hardware (Google, Inc. Device [1ae0:006f]) through Linux VFIO (vfio-pci).</p><figure><img alt="Diagnostic pipeline showing Failure Gate 01 (Found 0 UNKNOWN chips due to unbound vfio-pci or missing /usr/sbin in udev PATH) and Failure Gate 02 (Couldn’t mmap: Resource temporarily unavailable due to 8192 KB RLIMIT_MEMLOCK), plus the 4-step verified non-root initialization path." src="https://cdn-images-1.medium.com/max/1024/1*zm79072Vki54_W8wEJfDAw.png" /><figcaption>Figure 4: Diagnostic pipeline for the two primary user-space jax.devices() failures on stock RHEL 10 and the verified 4-step initialization path. Image by John O’Donnell (CC BY 4.0).</figcaption></figure><h4>Blocker 1: UEFI Secure Boot Kernel Lockdown (Operation not permitted)</h4><p>Many enterprise Google Cloud organizations enforce constraints/compute.requireShieldedVm, which turns on UEFI Secure Boot by default. When UEFI Secure Boot is active on RHEL 10 (and on stock Ubuntu), the Linux kernel enters [integrity] lockdown mode (/sys/kernel/security/lockdown), blocking vbar_control_agent from memory-mapping PCIe BAR4 (Operation not permitted).</p><ul><li><strong>Fix:</strong> Provision TPU VMs via the Compute Engine API (compute.googleapis.com) or update the instance with --no-shielded-secure-boot (while keeping --shielded-vtpm and --shielded-integrity-monitoring enabled if required) so /sys/kernel/security/lockdown reads [none].</li></ul><h4>Blocker 2: Found 0 UNKNOWN chips and the RHEL 10 systemd-udevd PATH Trap</h4><p>With Secure Boot disabled, running python3 -c &quot;import jax; print(jax.devices())&quot; on stock RHEL 10 fails with:</p><pre>Found 0 UNKNOWN chips<br>No hardware is found. Using default TPU version: jellyfish<br>JaxRuntimeError: INTERNAL: Failed to get global TPU topology: NOT_FOUND:<br>embed://tpu_chip_config/jellyfish_chip_configs_megachip_tccontrol.binarypb does not exist.</pre><ul><li><strong>Why it happens:</strong> libtpu discovers local TPU chips by scanning /dev/vfio/[0-9]* with access(device_path, R_OK) as your non-root user. On stock RHEL 10, PCIe device 1ae0:006f (0000:00:04.0 on 1-chip; 0000:00:04.0..07.0 on 4-chip) is either unbound from vfio-pci (so /dev/vfio/0 does not exist) or created with 0600 root:root permissions (returning EACCES).</li><li><strong>The RHEL 10 udev </strong><strong>PATH trap:</strong> Several community scripts invoke bare modprobe vfio-pci inside /lib/udev/bind_to_vfio_pci.sh. On RHEL 10, systemd-udevd executes helper scripts with a minimal PATH that omits /usr/sbin, causing bare modprobe to fail silently at boot (modprobe: command not found).</li><li><strong>Fix:</strong> Call explicit /usr/sbin/modprobe vfio-pci inside /lib/udev/bind_to_vfio_pci.sh, bind 1ae0:006f via driver_override, and set SUBSYSTEM==&quot;vfio&quot;, MODE=&quot;0666&quot; in /etc/udev/rules.d/99-tpu-vfio.rules.</li></ul><h4>Blocker 3: Couldn&#39;t mmap: Resource temporarily unavailable</h4><p>Once 1ae0:006f is bound to vfio-pci and /dev/vfio/0 has crw-rw-rw- (0666) permissions, running jax.devices() as a non-root user passes chip discovery and hits a second wall:</p><pre>jax.errors.JaxRuntimeError: FAILED_PRECONDITION: TPU initialization failed:<br>Couldn&#39;t mmap: Resource temporarily unavailable.</pre><ul><li><strong>Why it happens:</strong> During initialization, libtpu (MemoryMappedRegisters::Create) maps the TPU PCIe Base Address Registers (BAR) into user space using MAP_LOCKED:</li></ul><pre>mmap(nullptr, size, PROT_READ | PROT_WRITE, MAP_SHARED | MAP_LOCKED, vfio_fd, offset);</pre><p>Because MAP_LOCKED pins those pages in memory, the Linux kernel (do_mmap()) checks the calling process&#39;s RLIMIT_MEMLOCK (ulimit -l). Stock RHEL 10 defaults non-root ulimit -l to 8192 KB (8 MiB), which is smaller than the TPU BAR mapping—so the kernel returns EAGAIN (Resource temporarily unavailable).</p><ul><li><strong>Fix:</strong> Configure memlock unlimited in /etc/security/limits.d/99-cloud-tpu.conf (and use sudo prlimit --pid $$ --memlock=unlimited:unlimited --nofile=100000:100000 if you want to unblock an active SSH shell without logging out):</li></ul><pre>cat &lt;&lt;&#39;EOF&#39; | sudo tee /etc/security/limits.d/99-cloud-tpu.conf<br>* soft memlock unlimited<br>* hard memlock unlimited<br>* soft nofile  100000<br>* hard nofile  100000<br>root soft memlock unlimited<br>root hard memlock unlimited<br>EOF</pre><h4>Blocker 4: Scaling from 1 Chip to 4 Chips (ct6e-standard-4t) — RHEL 10.2 CVE-2026-53283 vs. RHEL 10.0 EUS</h4><p>When we scaled our custom image from a 1-chip ct6e-standard-1t VM to a 4-chip ct6e-standard-4t VM (4x 1ae0:006f at 0000:00:04.0..07.0), <strong>RHEL 10.2 (</strong><strong>kernel 6.12.0-211.65.1.el10_2.x86_64) triggered a kernel panic at boot</strong> due to an upstream AMD IOMMU lookup-table overflow regression (CVE-2026-53283 / RHEL-213791) when registering 4 VFIO devices simultaneously.</p><ul><li><strong>Fix:</strong> Pin 4-chip custom VM images to <strong>RHEL 10.0 EUS</strong> (rhel-10-0-eus, kernel 6.12.0-55.109.1.el10_0.x86_64) with kernel parameters iommu.passthrough=1 idle=poll transparent_hugepage=always. Across our verification runs, all 4 TPU v6e chips booted and initialized cleanly on RHEL 10.0 EUS.</li></ul><p>Full step-by-step diagnostic trees and one-liner checks are available in <a href="https://github.com/johnod-lab/rhel10-tpu-v6e/blob/main/customer/rhel10_tpu_v6e_vfio_troubleshooting.md">customer/rhel10_tpu_v6e_vfio_troubleshooting.md</a>.</p><h3>4. Choosing Your Architecture: Custom RHEL 10 VMs (Path A) vs. Minimal UBI 10.2 Containers on GKE (Path B)</h3><p>Depending on whether your security team requires Red Hat Enterprise Linux at the <strong>VM host kernel layer</strong> or at the <strong>container user-space layer</strong>, the repository supports two distinct deployment models:</p><figure><img alt="Side-by-side architecture comparison of Path A (Compute Engine TPU VM running a Custom RHEL 10.0 EUS Golden Image) and Path B (Kubernetes orchestration running Minimal Non-Root Red Hat UBI 10.2 Containers on managed GKE Container-Optimized OS nodes), showing 75% JAX image compression and 58% vLLM image compression." src="https://cdn-images-1.medium.com/max/1024/1*Aw9e8nDiS1Af9Tevb-62kQ.png" /><figcaption>Figure 5: Comparing Path A (Custom RHEL 10.0 EUS Compute Engine TPU VM) and Path B (Minimal Non-Root Red Hat UBI 10.2 containers on managed GKE COS nodes). Image by John O’Donnell (CC BY 4.0).</figcaption></figure><h4>Path A: Golden RHEL 10.0 EUS Compute Engine VM Image (customer/tpu-v6e-rhel-setup.sh)</h4><p>When corporate security policies mandate a RHEL 10 host kernel and host-level endpoint agents on every VM, <a href="https://github.com/johnod-lab/rhel10-tpu-v6e/blob/main/customer/tpu-v6e-rhel-setup.sh">customer/tpu-v6e-rhel-setup.sh</a> automates the 5-stage golden-image build:</p><figure><img alt="Five-stage pipeline diagram for tpu-v6e-rhel-setup.sh showing Stage 01 Pin RHEL 10.0 EUS Kernel, Stage 02 Bind PCI 1ae0:006f to vfio-pci, Stage 03 Podman Systemd vbar_control_agent, Stage 04 Python 3.12.9 and JAX 0.12.0, and Stage 05 Sanitize /tmp Lockfiles and Capture." src="https://cdn-images-1.medium.com/max/1024/1*BOaPO2mIc9UlJbWOeIux9A.png" /><figcaption>Figure 6: Five-stage golden-image pipeline automated by tpu-v6e-rhel-setup.sh (v1.2). Image by John O’Donnell (CC BY 4.0).</figcaption></figure><ol><li><strong>Kernel Boot Arguments (</strong><strong>grubby):</strong> Pins RHEL 10.0 EUS (6.12.0-55.109.1.el10_0.x86_64) and sets iommu.passthrough=1 idle=poll transparent_hugepage=always.</li><li><strong>Explicit </strong><strong>vfio-pci Binding and </strong><strong>0666 udev Rules:</strong> Installs /lib/udev/bind_to_vfio_pci.sh (with /usr/sbin/modprobe) and /etc/udev/rules.d/99-tpu-vfio.rules.</li><li><strong>Podman </strong><strong>vbar-control-agent.service and </strong><strong>tpu-env.service:</strong> Because RHEL 10 replaces Docker with Podman, configures systemd units to pull Compute Engine tpu-env metadata into /etc/profile.d/tpu-env.sh and run the Cloud TPU vbar_control_agent sidecar under rootful Podman.</li><li><strong>Non-Root PAM Limits:</strong> Writes /etc/security/limits.d/99-cloud-tpu.conf (memlock unlimited, nofile 100000).</li><li><strong>Lockfile Sanitization and Image Capture:</strong> Removes root-owned /tmp/libtpu_lockfile and /tmp/tpu_logs, cleans host SSH keys, and captures a reusable Compute Engine image family.</li></ol><h4>Path B: Minimal Non-Root Red Hat UBI 10.2 Containers on GKE COS Nodes (rhel10-tpu-container/)</h4><p>When container vulnerability scanners (such as Wiz, Prisma Cloud, or Qualys) require a Red Hat Enterprise Linux (UBI 10.2) <strong>container base</strong> rather than a custom VM host kernel, running on standard GKE Container-Optimized OS (COS) TPU node pools removes custom host-OS maintenance altogether. The GKE TPU device plugin (google.com/tpu) binds 1ae0:006f to vfio-pci on the node, mounts /dev/vfio/0..3 into the pod with 0666 permissions, and configures container MEMLOCK limits automatically.</p><p>In <a href="https://github.com/johnod-lab/rhel10-tpu-v6e/tree/main/rhel10-tpu-container">rhel10-tpu-container/</a>, we built multi-stage, non-root (UID 1001) UBI 10.2 images and validated them on <strong>1-chip (</strong><strong>ct6e-standard-1t, </strong><strong>1x1) and 4-chip (</strong><strong>ct6e-standard-4t, </strong><strong>2x2) GKE </strong><strong>1.36.4 TPU node pools</strong> under restricted Pod Security (runAsNonRoot: true, runAsUser: 1001, drop: [&quot;ALL&quot;], readOnlyRootFilesystem: true):</p><figure><img alt="Summary table of Path B minimal non-root UBI 10.2 container validation on 1-chip and 4-chip GKE TPU nodes, showing rhel10-tpu-jax at 393.6 MB scaling 3.95x linearly to 2,872.8 TFLOPS and rhel10-tpu-vllm at 1,148 MB scaling to 5,282.8 output tokens/s." src="https://cdn-images-1.medium.com/max/1024/1*EVmGcbZet8gqq1cND8K5yA.png" /><figcaption>Figure 7: 1-chip (1x1) and 4-chip (2x2) GKE validation results for minimal non-root Red Hat UBI 10.2 containers (as of November 2026). Image by John O’Donnell (CC BY 4.0).</figcaption></figure><p>Key highlights from the Path B GKE validation runs:</p><ul><li><strong>rhel10-tpu-jax (</strong><strong>ubi10-micro:10.2, </strong><strong>393.6 MB compressed — 75% smaller than </strong><strong>1.59 GB upstream):</strong> Delivered <strong>726.24 TFLOPS</strong> on 1 chip and <strong>2,871.18 TFLOPS</strong> (717.80 TFLOPS/chip) across 4 chips (<strong>3.95x</strong> linear scaling on 8192×8192 bfloat16 GEMM + pmap pmean). The ubi10-minimal:10.2 variant (412.1 MB) matched at <strong>2,872.84 TFLOPS</strong>.</li><li><strong>rhel10-tpu-vllm (</strong><strong>ubi10-minimal:10.2, </strong><strong>1,148.0 MB compressed — 58% smaller than </strong><strong>2.73 GB upstream):</strong> Scaled Qwen3-0.6B FP8 KV cache capacity <strong>4.12x</strong> (from 255,872 tokens on TP=1 to 1,055,104 tokens on TP=4) while boosting 64-request serving throughput <strong>+68.1%</strong> (from <strong>3,141.9</strong> to <strong>5,282.8 output tokens/s</strong>).</li></ul><h3>5. Empirical 4-Chip (ct6e-standard-4t) Benchmarks: RHEL 10.0 EUS vs. Stock Ubuntu 22.04 LTS</h3><p>To answer the core engineering question — <strong>does running hardened RHEL 10 introduce any OS, kernel, or VFIO performance penalty compared to the stock Ubuntu 22.04 LTS TPU VM image?</strong> — we ran our parity and <a href="https://github.com/AI-Hypercomputer">Google AI-Hypercomputer</a> suites on identical 4-chip ct6e-standard-4t (2x2 ICI torus, 128 GB HBM2e) instances in europe-west4-a.</p><blockquote>Methodology note: All benchmark figures below reflect my own experimental test runs conducted in October–November 2026 on 4-chip ct6e-standard-4t instances using synthetic and open-weight models (Apache-2.0). They are not official Google benchmarks, and real-world throughput on custom OS images can vary based on endpoint security agents and workload configurations.</blockquote><h4>Part A: Head-to-Head OS Parity (Custom RHEL 10.0 EUS vs. Stock Ubuntu 22.04 LTS)</h4><p>Full run logs and reproduction scripts are published in <a href="https://github.com/johnod-lab/rhel10-tpu-v6e/blob/main/tpu_v6e_4t_custom_rhel10_vs_stock_ubuntu_report.md">tpu_v6e_4t_custom_rhel10_vs_stock_ubuntu_report.md</a>.</p><figure><img alt="Benchmark comparison table of Custom RHEL 10.0 EUS versus Stock Ubuntu 22.04 LTS on identical 4-chip ct6e-standard-4t hardware across ResNet-50, BF16 GEMM, Fused HBM2e Bandwidth, 2x2 ICI All-Reduce, Overlapped Tensor Parallelism, and 1.007B LLM 2D-Sharded Pre-Training." src="https://cdn-images-1.medium.com/max/1024/1*M4R5aoIZkaLdLA8JHyYXzQ.png" /><figcaption>Figure 8: Head-to-head 4-chip (ct6e-standard-4t) OS parity results comparing Custom RHEL 10.0 EUS against Stock Ubuntu 22.04 LTS (as of November 2026). Image by John O’Donnell (CC BY 4.0).</figcaption></figure><p>Across every compute, memory-bandwidth, interconnect, and model-training suite, Custom RHEL 10.0 EUS matched or slightly outperformed Stock Ubuntu 22.04 LTS:</p><ul><li><strong>ResNet-50 4-Chip SPMD Training (</strong><strong>2,000 steps, </strong><strong>batch=512, </strong><strong>bfloat16):</strong> <strong>8,518.5 img/s</strong> steady-state on RHEL 10 vs. <strong>8,480.5 img/s</strong> on stock Ubuntu (<strong>+0.45% parity</strong>), with <strong>18.7% faster Step-0 XLA compilation</strong> (37.27 s vs. 45.82 s, yielding a <strong>+5.3%</strong> faster end-to-end 2,000-step wall time).</li><li><strong>256×256 Systolic MXU </strong><strong>bfloat16 GEMM &amp; Fused HBM2e Bandwidth:</strong> <strong>3,095.4 TFLOPS</strong> (84.3% peak) at 4096³ on RHEL 10 vs. <strong>2,989.7 TFLOPS</strong> on stock Ubuntu (<strong>+3.5%</strong> from newer libtpu 0.0.50 tile scheduling), and <strong>2,977.3 GB/s</strong> aggregate fused RMSNorm + SwiGLU + Residual bandwidth vs. <strong>2,900.8 GB/s</strong> (<strong>+2.6%</strong>).</li><li><strong>2×2 ICI Torus Collectives &amp; 1.007B 2D-Sharded LLM Pre-Training:</strong> <strong>137.9 GB/s/chip</strong> (551.4 GB/s fabric) AllReduce bus bandwidth (<strong>+0.7% parity</strong>) and <strong>43,151 tok/s</strong> steady-state (<strong>43,951 tok/s</strong> peak) on 1.007B LLM training, compiling XLA graphs <strong>16.3% faster</strong> (16.86 s vs. 20.15 s).</li></ul><figure><img alt="Bar chart comparing ResNet-50 4-Chip SPMD Training on Custom RHEL 10.0 EUS versus Stock Ubuntu 22.04, showing 18.7% faster XLA compile time (37.27s vs 45.82s) and 8,518.5 vs 8,480.5 images/sec steady-state throughput." src="https://cdn-images-1.medium.com/max/1024/1*OV5sTeaEA72r61wMj1NXrw.png" /><figcaption>Figure 9: ResNet-50 4-chip SPMD compilation latency and training throughput on Custom RHEL 10.0 EUS vs. Stock Ubuntu 22.04 LTS. Image by John O’Donnell (CC BY 4.0).</figcaption></figure><figure><img alt="Bar chart of Suites 1 and 2 comparing Custom RHEL 10.0 EUS and Stock Ubuntu 22.04 on 256x256 Systolic MXU bfloat16 GEMM (3,095.4 TFLOPS at 4096x4096) and Fused HBM2e Bandwidth (2,977.3 GB/s aggregate)." src="https://cdn-images-1.medium.com/max/1024/1*CYWeSywMy_5WdM8kNdQOPA.png" /><figcaption>Figure 10: Systolic MXU bfloat16 GEMM roofline and fused HBM2e bandwidth across Custom RHEL 10.0 EUS and Stock Ubuntu 22.04 LTS. Image by John O’Donnell (CC BY 4.0).</figcaption></figure><figure><img alt="Bar chart of Suites 3 and 4 comparing Custom RHEL 10.0 EUS and Stock Ubuntu 22.04 on 2x2 ICI All-Reduce (551.4 GB/s fabric), Overlapped TP (1,561.5 TFLOPS), and 1.007B LLM 2D-Sharded Pre-Training (43,151 steady tok/s, 16.3% faster XLA compile)." src="https://cdn-images-1.medium.com/max/1024/1*OSgUFsrfgsbcEolrHuon-Q.png" /><figcaption>Figure 11: 2×2 ICI optical/copper torus collectives and 1.007B 2D-sharded LLM pre-training parity. Image by John O’Donnell (CC BY 4.0).</figcaption></figure><h4>Part B: 3-Tier AI-Hypercomputer Roofline, Serving &amp; Training Suite on RHEL 10.0 EUS</h4><p>We also executed all three tiers of the open-source AI-Hypercomputer benchmark stack directly on the 4-chip Custom RHEL 10.0 EUS VM (<a href="https://github.com/johnod-lab/rhel10-tpu-v6e/blob/main/tpums_v2_results_summary.md">tpums_v2_results_summary.md</a> and <a href="https://github.com/johnod-lab/rhel10-tpu-v6e/blob/main/tpu_recipes_maxtext_vllm_summary.md">tpu_recipes_maxtext_vllm_summary.md</a>):</p><ol><li><strong>Tier 1 — </strong><strong>accelerator-microbenchmarks (</strong><strong>TPUMS v2.0 with On-Silicon XProf Traces):</strong></li></ol><ul><li><strong>bfloat16 GEMM (</strong><strong>32768 × 4096 × 4096):</strong> <strong>875.80 TFLOPS/chip</strong> XProf (<strong>3,503.2 TFLOPS / 3.503 PFLOPS</strong> across 4 chips — <strong>95.40%</strong> of the 918 TFLOPS/chip hardware peak).</li><li><strong>int8 Quantized GEMM (</strong><strong>16384 × 8192 × 8192):</strong> <strong>1,718.51 TFLOPS/chip</strong> XProf (<strong>6,874.0 TFLOPS / 6.874 PFLOPS</strong> across 4 chips — <strong>93.60%</strong> of the 1,836 TFLOPS/chip Int8 peak).</li><li><strong>HBM2e Copy &amp; PCIe </strong><strong>vfio-pci DMA:</strong> <strong>1,457.99 GB/s/chip</strong> HBM copy (<strong>5.832 TB/s</strong> aggregate — <strong>88.99%</strong> roofline), plus <strong>22.95 GB/s/chip H2D</strong> (91.80 GB/s aggregate) and <strong>20.40 GB/s/chip D2H</strong> (81.60 GB/s aggregate) over vfio-pci.</li><li><strong>2D Torus ICI &amp; SparseCore Offload:</strong> Pairwise device_to_device links hit <strong>93.20–93.29 GB/s/link</strong> (<strong>93.29%</strong> of 100 GB/s spec), and SparseCore-offloaded all_reduce / all_gather reached <strong>185.72 GB/s/chip</strong> (<strong>742.88 GB/s</strong> aggregate — <strong>92.86%</strong> of bidirectional peak).</li></ul><ol><li><strong>Tier 2 — </strong><strong>vLLM </strong><strong>Qwen/Qwen3-32B (</strong><strong>TP=4) Serving via RHEL 10 Podman:</strong></li></ol><ul><li>Loaded Qwen/Qwen3-32B (bfloat16, 65.38 GiB weights) with <strong>57.09 GiB HBM free for PagedAttention KV cache</strong> (233,728 tokens; 57.06x concurrency at 4,096 context).</li><li>Across <strong>256 concurrent prompts</strong> (1,800 input / 128 output tokens = 493,568 total tokens in 28.22 s, 0 errors): <strong>17,489.74 total tokens/s</strong>, <strong>1,161.14 sustained output tokens/s</strong> (<strong>3,188.00 peak output tokens/s</strong>), and <strong>73.79 ms mean TPOT</strong>.</li></ul><ol><li><strong>Tier 3 — </strong><strong>MaxText </strong><strong>Llama3.1-8B FSDP Pre-Training (</strong><strong>ici_fsdp_parallelism=4, </strong><strong>seq_len=8192):</strong></li></ol><ul><li>Trained 8.03B parameters at 32,768 tokens/step with FlashAttention, full rematerialization, and SparseCore All-Reduce offload: <strong>1.633 s/step</strong> mean (±0.46% variance), <strong>258.2 TFLOP/s/chip sustained / 260.0 TFLOP/s/chip peak</strong> (<strong>1.033–1.040 PFLOP/s</strong> across 4 chips), and <strong>20,066–20,208 tokens/s</strong>.</li></ul><figure><img alt="Two-panel chart of TPUMS v2.0 MXU Compute Roofline (3,503 TFLOPS BF16 = 95.4% peak and 6,874 TFLOPS INT8 = 93.6% peak) and Memory, ICI, and SparseCore Collective Efficiency on 4x TPU v6e running RHEL 10.0 EUS." src="https://cdn-images-1.medium.com/max/1024/1*HodILXxZjWVreGr0xI6jKA.png" /><figcaption>Figure 12: TPUMS v2.0 on-silicon XProf compute roofline and memory/ICI collective utilization across 4 TPU v6e chips on Custom RHEL 10.0 EUS. Image by John O’Donnell (CC BY 4.0).</figcaption></figure><figure><img alt="Four-panel chart of AI-Hypercomputer tpu-recipes benchmarks on 4x TPU v6e running Custom RHEL 10.0 EUS: MaxText Llama3.1–8B FSDP=4 training throughput (258.2 TFLOP/s/chip, 20,066 tok/s) and vLLM Qwen3–32B TP=4 serving throughput (17,489.7 tok/s, 73.79 ms mean TPOT)." src="https://cdn-images-1.medium.com/max/1024/1*CytgI02KfnDuQTt4oNSBQA.png" /><figcaption>Figure 13: MaxText Llama3.1–8B (FSDP=4) pre-training and vLLM Qwen3–32B (TP=4) serving results on Custom RHEL 10.0 EUS. Image by John O’Donnell (CC BY 4.0).</figcaption></figure><h3>6. Four Practical Engineering Takeaways for Red Hat + Cloud TPU v6e Teams</h3><ol><li><strong>RHEL 10’s Native Python 3.12 Unlocks Newer </strong><strong>jax and </strong><strong>libtpu Releases Out of the Box:</strong> Both TPUMS v2.0 and current MaxText require Python &gt;= 3.12. Because RHEL 10.0 EUS ships with Python 3.12.9 (glibc 2.39) natively, pip install &quot;jax[tpu]&quot; resolves directly to <strong>jax 0.12.0 / </strong><strong>libtpu 0.0.50</strong>, compiling XLA graphs <strong>16.3%–18.7% faster</strong> than stock Ubuntu 22.04&#39;s default Python 3.10.12 (which caps unpinned installs at jax 0.6.2 / libtpu 0.0.17 unless you install a newer Python toolchain).</li><li><strong>Disable Async Collective Fusion and Enable SparseCore Offload on Trillium (</strong><strong>v6e):</strong> In libtpu 0.0.50, setting --xla_tpu_enable_async_collective_fusion=true on Cloud TPU v6e triggers a FAILED_PRECONDITION compiler guard. Pass --xla_tpu_enable_async_collective_fusion=false and enable --xla_tpu_enable_sparse_core_collective_offload_all_reduce=true to offload AllReduce collectives onto Trillium&#39;s SparseCore engines.</li><li><strong>Right-Size 4-Chip FSDP Memory Budgets (</strong><strong>32 GB/chip HBM2e):</strong> Upstream MaxText recipes often target 8+ chips and default to float32 master weights (36.01–43.32 GiB/chip on a 4-chip FSDP slice, triggering CompileTimeHbmOom). Setting weight_dtype=bfloat16 grad_dtype=bfloat16 remat_policy=full attention=flash brings peak memory down to <strong>27.2 GiB / 31.24 GiB usable HBM per chip</strong> while sustaining 258.2 TFLOP/s/chip.</li><li><strong>Raise Podman PID Limits on 180-vCPU </strong><strong>ct6e-standard-4t Hosts:</strong> A ct6e-standard-4t VM exposes 180 vCPUs, whereas rootful/rootless Podman defaults to a container cgroup cap of pids.max = 2048. When vLLM, JAX, and Rust&#39;s rayon tokenizer initialize thread pools proportional to 180 vCPUs across 4 TPU workers, thread creation fails with WouldBlock (Resource temporarily unavailable). Pass --pids-limit=-1 --ulimit nproc=-1:-1 -e RAYON_NUM_THREADS=16 -e OMP_NUM_THREADS=16 to podman run.</li></ol><h3>7. Try It Yourself: Open-Source Scripts, Containers, and Next Steps</h3><p>Whether your organization mandates Red Hat Enterprise Linux at the Compute Engine VM host kernel (<strong>Path A</strong>) or inside non-root GKE containers (<strong>Path B</strong>), you can clone and adapt the complete open-source toolkit today:</p><ol><li><strong>Clone the Open-Source Repository (</strong><strong>Apache-2.0):</strong> <a href="https://github.com/johnod-lab/rhel10-tpu-v6e">github.com/johnod-lab/rhel10-tpu-v6e</a></li></ol><ul><li><strong>Golden RHEL 10.0 EUS VM Setup Script (</strong><strong>v1.2) &amp; Guide:</strong> <a href="https://github.com/johnod-lab/rhel10-tpu-v6e/blob/main/customer/tpu-v6e-rhel-setup.sh">customer/tpu-v6e-rhel-setup.sh</a> and <a href="https://github.com/johnod-lab/rhel10-tpu-v6e/blob/main/customer/RHEL10_Custom_Image_for_Cloud_TPU_v6e.md">customer/RHEL10_Custom_Image_for_Cloud_TPU_v6e.md</a></li><li><strong>Minimal Non-Root </strong><strong>UBI 10.2 GKE Containerfiles (</strong><strong>JAX &amp; </strong><strong>vLLM):</strong> <a href="https://github.com/johnod-lab/rhel10-tpu-v6e/tree/main/rhel10-tpu-container">rhel10-tpu-container/</a></li><li><strong>VFIO &amp; </strong><strong>RLIMIT_MEMLOCK Diagnostic Runbook:</strong> <a href="https://github.com/johnod-lab/rhel10-tpu-v6e/blob/main/customer/rhel10_tpu_v6e_vfio_troubleshooting.md">customer/rhel10_tpu_v6e_vfio_troubleshooting.md</a></li><li><strong>Full 4-Chip Benchmark Methodology &amp; Raw Traces:</strong> <a href="https://github.com/johnod-lab/rhel10-tpu-v6e/blob/main/tpu_v6e_4t_custom_rhel10_vs_stock_ubuntu_report.md">tpu_v6e_4t_custom_rhel10_vs_stock_ubuntu_report.md</a></li></ul><ol><li><strong>Explore Official Google Cloud TPU Documentation:</strong> Review <a href="https://cloud.google.com/tpu/docs/v6e">Cloud TPU v6e (Trillium)</a>, <a href="https://cloud.google.com/kubernetes-engine/docs/how-to/tpus">TPUs in GKE</a>, and the open-source <a href="https://github.com/AI-Hypercomputer/tpu-recipes">Google AI-Hypercomputer recipes</a>.</li></ol><p>If you run into another custom enterprise Linux requirement on Cloud TPU — or adapt these UBI 10.2 containers for multi-host GKE slices—feel free to open an issue or pull request on GitHub!</p><p><em>Disclaimer &amp; Licensing: I am a Customer Engineer at Google Cloud. The opinions, troubleshooting recipes, and architectural patterns shared in this article are my own and do not necessarily represent the official views or officially supported OS configurations of Google or Red Hat. All performance metrics reflect experimental 4-chip (</em><em>ct6e-standard-4t) test runs conducted in October–November 2026 using synthetic and open-weight workloads and are not official Google benchmarks. Except as otherwise noted, the text, diagrams, and code snippets in this article are licensed under the </em><a href="https://creativecommons.org/licenses/by/4.0/"><em>Creative Commons Attribution 4.0 International License (CC BY 4.0)</em></a><em>, and the code samples and companion repository are also dual-licensed under the </em><a href="https://www.apache.org/licenses/LICENSE-2.0"><em>Apache License 2.0</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1145d11fa720" width="1" height="1" alt=""><hr><p><a href="https://medium.com/google-cloud/from-weeks-to-hours-running-red-hat-enterprise-linux-10-on-cloud-tpu-v6e-with-google-antigravity-1145d11fa720">From Weeks to Hours: Running Red Hat Enterprise Linux 10 on Cloud TPU v6e with Google Antigravity</a> was originally published in <a href="https://medium.com/google-cloud">Google Cloud - Community</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>