<?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"><channel><title><![CDATA[六爺再次披甲上陣 # 用雙 RTX 3060/12GB 跑 Strata Qwen3.8 Flash Next IQ3_S：硬體清單、256K上下文，實測速度約50上下tok/s]]></title><description><![CDATA[<p dir="auto"><img src="https://upload.lcz.me/uploads/34505067-1b74-45c3-8ae4-417fdb78ca58.jpg" alt="S__25878565.jpg" class="img-markdown  img-fluid" /><br />
潛水太久了,看大家都再玩strata,這次請出六爺再次披甲上陣</p>
<h1>用雙 RTX 3060/12GB 跑 Strata Qwen3.8 Flash Next IQ3_S：硬體清單、實測速度約50上下tok/s</h1>
<p dir="auto">**測試日期：**2026-10-07<br />
**文章目的：**分享一套本機可重現的 Strata 設定，並用實測說清楚推理速度受到哪些硬體影響。<br />
**測試範圍：**Qwen3.8-Flash-Next IQ3_S，沒有測 Q2_0。本文數字只代表這台主機和這些 prompt，不是所有 RTX 3060 或所有模型都能得到的保證值。</p>
<h2>先看答案</h2>
<ul>
<li>這台機器最快的已測設定，是<strong>兩張 RTX 3060 一起跑</strong>，context 256K、KV int8，並把 <code>--pcie-frac</code> 設成 <code>0.20</code>、<code>--spec-min-p</code> 設成 <code>0.70</code>。</li>
<li>短 prompt 的 decode 校準中位數從 <strong>43.3 升到 54.3 tok/s</strong>（約快 25%）。同一份 235K prompt 的長上下文對照，decode 從 <strong>38.2 升到 41.8 tok/s</strong>（約快 9.4%）；prefill 幾乎沒有變化。</li>
<li>同一份 120K prompt 改成單卡 128K，反而比雙卡 128K 慢：單卡總耗時 <strong>124.1 秒</strong>，雙卡 <strong>70.6 秒</strong>。</li>
<li>目前最明確的限制是顯存容量與 expert-cache（專家快取）／PCIe／CPU 的分流。這次沒有測到 GDDR6 的實際 GB/s，不能說顯存頻寬已經跑滿。</li>
</ul>
<h2>1. 測試主機：完整硬體清單</h2>
<p dir="auto">以下列出這台推理主機中，已實際核對的硬體和版本；沒核對到的欄位明確標示，不用猜測補上。</p>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>部件</th>
<th>本次核對結果</th>
</tr>
</thead>
<tbody>
<tr>
<td>主機板</td>
<td>GIGABYTE MU72-SU0-00，Intel C621A，單路 LGA4189；主機板有 8 個 DDR4 DIMM 插槽，支援 8 通道 ECC Registered RAM（具錯誤更正的暫存式記憶體）。<a href="https://www.gigabyte.com/jp/Enterprise/Server-Motherboard/MU72-SU0-rev-1x-2x" rel="nofollow ugc">GIGABYTE 主機板規格</a></td>
</tr>
<tr>
<td>CPU</td>
<td>Intel Xeon Ice Lake-SP 世代，38 核心 / 76 執行緒，單一 NUMA node（記憶體區域節點），有 AVX-512。<code>lscpu</code> 的商品名稱只回報 <code>Genuine Intel(R) CPU 0000%@</code>，因此<strong>確切 CPU 型號未能確認</strong></td>
</tr>
<tr>
<td>RAM</td>
<td>Linux <code>lsmem</code> 顯示 128 GiB online。實際 DIMM 數量、廠牌、速度及目前啟用幾個記憶體通道未重新核對；「主機板支援 8 通道」不等於目前已啟用 8 通道</td>
</tr>
<tr>
<td>GPU</td>
<td>2 張 NVIDIA GeForce RTX 3060 12GB，CUDA index 0、1；GPU 0 的 PCI bus 是 <code>0000:51:00.0</code>，GPU 1 是 <code>0000:c3:00.0</code>。兩張卡的 power limit（功耗上限）各 170W；桌面主顯示卡在 GPU 1</td>
</tr>
<tr>
<td>GPU 連線</td>
<td>推論負載期間 <code>nvidia-smi</code> 取樣顯示兩卡各為 PCIe Gen4 x16；兩卡間 <code>nvidia-smi topo -m</code> 顯示 <code>NODE</code>（經同一 NUMA node 的 PCIe / host bridge 路徑），沒有 NVLink 標記。閒置時 PCIe 連線世代可能省電降速</td>
</tr>
<tr>
<td>顯存規格</td>
<td>一款 GIGABYTE RTX 3060 12GB 板卡列出 GDDR6、360 GB/s 名目頻寬；這是該型號規格，不是本次實測的顯存 GB/s。<a href="https://www.gigabyte.com/us/Graphics-Card/GV-N3060WF2-12GD-rev-20/sp" rel="nofollow ugc">GIGABYTE RTX 3060 規格</a></td>
</tr>
<tr>
<td>其他顯示裝置</td>
<td>主機板上的 ASPEED AST2600 BMC 顯示裝置，PCI <code>0000:06:00.0</code>；Strata 推理使用兩張 NVIDIA GPU</td>
</tr>
<tr>
<td>有線網路</td>
<td>主機板規格有 2 × Intel I210-AT 1GbE 網路埠和獨立 BMC 管理埠；Strata 僅綁 localhost <code>127.0.0.1</code>，網路介面不在本次 GPU 推理計算路徑上。<a href="https://www.gigabyte.com/jp/Enterprise/Server-Motherboard/MU72-SU0-rev-1x-2x" rel="nofollow ugc">GIGABYTE MU72-SU0 規格</a></td>
</tr>
<tr>
<td>SSD</td>
<td>MSI M450 1TB NVMe SSD；Strata/Qwen 資料位於本機 NVMe。測量當時根分割區約 916GiB，剩餘約 31GiB</td>
</tr>
<tr>
<td>作業系統</td>
<td>Ubuntu 24.04.4 LTS，Linux kernel 7.0.0-34-generic，x86-64</td>
</tr>
<tr>
<td>NVIDIA 軟體</td>
<td>Driver 595.84；<code>nvidia-smi</code> 顯示 CUDA Version 13.2，這是驅動相容版本，不代表引擎用 13.2 編譯。Strata 本機建置紀錄使用 CUDA Toolkit 12.0</td>
</tr>
<tr>
<td>Strata</td>
<td>v0.1.40.1，commit <code>82f46a8</code>，引擎 v0.1.40，Python 3.12.3。<a href="https://github.com/Niko1221/Strata/releases" rel="nofollow ugc">Strata v0.1.40.1 release</a></td>
</tr>
<tr>
<td>電源 / 散熱</td>
<td>電源供應器型號、CPU/GPU 散熱器與機殼風道未量測；本文不推論是否有供電或散熱限制</td>
</tr>
<tr>
<td>整機功耗</td>
<td>使用者補充：待機約 200W，雙卡全速推理約 500W。此為整機觀測值，量測位置/工具未註明；不是 <code>nvidia-smi</code> 的單卡功耗讀值</td>
</tr>
</tbody>
</table>
<p dir="auto">**RAM 與安裝空間注意：**本機辨識到 128 GiB RAM，但 DIMM 插法和實際記憶體頻寬未知。Strata 官方將 96GB 以上列為 IQ3_S 建議區間；本次安裝的 IQ3_S 兩個模型 shard 約 83.6GB，還有 pack、MTP 草稿資料與其他檔案。新安裝建議預留約 90–100GB SSD 空間。當時這台 SSD 剩 31GB，所以是沿用已安裝的模型做測試，不是重新下載。 <a href="https://github.com/Niko1221/Strata/blob/main/docs/AI_SETUP.md" rel="nofollow ugc">Strata 安裝指南</a></p>
<h2>2. 新手名詞小抄</h2>
<ul>
<li><strong>MoE（Mixture of Experts，混合專家模型）</strong>：模型中有許多「專家子網路」，每個 token 只啟用其中一部分。Qwen 官方模型卡列出這個模型總參數約 125B、啟用參數約 6B；每個 MoE 層有 512 個 experts，每個 token 使用 10 個 routed experts 和 1 個 shared expert。<a href="https://huggingface.co/Qwen/Qwen3.8-Flash-Next" rel="nofollow ugc">Qwen 官方模型卡</a></li>
<li><strong>Expert（專家）</strong>：MoE 裡負責計算的一組權重。</li>
<li><strong>Expert cache（專家快取）</strong>：顯卡記憶體先存常用 experts；沒存到的叫 cache miss（快取未命中）。Strata 說多 1GB VRAM 約能多留 700 個 experts，但實際收益依模型和 GPU 而異。<a href="https://github.com/Niko1221/Strata/blob/main/docs/HOW_IT_WORKS.md" rel="nofollow ugc">Strata 架構說明</a></li>
<li><strong>VRAM / 顯存容量</strong>：GPU 上能放多少模型資料、expert cache 和 KV cache。</li>
<li><strong>GDDR 顯存頻寬</strong>：GPU 核心從顯存讀寫資料的傳輸規格；和「顯存容量」不同。</li>
<li><strong>PCIe</strong>：CPU/主機 RAM 和 GPU 之間的連線。未命中 expert cache 的權重可以留給 CPU 算，也可以用 <code>--pcie-frac</code> 把一部分送到 GPU 算。</li>
<li><strong>KV cache（Key/Value 注意力快取）</strong>：模型保留已讀 token 的注意力狀態，不是模型權重。</li>
<li><strong>Prefill（提示詞讀入）</strong>：讀取 prompt、系統提示與對話歷史；主要影響第一個 token 要等多久。</li>
<li><strong>Decode（逐 token 生成）</strong>：模型一個 token 接一個 token 寫答案；常用 tok/s 表示每秒 token 數。</li>
<li><strong>MTP（Multi-Token Prediction，多 token 預測）</strong>：草稿層先猜後續 token，再由主模型驗證。</li>
<li><strong>Layer split（模型層切分）</strong>：一張卡跑模型前段層，另一張卡跑後段層；兩張卡不是合成一塊可互換資料的 24GB VRAM。<a href="https://github.com/Niko1221/Strata/blob/main/docs/MULTI_GPU.md" rel="nofollow ugc">Strata 多 GPU 文件</a></li>
</ul>
<h2>3. Strata 怎麼使用這台電腦</h2>
<p dir="auto">Qwen3.8-Flash-Next 有很多 experts，全部放不進一張 12GB 顯卡。Strata 把完整 experts 放在主機 RAM，顯存保存常用 experts；遇到沒駐留在 GPU 的 expert 時，CPU 可直接由 RAM 計算，也可依 <code>--pcie-frac</code> 把一部分 misses 透過 PCIe 交給 GPU。GPU 顯存還要放共同模型層、KV cache、MTP 和 prompt 暫存區。<a href="https://github.com/Niko1221/Strata/blob/main/docs/HOW_IT_WORKS.md" rel="nofollow ugc">Strata How it works</a></p>
<p dir="auto">雙卡 layer split 時，每張卡各有自己 layer 的 expert cache。Strata 文件說 token 在兩卡間是每個 verify window（草稿驗證批次）交接一次小量資料，不是每一層都來回搬。因此兩卡的主要價值是分攤模型層、增加總 expert cache；不需要假設有 NVLink 才能工作。<a href="https://github.com/Niko1221/Strata/blob/main/docs/MULTI_GPU.md" rel="nofollow ugc">Strata Multi-GPU 文件</a></p>
<h2>4. 新手安裝與設定：一步一步照做</h2>
<p dir="auto">以下是 Linux 新安裝範例，固定使用本次測試的 Strata 版本和 IQ3_S。模型下載前先確認 SSD 有約 90–100GB 可用空間：</p>
<pre><code class="language-bash">git clone --depth 1 --branch v0.1.40.1 https://github.com/Niko1221/Strata.git
cd Strata
./setup.sh --family qwen --model IQ3_S --context 262144 --gpus 0,1 --vision no --no-start --yes
</code></pre>
<p dir="auto"><code>nvidia-smi</code> 會列出你的 GPU index（編號）；若不是 0、1，請把 <code>--gpus</code> 換成自己的編號。Windows 用官方 <code>START-HERE.bat</code> 回答同樣選項即可。setup 顯示的 RAM 警告要照做：官方資料指出 64GB 上的 IQ3_S 256K context 可能接近記憶體限制，建議依 RAM 選較小 context。Qwen 模型原生 context 是 262,144 tokens。<a href="https://github.com/Niko1221/Strata/blob/main/docs/AI_SETUP.md" rel="nofollow ugc">Strata setup flags</a> <a href="https://huggingface.co/Qwen/Qwen3.8-Flash-Next" rel="nofollow ugc">Qwen 官方 context 規格</a></p>
<h3>修改設定前先備份</h3>
<p dir="auto">在 Strata 目錄先備份 setup 產生的 JSON：</p>
<pre><code class="language-bash">cp -a strata-iq3_s.json "strata-iq3_s.json.bak_$(date +%Y%m%d_%H%M%S)"
nano strata-iq3_s.json
</code></pre>
<p dir="auto">在 JSON 的 <code>args</code> 陣列中<strong>保留 setup 產生的 <code>--pack</code>、<code>--native</code>、<code>--ple-gguf</code>、<code>--mtp</code> 等路徑</strong>，只檢查下面參數；不要把這個表當成整份 JSON 覆蓋貼上，也不要在 <code>args</code> 中重複放同一個 flag。</p>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>flag</th>
<th style="text-align:right">本機勝出值</th>
<th>說明</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>--expert-cache</code></td>
<td style="text-align:right"><code>auto</code></td>
<td>依剩餘顯存自動配置 expert cache</td>
</tr>
<tr>
<td><code>--prefill</code></td>
<td style="text-align:right"><code>auto</code></td>
<td>本機雙卡實際挑到 8,192-token prompt chunk</td>
</tr>
<tr>
<td><code>--spec</code></td>
<td style="text-align:right"><code>4</code></td>
<td>MTP 草稿驗證深度</td>
</tr>
<tr>
<td><code>--spec-min-p</code></td>
<td style="text-align:right"><code>0.70</code></td>
<td>草稿層再多猜一個 token 前的門檻；本機校準值</td>
</tr>
<tr>
<td><code>--max-context</code></td>
<td style="text-align:right"><code>262144</code></td>
<td>最大總 context，輸入與輸出都要算進去</td>
</tr>
<tr>
<td><code>--kv</code></td>
<td style="text-align:right"><code>int8</code></td>
<td>KV cache 使用 int8</td>
</tr>
<tr>
<td><code>--kv-resident</code></td>
<td style="text-align:right"><code>32768</code></td>
<td>每層 32,768 cells 留在顯存，其餘用 pinned RAM 支援</td>
</tr>
<tr>
<td><code>--pcie-frac</code></td>
<td style="text-align:right"><code>0.20</code></td>
<td>未命中顯存的 experts 中，送 PCIe 給 GPU 計算的比例；本機校準勝出</td>
</tr>
<tr>
<td>JSON <code>gpu</code></td>
<td style="text-align:right"><code>[0,1]</code></td>
<td>同時使用兩張卡，編號依 <code>nvidia-smi</code></td>
</tr>
<tr>
<td>JSON <code>layer_split</code></td>
<td style="text-align:right"><code>"auto"</code></td>
<td>Strata 自動切分兩卡模型層</td>
</tr>
</tbody>
</table>
<p dir="auto">本機沒有加 <code>--pool-workers</code>，引擎自動用 37 個 CPU workers（工作執行緒）；校準顯示這比 25、18、9 workers 快。別的 CPU 不一定應設 37，先跑校準。</p>
<h3>啟動並驗證</h3>
<pre><code class="language-bash">./run-iq3_s.sh
</code></pre>
<p dir="auto">首次啟動會將約 47 GiB experts 載入 RAM，通常要等一到兩分鐘。看到 <code>ready</code> 後，開另一個終端機：</p>
<pre><code class="language-bash">curl -fsS http://127.0.0.1:8080/health | python3 -m json.tool
curl -fsS http://127.0.0.1:8080/slots | python3 -m json.tool
nvidia-smi
</code></pre>
<p dir="auto"><code>/health</code> 應顯示 <code>loaded: true</code>、<code>max_context: 262144</code>；<code>/slots</code> 應顯示 <code>n_ctx: 262144</code>。瀏覽器可開 <code>http://127.0.0.1:8080/</code>。下面的 curl 只檢查 API 有回應，短 prompt 不代表長 context 速度：</p>
<pre><code class="language-bash">curl -fsS http://127.0.0.1:8080/v1/chat/completions \
  -H 'Content-Type: application/json' \
  -d '{"model":"qwen3.8-flash-next-iq3_s","messages":[{"role":"user","content":"只回覆 READY"}],"max_tokens":128,"temperature":0}' \
  | python3 -m json.tool
