<?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[X99（BD3） DDR3 四通道 + 7900 XTX 24G：Strata 跑 Qwen3.8-Flash-Next 無審查版 IQ3_XXS 實測（131K 上下文 / int8 KV / MTP / 解碼 65–75 tok/s）]]></title><description><![CDATA[<h1>X99 DDR3 四通道 + 7900 XTX 24G：Strata 跑 Qwen3.8-Flash-Next 無審查版 IQ3_XXS 實測（131K 上下文 / int8 KV / MTP / 解碼 65–75 tok/s）</h1>
<blockquote>
<p dir="auto">格式照壇上 1987 / 2109 的寫法：只寫<strong>這台機器的配置、踩過的坑、驗證到哪一步</strong>。</p>
</blockquote>
<h2>一、硬體與前提</h2>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>項目</th>
<th>值</th>
<th>是否影響結論</th>
</tr>
</thead>
<tbody>
<tr>
<td>GPU</td>
<td>AMD RX 7900 XTX 24G（Navi31 / gfx1100）</td>
<td>是，必須 gfx1100</td>
</tr>
<tr>
<td>CPU</td>
<td>Intel Xeon E5-2673 v3 @ 2.40GHz（Haswell，12C/24T，<strong>只有 AVX2</strong>）</td>
<td>影響解碼，見 §5</td>
</tr>
<tr>
<td>記憶體</td>
<td>128GB DDR3-1867 <strong>四通道</strong>（4×32GB，ECC）</td>
<td>見 §5，這是本機瓶頸</td>
</tr>
<tr>
<td>系統盤</td>
<td>HP SSD S700 500GB（SATA）</td>
<td>模型 71G + pack 1.5G，容量要算進去</td>
</tr>
<tr>
<td>作業系統</td>
<td>Ubuntu 26.04.1 LTS（kernel 7.0.0-38）</td>
<td></td>
</tr>
<tr>
<td>ROCm</td>
<td>10.0.0（amdrocm metapackage，裝在 /opt/rocm）</td>
<td>setup 偵測到系統 ROCm 就不抓 TheRock wheels</td>
</tr>
<tr>
<td>引擎</td>
<td>Strata <code>82f46a8</code>（2026-10-06）</td>
<td></td>
</tr>
<tr>
<td>權重</td>
<td>SC117/…abliterated-GGUF 的 <strong>IQ3_XXS</strong> 純文字版，約 76 GB</td>
<td>無審查（abliterated）版</td>
</tr>
<tr>
<td>模型 ID</td>
<td><code>swift-1.5-iq3_xxs</code></td>
<td></td>
</tr>
<tr>
<td>API</td>
<td><code>http://10.42.0.109:8080/v1</code>（LAN 監聽 0.0.0.0）＋ Tailscale <code>100.124.7.105</code></td>
<td></td>
</tr>
<tr>
<td>上下文</td>
<td><strong>131072</strong> tokens；KV <code>int8</code>；<code>--spec 4</code>；MTP runtime</td>
<td></td>
</tr>
</tbody>
</table>
<p dir="auto">三個必要條件（照壇上共識，本機全中）：</p>
<ol>
<li><strong>記憶體 ≥ 96GB</strong>：本機 128GB，載入後 RAM 約 47–52/123 GB，VRAM 25.7/25.8 GB。</li>
<li><strong>已有 /opt/rocm 且含 hipcc / <a href="http://libhipblaslt.so" rel="nofollow ugc">libhipblaslt.so</a></strong>：本機是 amdrocm 10.0，setup 直接複用，省 10GB 下載。</li>
<li><strong>單卡獨佔</strong>：Strata 吃滿 24GB 顯存，<strong>不能跟 ComfyUI 並行</strong>（見 §6）。</li>
</ol>
<h2>二、會卡住的坑（★ 本機實際踩過的）</h2>
<p dir="auto"><strong>坑 1 ★ <code>--gguf-dir</code> 指向預設路徑時 setup 會自己把目錄改名。</strong><br />
<code>[ok] model files moved to .../data</code> 之後緊接著 </p><div class="plugin-markdown"><input type="checkbox" checked="true" />missing ...gguf</div> → 是<strong>路徑問題不是網路問題</strong>。修法：<code>--gguf-dir</code> 指向它不會動的目錄，用軟連結放模型。<br />
<strong>坑 2 ★ 模型檔名兩邊不一致（最耗時）。</strong><br />
setup 期望 <code>Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-0000N-of-00002.gguf</code>；HF 實際是 <code>IQ3_XXS/…-abliterated-IQ3_XXS-0000N-of-00002.gguf</code>（多子目錄＋abliterated）。下載後<strong>重命名對齊</strong>，並<strong>校驗位元組數</strong>（斷點續傳可能造成尾部偏差）：<p></p>
<ul>
<li>shard1 <code>39,771,812,960</code> <img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/2705.png?v=fe25256ab4a" class="not-responsive emoji emoji-android emoji--white_check_mark" style="height:1.4em;width:auto;vertical-align:middle" title="✅" alt="✅" /> / shard2 <code>36,056,143,040</code> <img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/2705.png?v=fe25256ab4a" class="not-responsive emoji emoji-android emoji--white_check_mark" style="height:1.4em;width:auto;vertical-align:middle" title="✅" alt="✅" /> / mmproj <code>907,542,944</code> <img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/2705.png?v=fe25256ab4a" class="not-responsive emoji emoji-android emoji--white_check_mark" style="height:1.4em;width:auto;vertical-align:middle" title="✅" alt="✅" /> / mtp-q2_0 <code>889,017,216</code> <img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/2705.png?v=fe25256ab4a" class="not-responsive emoji emoji-android emoji--white_check_mark" style="height:1.4em;width:auto;vertical-align:middle" title="✅" alt="✅" /></li>
<li><code>head -c 4 &lt;檔&gt; | xxd</code> 必須是 <code>47475546</code>（"GGUF"）<br />
<strong>坑 3：繞過 <code>setup.sh</code> 直接跑 <code>setup.py</code> → PEP 668 拒絕（externally-managed-environment）。</strong> 走 <code>setup.sh</code>，或手動建 venv（<code>python3-venv</code> 要先裝好）。<br />
<strong>坑 4：aria2 接手舊控制檔會重新驗證區塊。</strong> 本機 shard2 曾缺 1,233,037,287 bytes，aria2c 續傳時顯示已滿長度但內部約 9% 區塊要重抓——<strong>ETA 會跳</strong>，不是卡住。</li>
</ul>
<h2>三、啟動方式（本機用正式 unit，開機自啟）</h2>
<p dir="auto">壇上 1987 用 transient unit（<code>systemd-run</code>，<strong>不會隨開機自啟</strong>）。本機改成正式持久 unit <code>/etc/systemd/system/strata.service</code>：</p>
<pre><code>ExecStart=/home/yuyen/Strata/.venv/bin/python /home/yuyen/Strata/serve/server.py \
  --engine strata --config /home/yuyen/Strata/strata-swift-iq3_xxs.json \
  --host 0.0.0.0 --port 8080
Restart=on-failure / TimeoutStartSec=1200
</code></pre>
<p dir="auto">載入約 100 秒。config args 重點：<code>--pack</code>、<code>--native</code>/<code>--ple-gguf</code> 指 shard1、<code>--expert-profile</code>、<code>--expert-cache auto</code>、<code>--prefill auto</code>、<code>--spec 4 --spec-min-p 0.5</code>、<code>--mtp .../mtp/rt</code>、<code>--max-context 131072</code>、<code>--kv int8</code>、<code>--kv-resident 32768</code>、<code>--conversation-cache-mib 8192</code>（見 §5）。</p>
<h2>四、驗證（2026-10-12，全部用引擎自己的計數器）</h2>
<p dir="auto"><strong>量測方法先講：必須讀引擎日誌每 request 的計數器，不要用 client wall time。</strong> 短 prompt 固定開銷佔大半、思考 token 會混進輸出速率，wall time 會量出假數字（本機曾因此誤量成 30 / 271 tok/s）。取 3 次中位數，run-to-run 約 ±10%。</p>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>指標</th>
<th>實測</th>
</tr>
</thead>
<tbody>
<tr>
<td><strong>解碼（短提示，中位數）</strong></td>
<td><strong>74.5 tok/s</strong>（80.0 / 74.5 / 64.2）</td>
</tr>
<tr>
<td>prefill @ 8k / 32k / 48k / 80k tokens</td>
<td>1237 / 1286 / 1242 / <strong>1149</strong> tok/s</td>
</tr>
<tr>
<td>解碼 @ 8k / 32k / 48k / 80k 上下文</td>
<td>51 / 61 / 74 / 64 tok/s（<strong>到 80k 都不明顯衰退</strong>）</td>
</tr>
<tr>
<td>VRAM / RAM</td>
<td>25.7 GB / 48 GB（不吃緊）</td>
</tr>
<tr>
<td>多輪對話提示重用</td>
<td>第 2 輪起 <strong>99.9% 重用</strong>（4078/4083 tok）</td>
</tr>
</tbody>
</table>
<h2>五、跟壇上 3900X 帖（2109）的落差 &amp; 參數調校結論</h2>
<p dir="auto"><strong>落差來自硬體平台，不是設定。</strong> 2109 是 DDR4-3200 雙通道（實測 50.7 GB/s）＋ Ryzen 9 3900X；本機是 <strong>DDR3-1867 四通道 ＋ Haswell（只有 AVX2）</strong>。重新用引擎計數器量後，本機解碼 65–75、prefill 1100–1290，<strong>跟 2109 的 67.8 / 900–1330 幾乎一致</strong>。<br />
<strong>參數 A/B（每組重啟服務、同方法量，跑完自動還原）——全部落在雜訊內：</strong></p>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>參數組</th>
<th>decode</th>
<th>prefill 8k</th>
<th>prefill 32k</th>
</tr>
</thead>
<tbody>
<tr>
<td><strong>現行（基準）</strong></td>
<td><strong>74.5</strong></td>
<td><strong>1237</strong></td>
<td><strong>1286</strong></td>
</tr>
<tr>
<td>＋<code>--prefill 32768</code></td>
<td>67.5</td>
<td>1229</td>
<td>1280</td>
</tr>
<tr>
<td>＋<code>--conversation-cache-mib 8192</code></td>
<td>70.7</td>
<td>1203</td>
<td>1270</td>
</tr>
<tr>
<td>＋<code>--pool-workers 15</code></td>
<td>68.1</td>
<td>1229</td>
<td>1280</td>
</tr>
<tr>
<td>＋<code>--spec 6</code></td>
<td>67.1</td>
<td>1226</td>
<td>1276</td>
</tr>
<tr>
<td>＋<code>--kv-resident 65536</code></td>
<td>68.5</td>
<td>1230</td>
<td>1279</td>
</tr>
</tbody>
</table>
<p dir="auto"><strong>官方建議的 <code>--pool-workers 12 --adapt-every 0 --pcie-frac 0</code> 與 <code>--mmap-experts --resident-cpu-experts</code> 在 X99 DDR3 上反而更慢</strong>（解碼掉到 ~30），不要照搬到這平台。<br />
<strong>唯一真正有感的優化：<code>--conversation-cache-mib</code>，但只在「多對話交錯」時。</strong> 模擬兩個對話 A/B 交錯問 7 輪：沒開時<strong>每輪整段重讀（0% 重用）</strong>；開了之後從第 3 輪起<strong>每輪重用整個前綴（~100%）</strong>。單一對話本來就 ~99.9% 重用、不需要旗標。本機常同時開多個 Hermes 對話打同一台，所以<strong>永久開著</strong>。</p>
<h2>六、共用顯卡的注意事項</h2>
<p dir="auto"><strong>與 ComfyUI（:8188）共用 24GB VRAM，一次只能一個。</strong> 算圖前要 <code>sudo systemctl stop strata</code> 讓出顯卡；那時候接 Hermes 的 client 會自動退回雲端備援，不會斷線。</p>
<h2>七、一句話總結</h2>
<p dir="auto">X99 DDR3 四通道 ＋ Haswell 這平台，跑無審查 IQ3_XXS 的解碼天花板就是 <strong>65–75 tok/s</strong>、prefill <strong>1100–1290 tok/s</strong>，<strong>跟壇上 DDR4 機幾乎沒差</strong>；軟體參數已壓到頂，<strong>想再快只剩換硬體（DDR4 四通道平台）</strong>。</p>
]]></description><link>https://lcz.me/topic/2270</link><generator>RSS for Node</generator><lastBuildDate>Mon, 12 Oct 2026 12:24:31 GMT</lastBuildDate><atom:link href="https://lcz.me/topic/2270.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 11 Oct 2026 17:32:53 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to X99（BD3） DDR3 四通道 + 7900 XTX 24G：Strata 跑 Qwen3.8-Flash-Next 無審查版 IQ3_XXS 實測（131K 上下文 / int8 KV / MTP / 解碼 65–75 tok/s） on Mon, 12 Oct 2026 04:14:31 GMT]]></title><description><![CDATA[<p dir="auto">我也是ddr3 pve里的Ubuntu 也能到70多了 参数优化下 就一下从50上到70</p>
]]></description><link>https://lcz.me/post/24175</link><guid isPermaLink="true">https://lcz.me/post/24175</guid><dc:creator><![CDATA[Grayson Ren]]></dc:creator><pubDate>Mon, 12 Oct 2026 04:14:31 GMT</pubDate></item><item><title><![CDATA[Reply to X99（BD3） DDR3 四通道 + 7900 XTX 24G：Strata 跑 Qwen3.8-Flash-Next 無審查版 IQ3_XXS 實測（131K 上下文 / int8 KV / MTP / 解碼 65–75 tok/s） on Mon, 12 Oct 2026 03:37:36 GMT]]></title><description><![CDATA[<p dir="auto">我的主机也是ddr3 64 GB  我现在回头测试这个Ubuntu下运行。今晚让ai 帮忙搭建这个平台。之前就是担心ddr3 性能太差跑不了qfn</p>
]]></description><link>https://lcz.me/post/24163</link><guid isPermaLink="true">https://lcz.me/post/24163</guid><dc:creator><![CDATA[陈鸿]]></dc:creator><pubDate>Mon, 12 Oct 2026 03:37:36 GMT</pubDate></item><item><title><![CDATA[Reply to X99（BD3） DDR3 四通道 + 7900 XTX 24G：Strata 跑 Qwen3.8-Flash-Next 無審查版 IQ3_XXS 實測（131K 上下文 / int8 KV / MTP / 解碼 65–75 tok/s） on Sun, 11 Oct 2026 18:16:35 GMT]]></title><description><![CDATA[<p dir="auto">非常不错，多了个人验证DDR3性能，可以终结内存焦虑，DDR3的价格还是能负担得起的。</p>
]]></description><link>https://lcz.me/post/24073</link><guid isPermaLink="true">https://lcz.me/post/24073</guid><dc:creator><![CDATA[terry]]></dc:creator><pubDate>Sun, 11 Oct 2026 18:16:35 GMT</pubDate></item><item><title><![CDATA[Reply to X99（BD3） DDR3 四通道 + 7900 XTX 24G：Strata 跑 Qwen3.8-Flash-Next 無審查版 IQ3_XXS 實測（131K 上下文 / int8 KV / MTP / 解碼 65–75 tok/s） on Sun, 11 Oct 2026 17:35:01 GMT]]></title><description><![CDATA[<p dir="auto">抄作業抄得很順利</p>
]]></description><link>https://lcz.me/post/24061</link><guid isPermaLink="true">https://lcz.me/post/24061</guid><dc:creator><![CDATA[黃于晏]]></dc:creator><pubDate>Sun, 11 Oct 2026 17:35:01 GMT</pubDate></item></channel></rss>