<?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[7900 XTX + 128g 内存 单卡跑 Strata + Qwen3.8 Flash-Next， 踩坑经验分享]]></title><description><![CDATA[<p dir="auto">这台NAS电脑比较不典型，属于内存/显卡都够用， 但cpu/ssd （不是nvme）严重拖后腿。 给大家一点数据参考。<br />
被 DSH 的 deepseek flash 坑了，抄着论坛作业框框干了两个多小时，告诉最好 16 t/s。后来自己下场找原因，找到了。<br />
<strong>引擎默认把 27GB 的 PLE 表直接从 SSD 读，每个生成窗口都在等硬盘。塞进内存后，升到 65 t/s， 代价是内存占用来到了80G左右。</strong></p>
<p dir="auto"><strong>另一个就是不要盲信strata自带的calibrate， 它给的--pcie-frac 是0.37 。但我实际工作环境跟测试不一样， 速度变慢很多， 明显cpu拖后腿了， 所以我把它固定到0.55 。</strong></p>
<h2>1. 环境</h2>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>项目</th>
<th>配置</th>
</tr>
</thead>
<tbody>
<tr>
<td>系统</td>
<td>TrueNAS SCALE 25.10.7（内核 6.12）</td>
</tr>
<tr>
<td>GPU / CPU</td>
<td>RX 7900 XTX 24GB（gfx1100，HIP）/ i5-9600K 6C/6T，只有 AVX2</td>
</tr>
<tr>
<td>RAM</td>
<td>128GB DDR4</td>
</tr>
<tr>
<td>ROCm / Strata</td>
<td>7.14.1（hipBLASLt 100401 调优表命中）/ v0.1.41 HIP</td>
</tr>
<tr>
<td>模型</td>
<td><code>Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S</code>（IQ3_S，83.6 GB 两片），来自 <code>ISTA-DASLab/Qwen3.8-Flash-Next-GSQ-RCO-GGUF</code></td>
</tr>
<tr>
<td>Context / 图像</td>
<td>131072 / 开（<code>strata-vision-hip</code> GPU 编码器 + BF16 mmproj）</td>
</tr>
</tbody>
</table>
<h2>2. 关键参数</h2>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>参数</th>
<th>值</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>--ple-io</code></td>
<td><strong><code>ram</code></strong></td>
</tr>
<tr>
<td><code>--pcie-frac</code></td>
<td><strong><code>0.55</code></strong>（写死；不写则引擎自测出 0.37）</td>
</tr>
<tr>
<td><code>--pool-workers</code></td>
<td><strong><code>3</code></strong></td>
</tr>
<tr>
<td><code>--kv</code> / <code>--kv-resident</code></td>
<td><code>int8</code> / <code>32768</code></td>
</tr>
<tr>
<td><code>--spec</code> / <code>--spec-min-p</code></td>
<td><code>4</code> / <code>0.5</code></td>
</tr>
<tr>
<td><code>--adapt-every</code> / <code>-swaps</code> / <code>-decay</code></td>
<td><strong><code>1 / 80 / 0.97</code></strong></td>
</tr>
<tr>
<td><code>idle_unload_s</code></td>
<td><code>1800</code></td>
</tr>
</tbody>
</table>
<p dir="auto">后四项来自 <code>--calibrate</code>。<code>--pool-workers</code> 别往大调：3 → 55.3 t/s，5 → 46.4，2 → 49.7。</p>
<h2>3. 经验</h2>
<ol>
<li><strong><code>--ple-io ram</code> 是这台机器的命门。</strong> PLE 表 26.82 GiB（512 亿参数，IQ4_NL），默认直读盘、每 window 卡在 330 MB/s。搬进内存后 22 → 65；代价是常驻 26.82 GiB，第二次重启只要 1.1 秒（页缓存已热）。</li>
<li><strong><code>--calibrate</code> 值得跑</strong>（只调 4 项，实测 +19%），但注意它会把没保留下来的 flag 直接删掉退回产品默认。</li>
<li><strong>参数好坏要看 <code>/metrics</code> 里的真实流量，别只信合成 benchmark。</strong> 我用"反复读同一批文档"的 prompt 测（专家缓存命中率 92 ~ 97%，几乎不 miss），结论是 <code>--pcie-frac</code> 越高越慢；换成不同话题的真实对话（命中率 80 ~ 90%、40K 上下文），0.55 比 0.37 快 50%。<strong>miss 越少，PCIe 这条路越不划算</strong> —— 拿一个「不 miss」的场景去否定一个专门处理 miss 的参数，方法本身就错了</li>
</ol>
]]></description><link>https://lcz.me/topic/2224</link><generator>RSS for Node</generator><lastBuildDate>Mon, 12 Oct 2026 12:24:33 GMT</lastBuildDate><atom:link href="https://lcz.me/topic/2224.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 09 Oct 2026 13:59:07 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to 7900 XTX + 128g 内存 单卡跑 Strata + Qwen3.8 Flash-Next， 踩坑经验分享 on Sun, 11 Oct 2026 23:22:05 GMT]]></title><description><![CDATA[<p dir="auto">PLE 塞进内存这个思路好，感谢提醒，正好要加内存</p>
]]></description><link>https://lcz.me/post/24099</link><guid isPermaLink="true">https://lcz.me/post/24099</guid><dc:creator><![CDATA[marsempire]]></dc:creator><pubDate>Sun, 11 Oct 2026 23:22:05 GMT</pubDate></item></channel></rss>