</code></pre>
<h3>自己測速：不要把 prefill 和 decode 混在一起</h3>
<ol>
<li>確認沒有其他模型或使用者同時佔用 GPU。</li>
<li>固定模型量化、prompt token 數、<code>max_tokens</code>（最大輸出 token）、溫度和思考模式；每個設定至少測 3 次取中位數。</li>
<li>同一 prompt 重跑時，確認 Strata 的 <code>cache_n</code> / reused tokens 是 0，或重新啟動引擎，避免把 prompt cache（提示詞快取）命中誤認成硬體加速。</li>
<li>記錄 API response 的 <code>timings.prompt_per_second</code>（prefill）和 <code>timings.predicted_per_second</code>（decode）、<code>usage.prompt_tokens</code> 和 <code>completion_tokens</code>。也另記 wall time（實際總等待時間）；它還可能包含 queue / tokenize 等非 GPU 推論時間。</li>
<li>256K 是總 context，不是可放 262,144 個輸入再加輸出。本文用約 235K prompt + 128 output，保留模板和輸出空間。</li>
</ol>
<p dir="auto">看硬體時可用：</p>
<pre><code class="language-bash">nvidia-smi --query-gpu=index,name,memory.used,memory.total,utilization.gpu,utilization.memory,power.draw,power.limit,pcie.link.gen.current,pcie.link.width.current --format=csv
</code></pre>
<p dir="auto">NVIDIA 的 <code>utilization.gpu</code> 是取樣期間有 kernel 執行的時間比例；<code>utilization.memory</code> 是顯存正在讀寫的時間比例，不是「顯存頻寬已用掉幾成」。<a href="https://docs.nvidia.com/deploy/nvidia-smi/index.html" rel="nofollow ugc">NVIDIA 指標定義</a></p>
<p dir="auto">第一次安裝後可用 <code>./setup.sh --calibrate</code> 自動測本機 PCIe expert 分流、草稿門檻和 CPU workers，需約 5–10 分鐘並會更新 model JSON；先備份、等服務閒置再跑。<a href="https://github.com/Niko1221/Strata/blob/main/docs/INSTALL.md" rel="nofollow ugc">Strata 校準說明</a></p>
<h2>5. 本機實測：把數字拆開看</h2>
<h3>Decode 校準</h3>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>設定</th>
<th style="text-align:right">短 prompt decode 中位數</th>
</tr>
</thead>
<tbody>
<tr>
<td>預設 <code>pcie-frac 0.55 / spec-min-p 0.50</code></td>
<td style="text-align:right">43.3 tok/s</td>
</tr>
<tr>
<td>校準 <code>pcie-frac 0.20 / spec-min-p 0.70</code></td>
<td style="text-align:right">54.3 tok/s</td>
</tr>
</tbody>
</table>
<p dir="auto">本機校準提升約 25.3%，但這是校準短 prompt 的結果，長 context 不會保證同幅度。</p>
<h3>同一份 235K prompt：原設定 vs 校準設定</h3>
<p dir="auto">兩輪使用同一份 235,016-token prompt、同一個 128-token 輸出上限：</p>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>設定</th>
<th style="text-align:right">Prefill</th>
<th style="text-align:right">Decode</th>
<th style="text-align:right">HTTP wall time</th>
</tr>
</thead>
<tbody>
<tr>
<td>原設定</td>
<td style="text-align:right">1,744.6 tok/s</td>
<td style="text-align:right">38.2 tok/s</td>
<td style="text-align:right">139.1 秒</td>
</tr>
<tr>
<td>校準後</td>
<td style="text-align:right">1,747.3 tok/s</td>
<td style="text-align:right">41.8 tok/s</td>
<td style="text-align:right">138.6 秒</td>
</tr>
</tbody>
</table>
<p dir="auto">prefill 幾乎相同；總 wall time 只少約半秒，因 235K prompt 讀入約佔 134.5 秒。兩次都達到 128-token 上限，這是吞吐量測，不是回答品質比較。</p>
<h3>128K context：雙卡 vs 單卡</h3>
<p dir="auto">使用同一份 119,992-token prompt、相同 128-token 輸出上限；單卡也先獨立校準：</p>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>配置</th>
<th style="text-align:right">Prefill</th>
<th style="text-align:right">Decode</th>
<th style="text-align:right">HTTP wall time</th>
</tr>
</thead>
<tbody>
<tr>
<td>雙 RTX 3060</td>
<td style="text-align:right">1,786 tok/s</td>
<td style="text-align:right">44.8 tok/s</td>
<td style="text-align:right">70.6 秒</td>
</tr>
<tr>
<td>單 RTX 3060</td>
<td style="text-align:right">997 tok/s</td>
<td style="text-align:right">40.4 tok/s</td>
<td style="text-align:right">124.1 秒</td>
</tr>
</tbody>
</table>
<p dir="auto">單卡 prefill 約慢 44%、decode 約慢 10%、總耗時多約 76%。單卡啟動日誌配置 2,377 個 expert-cache slots（4.57 GiB）；雙卡則各自保存所屬 layer 的 cache。slots 會隨 context 和顯存狀況改變，因此表格用同 prompt 的速度做直接比較，不把不同 context 下的 cache slots 當成完全同條件數字。</p>
<h3>加大 prefill chunk 上限沒有讓引擎實際用更大 chunk</h3>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th><code>--prefill</code></th>
<th style="text-align:right">65K prompt</th>
<th style="text-align:right">235K prompt</th>
<th style="text-align:right">引擎實際 chunk</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>auto</code></td>
<td style="text-align:right">1,712.8 tok/s</td>
<td style="text-align:right">1,742.9 tok/s</td>
<td style="text-align:right">8,192</td>
</tr>
<tr>
<td><code>auto:16384</code></td>
<td style="text-align:right">1,710.7 tok/s</td>
<td style="text-align:right">1,743.9 tok/s</td>
<td style="text-align:right">8,192</td>
</tr>
<tr>
<td><code>auto:32768</code></td>
<td style="text-align:right">1,710.6 tok/s</td>
<td style="text-align:right">1,744.3 tok/s</td>
<td style="text-align:right">8,192</td>
</tr>
</tbody>
</table>
<p dir="auto">雙卡中 CUDA1 的 cache slots 不足以借出更大 prompt buffer，所以三種設定實際都用 8,192-token chunk；32K 設定還出現 slots 不足警告。正式設定保留 <code>--prefill auto</code>。</p>
<p dir="auto">另測 K8V4（INT8 K + 旋轉 4-bit V 的 KV 格式）：235K prompt prefill 1,613 tok/s，int8 為 1,747 tok/s。K8V4 雖把 pinned KV RAM 約從 1.55 GiB 降至 1.20 GiB，但沒有加快這台機器的 prompt 讀入。兩者生成 token 數不同，因此不把 decode 數字當成嚴格 A/B。</p>
<h2>6. 瓶頸分析：顯存容量、顯存頻寬還是主機 RAM？</h2>
<h3>顯存容量：這台最明確的硬體限制</h3>
<p dir="auto">推論時以 1 秒間隔取樣 39 次，每張卡用了約 11.7–11.9 GiB / 12 GiB；Strata expert cache 合計約 11.5 GiB。GPU 還要放共同層、KV cache、MTP 草稿層和 prompt buffer。對這種 MoE 模型，顯存裝得下更多常用 experts，就能少走 CPU miss 路徑；Strata 文件估計每多 1GB VRAM 約能多留 700 個 experts。<a href="https://github.com/Niko1221/Strata/blob/main/docs/HOW_IT_WORKS.md" rel="nofollow ugc">Strata 架構說明</a></p>
<h3>GDDR 頻寬：沒有證據顯示已跑滿</h3>
<p dir="auto">推論取樣期間，兩卡 GPU kernel 活躍時間平均約 84–86%，但 memory-active 平均約 55–58%、取樣最高約 80%。這表示 GPU 很忙，但不能直接推成 GDDR6 頻寬已到 360 GB/s；本次沒有讀取 DRAM bytes/s。應說「目前未測得飽和」，不能說「頻寬絕不會是瓶頸」。</p>
<h3>主機 RAM：容量夠，頻寬仍未知</h3>
<p dir="auto">系統有 128 GiB online，推論時約 56–57 GiB available，Swap 幾乎為零；Strata 能把 experts 和 streamed KV 放進 RAM，所以本機 RAM 容量不是瓶頸。CPU 全機平均利用率約 6.9%，但 76 個邏輯執行緒的整體平均不能排除少數 worker 或 RAM 通道很忙。實體 DIMM/通道及 RAM bandwidth 未測。</p>
<h3>PCIe / CPU expert-miss 分流：已證明影響 decode</h3>
<p dir="auto">235K prompt 的原設定約 11.9% routed experts 走 PCIe 給 GPU；校準後約 2.2%，decode 從 38.2 升到 41.8 tok/s。這支持「本機讓較多 misses 留給 CPU 計算，比搬更多 experts 過 PCIe 更有效」；<strong>不代表 PCIe Gen4 x16 的實體頻寬已經滿載</strong>。Strata 的 expert-cache hit-rate 會排除一部分 PCIe offload，因此數字可能隨 <code>--pcie-frac</code> 改變，不可單獨用它判斷速度。<a href="https://github.com/Niko1221/Strata/issues/588" rel="nofollow ugc">Strata issue #588</a></p>
<h2>7. 給朋友的抄作業結論</h2>
<p dir="auto">對本文這套<strong>雙 12GB RTX 3060 + 128 GiB RAM + IQ3_S</strong>：</p>
<ol>
<li>保留雙卡 layer split；同 prompt 測試顯示單卡 128K 更慢。</li>
<li>正式設定用 <code>--pcie-frac 0.20</code>、<code>--spec-min-p 0.70</code>；這是本機校準值，不保證其他 CPU/GPU 組合一樣。</li>
<li>保留 <code>--prefill auto</code>、KV int8、<code>--kv-resident 32768</code>；加大 prefill chunk 上限沒有增加實際 chunk。</li>
<li>若有資源升級需求，更多可用 VRAM 有比只追求更高 GDDR 頻寬更直接的依據；但本文沒有做不同顯卡的實體升級 A/B。</li>
<li>128K 只適合輸入加輸出總長在 128K 內的工作；235K 對話不能用 128K context。</li>
</ol>
<h2>參考資料</h2>
<ol>
<li><a href="https://huggingface.co/Qwen/Qwen3.8-Flash-Next" rel="nofollow ugc">Qwen3.8-Flash-Next 官方模型卡</a> — 125B 總參數、啟用參數、experts 與原生 262,144 context。</li>
<li><a href="https://github.com/Niko1221/Strata/releases" rel="nofollow ugc">Strata v0.1.40.1 release</a> — 本次軟體版本。</li>
<li><a href="https://github.com/Niko1221/Strata/blob/main/docs/AI_SETUP.md" rel="nofollow ugc">Strata AI Setup</a> — IQ3_S RAM 建議、安裝與 GPU/context 選項。</li>
<li><a href="https://github.com/Niko1221/Strata/blob/main/docs/HOW_IT_WORKS.md" rel="nofollow ugc">Strata How it works</a> — expert cache、VRAM/RAM/CPU 分工。</li>
<li><a href="https://github.com/Niko1221/Strata/blob/main/docs/MULTI_GPU.md" rel="nofollow ugc">Strata Multi-GPU</a> — layer split、卡間交接與限制。</li>
<li><a href="https://github.com/Niko1221/Strata/issues/588" rel="nofollow ugc">Strata issue #588</a> — PCIe expert offload 與 cache hit-rate 的意義。</li>
<li><a href="https://docs.nvidia.com/deploy/nvidia-smi/index.html" rel="nofollow ugc">NVIDIA <code>nvidia-smi</code> 文件</a> — GPU/memory utilization 和 PCIe link 指標定義。</li>
<li><a href="https://www.gigabyte.com/us/Graphics-Card/GV-N3060WF2-12GD-rev-20/sp" rel="nofollow ugc">GIGABYTE RTX 3060 12GB 規格</a> — 一款 RTX 3060 12GB 板卡的 GDDR6 規格。</li>
</ol>
<p dir="auto">**已知缺口：**CPU 精確 SKU、實際 DIMM 數量/通道、RAM 頻寬、DRAM 實際 GB/s、電源供應器與散熱器未核實或未量測。本文所有速度只代表上述本機 IQ3_S 測試；Q2_0 未測。</p>
]]></description><link>https://lcz.me/topic/2156</link><generator>RSS for Node</generator><lastBuildDate>Mon, 12 Oct 2026 14:26:54 GMT</lastBuildDate><atom:link href="https://lcz.me/topic/2156.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 07 Oct 2026 03:49:26 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to 六爺再次披甲上陣 # 用雙 RTX 3060/12GB 跑 Strata Qwen3.8 Flash Next IQ3_S：硬體清單、256K上下文，實測速度約50上下tok/s on Wed, 07 Oct 2026 04:46:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/johnnybegood" aria-label="Profile: johnnybegood">@<bdi>johnnybegood</bdi></a> 真的,哈哈,六爺是老特版主在視頻裡面提到的,我順勢拿來用,哈,滿舒服的,但就是有點耗電了</p>
]]></description><link>https://lcz.me/post/22998</link><guid isPermaLink="true">https://lcz.me/post/22998</guid><dc:creator><![CDATA[CHIA AN YANG]]></dc:creator><pubDate>Wed, 07 Oct 2026 04:46:53 GMT</pubDate></item><item><title><![CDATA[Reply to 六爺再次披甲上陣 # 用雙 RTX 3060/12GB 跑 Strata Qwen3.8 Flash Next IQ3_S：硬體清單、256K上下文，實測速度約50上下tok/s on Wed, 07 Oct 2026 04:38:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/chia-an-yang" aria-label="Profile: CHIA-AN-YANG">@<bdi>CHIA-AN-YANG</bdi></a></p>
<p dir="auto">双六爷就好像秦琼秦叔宝用的双锏啊， 挥起来虎虎生风！</p>
<p dir="auto">战鼓如雷，杀声震天。只见秦琼深吸一口气，双臂一振，锵然声中，那一对祖传的四棱金装锏已然破空出鞘！那双锏重达一百三十斤，在烈日下鎏金溢彩，寒芒吞吐，隐隐带着破风的龙吟之声。<br />
两军阵前，数名敌将不知深浅，纵马挺枪齐齐围攻上来。秦琼面不改色，跨下黄骠马长嘶一声，人马合一暴冲而出。他右臂一抡，一记“力劈华山”，金锏携万钧之势呼啸而下，只听“当”的一声暴烈巨响，迎面敌将的厚重长枪竟被震得脱手飞出，虎口崩裂！未等敌兵惊骇，秦琼左手金锏顺势一个横扫千军，沉重的钝击掠过，厚重的护身铁甲如纸糊般内凹碎裂，敌将惨叫一声，直接被扫落马下。<br />
眨眼间，秦琼已陷万军重围，但他毫无惧色。两柄金锏在他手中被舞得风雨不透，只见金光万道，层层叠叠，化作一团不透风的金色暴风。枪刺不进，箭射不穿！凡是金锏所到之处，骨碎甲崩，人马辟易。就在此时，敌方主帅企图拨马逃走，秦琼目若朗星，陡然大喝一声，使出了威震天下的压箱底绝技——“撒手锏”！只见他右手一扬，一柄金锏化作一道凌厉无比的金色流星，裹挟着撕裂空气的锐啸直奔敌首。“砰”地一声，金锏精准无比地砸中敌将后心，直接将其击落马下，一招定乾坤！</p>
]]></description><link>https://lcz.me/post/22996</link><guid isPermaLink="true">https://lcz.me/post/22996</guid><dc:creator><![CDATA[johnnybegood]]></dc:creator><pubDate>Wed, 07 Oct 2026 04:38:30 GMT</pubDate></item><item><title><![CDATA[Reply to 六爺再次披甲上陣 # 用雙 RTX 3060/12GB 跑 Strata Qwen3.8 Flash Next IQ3_S：硬體清單、256K上下文，實測速度約50上下tok/s on Wed, 07 Oct 2026 04:18:04 GMT]]></title><description><![CDATA[<p dir="auto"><img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/2b50.png?v=fe25256ab4a" class="not-responsive emoji emoji-android emoji--star" style="height:1.4em;width:auto;vertical-align:middle" title="⭐" alt="⭐" /> 版主审定：本帖设为<strong>精华</strong>，作者 <strong>+5 积分</strong>奖励，希望再接再厉！</p>
<blockquote>
<p dir="auto">奖励凭证：精华 +5 分 · 编号 f2156-218-1（系统自动发放，显示稍有延迟）</p>
</blockquote>
]]></description><link>https://lcz.me/post/22985</link><guid isPermaLink="true">https://lcz.me/post/22985</guid><dc:creator><![CDATA[Xiaote]]></dc:creator><pubDate>Wed, 07 Oct 2026 04:18:04 GMT</pubDate></item><item><title><![CDATA[Reply to 六爺再次披甲上陣 # 用雙 RTX 3060/12GB 跑 Strata Qwen3.8 Flash Next IQ3_S：硬體清單、256K上下文，實測速度約50上下tok/s on Wed, 07 Oct 2026 04:19:04 GMT]]></title><description><![CDATA[<p dir="auto">非常好，刚准备录视频，找3060的帖子，既然你发了，就不找别人的了。设备不错，发个装备秀。可以分开发也可以一起发。</p>
]]></description><link>https://lcz.me/post/22984</link><guid isPermaLink="true">https://lcz.me/post/22984</guid><dc:creator><![CDATA[terry]]></dc:creator><pubDate>Wed, 07 Oct 2026 04:19:04 GMT</pubDate></item></channel></rss>