<?xml version="1.0" encoding="utf-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><title>FastEDA</title><link>https://www.fasteda.cn/</link><description>集成电路IT/CAD权威圈子</description><item><title>Redhat、Centos、Rocky8.10 默认perl版本bug导致某些run文件无法执行</title><link>https://www.fasteda.cn/post/471.html</link><description>&lt;p&gt;&lt;strong&gt;&lt;span style=&quot;text-wrap-mode: nowrap; font-size: 20px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;场景：&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;在安装某些Synospsys IP/MEM的时候，允许run文件可能报错：&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-text&quot;&gt;./xxxxxxxxxxxxx.run&amp;nbsp;
panic:&amp;nbsp;Can&amp;#39;t&amp;nbsp;use&amp;nbsp;%+&amp;nbsp;because&amp;nbsp;Tie::Hash::NamedCapture&amp;nbsp;does&amp;nbsp;not&amp;nbsp;define&amp;nbsp;_tie_it&amp;nbsp;at&amp;nbsp;/usr/share/perl5/English.pm&amp;nbsp;line&amp;nbsp;155.
Compilation&amp;nbsp;failed&amp;nbsp;in&amp;nbsp;require&amp;nbsp;at&amp;nbsp;./xxxxxxxxxxxxx.run&amp;nbsp;line&amp;nbsp;647.
BEGIN&amp;nbsp;failed--compilation&amp;nbsp;aborted&amp;nbsp;at&amp;nbsp;./xxxxxxxxxxxxx.run&amp;nbsp;line&amp;nbsp;647.&lt;/pre&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;strong style=&quot;text-wrap-mode: nowrap;&quot;&gt;错误原因：Perl 核心的版本缺陷&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;错误信息&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-text&quot;&gt;Can&amp;#39;t&amp;nbsp;use&amp;nbsp;%+&amp;nbsp;because&amp;nbsp;Tie::Hash::NamedCapture&amp;nbsp;does&amp;nbsp;not&amp;nbsp;define&amp;nbsp;_tie_it&lt;/pre&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;的直接含义是：Perl 试图使用特殊变量 %+（用于访问正则命名捕获），但发现用于实现它的 Tie::Hash::NamedCapture&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;模块中，&lt;/span&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;缺少了关键的 _tie_it 函数。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;这通常是由于 Perl 版本过低（低于 5.16） 引起的。在早期版本中，English.pm 模块与 Tie::Hash::NamedCapture 的协作&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;存在缺陷，&lt;/span&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;导致在 use English 时触发此 panic。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;此外，虽然 Tie::Hash::NamedCapture 自 Perl 5.9.5 起已是核心模块，但某些不完整的安装或异常的构建环境可能导致该&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;模块缺失，&lt;/span&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;也会引发此问题。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&lt;span style=&quot;text-wrap-mode: nowrap; font-size: 20px;&quot;&gt;解决方案：&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;可以按照以下顺序尝试解决：&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&lt;span style=&quot;text-wrap-mode: nowrap; font-size: 16px;&quot;&gt;1. 升级 Perl（根本解决方法）&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;最直接的解决方式是将 Perl 升级到 5.16 或更高版本，该 Bug 在这些版本中已被修复。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;查看当前版本：运行&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-text&quot;&gt;&amp;nbsp;perl&amp;nbsp;-v&lt;/pre&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;确认版本。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;升级方式：可通过系统包管理器（如 apt、yum）升级，或从 Perl 官网 获取新版源码编译安装。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&lt;span style=&quot;text-wrap-mode: nowrap; font-size: 16px;&quot;&gt;2. 确保模块可用（如果版本已足够高）&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;若 Perl 版本已 ≥ 5.16 但仍报错，可能是模块安装不完整。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;检查模块是否存在：运行 &lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-text&quot;&gt;perl&amp;nbsp;-MTie::Hash::NamedCapture&amp;nbsp;-e&amp;nbsp;&amp;#39;print&amp;nbsp;&amp;quot;OK\n&amp;quot;&amp;#39;&lt;/pre&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;重新安装核心模块：如果缺失，可尝试通过 cpan 强制安装：&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-text&quot;&gt;cpan&amp;nbsp;-f&amp;nbsp;Tie::Hash::NamedCapture。&lt;/pre&gt;&lt;p&gt;&lt;strong&gt;&lt;span style=&quot;text-wrap-mode: nowrap; font-size: 16px;&quot;&gt;3. 临时变通方法（无法升级时）&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;如果环境限制无法升级 Perl，可尝试在脚本中避免使用 English.pm。因为错误是在 use English 时触发的，可以删除或注释掉该行，&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;并改用 Perl 内置的标点变量（如用 $&amp;amp; 代替 $MATCH，用 $&amp;#39; 代替 $POSTMATCH 等）。但这只是规避了 English.pm 的加载，&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;若脚本其他部分直接使用了 %+，仍可能触发同一 panic。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;或者：&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;在你的家目录（~）下，创建对应的目录结构和模块文件&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-text&quot;&gt;&amp;nbsp;~/Tie/Hash/NamedCapture/Patch.pm&lt;/pre&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;内容如下：&lt;/span&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-text&quot;&gt;package&amp;nbsp;Tie::Hash::NamedCapture;
unless&amp;nbsp;(defined&amp;nbsp;&amp;amp;_tie_it)&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;sub&amp;nbsp;_tie_it&amp;nbsp;{&amp;nbsp;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return;&amp;nbsp;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}
}&lt;/pre&gt;&lt;p&gt;&lt;strong&gt;&lt;span style=&quot;text-wrap-mode: nowrap; font-size: 16px;&quot;&gt;第二步：通过环境变量加载补丁&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;在运行 ./dv_extract_image.exe 或后续的 xxxxxxxxxxxxxx.run 脚本前，设置 PERL5LIB 和 PERL5OPT 环境变量。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;在终端中执行以下命令（假设补丁文件在 ~/Tie/Hash/NamedCapture/Patch.pm）：&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;bash&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;# 1. 设置环境变量&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-text&quot;&gt;export&amp;nbsp;PERL5LIB=~/:$PERL5LIBexport
PERL5OPT=&amp;quot;-MTie::Hash::NamedCapture::Patch&amp;nbsp;$PERL5OPT&amp;quot;&lt;/pre&gt;&lt;p&gt;&lt;strong&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;# 2. 重新执行你的 VCS 命令（或提取后的脚本）# 例如，重新运行校验：&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-text&quot;&gt;./dv_extract_image.exe&amp;nbsp;--pid&amp;nbsp;59749&amp;nbsp;--dest&amp;nbsp;...&amp;nbsp;(你之前的命令)&lt;/pre&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;# 或者直接运行生成的 run 脚本：&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-text&quot;&gt;./xxxxxxxxxxxxxxxxxx.run&amp;nbsp;--check-integrity&lt;/pre&gt;&lt;p&gt;&lt;span class=&quot;&quot;&gt;PERL5LIB=~/ ：将你的家目录加入 Perl 的模块搜索路径，以便 Perl 能找到我们创建的&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; font-variant-emoji: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;Patch.pm&lt;/code&gt;&lt;span class=&quot;&quot;&gt;。&lt;/span&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;PERL5OPT=&amp;quot;-MTie::Hash::NamedCapture::Patch&amp;quot;：指示 Perl 解释器在运行任何脚本之前，先强制加载这个补丁模块，&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;从而在 English.pm 触发 panic 之前就“修复”好 Tie::Hash::NamedCapture。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;需要了解的风险与局限&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;这种方法本质上是欺骗 Perl 内核，让它以为模块是完整的，但 _tie_it 的实际功能依然是缺失的。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;可能只是“表面修复”：_tie_it 方法原本负责将 %+ 和 %- 与正则引擎进行底层绑定。这个空实现只能避免程序在&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;require 阶段直接崩溃，&lt;/span&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;但无法恢复 %+ 和 %- 的全部正常功能。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;潜在的功能缺失：如果 VCS 脚本严重依赖 %+ 或 %- 来获取命名捕获组的内容，后续运行中仍可能出现数据不正确或新的错误，&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;因为底层绑定从未真正建立。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;补丁的兼容性：这个补丁仅针对“未定义 _tie_it”这一种报错。如果旧版 Perl 在 Tie::Hash::NamedCapture 中还存在其他深&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;层缺陷，此方法可能无法覆盖。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Mon, 30 Nov 2026 22:15:43 +0800</pubDate></item><item><title>在lsf中启动virtuso，仿真完成后不会自动退出，是需要怎么配置？</title><link>https://www.fasteda.cn/post/470.html</link><description>在lsf中启动virtuso，仿真完成后不会自动退出，是需要怎么配置？我记得好像是需要设置一个环境变量？</description><pubDate>Mon, 23 Nov 2026 17:32:40 +0800</pubDate></item><item><title>Fasteda SSSD Configuration ---  类SFU管理方式处理 Unix 属性</title><link>https://www.fasteda.cn/post/468.html</link><description>&lt;p data-pm-slice=&quot;1 3 []&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;混合环境里最常见的痛点是：Linux 侧用 SSSD 吃 AD 身份，Windows 侧还得靠 ADUC（Active Directory 用户和计算机）改目录；POSIX 属性（&lt;/span&gt;&lt;code&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;uidNumber&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt; / &lt;/span&gt;&lt;code&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;gidNumber&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt; / &lt;/span&gt;&lt;code&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;memberUid&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt; 等）要么散落在各种脚本里，要么在两个界面之间来回对照。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Fasteda SSSD Configuration&lt;/strong&gt; 就是为这件事准备的：一套 ADUC 风格的图形工具，跑在 Linux / Windows 桌面上，通过 LDAP / LDAPS / SASL 密封远程管理域控，并原生覆盖 RFC2307 Unix 属性——让「管用户、管组、管 OU」和「给 SSSD 准备 POSIX 数据」在同一套界面完成。&lt;/span&gt;&lt;/p&gt;&lt;hr/&gt;&lt;h2&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;它是什么&lt;/span&gt;&lt;/h2&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;界面逻辑刻意对齐微软 ADUC：左侧域树、右侧对象列表、右键菜单、属性页多标签。熟悉 ADUC 的管理员几乎零学习成本；同时针对 SSSD / Linux 场景补上了 Windows 原生工具不擅长的那一块——Unix 属性可视化与一致性维护。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;技术栈为 Python 3 + PySide6（Qt 6），界面全中文；交付上提供 Nuitka 单文件包（Linux / Windows），目标机器无需安装 Python 运行时。&lt;/span&gt;&lt;/p&gt;&lt;hr/&gt;&lt;h2&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;核心能力一览&lt;/span&gt;&lt;/h2&gt;&lt;h3&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;目录浏览与检索&lt;/span&gt;&lt;/h3&gt;&lt;ul class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;域树导航，支持前进 / 后退 / 向上 / 刷新，刷新后尽量保留当前视图&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;路径面包屑，点击即可跳转到上层容器&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;当前容器内筛选：按名称、登录名、类型或状态快速收窄列表&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;查找对话框按名称定位用户、组、OU&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;对象选择器列出全部候选；不可用项置灰并注明原因，不做静默过滤&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h3&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;对象生命周期&lt;/span&gt;&lt;/h3&gt;&lt;ul class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;新建用户 / 组 / OU 向导（完整配置步骤，而不仅是一个名称框）&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;重命名、移动、删除（含「防止意外删除」保护）&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;账户启用 / 禁用 / 解锁、重置密码，均有确认与状态反馈&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;计算机对象在 Windows 打包版可打开「管理」（远程计算机管理）；Linux 上给出明确提示&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h3&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;属性页&lt;/span&gt;&lt;/h3&gt;&lt;table&gt;&lt;colgroup&gt;&lt;col style=&quot;min-width: 50px;&quot;/&gt;&lt;col style=&quot;min-width: 50px;&quot;/&gt;&lt;/colgroup&gt;&lt;tbody&gt;&lt;tr class=&quot;firstRow&quot;&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;对象&lt;/span&gt;&lt;/p&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;标签页&lt;/span&gt;&lt;/p&gt;&lt;/th&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;用户&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;常规 / 账户 / 隶属于 / Unix 属性（高级模式下另有「对象」）&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;组&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;常规 / 成员 / 隶属于 / 管理者 / Unix 属性（高级模式下另有「对象」）&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;OU&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;常规（高级模式下另有「对象」）&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;成员与隶属于双向可视；添加成员、添加到组走统一的对象选择器。&lt;/span&gt;&lt;/p&gt;&lt;h3&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;Unix / SSSD 深度集成&lt;/span&gt;&lt;/h3&gt;&lt;ul class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;可视化编辑 RFC2307：&lt;/span&gt;&lt;code&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;uidNumber&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;、&lt;/span&gt;&lt;code&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;gidNumber&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;、&lt;/span&gt;&lt;code&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;loginShell&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;、&lt;/span&gt;&lt;code&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;unixHomeDirectory&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt; 等&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;GID 可自增分配，并校验全域唯一&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;Unix 组启用后，用户成员增删自动同步 &lt;/span&gt;&lt;code&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;memberUid&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;（存登录名，符合 RFC2307）&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;用户保存主 Unix GID 时，自动对齐组成员关系（避免「只写了 gidNumber、人却不在组里」）&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;code&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;memberUid&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt; 列表展示为「登录名（UID n）」，属性本身仍存登录名，方便对照又不破坏规范&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h3&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;安全连接&lt;/span&gt;&lt;/h3&gt;&lt;ul class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;strong&gt;默认 SASL 密封（389）&lt;/strong&gt;：与 Windows 原生工具同类通道，无需在域控部署证书，密码类操作自动走密封&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;strong&gt;可选 LDAPS（636）&lt;/strong&gt;：适合已有域控证书的环境&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;凭据走系统 keyring，不落明文；连接配置可保存、可切换&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;hr/&gt;&lt;h2&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;1.1.0 更新了什么&lt;/span&gt;&lt;/h2&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;本版本聚焦「更好用、更可查、更不容易写歪 Unix 数据」。&lt;/span&gt;&lt;/p&gt;&lt;h3&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;1. 高级功能真正有用了&lt;/span&gt;&lt;/h3&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;「查看 → 高级功能」不再只是多几个系统容器，开启后还包括：&lt;/span&gt;&lt;/p&gt;&lt;ul class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;strong&gt;对象详情页&lt;/strong&gt;：DN、objectSid、objectGUID、创建 / 修改时间，页内一键复制&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;strong&gt;复制 DN / SID&lt;/strong&gt;：查看菜单与右键菜单均可&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;strong&gt;Unix 组成员一致性检查&lt;/strong&gt;：对比 AD &lt;/span&gt;&lt;code&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;member&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt; 与 &lt;/span&gt;&lt;code&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;memberUid&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;，列出缺失 / 多余项；可一键按 AD 成员重建 &lt;/span&gt;&lt;code&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;memberUid&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;；并提示「仅主 GID、未进入成员」的用户&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;适合排查「SSSD 里组成员对不上」这类现场问题。&lt;/span&gt;&lt;/p&gt;&lt;h3&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;2. 列表与导航体验&lt;/span&gt;&lt;/h3&gt;&lt;ul class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;列表补充状态、登录名等列，扫一眼就能区分启用 / 禁用 / 锁定&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;当前容器筛选栏，大 OU 下定位更快&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;路径面包屑可点击跳转&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h3&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;3. 选择器与日常操作细节&lt;/span&gt;&lt;/h3&gt;&lt;ul class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;对象选择器支持空名称查找（直接列出候选），双击即可确认&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;「应用」按钮按脏状态启用，未改动时不再误点&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;选中行图标对比度修复，深蓝底上不再「图标消失」&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h3&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;4. Unix 属性正确性与可读性&lt;/span&gt;&lt;/h3&gt;&lt;ul class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;&lt;code&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;memberUid&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt; 读写统一按登录名；界面附加 UID 展示&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;用户改主 GID、组首次设 GID 时的成员 / &lt;/span&gt;&lt;code&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;memberUid&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt; 同步更完整&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;处理 AD 主组不可直接移除（错误码 00000561）等边界情况，减少保存失败&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h3&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;5. 版本与交付&lt;/span&gt;&lt;/h3&gt;&lt;ul class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;「帮助 → 关于」展示版本号 &lt;strong&gt;1.1.0&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;Linux / Windows 均提供 Nuitka 单文件包（Windows 在域控同类环境编译验证）&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;hr/&gt;&lt;h2&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;适合谁用&lt;/span&gt;&lt;/h2&gt;&lt;ul class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;Linux 桌面 / 服务器通过 SSSD 加入 AD，需要维护 POSIX 属性&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;管理员主要在 Linux 工作站上远程管 Windows 域控&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;想少开一轮「远程桌面 → 登域控 → 开 ADUC」的混合环境运维&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;下载链接&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;[MustLogin]&lt;/p&gt;</description><pubDate>Fri, 20 Nov 2026 12:47:45 +0800</pubDate></item><item><title>TSMC N7/N4 Memory Compiler：从 install.txt 到 batch 生成 SRAM 宏</title><link>https://www.fasteda.cn/post/467.html</link><description>&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;写在前面&lt;/span&gt;&lt;/p&gt;&lt;p&gt;TSMC N7 / N4 系列 Memory Compiler 走的是同一套 MC2（Memory Compiler 2）流程：用 &lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;.mco&lt;/code&gt; 数据库 + 引擎解包宏视图，用 &lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;config.txt&lt;/code&gt; 批量描述尺寸，用 FlexLM 控 license。本文以 N7 SPMBSRAM（单口多 Bank SRAM）为主线，把从安装、license 到 batch 生成的完整路径写清楚，并说明 N4C 侧差异。&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;一、先搞清目录里有什么&lt;/span&gt;&lt;/p&gt;&lt;p&gt;以 N7 包 &lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;tsn7_spmbsram_20151201_130a&lt;/code&gt; 为例，关键文件职责如下：&lt;/p&gt;&lt;table border=&quot;1&quot; cellpadding=&quot;6&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse:collapse;width:100%;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;th&gt;文件&lt;/th&gt;&lt;th&gt;作用&lt;/th&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;*.mco&lt;/code&gt;&lt;/td&gt;&lt;td&gt;编译器数据库，供 MC2 抽宏，不是 license&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;tsn7_spmbsram_130a.exe&lt;/code&gt;&lt;/td&gt;&lt;td&gt;Batch 模式生成入口&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;config.txt&lt;/code&gt;&lt;/td&gt;&lt;td&gt;每行一个实例尺寸/选项&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;MC2_*.tar.gz&lt;/code&gt; + &lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;install.sh&lt;/code&gt; + &lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;mc2_install.pl&lt;/code&gt;&lt;/td&gt;&lt;td&gt;安装引擎与写环境&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;install.txt&lt;/code&gt;&lt;/td&gt;&lt;td&gt;告诉安装脚本：装哪、license 哪、.mco 在哪&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;cshrc.mc2&lt;/code&gt;&lt;/td&gt;&lt;td&gt;安装后生成的环境变量脚本&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Databook PDF&lt;/td&gt;&lt;td&gt;尺寸表、命名、选项、安装说明（N7 如 &lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;DB_TSN7_IDR_SRAM_COMPILER_DATABOOK_*.pdf&lt;/code&gt;）&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;N7 SRAM 家族一览（bitcell 面积供选型参考）：&lt;/p&gt;&lt;table border=&quot;1&quot; cellpadding=&quot;6&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse:collapse;width:100%;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;th&gt;类型&lt;/th&gt;&lt;th&gt;Compiler 名&lt;/th&gt;&lt;th&gt;大致命名&lt;/th&gt;&lt;th&gt;bitcell&lt;/th&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;SPSBSRAM&lt;/td&gt;&lt;td&gt;tsn7_spsbsram&lt;/td&gt;&lt;td&gt;ts1n7sb…&lt;/td&gt;&lt;td&gt;0.0342&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;HDSPSBSRAM&lt;/td&gt;&lt;td&gt;tsn7_hdspsbsram&lt;/td&gt;&lt;td&gt;ts1n7sb…b…&lt;/td&gt;&lt;td&gt;0.0274&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;SPMBSRAM&lt;/td&gt;&lt;td&gt;tsn7_spmbsram&lt;/td&gt;&lt;td&gt;ts1n7mb…&lt;/td&gt;&lt;td&gt;0.0342&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;HDSPMBSRAM&lt;/td&gt;&lt;td&gt;tsn7_hdspmbsram&lt;/td&gt;&lt;td&gt;ts1n7mb…b…&lt;/td&gt;&lt;td&gt;0.0274&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;HSSPSRAM / UHDSPSRAM&lt;/td&gt;&lt;td&gt;tsn7_hsspsram / uhdspsram&lt;/td&gt;&lt;td&gt;ts1n7hs… / uhds…&lt;/td&gt;&lt;td&gt;0.0342&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;1PRF / 2PRF / ROM / DPSRAM&lt;/td&gt;&lt;td&gt;对应 tsn7_*&lt;/td&gt;&lt;td&gt;ts5n7 / ts6n7 / ts3n7 / tsdn7…&lt;/td&gt;&lt;td&gt;见 databook&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;配置靠 &lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;config.txt&lt;/code&gt; + 命令行开关，不要去手改 &lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;.mco&lt;/code&gt;。&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;二、install.txt 怎么写&lt;/span&gt;&lt;/p&gt;&lt;p&gt;必须正好三行，且第三行是&lt;strong&gt;目录&lt;/strong&gt;（放 &lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;.mco&lt;/code&gt; 的目录），不是 &lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;.mco&lt;/code&gt; 文件路径：&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;&amp;nbsp;/$Install_WD/memCompiler
&amp;nbsp;/$Install_WD/memCompiler/license.dat
&amp;nbsp;/$Install_WD/memCompiler&lt;/pre&gt;&lt;p&gt;含义：&lt;/p&gt;&lt;ol class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;MC2 安装目录&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;license.dat&lt;/code&gt; 完整路径（本机 nodelock 或安装占位用）&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;.mco&lt;/code&gt; 所在目录 → 会写成环境变量 &lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;MC_HOME&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;示例（按你的实际路径改）：&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;/path/to/tsn7_spmbsram_20151201_130a/MC2_install_script/memCompiler
/path/to/tsn7_spmbsram_20151201_130a/MC2_install_script/memCompiler/license.dat
/path/to/tsn7_spmbsram_20151201_130a/MC2_install_script/memCompiler&lt;/pre&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;三、安装 MC2 引擎&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;cd&amp;nbsp;/path/to/tsn7_spmbsram_20151201_130a
./mc2_install.pl&amp;nbsp;-file&amp;nbsp;install.txt&amp;nbsp;-all
#&amp;nbsp;平台选&amp;nbsp;2（Linux&amp;nbsp;64&amp;nbsp;bit）&lt;/pre&gt;&lt;p&gt;常见坑：&lt;/p&gt;&lt;ul class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;&lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;sh: install.sh: 未找到命令&lt;/code&gt;：脚本里写的是 &lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;install.sh&lt;/code&gt;，现代 Linux 的 &lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;PATH&lt;/code&gt; 不含 &lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;.&lt;/code&gt;。改成调用 &lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;./install.sh&lt;/code&gt;，或手动：&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;printf&amp;nbsp;&amp;#39;y\n./MC2_2015.12.01.k.tar.gz\n/path/to/.../memCompiler\n&amp;#39;&amp;nbsp;|&amp;nbsp;./install.sh&amp;nbsp;-install&lt;/pre&gt;&lt;ul class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;装完后应出现 &lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;.../memCompiler/MC2_2015.12.01.k/{bin,aux}&lt;/code&gt;，并生成 &lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;cshrc.mc2&lt;/code&gt;。&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;cshrc.mc2&lt;/code&gt; 里 &lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;LM_LICENSE_FILE&lt;/code&gt; 必须指向 &lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;license.dat&lt;/code&gt; 或 &lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;port@server&lt;/code&gt;，绝不能指到 &lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;.mco&lt;/code&gt;。&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;典型环境（csh）：&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;setenv&amp;nbsp;MC2_INSTALL_DIR&amp;nbsp;.../memCompiler/MC2_2015.12.01.k
setenv&amp;nbsp;PATH&amp;nbsp;$MC2_INSTALL_DIR/bin:$PATH
setenv&amp;nbsp;LM_LICENSE_FILE&amp;nbsp;.../license.dat&amp;nbsp;&amp;nbsp;&amp;nbsp;#&amp;nbsp;或&amp;nbsp;27088@licserver
setenv&amp;nbsp;MC_HOME&amp;nbsp;.../memCompiler&lt;/pre&gt;&lt;p&gt;bash 等价用 &lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;export&lt;/code&gt;。&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;四、License：本机与 Floating&lt;/span&gt;&lt;/p&gt;&lt;p&gt;MC2 用 FlexLM，vendor daemon 一般是 &lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;interrad&lt;/code&gt;。&lt;/p&gt;&lt;p&gt;&lt;strong&gt;本机启动（nodelock / 本机当 server）&lt;/strong&gt;&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;FLEX=$MC2_INSTALL_DIR/aux/flexlm/amd64_re3
$FLEX/lmgrd&amp;nbsp;-c&amp;nbsp;/path/to/license.dat&amp;nbsp;-l&amp;nbsp;license.log
$FLEX/lmutil&amp;nbsp;lmstat&amp;nbsp;-c&amp;nbsp;/path/to/license.dat&amp;nbsp;-a&lt;/pre&gt;&lt;p&gt;检查点：&lt;/p&gt;&lt;ul class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;&lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;SERVER&lt;/code&gt; 行 hostname / hostid 与本机一致（常用网卡 MAC，无冒号大写，如 &lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;9C2DCD88B3E6&lt;/code&gt;）&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;虚拟机/容器若 &lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;lmhostid&lt;/code&gt; 为空，需保证有真正 eth 接口，或按签发时绑定的 MAC 配 dummy/主网卡&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;license.dat&lt;/code&gt; 必须是 LF 换行；Windows 拷过来的 CRLF 会导致校验失败&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;feature 至少要有 &lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;MC2-Main&lt;/code&gt;、&lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;MC2-CLV&lt;/code&gt;；出 GDS/SPICE 还要 &lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;MC2-CPV&lt;/code&gt;；以及对应库如 &lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;MC2-tsn7_spmbsram&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;strong&gt;Floating（推荐公司统一 license server）&lt;/strong&gt;&lt;/p&gt;&lt;ul class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;&lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;install.txt&lt;/code&gt; 第 2 行仍写一个本地 &lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;license.dat&lt;/code&gt; 路径（脚本按文件路径检查），不要直接写 &lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;27000@server&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;安装完成后&lt;strong&gt;不要&lt;/strong&gt;再在本机起 &lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;lmgrd&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;跑编译器前覆盖环境变量：&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;setenv&amp;nbsp;LM_LICENSE_FILE&amp;nbsp;27088@your_license_server
#&amp;nbsp;或&amp;nbsp;export&amp;nbsp;LM_LICENSE_FILE=27088@your_license_server
lmutil&amp;nbsp;lmstat&amp;nbsp;-c&amp;nbsp;27088@your_license_server&amp;nbsp;-a&lt;/pre&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;五、config.txt：怎么描述一颗宏&lt;/span&gt;&lt;/p&gt;&lt;p&gt;默认读当前目录 &lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;config.txt&lt;/code&gt;，每行一个实例：&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;{WordDepth}x{WordWidth}m{Mux}{Seg}&lt;/pre&gt;&lt;p&gt;示例：&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;4224x8m16t
2048x32m8t
4096x16m16q
8192x8m16q&lt;/pre&gt;&lt;p&gt;&lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;4224x8m16t&lt;/code&gt; 表示：NWORD=4224，NBIT=8，NMUX=16，Segmentation=T。默认 LVT + TSMC 命名时，大致得到类似：&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;TS1N7MBLVTA4224X8M16TWBZHOCP&lt;/pre&gt;&lt;p&gt;自定义配置文件：&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;./tsn7_spmbsram_130a.exe&amp;nbsp;-file&amp;nbsp;my_macros.txt&lt;/pre&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;六、SPMBSRAM 合法尺寸表（必须落在表内）&lt;/span&gt;&lt;/p&gt;&lt;table border=&quot;1&quot; cellpadding=&quot;6&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse:collapse;width:100%;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;th&gt;SEG&lt;/th&gt;&lt;th&gt;Mux&lt;/th&gt;&lt;th&gt;Word Depth&lt;/th&gt;&lt;th&gt;步进&lt;/th&gt;&lt;th&gt;Word Width&lt;/th&gt;&lt;th&gt;步进&lt;/th&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;T&lt;/td&gt;&lt;td&gt;4&lt;/td&gt;&lt;td&gt;512–2048&lt;/td&gt;&lt;td&gt;16&lt;/td&gt;&lt;td&gt;8–144&lt;/td&gt;&lt;td&gt;1&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;T&lt;/td&gt;&lt;td&gt;8&lt;/td&gt;&lt;td&gt;1024–4096&lt;/td&gt;&lt;td&gt;32&lt;/td&gt;&lt;td&gt;8–72&lt;/td&gt;&lt;td&gt;1&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;T&lt;/td&gt;&lt;td&gt;16&lt;/td&gt;&lt;td&gt;2048–8192&lt;/td&gt;&lt;td&gt;64&lt;/td&gt;&lt;td&gt;8–39&lt;/td&gt;&lt;td&gt;1&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Q&lt;/td&gt;&lt;td&gt;4&lt;/td&gt;&lt;td&gt;512–4096&lt;/td&gt;&lt;td&gt;16&lt;/td&gt;&lt;td&gt;8–144&lt;/td&gt;&lt;td&gt;1&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Q&lt;/td&gt;&lt;td&gt;8&lt;/td&gt;&lt;td&gt;1024–8192&lt;/td&gt;&lt;td&gt;32&lt;/td&gt;&lt;td&gt;8–72&lt;/td&gt;&lt;td&gt;1&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Q&lt;/td&gt;&lt;td&gt;16&lt;/td&gt;&lt;td&gt;2048–16384&lt;/td&gt;&lt;td&gt;64&lt;/td&gt;&lt;td&gt;8–39&lt;/td&gt;&lt;td&gt;1&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;&lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;T&lt;/code&gt;/&lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;Q&lt;/code&gt; 是 bitline segment，影响速度与面积。超范围或步进不对，编译器会直接拒。&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;七、常用命令行选项与命名&lt;/span&gt;&lt;/p&gt;&lt;table border=&quot;1&quot; cellpadding=&quot;6&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse:collapse;width:100%;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;th&gt;选项&lt;/th&gt;&lt;th&gt;作用&lt;/th&gt;&lt;th&gt;默认&lt;/th&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;-DualRail&lt;/code&gt;&lt;/td&gt;&lt;td&gt;双电源轨&lt;/td&gt;&lt;td&gt;关&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;-ULVT&lt;/code&gt; / &lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;-SVT&lt;/code&gt;&lt;/td&gt;&lt;td&gt;外围多数 Vt&lt;/td&gt;&lt;td&gt;LVT&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;-NonBWEB&lt;/code&gt;&lt;/td&gt;&lt;td&gt;关 bit-write&lt;/td&gt;&lt;td&gt;开 BWEB&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;-NonBIST&lt;/code&gt;&lt;/td&gt;&lt;td&gt;关 BIST&lt;/td&gt;&lt;td&gt;开&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;-NonTsmcName&lt;/code&gt;&lt;/td&gt;&lt;td&gt;自定义实例名&lt;/td&gt;&lt;td&gt;TSMC 命名&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;-PVT&lt;/code&gt; / &lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;-LISTPVT&lt;/code&gt;&lt;/td&gt;&lt;td&gt;指定/列出 corner&lt;/td&gt;&lt;td&gt;—&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;-GDSII&lt;/code&gt; &lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;-LEF&lt;/code&gt; &lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;-VERILOG&lt;/code&gt; &lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;-NLDM&lt;/code&gt; &lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;-CCS&lt;/code&gt; …&lt;/td&gt;&lt;td&gt;只出某类 kit&lt;/td&gt;&lt;td&gt;全套&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;./tsn7_spmbsram_130a.exe&amp;nbsp;-file&amp;nbsp;config.txt
./tsn7_spmbsram_130a.exe&amp;nbsp;-DualRail&amp;nbsp;-SVT&amp;nbsp;-file&amp;nbsp;config.txt
./tsn7_spmbsram_130a.exe&amp;nbsp;-NonBIST&amp;nbsp;-NonBWEB&amp;nbsp;-file&amp;nbsp;config.txt&amp;nbsp;-LEF&amp;nbsp;-VERILOG&lt;/pre&gt;&lt;p&gt;命名解读（SPMB 标准密度）：&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;ts1n7mb{vt}a{depth}x{width}m{mux}{seg}wbzhodcp&lt;/pre&gt;&lt;ul class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;&lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;mb&lt;/code&gt; + &lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;a&lt;/code&gt;：SPMB + 标准密度 bitcell&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;lvt&lt;/code&gt;/&lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;ulvt&lt;/code&gt;/&lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;svt&lt;/code&gt;：外围 Vt&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;后缀字母大致对应 bit-write / BIST / SWT / DSLP / SD / DualRail / ColRed 等特征（以 databook 表为准）&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;输出目录类似 &lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;ts1n7mblvta4224x8m16twbzhocp_130a/&lt;/code&gt;，内含 LEF、lib、verilog、gds 等；同目录的 &lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;*.cfg&lt;/code&gt; 是编译展开结果，一般不必手改。&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;八、N4 / N4C 怎么对接&lt;/span&gt;&lt;/p&gt;&lt;p&gt;流程与 N7 相同，差别主要在&lt;strong&gt;引擎版本&lt;/strong&gt;和&lt;strong&gt;工艺库包&lt;/strong&gt;：&lt;/p&gt;&lt;ul class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;N4C 常见引擎包为较新的 MC2（例如 &lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;MC2_2017.11.00.r&lt;/code&gt;），FlexLM 工具链仍在 &lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;aux/flexlm/&amp;lt;platform&amp;gt;/&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Compiler 包命名仍是 &lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;tsn4*&lt;/code&gt; / 对应 &lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;.mco&lt;/code&gt; + &lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;*_xxx.exe&lt;/code&gt; + &lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;config.txt&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;install.txt&lt;/code&gt; 三行语义不变；把路径换成 N4 的 memCompiler / license / .mco 目录即可&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;尺寸表、命名、PVT、选项以该工艺对应 Databook 为准，不可直接套用上面 N7 SPMB 表&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;License feature 名会变成 &lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;MC2-tsn4_...&lt;/code&gt; 一类，仍建议用 floating：&lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;LM_LICENSE_FILE=port@server&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;最短对照：&lt;/p&gt;&lt;table border=&quot;1&quot; cellpadding=&quot;6&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse:collapse;width:100%;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;th&gt;项&lt;/th&gt;&lt;th&gt;N7 示例&lt;/th&gt;&lt;th&gt;N4C 注意点&lt;/th&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;引擎&lt;/td&gt;&lt;td&gt;MC2_2015.12.01.k&lt;/td&gt;&lt;td&gt;常用 MC2_2017.11.00.r 等更新版本&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;库包&lt;/td&gt;&lt;td&gt;tsn7_spmbsram_*&lt;/td&gt;&lt;td&gt;对应 tsn4* SRAM/RF 编译器包&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;配置&lt;/td&gt;&lt;td&gt;depth x width m mux seg&lt;/td&gt;&lt;td&gt;格式同类，范围看 N4 databook&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;License&lt;/td&gt;&lt;td&gt;MC2-tsn7_*&lt;/td&gt;&lt;td&gt;MC2-tsn4_* + MC2-Main/CLV/CPV&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;九、推荐最短流程（Checklist）&lt;/span&gt;&lt;/p&gt;&lt;ol class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p&gt;按 databook 选 depth / width / mux / seg，写入 &lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;config.txt&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;写好三行 &lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;install.txt&lt;/code&gt;，装好 MC2（必要时 &lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;./install.sh&lt;/code&gt;）&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;准备好 license：本机 &lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;lmgrd&lt;/code&gt; 或 floating &lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;port@server&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;source cshrc.mc2&lt;/code&gt;（或 bash export），&lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;lmstat&lt;/code&gt; 确认 feature UP&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;运行 &lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;./tsn7_spmbsram_&amp;lt;ver&amp;gt;.exe&lt;/code&gt;（或 N4 对应 exe），按需加 &lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;-DualRail&lt;/code&gt;/&lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;-SVT&lt;/code&gt;/&lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;-NonBIST&lt;/code&gt; 等&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;检查输出目录中的 LEF / lib / verilog / gds，再进后端与仿真流程&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;十、排障速查&lt;/span&gt;&lt;/p&gt;&lt;table border=&quot;1&quot; cellpadding=&quot;6&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse:collapse;width:100%;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;th&gt;现象&lt;/th&gt;&lt;th&gt;处理&lt;/th&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;install.sh: 未找到命令&lt;/code&gt;&lt;/td&gt;&lt;td&gt;改用 &lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;./install.sh&lt;/code&gt; 或修 &lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;mc2_install.pl&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;LM_LICENSE_FILE&lt;/code&gt; 指到 .mco&lt;/td&gt;&lt;td&gt;改回 license.dat 或 port@server&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;hostid 空 / 不匹配&lt;/td&gt;&lt;td&gt;核对 SERVER MAC；必要时配 eth0&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Invalid license key / No features&lt;/td&gt;&lt;td&gt;检查 CRLF、是否被改过、是否按当前 hostid 重签&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;尺寸非法&lt;/td&gt;&lt;td&gt;对照 SEG/Mux 表的范围与步进&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;缺 CPV feature&lt;/td&gt;&lt;td&gt;只能出逻辑视图，GDS/SPICE 需要 CPV&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;参考：TSMC &lt;code style=&quot;background:#f5f2f0;padding:1px 4px;border-radius:3px;font-family:Consolas,Monaco,monospace;&quot;&gt;DB_TSN7_IDR_SRAM_COMPILER_DATABOOK&lt;/code&gt;（Compiler Installation / Batch mode 章节）。N4 请换对应工艺 Databook。本文只整理操作方法，不涉及任何 license 密钥内容；请使用贵司正规签发的 FlexLM 文件。&lt;/p&gt;</description><pubDate>Thu, 19 Nov 2026 08:15:09 +0800</pubDate></item><item><title>ETX Session卡死，有办法救回来吗？</title><link>https://www.fasteda.cn/post/466.html</link><description>ETX 会话卡死了，有办法救回来吗？以及怎么避免这种卡死的发生？</description><pubDate>Sat, 07 Nov 2026 18:16:04 +0800</pubDate></item><item><title>Redhat、Centos、Rocky8安装常用EDA工具系统依赖库</title><link>https://www.fasteda.cn/post/463.html</link><description>&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-top: 16px; margin-bottom: 16px; color: rgb(15, 17, 21); font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Open Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; text-wrap-mode: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;用途&lt;/span&gt;&lt;span class=&quot;&quot;&gt;：为 Rocky Linux 8.10 x86_64 上的 Synopsys / Cadence / Siemens EDA 工具准备 OS 级基础依赖（编译器、64 位运行时、X11/OpenGL、CAD 基础设施），并生成安装日志与依赖报告。&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-top: 16px; margin-bottom: 16px; color: rgb(15, 17, 21); font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Open Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; text-wrap-mode: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;内容说明&lt;/span&gt;&lt;span class=&quot;&quot;&gt;：&lt;/span&gt;&lt;/p&gt;&lt;ul style=&quot;margin-top: 16px; margin-bottom: 16px; padding-left: 18px; color: rgb(15, 17, 21); font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Open Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; text-wrap-mode: wrap; background-color: rgb(255, 255, 255);&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-bottom: 0px; margin-top: 0px !important;&quot;&gt;&lt;span class=&quot;&quot;&gt;root / OS / 架构检查提前到日志目录创建之前，普通用户执行会直接看到权限提示。&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-bottom: 0px; margin-top: 0px !important;&quot;&gt;&lt;span class=&quot;&quot;&gt;DNF 元数据刷新加了容错，失败记录后继续，不再因&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; font-variant-emoji: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;set -e&lt;/code&gt;&lt;span class=&quot;&quot;&gt;&amp;nbsp;中断。&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-bottom: 0px; margin-top: 0px !important;&quot;&gt;&lt;span class=&quot;&quot;&gt;必需动态库（&lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; font-variant-emoji: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;libc&lt;/code&gt;&lt;span class=&quot;&quot;&gt;、&lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; font-variant-emoji: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;libstdc++&lt;/code&gt;&lt;span class=&quot;&quot;&gt;、&lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; font-variant-emoji: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;libgcc_s&lt;/code&gt;&lt;span class=&quot;&quot;&gt;、&lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; font-variant-emoji: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;libnsl.so.1&lt;/code&gt;&lt;span class=&quot;&quot;&gt;、&lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; font-variant-emoji: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;libssl.so.1.1&lt;/code&gt;&lt;span class=&quot;&quot;&gt;、&lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; font-variant-emoji: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;libcrypto.so.1.1&lt;/code&gt;&lt;span class=&quot;&quot;&gt;）缺失会真正导致最终失败，不再出现“报告 SUCCESS 但库缺失”。&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-bottom: 0px; margin-top: 0px !important;&quot;&gt;&lt;span class=&quot;&quot;&gt;必需软件包拆成多个小事务，单包不可用只影响所在小组。&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-bottom: 0px; margin-top: 0px !important;&quot;&gt;&lt;span class=&quot;&quot;&gt;可选包保留 DNF 错误输出到主日志，最终以逐包&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; font-variant-emoji: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;rpm -q&lt;/code&gt;&lt;span class=&quot;&quot;&gt;&amp;nbsp;为准。&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-bottom: 0px; margin-top: 0px !important;&quot;&gt;&lt;span class=&quot;&quot;&gt;Motif 只列&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; font-variant-emoji: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;motif&lt;/code&gt;&lt;span class=&quot;&quot;&gt;（已&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; font-variant-emoji: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;Obsoletes: openmotif&lt;/code&gt;&lt;span class=&quot;&quot;&gt;）；移除&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; font-variant-emoji: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;compat-openssl11&lt;/code&gt;&lt;span class=&quot;&quot;&gt;（Rocky 8 原生即 1.1.1k），保留&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; font-variant-emoji: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;compat-openssl10&lt;/code&gt;&lt;span class=&quot;&quot;&gt;&amp;nbsp;供旧工具&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; font-variant-emoji: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;.so.10&lt;/code&gt;&lt;span class=&quot;&quot;&gt;&amp;nbsp;需求。&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-bottom: 0px; margin-top: 0px !important;&quot;&gt;&lt;span class=&quot;&quot;&gt;DB 4.7 兼容链接仍默认关闭，启用时用&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; font-variant-emoji: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;readelf -h&lt;/code&gt;&lt;span class=&quot;&quot;&gt;&amp;nbsp;验证目标为 x86-64 ELF。&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-top: 16px; margin-bottom: 16px; color: rgb(15, 17, 21); font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Open Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; text-wrap-mode: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;使用方法&lt;/span&gt;&lt;span class=&quot;&quot;&gt;：&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-top: 16px; margin-bottom: 16px; color: rgb(15, 17, 21); font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Open Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; text-wrap-mode: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-text&quot;&gt;chmod&amp;nbsp;+x&amp;nbsp;rocky810-eda-base.sh
sudo&amp;nbsp;./rocky810-eda-base.sh
#&amp;nbsp;需要&amp;nbsp;DB&amp;nbsp;4.7&amp;nbsp;兼容链接时（有&amp;nbsp;ABI&amp;nbsp;风险，非厂商支持）
sudo&amp;nbsp;EDA_DB47_COMPAT=1&amp;nbsp;./rocky810-eda-base.sh
#&amp;nbsp;必装组失败即停（默认是记录后继续）
sudo&amp;nbsp;EDA_CONTINUE_ON_REQUIRED_FAIL=0&amp;nbsp;./rocky810-eda-base.sh&lt;/pre&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-top: 16px; margin-bottom: 16px; color: rgb(15, 17, 21); font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Open Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; text-wrap-mode: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;注意事项&lt;/span&gt;&lt;span class=&quot;&quot;&gt;：&lt;/span&gt;&lt;/p&gt;&lt;ul style=&quot;margin-top: 16px; padding-left: 18px; color: rgb(15, 17, 21); font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Open Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; text-wrap-mode: wrap; background-color: rgb(255, 255, 255);&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-bottom: 0px; margin-top: 0px !important;&quot;&gt;&lt;span class=&quot;&quot;&gt;i686 库默认可选，是否安装应由&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; font-variant-emoji: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;readelf -d &amp;lt;工具二进制&amp;gt; | grep NEEDED&lt;/code&gt;&lt;span class=&quot;&quot;&gt;&amp;nbsp;和&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;box-sizing: border-box; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; font-variant-emoji: normal; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-family: Menlo, Monaco, Consolas, &amp;quot;Cascadia Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;JetBrains Mono&amp;quot;, &amp;quot;Fira Code&amp;quot;, Cousine, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, sans-serif, system-ui; background-color: rgb(235, 238, 242); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;&quot;&gt;ldd&lt;/code&gt;&lt;span class=&quot;&quot;&gt;&amp;nbsp;决定，不要盲目全装。&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-bottom: 0px; margin-top: 0px !important;&quot;&gt;&lt;span class=&quot;&quot;&gt;DB 4.7 → 5.3 软链接只是链接器层面的变通，不保证 ABI 兼容。&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-bottom: 0px; margin-top: 0px !important;&quot;&gt;&lt;span class=&quot;&quot;&gt;脚本已在真实 Rocky 8.10 主机上执行过，包名是否全部存在于你启用的仓库、依赖是否冲突，但仍需单独确认。&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-top: 16px; margin-bottom: 16px; color: rgb(15, 17, 21); font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Open Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; text-wrap-mode: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span class=&quot;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;color: #0F1115; font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Open Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; text-wrap-mode: wrap; font-weight: 600;&quot;&gt;脚本内容&lt;/span&gt;&lt;span class=&quot;&quot; style=&quot;color: #0F1115; font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Open Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; text-wrap-mode: wrap;&quot;&gt;：&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-top: 16px; margin-bottom: 16px; color: rgb(15, 17, 21); font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Open Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; text-wrap-mode: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-text&quot;&gt;#!/usr/bin/env&amp;nbsp;bash
#
#&amp;nbsp;el8&amp;nbsp;(Rocky&amp;nbsp;/&amp;nbsp;RHEL&amp;nbsp;/&amp;nbsp;AlmaLinux&amp;nbsp;8.x)&amp;nbsp;x86_64&amp;nbsp;-&amp;nbsp;EDA&amp;nbsp;base&amp;nbsp;runtime&amp;nbsp;preparation
#&amp;nbsp;For&amp;nbsp;Synopsys&amp;nbsp;/&amp;nbsp;Cadence&amp;nbsp;/&amp;nbsp;Siemens&amp;nbsp;EDA&amp;nbsp;environments.
#
#&amp;nbsp;Create&amp;nbsp;by&amp;nbsp;Fasteda.cn
#
#&amp;nbsp;Revision&amp;nbsp;notes:
#&amp;nbsp;&amp;nbsp;&amp;nbsp;-&amp;nbsp;root&amp;nbsp;check&amp;nbsp;before&amp;nbsp;any&amp;nbsp;log-directory&amp;nbsp;creation.
#&amp;nbsp;&amp;nbsp;&amp;nbsp;-&amp;nbsp;DNF&amp;nbsp;metadata&amp;nbsp;refresh&amp;nbsp;wrapped&amp;nbsp;with&amp;nbsp;explicit&amp;nbsp;error&amp;nbsp;handling.
#&amp;nbsp;&amp;nbsp;&amp;nbsp;-&amp;nbsp;Missing&amp;nbsp;REQUIRED&amp;nbsp;runtime&amp;nbsp;libraries&amp;nbsp;fail&amp;nbsp;the&amp;nbsp;final&amp;nbsp;status.
#&amp;nbsp;&amp;nbsp;&amp;nbsp;-&amp;nbsp;Required&amp;nbsp;package&amp;nbsp;groups&amp;nbsp;split&amp;nbsp;into&amp;nbsp;smaller&amp;nbsp;transactions.
#&amp;nbsp;&amp;nbsp;&amp;nbsp;-&amp;nbsp;Optional&amp;nbsp;installs&amp;nbsp;are&amp;nbsp;per-package&amp;nbsp;(el8&amp;nbsp;dnf&amp;nbsp;has&amp;nbsp;no
#&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;`dnf&amp;nbsp;install&amp;nbsp;--skip-unavailable`;&amp;nbsp;that&amp;nbsp;flag&amp;nbsp;is&amp;nbsp;for&amp;nbsp;history&amp;nbsp;replay).
#&amp;nbsp;&amp;nbsp;&amp;nbsp;-&amp;nbsp;Motif&amp;nbsp;/&amp;nbsp;OpenSSL&amp;nbsp;compat&amp;nbsp;aligned&amp;nbsp;with&amp;nbsp;Rocky&amp;nbsp;8&amp;nbsp;reality:
#&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;*&amp;nbsp;motif&amp;nbsp;obsoletes&amp;nbsp;openmotif;&amp;nbsp;only&amp;nbsp;motif&amp;nbsp;is&amp;nbsp;listed.
#&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;*&amp;nbsp;compat-openssl11&amp;nbsp;removed&amp;nbsp;(native&amp;nbsp;OpenSSL&amp;nbsp;is&amp;nbsp;already&amp;nbsp;1.1.1k).
#&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;*&amp;nbsp;motif&amp;nbsp;+&amp;nbsp;compat-openssl10&amp;nbsp;are&amp;nbsp;REQUIRED&amp;nbsp;for&amp;nbsp;typical&amp;nbsp;EDA&amp;nbsp;GUI/legacy.
#&amp;nbsp;&amp;nbsp;&amp;nbsp;-&amp;nbsp;Bare&amp;nbsp;package&amp;nbsp;name&amp;nbsp;`libelf`&amp;nbsp;removed;&amp;nbsp;use&amp;nbsp;elfutils-libelf&amp;nbsp;only.
#&amp;nbsp;&amp;nbsp;&amp;nbsp;-&amp;nbsp;Common&amp;nbsp;GUI/media&amp;nbsp;deps&amp;nbsp;added&amp;nbsp;(gtk2,&amp;nbsp;libpng12,&amp;nbsp;libxslt,&amp;nbsp;alsa,&amp;nbsp;cups,&amp;nbsp;LSB).
#&amp;nbsp;&amp;nbsp;&amp;nbsp;-&amp;nbsp;OS&amp;nbsp;gate&amp;nbsp;accepts&amp;nbsp;rocky/rhel/almalinux&amp;nbsp;on&amp;nbsp;el8&amp;nbsp;(default&amp;nbsp;still&amp;nbsp;prefers&amp;nbsp;8.10).
#&amp;nbsp;&amp;nbsp;&amp;nbsp;-&amp;nbsp;Berkeley&amp;nbsp;DB&amp;nbsp;target&amp;nbsp;validated&amp;nbsp;with&amp;nbsp;readelf&amp;nbsp;-h,&amp;nbsp;not&amp;nbsp;just&amp;nbsp;`file`.
#&amp;nbsp;&amp;nbsp;&amp;nbsp;-&amp;nbsp;DB47&amp;nbsp;compat&amp;nbsp;remains&amp;nbsp;opt-in&amp;nbsp;and&amp;nbsp;OFF&amp;nbsp;by&amp;nbsp;default.
#
set&amp;nbsp;-Eeuo&amp;nbsp;pipefail
#&amp;nbsp;------------------------------------------------------------
#&amp;nbsp;0.&amp;nbsp;Root&amp;nbsp;check&amp;nbsp;FIRST&amp;nbsp;—&amp;nbsp;before&amp;nbsp;touching&amp;nbsp;/var/log
#&amp;nbsp;------------------------------------------------------------
if&amp;nbsp;[[&amp;nbsp;&amp;quot;${EUID}&amp;quot;&amp;nbsp;-ne&amp;nbsp;0&amp;nbsp;]];&amp;nbsp;then
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&amp;quot;[ERROR]&amp;nbsp;Run&amp;nbsp;as&amp;nbsp;root:&amp;nbsp;sudo&amp;nbsp;$0&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;exit&amp;nbsp;1
fi
if&amp;nbsp;[[&amp;nbsp;!&amp;nbsp;-r&amp;nbsp;/etc/os-release&amp;nbsp;]];&amp;nbsp;then
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&amp;quot;[ERROR]&amp;nbsp;/etc/os-release&amp;nbsp;not&amp;nbsp;found.&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;exit&amp;nbsp;1
fi
#&amp;nbsp;shellcheck&amp;nbsp;disable=SC1091
source&amp;nbsp;/etc/os-release
case&amp;nbsp;&amp;quot;${ID:-}&amp;quot;&amp;nbsp;in
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;rocky|rhel|almalinux)&amp;nbsp;;;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;*)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&amp;quot;[ERROR]&amp;nbsp;Unsupported&amp;nbsp;distribution&amp;nbsp;ID=&amp;#39;${ID:-}&amp;#39;.&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&amp;quot;[ERROR]&amp;nbsp;Supported:&amp;nbsp;rocky,&amp;nbsp;rhel,&amp;nbsp;almalinux&amp;nbsp;(el8).&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;cat&amp;nbsp;/etc/os-release
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;exit&amp;nbsp;1
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;;;
esac
#&amp;nbsp;Prefer&amp;nbsp;exact&amp;nbsp;8.10;&amp;nbsp;allow&amp;nbsp;other&amp;nbsp;8.x&amp;nbsp;with&amp;nbsp;a&amp;nbsp;warning&amp;nbsp;(binary-compatible&amp;nbsp;family).
if&amp;nbsp;[[&amp;nbsp;&amp;quot;${VERSION_ID:-}&amp;quot;&amp;nbsp;!=&amp;nbsp;&amp;quot;8.10&amp;quot;&amp;nbsp;]];&amp;nbsp;then
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if&amp;nbsp;[[&amp;nbsp;&amp;quot;${VERSION_ID:-}&amp;quot;&amp;nbsp;==&amp;nbsp;8.*&amp;nbsp;]]&amp;nbsp;||&amp;nbsp;[[&amp;nbsp;&amp;quot;${PLATFORM_ID:-}&amp;quot;&amp;nbsp;==&amp;nbsp;&amp;quot;platform:el8&amp;quot;&amp;nbsp;]];&amp;nbsp;then
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&amp;quot;[WARN]&amp;nbsp;Target&amp;nbsp;is&amp;nbsp;${PRETTY_NAME:-unknown}&amp;nbsp;(VERSION_ID=${VERSION_ID:-}).&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&amp;quot;[WARN]&amp;nbsp;Script&amp;nbsp;is&amp;nbsp;validated&amp;nbsp;primarily&amp;nbsp;on&amp;nbsp;8.10;&amp;nbsp;continuing.&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;else
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&amp;quot;[ERROR]&amp;nbsp;This&amp;nbsp;script&amp;nbsp;targets&amp;nbsp;el8&amp;nbsp;(preferably&amp;nbsp;8.10).&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;cat&amp;nbsp;/etc/os-release
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;exit&amp;nbsp;1
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;fi
fi
if&amp;nbsp;[[&amp;nbsp;&amp;quot;$(uname&amp;nbsp;-m)&amp;quot;&amp;nbsp;!=&amp;nbsp;&amp;quot;x86_64&amp;quot;&amp;nbsp;]];&amp;nbsp;then
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&amp;quot;[ERROR]&amp;nbsp;Only&amp;nbsp;x86_64&amp;nbsp;is&amp;nbsp;supported.&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;exit&amp;nbsp;1
fi
#&amp;nbsp;------------------------------------------------------------
#&amp;nbsp;1.&amp;nbsp;Configuration&amp;nbsp;(safe&amp;nbsp;to&amp;nbsp;set&amp;nbsp;after&amp;nbsp;root&amp;nbsp;check)
#&amp;nbsp;------------------------------------------------------------
LOG_DIR=&amp;quot;/var/log/eda-install&amp;quot;
TIMESTAMP=&amp;quot;$(date&amp;nbsp;+%Y%m%d_%H%M%S)&amp;quot;
LOG_FILE=&amp;quot;${LOG_DIR}/eda_install_${TIMESTAMP}.log&amp;quot;
REPORT_FILE=&amp;quot;${LOG_DIR}/eda_report_${TIMESTAMP}.txt&amp;quot;
EDA_DB47_COMPAT=&amp;quot;${EDA_DB47_COMPAT:-0}&amp;quot;
EDA_CONTINUE_ON_REQUIRED_FAIL=&amp;quot;${EDA_CONTINUE_ON_REQUIRED_FAIL:-1}&amp;quot;
FAILED_REQUIRED=()
FAILED_OPTIONAL=()
INSTALLED_OPTIONAL=()
CHECK_RESULTS=()
MISSING_REQUIRED_LIBS=()
mkdir&amp;nbsp;-p&amp;nbsp;&amp;quot;$LOG_DIR&amp;quot;
exec&amp;nbsp;&amp;gt;&amp;nbsp;&amp;gt;(tee&amp;nbsp;-a&amp;nbsp;&amp;quot;$LOG_FILE&amp;quot;)&amp;nbsp;2&amp;gt;&amp;amp;1
on_error()&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;local&amp;nbsp;rc=$?
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&amp;quot;[ERROR]&amp;nbsp;Unexpected&amp;nbsp;failure&amp;nbsp;(exit=${rc},&amp;nbsp;line=${BASH_LINENO[0]:-unknown}).&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&amp;quot;[ERROR]&amp;nbsp;See&amp;nbsp;log:&amp;nbsp;$LOG_FILE&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;exit&amp;nbsp;&amp;quot;$rc&amp;quot;
}
trap&amp;nbsp;on_error&amp;nbsp;ERR
echo&amp;nbsp;&amp;quot;============================================================&amp;quot;
echo&amp;nbsp;&amp;quot;&amp;nbsp;el8&amp;nbsp;EDA&amp;nbsp;Base&amp;nbsp;Environment&amp;nbsp;Installation&amp;quot;
echo&amp;nbsp;&amp;quot;============================================================&amp;quot;
echo&amp;nbsp;&amp;quot;OS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;:&amp;nbsp;${PRETTY_NAME:-el8}&amp;quot;
echo&amp;nbsp;&amp;quot;Architecture&amp;nbsp;:&amp;nbsp;$(uname&amp;nbsp;-m)&amp;quot;
echo&amp;nbsp;&amp;quot;Hostname&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;:&amp;nbsp;$(hostname)&amp;quot;
echo&amp;nbsp;&amp;quot;Start&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;:&amp;nbsp;$(date)&amp;quot;
echo&amp;nbsp;&amp;quot;Log&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;:&amp;nbsp;$LOG_FILE&amp;quot;
echo&amp;nbsp;&amp;quot;DB47&amp;nbsp;compat&amp;nbsp;&amp;nbsp;:&amp;nbsp;${EDA_DB47_COMPAT}&amp;nbsp;(0=off,&amp;nbsp;1=opt-in)&amp;quot;
echo&amp;nbsp;&amp;quot;Required&amp;nbsp;fail:&amp;nbsp;continue=${EDA_CONTINUE_ON_REQUIRED_FAIL}&amp;nbsp;(0=fail-fast)&amp;quot;
#&amp;nbsp;------------------------------------------------------------
#&amp;nbsp;Helper&amp;nbsp;functions
#&amp;nbsp;------------------------------------------------------------
#&amp;nbsp;True&amp;nbsp;if&amp;nbsp;rpm&amp;nbsp;name&amp;nbsp;or&amp;nbsp;name.arch&amp;nbsp;is&amp;nbsp;installed.
rpm_is_installed()&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;local&amp;nbsp;pkg=&amp;quot;$1&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;rpm&amp;nbsp;-q&amp;nbsp;&amp;quot;$pkg&amp;quot;&amp;nbsp;&amp;gt;/dev/null&amp;nbsp;2&amp;gt;&amp;amp;1
}
install_required()&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;local&amp;nbsp;group=&amp;quot;$1&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;shift
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&amp;quot;&amp;gt;&amp;gt;&amp;gt;&amp;nbsp;REQUIRED:&amp;nbsp;${group}&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if&amp;nbsp;dnf&amp;nbsp;install&amp;nbsp;-y&amp;nbsp;&amp;quot;$@&amp;quot;;&amp;nbsp;then
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&amp;quot;[OK]&amp;nbsp;${group}&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;else
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&amp;quot;[ERROR]&amp;nbsp;Failed&amp;nbsp;group:&amp;nbsp;${group}&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;FAILED_REQUIRED+=(&amp;quot;$group&amp;quot;)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if&amp;nbsp;[[&amp;nbsp;&amp;quot;$EDA_CONTINUE_ON_REQUIRED_FAIL&amp;quot;&amp;nbsp;==&amp;nbsp;&amp;quot;0&amp;quot;&amp;nbsp;]];&amp;nbsp;then
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&amp;quot;[FATAL]&amp;nbsp;Aborting&amp;nbsp;on&amp;nbsp;required&amp;nbsp;group&amp;nbsp;failure.&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;exit&amp;nbsp;1
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;fi
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;fi
}
#&amp;nbsp;el8&amp;nbsp;DNF&amp;nbsp;4.x:&amp;nbsp;do&amp;nbsp;NOT&amp;nbsp;use&amp;nbsp;`dnf&amp;nbsp;install&amp;nbsp;--skip-unavailable`
#&amp;nbsp;(that&amp;nbsp;flag&amp;nbsp;belongs&amp;nbsp;to&amp;nbsp;history&amp;nbsp;replay,&amp;nbsp;not&amp;nbsp;install).
#&amp;nbsp;Install&amp;nbsp;each&amp;nbsp;package&amp;nbsp;individually&amp;nbsp;so&amp;nbsp;one&amp;nbsp;missing&amp;nbsp;NVR&amp;nbsp;cannot&amp;nbsp;abort&amp;nbsp;the&amp;nbsp;rest.
install_optional_group()&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;local&amp;nbsp;group=&amp;quot;$1&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;shift
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&amp;quot;&amp;gt;&amp;gt;&amp;gt;&amp;nbsp;OPTIONAL&amp;nbsp;group:&amp;nbsp;${group}&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;local&amp;nbsp;pkg&amp;nbsp;rc
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;for&amp;nbsp;pkg&amp;nbsp;in&amp;nbsp;&amp;quot;$@&amp;quot;;&amp;nbsp;do
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if&amp;nbsp;rpm_is_installed&amp;nbsp;&amp;quot;$pkg&amp;quot;;&amp;nbsp;then
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;INSTALLED_OPTIONAL+=(&amp;quot;$pkg&amp;quot;)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&amp;quot;&amp;nbsp;&amp;nbsp;[PRESENT]&amp;nbsp;$pkg&amp;nbsp;(already&amp;nbsp;installed)&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;continue
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;fi
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&amp;quot;&amp;nbsp;&amp;nbsp;[TRY&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;]&amp;nbsp;$pkg&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;#&amp;nbsp;With&amp;nbsp;set&amp;nbsp;-E,&amp;nbsp;a&amp;nbsp;failing&amp;nbsp;command&amp;nbsp;can&amp;nbsp;still&amp;nbsp;fire&amp;nbsp;ERR&amp;nbsp;even&amp;nbsp;under&amp;nbsp;set&amp;nbsp;+e.
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;#&amp;nbsp;Temporarily&amp;nbsp;clear&amp;nbsp;the&amp;nbsp;ERR&amp;nbsp;trap&amp;nbsp;around&amp;nbsp;expected&amp;nbsp;dnf&amp;nbsp;failures.
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;trap&amp;nbsp;-&amp;nbsp;ERR
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;rc=0
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;dnf&amp;nbsp;install&amp;nbsp;-y&amp;nbsp;&amp;quot;$pkg&amp;quot;&amp;nbsp;||&amp;nbsp;rc=$?
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;trap&amp;nbsp;on_error&amp;nbsp;ERR
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if&amp;nbsp;[[&amp;nbsp;$rc&amp;nbsp;-eq&amp;nbsp;0&amp;nbsp;]]&amp;nbsp;&amp;amp;&amp;amp;&amp;nbsp;rpm_is_installed&amp;nbsp;&amp;quot;$pkg&amp;quot;;&amp;nbsp;then
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;INSTALLED_OPTIONAL+=(&amp;quot;$pkg&amp;quot;)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&amp;quot;&amp;nbsp;&amp;nbsp;[PRESENT]&amp;nbsp;$pkg&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;else
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;FAILED_OPTIONAL+=(&amp;quot;$pkg&amp;quot;)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&amp;quot;&amp;nbsp;&amp;nbsp;[ABSENT&amp;nbsp;]&amp;nbsp;$pkg&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;fi
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;done
}
#&amp;nbsp;Prefer&amp;nbsp;/lib64&amp;nbsp;file&amp;nbsp;presence;&amp;nbsp;fall&amp;nbsp;back&amp;nbsp;to&amp;nbsp;ldconfig&amp;nbsp;-p&amp;nbsp;x86-64&amp;nbsp;entries.
#&amp;nbsp;Plain&amp;nbsp;`grep&amp;nbsp;-F`&amp;nbsp;on&amp;nbsp;ldconfig&amp;nbsp;alone&amp;nbsp;has&amp;nbsp;produced&amp;nbsp;false&amp;nbsp;negatives&amp;nbsp;right&amp;nbsp;after
#&amp;nbsp;large&amp;nbsp;multilib&amp;nbsp;transactions&amp;nbsp;on&amp;nbsp;some&amp;nbsp;el8&amp;nbsp;hosts.
library_found_x86_64()&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;local&amp;nbsp;lib=&amp;quot;$1&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if&amp;nbsp;[[&amp;nbsp;-e&amp;nbsp;&amp;quot;/lib64/${lib}&amp;quot;&amp;nbsp;||&amp;nbsp;-e&amp;nbsp;&amp;quot;/usr/lib64/${lib}&amp;quot;&amp;nbsp;]];&amp;nbsp;then
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return&amp;nbsp;0
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;fi
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ldconfig&amp;nbsp;-p&amp;nbsp;2&amp;gt;/dev/null&amp;nbsp;|&amp;nbsp;grep&amp;nbsp;-F&amp;nbsp;&amp;quot;${lib}&amp;quot;&amp;nbsp;|&amp;nbsp;grep&amp;nbsp;-q&amp;nbsp;&amp;#39;x86-64&amp;#39;
}
check_required_library()&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;local&amp;nbsp;lib=&amp;quot;$1&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if&amp;nbsp;library_found_x86_64&amp;nbsp;&amp;quot;$lib&amp;quot;;&amp;nbsp;then
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&amp;quot;[OK]&amp;nbsp;${lib}&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;CHECK_RESULTS+=(&amp;quot;[OK]&amp;nbsp;${lib}&amp;quot;)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;else
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&amp;quot;[MISSING]&amp;nbsp;${lib}&amp;nbsp;(REQUIRED)&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;CHECK_RESULTS+=(&amp;quot;[MISSING-REQUIRED]&amp;nbsp;${lib}&amp;quot;)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;MISSING_REQUIRED_LIBS+=(&amp;quot;$lib&amp;quot;)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;fi
}
check_optional_library()&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;local&amp;nbsp;lib=&amp;quot;$1&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if&amp;nbsp;library_found_x86_64&amp;nbsp;&amp;quot;$lib&amp;quot;;&amp;nbsp;then
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&amp;quot;[OK]&amp;nbsp;${lib}&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;CHECK_RESULTS+=(&amp;quot;[OK]&amp;nbsp;${lib}&amp;quot;)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;else
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&amp;quot;[OPTIONAL&amp;nbsp;MISSING]&amp;nbsp;${lib}&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;CHECK_RESULTS+=(&amp;quot;[OPTIONAL&amp;nbsp;MISSING]&amp;nbsp;${lib}&amp;quot;)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;fi
}
#&amp;nbsp;------------------------------------------------------------
#&amp;nbsp;2.&amp;nbsp;DNF&amp;nbsp;metadata&amp;nbsp;—&amp;nbsp;explicit&amp;nbsp;error&amp;nbsp;handling,&amp;nbsp;do&amp;nbsp;NOT&amp;nbsp;abort
#&amp;nbsp;------------------------------------------------------------
echo
echo&amp;nbsp;&amp;quot;&amp;gt;&amp;gt;&amp;gt;&amp;nbsp;[1/10]&amp;nbsp;Refreshing&amp;nbsp;DNF&amp;nbsp;metadata&amp;quot;
#&amp;nbsp;PackageKit&amp;nbsp;holding&amp;nbsp;/var/lib/rpm&amp;nbsp;causes:&amp;nbsp;cannot&amp;nbsp;open&amp;nbsp;Packages&amp;nbsp;database&amp;nbsp;(-30969)
if&amp;nbsp;command&amp;nbsp;-v&amp;nbsp;systemctl&amp;nbsp;&amp;gt;/dev/null&amp;nbsp;2&amp;gt;&amp;amp;1;&amp;nbsp;then
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if&amp;nbsp;systemctl&amp;nbsp;is-active&amp;nbsp;--quiet&amp;nbsp;packagekit&amp;nbsp;2&amp;gt;/dev/null;&amp;nbsp;then
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&amp;quot;[INFO]&amp;nbsp;Stopping&amp;nbsp;PackageKit&amp;nbsp;to&amp;nbsp;avoid&amp;nbsp;RPM&amp;nbsp;DB&amp;nbsp;lock&amp;nbsp;contention.&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;systemctl&amp;nbsp;stop&amp;nbsp;packagekit&amp;nbsp;2&amp;gt;/dev/null&amp;nbsp;||&amp;nbsp;true
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;fi
fi
pkill&amp;nbsp;-x&amp;nbsp;packagekitd&amp;nbsp;&amp;gt;/dev/null&amp;nbsp;2&amp;gt;&amp;amp;1&amp;nbsp;||&amp;nbsp;true
rm&amp;nbsp;-f&amp;nbsp;/var/lib/rpm/__db.*&amp;nbsp;2&amp;gt;/dev/null&amp;nbsp;||&amp;nbsp;true
if&amp;nbsp;!&amp;nbsp;dnf&amp;nbsp;clean&amp;nbsp;metadata;&amp;nbsp;then
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&amp;quot;[WARN]&amp;nbsp;Failed&amp;nbsp;to&amp;nbsp;clean&amp;nbsp;DNF&amp;nbsp;metadata;&amp;nbsp;continuing&amp;nbsp;with&amp;nbsp;cached&amp;nbsp;metadata.&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;FAILED_REQUIRED+=(&amp;quot;DNF&amp;nbsp;metadata&amp;nbsp;clean&amp;quot;)
fi
if&amp;nbsp;!&amp;nbsp;dnf&amp;nbsp;makecache&amp;nbsp;--refresh;&amp;nbsp;then
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&amp;quot;[ERROR]&amp;nbsp;Failed&amp;nbsp;to&amp;nbsp;refresh&amp;nbsp;DNF&amp;nbsp;metadata.&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;FAILED_REQUIRED+=(&amp;quot;DNF&amp;nbsp;metadata&amp;nbsp;refresh&amp;quot;)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if&amp;nbsp;[[&amp;nbsp;&amp;quot;$EDA_CONTINUE_ON_REQUIRED_FAIL&amp;quot;&amp;nbsp;==&amp;nbsp;&amp;quot;0&amp;quot;&amp;nbsp;]];&amp;nbsp;then
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;exit&amp;nbsp;1
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;fi
fi
#&amp;nbsp;------------------------------------------------------------
#&amp;nbsp;3.&amp;nbsp;Development&amp;nbsp;environment&amp;nbsp;—&amp;nbsp;split
#&amp;nbsp;------------------------------------------------------------
echo
echo&amp;nbsp;&amp;quot;&amp;gt;&amp;gt;&amp;gt;&amp;nbsp;[2/10]&amp;nbsp;Development&amp;nbsp;environment&amp;quot;
if&amp;nbsp;dnf&amp;nbsp;group&amp;nbsp;install&amp;nbsp;-y&amp;nbsp;&amp;quot;Development&amp;nbsp;Tools&amp;quot;;&amp;nbsp;then
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&amp;quot;[OK]&amp;nbsp;Development&amp;nbsp;Tools&amp;nbsp;group&amp;quot;
else
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&amp;quot;[WARN]&amp;nbsp;Development&amp;nbsp;Tools&amp;nbsp;group&amp;nbsp;could&amp;nbsp;not&amp;nbsp;be&amp;nbsp;fully&amp;nbsp;installed.&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;FAILED_OPTIONAL+=(&amp;quot;Development&amp;nbsp;Tools&amp;nbsp;group&amp;quot;)
fi
install_required&amp;nbsp;&amp;quot;C/C++/Fortran&amp;nbsp;compiler&amp;nbsp;toolchain&amp;quot;&amp;nbsp;\
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;gcc&amp;nbsp;gcc-c++&amp;nbsp;gcc-gfortran&amp;nbsp;make&amp;nbsp;cmake&amp;nbsp;binutils
#&amp;nbsp;csh&amp;nbsp;is&amp;nbsp;typically&amp;nbsp;provided&amp;nbsp;by&amp;nbsp;tcsh&amp;nbsp;on&amp;nbsp;el8;&amp;nbsp;listing&amp;nbsp;both&amp;nbsp;is&amp;nbsp;fine.
install_required&amp;nbsp;&amp;quot;Scripting&amp;nbsp;and&amp;nbsp;build&amp;nbsp;utilities&amp;quot;&amp;nbsp;\
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;perl&amp;nbsp;python3&amp;nbsp;ksh&amp;nbsp;tcsh&amp;nbsp;csh&amp;nbsp;tcl&amp;nbsp;tk&amp;nbsp;environment-modules&amp;nbsp;\
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;which&amp;nbsp;file&amp;nbsp;tar&amp;nbsp;gzip&amp;nbsp;bzip2&amp;nbsp;xz&amp;nbsp;patch&amp;nbsp;diffutils&amp;nbsp;hostname
install_required&amp;nbsp;&amp;quot;Core&amp;nbsp;development&amp;nbsp;headers&amp;quot;&amp;nbsp;\
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;glibc-headers&amp;nbsp;glibc-devel&amp;nbsp;libstdc++&amp;nbsp;libstdc++-devel
#&amp;nbsp;------------------------------------------------------------
#&amp;nbsp;4.&amp;nbsp;64-bit&amp;nbsp;runtime&amp;nbsp;—&amp;nbsp;split&amp;nbsp;into&amp;nbsp;logical&amp;nbsp;groups
#&amp;nbsp;------------------------------------------------------------
echo
echo&amp;nbsp;&amp;quot;&amp;gt;&amp;gt;&amp;gt;&amp;nbsp;[3/10]&amp;nbsp;64-bit&amp;nbsp;runtime&amp;nbsp;libraries&amp;quot;
install_required&amp;nbsp;&amp;quot;Base&amp;nbsp;system&amp;nbsp;runtime&amp;quot;&amp;nbsp;\
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;glibc&amp;nbsp;libgcc&amp;nbsp;libstdc++&amp;nbsp;zlib&amp;nbsp;ncurses-libs
install_required&amp;nbsp;&amp;quot;Network&amp;nbsp;and&amp;nbsp;security&amp;nbsp;runtime&amp;quot;&amp;nbsp;\
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;libnsl&amp;nbsp;libnsl2&amp;nbsp;libtirpc&amp;nbsp;openssl-libs&amp;nbsp;libcurl
#&amp;nbsp;Use&amp;nbsp;elfutils-libelf&amp;nbsp;only&amp;nbsp;—&amp;nbsp;bare&amp;nbsp;name&amp;nbsp;`libelf`&amp;nbsp;is&amp;nbsp;not&amp;nbsp;a&amp;nbsp;reliable&amp;nbsp;NVR&amp;nbsp;on&amp;nbsp;el8.
install_required&amp;nbsp;&amp;quot;Compression,&amp;nbsp;XML,&amp;nbsp;and&amp;nbsp;utility&amp;nbsp;runtime&amp;quot;&amp;nbsp;\
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;elfutils-libelf&amp;nbsp;libpng&amp;nbsp;libjpeg-turbo&amp;nbsp;\
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;libuuid&amp;nbsp;libxml2&amp;nbsp;expat&amp;nbsp;libaio&amp;nbsp;numactl-libs&amp;nbsp;pcre&amp;nbsp;libxslt&amp;nbsp;libffi
install_required&amp;nbsp;&amp;quot;Font&amp;nbsp;and&amp;nbsp;GUI&amp;nbsp;runtime&amp;quot;&amp;nbsp;\
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;fontconfig&amp;nbsp;freetype&amp;nbsp;libdb&amp;nbsp;gtk2&amp;nbsp;gtk3
install_required&amp;nbsp;&amp;quot;Legacy&amp;nbsp;image&amp;nbsp;/&amp;nbsp;media&amp;nbsp;helpers&amp;quot;&amp;nbsp;\
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;libpng12&amp;nbsp;alsa-lib&amp;nbsp;cups-libs
#&amp;nbsp;redhat-lsb-core&amp;nbsp;pulls&amp;nbsp;many&amp;nbsp;BaseOS&amp;nbsp;tools;&amp;nbsp;keep&amp;nbsp;it&amp;nbsp;optional&amp;nbsp;so&amp;nbsp;AppStream-only
#&amp;nbsp;mirrors&amp;nbsp;do&amp;nbsp;not&amp;nbsp;fail&amp;nbsp;the&amp;nbsp;whole&amp;nbsp;required&amp;nbsp;chain.
install_optional_group&amp;nbsp;&amp;quot;LSB&amp;nbsp;core&amp;nbsp;compatibility&amp;quot;&amp;nbsp;\
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;redhat-lsb-core
install_optional_group&amp;nbsp;&amp;quot;Additional&amp;nbsp;64-bit&amp;nbsp;development&amp;nbsp;headers&amp;quot;&amp;nbsp;\
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;zlib-devel&amp;nbsp;ncurses-devel&amp;nbsp;libnsl2-devel&amp;nbsp;libtirpc-devel&amp;nbsp;\
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;libpng-devel&amp;nbsp;libjpeg-turbo-devel&amp;nbsp;openssl-devel&amp;nbsp;libuuid-devel&amp;nbsp;\
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;libxml2-devel&amp;nbsp;libcurl-devel&amp;nbsp;libaio-devel&amp;nbsp;pcre-devel&amp;nbsp;libxslt-devel
#&amp;nbsp;------------------------------------------------------------
#&amp;nbsp;5.&amp;nbsp;32-bit&amp;nbsp;compatibility&amp;nbsp;—&amp;nbsp;OPTIONAL&amp;nbsp;by&amp;nbsp;design
#&amp;nbsp;------------------------------------------------------------
echo
echo&amp;nbsp;&amp;quot;&amp;gt;&amp;gt;&amp;gt;&amp;nbsp;[4/10]&amp;nbsp;32-bit&amp;nbsp;compatibility&amp;nbsp;libraries&amp;nbsp;(OPTIONAL)&amp;quot;
echo&amp;nbsp;&amp;quot;[INFO]&amp;nbsp;Verify&amp;nbsp;actual&amp;nbsp;ELF&amp;nbsp;needs&amp;nbsp;with:&amp;nbsp;readelf&amp;nbsp;-d&amp;nbsp;&amp;lt;binary&amp;gt;&amp;nbsp;|&amp;nbsp;grep&amp;nbsp;NEEDED&amp;quot;
echo&amp;nbsp;&amp;quot;[INFO]&amp;nbsp;and&amp;nbsp;ldd&amp;nbsp;&amp;lt;binary&amp;gt;;&amp;nbsp;do&amp;nbsp;not&amp;nbsp;install&amp;nbsp;i686&amp;nbsp;blindly.&amp;quot;
install_optional_group&amp;nbsp;&amp;quot;i686&amp;nbsp;core&amp;nbsp;runtime&amp;quot;&amp;nbsp;\
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;glibc.i686&amp;nbsp;libgcc.i686&amp;nbsp;libstdc++.i686&amp;nbsp;zlib.i686&amp;nbsp;\
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ncurses-libs.i686&amp;nbsp;libnsl.i686&amp;nbsp;libnsl2.i686&amp;nbsp;libtirpc.i686&amp;nbsp;\
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;libdb.i686
install_optional_group&amp;nbsp;&amp;quot;i686&amp;nbsp;X11/OpenGL&amp;nbsp;libraries&amp;quot;&amp;nbsp;\
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;libX11.i686&amp;nbsp;libXau.i686&amp;nbsp;libxcb.i686&amp;nbsp;libXext.i686&amp;nbsp;\
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;libXt.i686&amp;nbsp;libXtst.i686&amp;nbsp;libXrender.i686&amp;nbsp;libXft.i686&amp;nbsp;\
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;libXi.i686&amp;nbsp;libICE.i686&amp;nbsp;libSM.i686&amp;nbsp;libXpm.i686&amp;nbsp;\
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;libXmu.i686&amp;nbsp;libXrandr.i686&amp;nbsp;libXcursor.i686&amp;nbsp;libXdamage.i686&amp;nbsp;\
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;libXp.i686&amp;nbsp;libXv.i686&amp;nbsp;mesa-libGL.i686&amp;nbsp;mesa-libGLU.i686
#&amp;nbsp;------------------------------------------------------------
#&amp;nbsp;6.&amp;nbsp;X11&amp;nbsp;/&amp;nbsp;GUI&amp;nbsp;/&amp;nbsp;OpenGL
#&amp;nbsp;------------------------------------------------------------
echo
echo&amp;nbsp;&amp;quot;&amp;gt;&amp;gt;&amp;gt;&amp;nbsp;[5/10]&amp;nbsp;X11,&amp;nbsp;GUI&amp;nbsp;and&amp;nbsp;OpenGL&amp;quot;
install_required&amp;nbsp;&amp;quot;Core&amp;nbsp;X11&amp;nbsp;runtime&amp;quot;&amp;nbsp;\
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;libX11&amp;nbsp;libXau&amp;nbsp;libxcb&amp;nbsp;libXext&amp;nbsp;libXt&amp;nbsp;libXtst&amp;nbsp;libXrender&amp;nbsp;\
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;libXft&amp;nbsp;libXpm&amp;nbsp;libXmu&amp;nbsp;libXrandr&amp;nbsp;libXcursor&amp;nbsp;libXdamage&amp;nbsp;libXi&amp;nbsp;\
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;libXcomposite&amp;nbsp;libXfixes&amp;nbsp;libXinerama&amp;nbsp;libXxf86vm&amp;nbsp;libICE&amp;nbsp;libSM
install_required&amp;nbsp;&amp;quot;OpenGL,&amp;nbsp;font,&amp;nbsp;and&amp;nbsp;display&amp;nbsp;utilities&amp;quot;&amp;nbsp;\
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;mesa-libGL&amp;nbsp;mesa-libGLU&amp;nbsp;mesa-dri-drivers&amp;nbsp;fontconfig&amp;nbsp;freetype&amp;nbsp;\
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;xorg-x11-xauth&amp;nbsp;xorg-x11-server-Xvfb&amp;nbsp;xterm
install_optional_group&amp;nbsp;&amp;quot;Additional&amp;nbsp;X11&amp;nbsp;compatibility&amp;nbsp;libraries&amp;quot;&amp;nbsp;\
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;libXp&amp;nbsp;libXv&amp;nbsp;libXScrnSaver&amp;nbsp;libXres&amp;nbsp;libXxf86dga
#&amp;nbsp;------------------------------------------------------------
#&amp;nbsp;7.&amp;nbsp;Legacy&amp;nbsp;compatibility&amp;nbsp;—&amp;nbsp;Motif&amp;nbsp;+&amp;nbsp;OpenSSL&amp;nbsp;1.0&amp;nbsp;are&amp;nbsp;REQUIRED
#&amp;nbsp;------------------------------------------------------------
echo
echo&amp;nbsp;&amp;quot;&amp;gt;&amp;gt;&amp;gt;&amp;nbsp;[6/10]&amp;nbsp;Legacy&amp;nbsp;EDA&amp;nbsp;compatibility&amp;nbsp;packages&amp;quot;
#&amp;nbsp;motif&amp;nbsp;obsoletes&amp;nbsp;openmotif&amp;nbsp;and&amp;nbsp;provides&amp;nbsp;openmotif;&amp;nbsp;listing&amp;nbsp;both&amp;nbsp;is&amp;nbsp;redundant.
install_required&amp;nbsp;&amp;quot;Motif&amp;nbsp;runtime&amp;nbsp;(obsoletes&amp;nbsp;openmotif)&amp;quot;&amp;nbsp;\
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;motif
install_required&amp;nbsp;&amp;quot;OpenSSL&amp;nbsp;1.0&amp;nbsp;legacy&amp;nbsp;compatibility&amp;nbsp;(.so.10)&amp;quot;&amp;nbsp;\
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;compat-openssl10
install_optional_group&amp;nbsp;&amp;quot;Motif&amp;nbsp;/&amp;nbsp;GUI&amp;nbsp;development&amp;nbsp;packages&amp;quot;&amp;nbsp;\
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;motif-devel&amp;nbsp;libX11-devel&amp;nbsp;libXext-devel&amp;nbsp;libXt-devel&amp;nbsp;libXpm-devel&amp;nbsp;\
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;libXmu-devel&amp;nbsp;libXp-devel&amp;nbsp;freetype-devel&amp;nbsp;mesa-libGL-devel&amp;nbsp;\
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;elfutils-libelf-devel&amp;nbsp;libstdc++-devel.i686
#&amp;nbsp;------------------------------------------------------------
#&amp;nbsp;8.&amp;nbsp;Berkeley&amp;nbsp;DB&amp;nbsp;compatibility&amp;nbsp;—&amp;nbsp;opt-in,&amp;nbsp;with&amp;nbsp;readelf&amp;nbsp;validation
#&amp;nbsp;------------------------------------------------------------
echo
echo&amp;nbsp;&amp;quot;&amp;gt;&amp;gt;&amp;gt;&amp;nbsp;[7/10]&amp;nbsp;Berkeley&amp;nbsp;DB&amp;nbsp;compatibility&amp;quot;
ldconfig
if&amp;nbsp;[[&amp;nbsp;&amp;quot;$EDA_DB47_COMPAT&amp;quot;&amp;nbsp;==&amp;nbsp;&amp;quot;1&amp;quot;&amp;nbsp;]];&amp;nbsp;then
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&amp;quot;############################################################&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&amp;quot;#&amp;nbsp;WARNING:&amp;nbsp;EDA_DB47_COMPAT=1&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&amp;quot;#&amp;nbsp;libdb-4.7.so&amp;nbsp;-&amp;gt;&amp;nbsp;libdb-5.3.so&amp;nbsp;is&amp;nbsp;a&amp;nbsp;linker-level&amp;nbsp;workaround.&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&amp;quot;#&amp;nbsp;It&amp;nbsp;does&amp;nbsp;NOT&amp;nbsp;guarantee&amp;nbsp;Berkeley&amp;nbsp;DB&amp;nbsp;4.7&amp;nbsp;API/ABI&amp;nbsp;compatibility.&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&amp;quot;#&amp;nbsp;Use&amp;nbsp;only&amp;nbsp;when&amp;nbsp;a&amp;nbsp;specific&amp;nbsp;tool&amp;nbsp;fails&amp;nbsp;with&amp;nbsp;libdb-4.7.so&amp;nbsp;missing.&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&amp;quot;############################################################&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;DB53_LIB=&amp;quot;&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;for&amp;nbsp;p&amp;nbsp;in&amp;nbsp;/usr/lib64/libdb-5.3.so&amp;nbsp;/lib64/libdb-5.3.so;&amp;nbsp;do
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if&amp;nbsp;[[&amp;nbsp;-e&amp;nbsp;&amp;quot;$p&amp;quot;&amp;nbsp;]];&amp;nbsp;then
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;DB53_LIB=&amp;quot;$p&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;break
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;fi
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;done
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if&amp;nbsp;[[&amp;nbsp;-z&amp;nbsp;&amp;quot;$DB53_LIB&amp;quot;&amp;nbsp;]];&amp;nbsp;then
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;DB53_LIB=&amp;quot;$(ldconfig&amp;nbsp;-p&amp;nbsp;2&amp;gt;/dev/null&amp;nbsp;|
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;awk&amp;nbsp;&amp;#39;$1&amp;nbsp;==&amp;nbsp;&amp;quot;libdb-5.3.so&amp;quot;&amp;nbsp;&amp;amp;&amp;amp;&amp;nbsp;/x86-64/&amp;nbsp;{print&amp;nbsp;$NF;&amp;nbsp;exit}&amp;#39;)&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;fi
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if&amp;nbsp;[[&amp;nbsp;-n&amp;nbsp;&amp;quot;$DB53_LIB&amp;quot;&amp;nbsp;&amp;amp;&amp;amp;&amp;nbsp;-e&amp;nbsp;&amp;quot;$DB53_LIB&amp;quot;&amp;nbsp;]];&amp;nbsp;then
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;DB53_REAL=&amp;quot;$(readlink&amp;nbsp;-f&amp;nbsp;&amp;quot;$DB53_LIB&amp;quot;)&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;DB47_LINK=&amp;quot;/usr/lib64/libdb-4.7.so&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;DB47_IS_OURS=0
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;#&amp;nbsp;Stronger&amp;nbsp;than&amp;nbsp;`file`:&amp;nbsp;verify&amp;nbsp;ELF&amp;nbsp;machine&amp;nbsp;is&amp;nbsp;x86-64.
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if&amp;nbsp;!&amp;nbsp;readelf&amp;nbsp;-h&amp;nbsp;&amp;quot;$DB53_REAL&amp;quot;&amp;nbsp;2&amp;gt;/dev/null&amp;nbsp;|&amp;nbsp;grep&amp;nbsp;-q&amp;nbsp;&amp;quot;Advanced&amp;nbsp;Micro&amp;nbsp;Devices&amp;nbsp;X86-64&amp;quot;;&amp;nbsp;then
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&amp;quot;[ERROR]&amp;nbsp;$DB53_REAL&amp;nbsp;is&amp;nbsp;not&amp;nbsp;an&amp;nbsp;x86-64&amp;nbsp;ELF&amp;nbsp;object;&amp;nbsp;refusing&amp;nbsp;to&amp;nbsp;link.&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;exit&amp;nbsp;1
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;fi
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&amp;quot;DB&amp;nbsp;5.3&amp;nbsp;target:&amp;nbsp;$DB53_REAL&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if&amp;nbsp;[[&amp;nbsp;-L&amp;nbsp;&amp;quot;$DB47_LINK&amp;quot;&amp;nbsp;]];&amp;nbsp;then
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;EXISTING_TARGET=&amp;quot;$(readlink&amp;nbsp;-f&amp;nbsp;&amp;quot;$DB47_LINK&amp;quot;&amp;nbsp;||&amp;nbsp;true)&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if&amp;nbsp;[[&amp;nbsp;&amp;quot;$EXISTING_TARGET&amp;quot;&amp;nbsp;==&amp;nbsp;&amp;quot;$DB53_REAL&amp;quot;&amp;nbsp;]];&amp;nbsp;then
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&amp;quot;[OK]&amp;nbsp;Existing&amp;nbsp;DB&amp;nbsp;4.7&amp;nbsp;link&amp;nbsp;already&amp;nbsp;points&amp;nbsp;to&amp;nbsp;DB&amp;nbsp;5.3.&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;DB47_IS_OURS=1
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;else
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&amp;quot;[WARN]&amp;nbsp;Existing&amp;nbsp;symlink&amp;nbsp;points&amp;nbsp;elsewhere;&amp;nbsp;not&amp;nbsp;overwritten:&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ls&amp;nbsp;-l&amp;nbsp;&amp;quot;$DB47_LINK&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;fi
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;elif&amp;nbsp;[[&amp;nbsp;-e&amp;nbsp;&amp;quot;$DB47_LINK&amp;quot;&amp;nbsp;]];&amp;nbsp;then
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&amp;quot;[WARN]&amp;nbsp;Existing&amp;nbsp;non-symlink&amp;nbsp;DB&amp;nbsp;4.7&amp;nbsp;file;&amp;nbsp;not&amp;nbsp;overwritten:&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ls&amp;nbsp;-l&amp;nbsp;&amp;quot;$DB47_LINK&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;else
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ln&amp;nbsp;-s&amp;nbsp;&amp;quot;$DB53_REAL&amp;quot;&amp;nbsp;&amp;quot;$DB47_LINK&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&amp;quot;[OK]&amp;nbsp;Created&amp;nbsp;$DB47_LINK&amp;nbsp;-&amp;gt;&amp;nbsp;$DB53_REAL&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;DB47_IS_OURS=1
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;fi
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if&amp;nbsp;[[&amp;nbsp;&amp;quot;$DB47_IS_OURS&amp;quot;&amp;nbsp;==&amp;nbsp;&amp;quot;1&amp;quot;&amp;nbsp;&amp;amp;&amp;amp;&amp;nbsp;-r&amp;nbsp;&amp;quot;$DB47_LINK&amp;quot;&amp;nbsp;]];&amp;nbsp;then
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if&amp;nbsp;python3&amp;nbsp;-c&amp;nbsp;&amp;#39;import&amp;nbsp;ctypes,sys;&amp;nbsp;ctypes.CDLL(sys.argv[1])&amp;#39;&amp;nbsp;&amp;quot;$DB47_LINK&amp;quot;&amp;nbsp;2&amp;gt;/dev/null;&amp;nbsp;then
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&amp;quot;[OK]&amp;nbsp;DB&amp;nbsp;4.7&amp;nbsp;-&amp;gt;&amp;nbsp;5.3&amp;nbsp;compat&amp;nbsp;link&amp;nbsp;loads&amp;nbsp;(linker-level&amp;nbsp;only).&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;CHECK_RESULTS+=(&amp;quot;[OK]&amp;nbsp;DB&amp;nbsp;4.7&amp;nbsp;compat&amp;nbsp;link&amp;nbsp;loads&amp;nbsp;(ABI&amp;nbsp;unverified)&amp;quot;)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;else
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&amp;quot;[WARN]&amp;nbsp;ctypes&amp;nbsp;load&amp;nbsp;test&amp;nbsp;failed&amp;nbsp;for&amp;nbsp;the&amp;nbsp;compat&amp;nbsp;link.&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;CHECK_RESULTS+=(&amp;quot;[WARN]&amp;nbsp;DB&amp;nbsp;compat&amp;nbsp;link&amp;nbsp;load&amp;nbsp;test&amp;nbsp;failed&amp;quot;)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;fi
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;elif&amp;nbsp;[[&amp;nbsp;-r&amp;nbsp;&amp;quot;$DB47_LINK&amp;quot;&amp;nbsp;]];&amp;nbsp;then
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&amp;quot;[INFO]&amp;nbsp;Existing&amp;nbsp;libdb-4.7.so&amp;nbsp;is&amp;nbsp;not&amp;nbsp;our&amp;nbsp;link;&amp;nbsp;load&amp;nbsp;test&amp;nbsp;skipped.&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;fi
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;else
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&amp;quot;[WARN]&amp;nbsp;libdb-5.3.so&amp;nbsp;not&amp;nbsp;found;&amp;nbsp;DB&amp;nbsp;4.7&amp;nbsp;link&amp;nbsp;not&amp;nbsp;created.&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;FAILED_OPTIONAL+=(&amp;quot;Berkeley&amp;nbsp;DB&amp;nbsp;4.7&amp;nbsp;compat&amp;nbsp;(target&amp;nbsp;missing)&amp;quot;)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;fi
else
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&amp;quot;[INFO]&amp;nbsp;EDA_DB47_COMPAT=0&amp;nbsp;(default).&amp;nbsp;libdb-4.7.so&amp;nbsp;is&amp;nbsp;NOT&amp;nbsp;created.&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&amp;quot;[INFO]&amp;nbsp;If&amp;nbsp;a&amp;nbsp;Cadence&amp;nbsp;tool&amp;nbsp;fails&amp;nbsp;with&amp;nbsp;libdb-4.7.so&amp;nbsp;missing:&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&amp;quot;[INFO]&amp;nbsp;&amp;nbsp;&amp;nbsp;a)&amp;nbsp;rerun&amp;nbsp;with&amp;nbsp;EDA_DB47_COMPAT=1&amp;nbsp;(ABI&amp;nbsp;risk),&amp;nbsp;or&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&amp;quot;[INFO]&amp;nbsp;&amp;nbsp;&amp;nbsp;b)&amp;nbsp;place&amp;nbsp;a&amp;nbsp;genuine&amp;nbsp;CentOS&amp;nbsp;7&amp;nbsp;libdb-4.7.so&amp;nbsp;in&amp;nbsp;LD_LIBRARY_PATH.&amp;quot;
fi
#&amp;nbsp;------------------------------------------------------------
#&amp;nbsp;9.&amp;nbsp;CAD&amp;nbsp;infrastructure
#&amp;nbsp;------------------------------------------------------------
echo
echo&amp;nbsp;&amp;quot;&amp;gt;&amp;gt;&amp;gt;&amp;nbsp;[8/10]&amp;nbsp;CAD&amp;nbsp;infrastructure&amp;nbsp;and&amp;nbsp;network&amp;nbsp;utilities&amp;quot;
install_required&amp;nbsp;&amp;quot;Remote&amp;nbsp;access&amp;nbsp;and&amp;nbsp;network&amp;nbsp;clients&amp;quot;&amp;nbsp;\
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;openssh-clients&amp;nbsp;openssh-server&amp;nbsp;bind-utils&amp;nbsp;net-tools&amp;nbsp;iproute&amp;nbsp;iputils
install_required&amp;nbsp;&amp;quot;Filesystem&amp;nbsp;and&amp;nbsp;time&amp;nbsp;services&amp;quot;&amp;nbsp;\
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;nfs-utils&amp;nbsp;autofs&amp;nbsp;chrony&amp;nbsp;rsync
install_required&amp;nbsp;&amp;quot;Debugging&amp;nbsp;and&amp;nbsp;inspection&amp;nbsp;tools&amp;quot;&amp;nbsp;\
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;lsof&amp;nbsp;strace&amp;nbsp;gdb&amp;nbsp;tcpdump&amp;nbsp;procps-ng&amp;nbsp;util-linux
#&amp;nbsp;------------------------------------------------------------
#&amp;nbsp;10.&amp;nbsp;Runtime&amp;nbsp;verification&amp;nbsp;—&amp;nbsp;REQUIRED&amp;nbsp;libs&amp;nbsp;affect&amp;nbsp;final&amp;nbsp;status
#&amp;nbsp;------------------------------------------------------------
echo
echo&amp;nbsp;&amp;quot;&amp;gt;&amp;gt;&amp;gt;&amp;nbsp;[9/10]&amp;nbsp;Refresh&amp;nbsp;linker&amp;nbsp;cache&amp;nbsp;and&amp;nbsp;verify&amp;nbsp;runtime&amp;quot;
ldconfig
#&amp;nbsp;---&amp;nbsp;REQUIRED&amp;nbsp;runtime&amp;nbsp;libraries&amp;nbsp;---
check_required_library&amp;nbsp;&amp;quot;libc.so.6&amp;quot;
check_required_library&amp;nbsp;&amp;quot;libstdc++.so.6&amp;quot;
check_required_library&amp;nbsp;&amp;quot;libgcc_s.so.1&amp;quot;
check_required_library&amp;nbsp;&amp;quot;libnsl.so.1&amp;quot;
check_required_library&amp;nbsp;&amp;quot;libssl.so.1.1&amp;quot;
check_required_library&amp;nbsp;&amp;quot;libcrypto.so.1.1&amp;quot;
check_required_library&amp;nbsp;&amp;quot;libssl.so.10&amp;quot;
check_required_library&amp;nbsp;&amp;quot;libcrypto.so.10&amp;quot;
check_required_library&amp;nbsp;&amp;quot;libXm.so.4&amp;quot;
check_required_library&amp;nbsp;&amp;quot;libX11.so.6&amp;quot;
check_required_library&amp;nbsp;&amp;quot;libGL.so.1&amp;quot;
#&amp;nbsp;---&amp;nbsp;Optional&amp;nbsp;/&amp;nbsp;compatibility&amp;nbsp;libraries&amp;nbsp;---
check_optional_library&amp;nbsp;&amp;quot;libnsl.so.2&amp;quot;
check_optional_library&amp;nbsp;&amp;quot;libdb-5.3.so&amp;quot;
check_optional_library&amp;nbsp;&amp;quot;libtinfo.so.6&amp;quot;
check_optional_library&amp;nbsp;&amp;quot;libXt.so.6&amp;quot;
check_optional_library&amp;nbsp;&amp;quot;libpng12.so.0&amp;quot;
check_optional_library&amp;nbsp;&amp;quot;libgtk-x11-2.0.so.0&amp;quot;
#&amp;nbsp;------------------------------------------------------------
#&amp;nbsp;11.&amp;nbsp;Report
#&amp;nbsp;------------------------------------------------------------
echo
echo&amp;nbsp;&amp;quot;&amp;gt;&amp;gt;&amp;gt;&amp;nbsp;[10/10]&amp;nbsp;Generate&amp;nbsp;report&amp;quot;
{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&amp;quot;============================================================&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&amp;quot;el8&amp;nbsp;EDA&amp;nbsp;Base&amp;nbsp;Environment&amp;nbsp;Report&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&amp;quot;============================================================&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&amp;quot;Date&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;:&amp;nbsp;$(date)&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&amp;quot;Hostname&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;:&amp;nbsp;$(hostname)&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&amp;quot;OS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;:&amp;nbsp;${PRETTY_NAME:-el8}&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&amp;quot;Architecture&amp;nbsp;:&amp;nbsp;$(uname&amp;nbsp;-m)&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&amp;quot;DB47&amp;nbsp;compat&amp;nbsp;&amp;nbsp;:&amp;nbsp;${EDA_DB47_COMPAT}&amp;nbsp;(0=off,&amp;nbsp;1=opt-in)&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&amp;quot;Runtime&amp;nbsp;checks:&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;printf&amp;nbsp;&amp;#39;%s\n&amp;#39;&amp;nbsp;&amp;quot;${CHECK_RESULTS[@]}&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&amp;quot;Required&amp;nbsp;failures:&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if&amp;nbsp;((${#FAILED_REQUIRED[@]}&amp;nbsp;==&amp;nbsp;0));&amp;nbsp;then
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&amp;quot;None&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;else
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;printf&amp;nbsp;&amp;#39;%s\n&amp;#39;&amp;nbsp;&amp;quot;${FAILED_REQUIRED[@]}&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;fi
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&amp;quot;Missing&amp;nbsp;REQUIRED&amp;nbsp;libraries:&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if&amp;nbsp;((${#MISSING_REQUIRED_LIBS[@]}&amp;nbsp;==&amp;nbsp;0));&amp;nbsp;then
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&amp;quot;None&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;else
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;printf&amp;nbsp;&amp;#39;%s\n&amp;#39;&amp;nbsp;&amp;quot;${MISSING_REQUIRED_LIBS[@]}&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;fi
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&amp;quot;Optional&amp;nbsp;packages&amp;nbsp;ABSENT&amp;nbsp;(rpm&amp;nbsp;-q&amp;nbsp;verified):&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if&amp;nbsp;((${#FAILED_OPTIONAL[@]}&amp;nbsp;==&amp;nbsp;0));&amp;nbsp;then
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&amp;quot;None&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;else
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;printf&amp;nbsp;&amp;#39;%s\n&amp;#39;&amp;nbsp;&amp;quot;${FAILED_OPTIONAL[@]}&amp;quot;&amp;nbsp;|&amp;nbsp;sort&amp;nbsp;-u
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;fi
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&amp;quot;Optional&amp;nbsp;packages&amp;nbsp;PRESENT&amp;nbsp;(rpm&amp;nbsp;-q&amp;nbsp;verified):&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if&amp;nbsp;((${#INSTALLED_OPTIONAL[@]}&amp;nbsp;==&amp;nbsp;0));&amp;nbsp;then
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&amp;quot;None&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;else
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;printf&amp;nbsp;&amp;#39;%s\n&amp;#39;&amp;nbsp;&amp;quot;${INSTALLED_OPTIONAL[@]}&amp;quot;&amp;nbsp;|&amp;nbsp;sort&amp;nbsp;-u
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;fi
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&amp;quot;Berkeley&amp;nbsp;DB&amp;nbsp;files:&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ls&amp;nbsp;-l&amp;nbsp;/usr/lib64/libdb*&amp;nbsp;2&amp;gt;/dev/null&amp;nbsp;||&amp;nbsp;true
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&amp;quot;OpenSSL&amp;nbsp;entries:&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ldconfig&amp;nbsp;-p&amp;nbsp;2&amp;gt;/dev/null&amp;nbsp;|&amp;nbsp;grep&amp;nbsp;-E&amp;nbsp;&amp;#39;libssl|libcrypto&amp;#39;&amp;nbsp;||&amp;nbsp;true
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&amp;quot;Key&amp;nbsp;RPMs:&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;rpm&amp;nbsp;-q&amp;nbsp;gcc&amp;nbsp;gcc-c++&amp;nbsp;make&amp;nbsp;cmake&amp;nbsp;ksh&amp;nbsp;tcsh&amp;nbsp;tcl&amp;nbsp;tk&amp;nbsp;glibc&amp;nbsp;\
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;libstdc++&amp;nbsp;libnsl&amp;nbsp;libnsl2&amp;nbsp;libdb&amp;nbsp;openssl-libs&amp;nbsp;compat-openssl10&amp;nbsp;\
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;motif&amp;nbsp;mesa-libGL&amp;nbsp;xorg-x11-server-Xvfb&amp;nbsp;gtk2&amp;nbsp;libpng12&amp;nbsp;\
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;redhat-lsb-core&amp;nbsp;2&amp;gt;/dev/null&amp;nbsp;||&amp;nbsp;true
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&amp;quot;Log&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;:&amp;nbsp;$LOG_FILE&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&amp;quot;Report&amp;nbsp;:&amp;nbsp;$REPORT_FILE&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&amp;quot;============================================================&amp;quot;
}&amp;nbsp;|&amp;nbsp;tee&amp;nbsp;&amp;quot;$REPORT_FILE&amp;quot;
#&amp;nbsp;------------------------------------------------------------
#&amp;nbsp;12.&amp;nbsp;Final&amp;nbsp;status
#&amp;nbsp;------------------------------------------------------------
echo
echo&amp;nbsp;&amp;quot;============================================================&amp;quot;
FINAL_FAIL=0
if&amp;nbsp;((${#FAILED_REQUIRED[@]}&amp;nbsp;&amp;gt;&amp;nbsp;0));&amp;nbsp;then
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&amp;quot;[FAILED]&amp;nbsp;Required&amp;nbsp;package&amp;nbsp;groups&amp;nbsp;failed.&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;FINAL_FAIL=1
fi
if&amp;nbsp;((${#MISSING_REQUIRED_LIBS[@]}&amp;nbsp;&amp;gt;&amp;nbsp;0));&amp;nbsp;then
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&amp;quot;[FAILED]&amp;nbsp;Missing&amp;nbsp;REQUIRED&amp;nbsp;runtime&amp;nbsp;libraries:&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;printf&amp;nbsp;&amp;#39;&amp;nbsp;&amp;nbsp;-&amp;nbsp;%s\n&amp;#39;&amp;nbsp;&amp;quot;${MISSING_REQUIRED_LIBS[@]}&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;FINAL_FAIL=1
fi
if&amp;nbsp;((FINAL_FAIL&amp;nbsp;==&amp;nbsp;0));&amp;nbsp;then
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&amp;quot;[SUCCESS]&amp;nbsp;EDA&amp;nbsp;base&amp;nbsp;environment&amp;nbsp;prepared.&amp;quot;
else
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo&amp;nbsp;&amp;quot;[FAILED]&amp;nbsp;One&amp;nbsp;or&amp;nbsp;more&amp;nbsp;required&amp;nbsp;checks&amp;nbsp;did&amp;nbsp;not&amp;nbsp;pass.&amp;quot;
fi
echo
echo&amp;nbsp;&amp;quot;HINT:&amp;nbsp;For&amp;nbsp;Siemens&amp;nbsp;Calibre&amp;nbsp;on&amp;nbsp;Rocky/RHEL&amp;nbsp;8,&amp;nbsp;if&amp;nbsp;it&amp;nbsp;reports&amp;nbsp;VCO&amp;nbsp;mismatch,&amp;nbsp;try:&amp;quot;
echo&amp;nbsp;&amp;quot;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;export&amp;nbsp;USE_CALIBRE_VCO=aoi&amp;quot;
echo
echo&amp;nbsp;&amp;quot;HINT:&amp;nbsp;This&amp;nbsp;script&amp;nbsp;prepares&amp;nbsp;OS&amp;nbsp;runtime&amp;nbsp;deps&amp;nbsp;only.&amp;nbsp;Install&amp;nbsp;EDA&amp;nbsp;tools,&amp;quot;
echo&amp;nbsp;&amp;quot;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;FlexLM/SCL,&amp;nbsp;and&amp;nbsp;vendor&amp;nbsp;modulefiles&amp;nbsp;separately.&amp;quot;
echo
echo&amp;nbsp;&amp;quot;Log&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;:&amp;nbsp;$LOG_FILE&amp;quot;
echo&amp;nbsp;&amp;quot;Report&amp;nbsp;:&amp;nbsp;$REPORT_FILE&amp;quot;
echo&amp;nbsp;&amp;quot;============================================================&amp;quot;
exit&amp;nbsp;&amp;quot;$FINAL_FAIL&amp;quot;&lt;/pre&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-top: 16px; margin-bottom: 16px; color: rgb(15, 17, 21); font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen, Ubuntu, Cantarell, &amp;quot;Open Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 16px; text-wrap-mode: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;[MustLogin]</description><pubDate>Fri, 06 Nov 2026 13:53:25 +0800</pubDate></item><item><title>XFCE4 显示优化，显示合成器参数说明及调优</title><link>https://www.fasteda.cn/post/462.html</link><description>&lt;p style=&quot;margin-bottom: 19px; line-height: 16.72px; font-family: Calibri; color: rgb(26, 26, 26); font-size: 15px; text-wrap-mode: wrap; margin-top: 0px; text-indent: 0em;&quot;&gt;&lt;span style=&quot;line-height: 15.2px; color: #000000; font-size: 16px;&quot;&gt;&lt;span style=&quot;color: #000000; line-height: 15.2px; font-family: 微软雅黑;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;适用&lt;/span&gt; XFCE 4.12 / 4.14 / 4.16 / 4.18&lt;span style=&quot;color: #000000; line-height: 15.2px; font-family: 微软雅黑;&quot;&gt;（&lt;/span&gt;&lt;span style=&quot;color: #000000; line-height: 15.2px; font-family: Calibri;&quot;&gt;RHEL 7/8 &lt;/span&gt;&lt;span style=&quot;color: #000000; line-height: 15.2px; font-family: 微软雅黑;&quot;&gt;上多为 &lt;/span&gt;&lt;span style=&quot;color: #000000; line-height: 15.2px; font-family: Calibri;&quot;&gt;EPEL &lt;/span&gt;&lt;span style=&quot;color: #000000; line-height: 15.2px; font-family: 微软雅黑;&quot;&gt;的 &lt;/span&gt;&lt;span style=&quot;color: #000000; line-height: 15.2px; font-family: Calibri;&quot;&gt;XFCE&lt;/span&gt;&lt;span style=&quot;color: #000000; line-height: 15.2px; font-family: 微软雅黑;&quot;&gt;）。窗口管理器须为 &lt;/span&gt;&lt;span style=&quot;color: #000000; line-height: 15.2px; font-family: Calibri;&quot;&gt;xfwm4&lt;/span&gt;&lt;span style=&quot;color: #000000; line-height: 15.2px; font-family: 微软雅黑;&quot;&gt;。面向 &lt;/span&gt;&lt;span style=&quot;color: #000000; line-height: 15.2px; font-family: Calibri;&quot;&gt;VNC&lt;/span&gt;&lt;span style=&quot;color: #000000; line-height: 15.2px; font-family: 微软雅黑;&quot;&gt;、&lt;/span&gt;&lt;span style=&quot;color: #000000; line-height: 15.2px; font-family: Calibri;&quot;&gt;SPICE&lt;/span&gt;&lt;span style=&quot;color: #000000; line-height: 15.2px; font-family: 微软雅黑;&quot;&gt;、&lt;/span&gt;&lt;span style=&quot;color: #000000; line-height: 15.2px; font-family: Calibri;&quot;&gt;XRDP&lt;/span&gt;&lt;span style=&quot;color: #000000; line-height: 15.2px; font-family: 微软雅黑;&quot;&gt;、&lt;/span&gt;&lt;span style=&quot;color: #000000; line-height: 15.2px; font-family: Calibri;&quot;&gt;X2Go&lt;/span&gt;&lt;span style=&quot;color: #000000; line-height: 15.2px; font-family: 微软雅黑;&quot;&gt;、&lt;/span&gt;&lt;span style=&quot;color: #000000; line-height: 15.2px; font-family: Calibri;&quot;&gt;NoMachine&lt;/span&gt;&lt;span style=&quot;color: #000000; line-height: 15.2px; font-family: 微软雅黑;&quot;&gt;、&lt;/span&gt;&lt;span style=&quot;color: #000000; line-height: 15.2px; font-family: Calibri;&quot;&gt;X11 &lt;/span&gt;&lt;span style=&quot;color: #000000; line-height: 15.2px; font-family: 微软雅黑;&quot;&gt;转发等「画面要编码后传出去」的场景。本地独显游戏不要照搬「全关」。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 32px; margin-bottom: 0px; break-after: avoid; line-height: 21.28px; font-family: Calibri; color: rgb(54, 96, 145); font-size: 19px; text-wrap-mode: wrap; text-indent: 0em;&quot;&gt;&lt;span style=&quot;color: #000000; font-size: 20px;&quot;&gt;&lt;strong&gt;1. &lt;span style=&quot;font-family: 微软雅黑; color: #000000;&quot;&gt;这篇解决什么&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 11px; line-height: 17.6px; font-family: Calibri; color: rgb(26, 26, 26); font-size: 15px; text-wrap-mode: wrap; margin-top: 0px; text-indent: 0em;&quot;&gt;&lt;span style=&quot;color: #000000; font-size: 16px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;XFCE &lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;默认窗口管理器是 &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;xfwm4&lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;。它自带合成器（&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;compositor&lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;）：把每个窗口先画到离屏缓冲，再叠阴影、半透明、淡入，最后贴到屏幕。本地显示器上这能换来阴影、半透明效果和较少撕裂；一旦桌面是远程的，合成器每一帧都会变成更大、更碎、更难压缩的像素，带宽和延迟一起涨。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 11px; line-height: 17.6px; font-family: Calibri; color: rgb(26, 26, 26); font-size: 15px; text-wrap-mode: wrap; margin-top: 0px; text-indent: 0em;&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;收益最大、也最常被忽略的开关是：&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 13px; line-height: 15.6933px; font-family: Calibri; color: rgb(26, 26, 26); font-size: 15px; text-wrap-mode: wrap; margin-top: 8px; margin-left: 11px; background: rgb(243, 237, 230); text-indent: 0em;&quot;&gt;&lt;span style=&quot;font-family: Consolas; line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;xfconf-query -c xfwm4 -p /general/use_compositing -t bool -s false&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 11px; line-height: 17.6px; font-family: Calibri; color: rgb(26, 26, 26); font-size: 15px; text-wrap-mode: wrap; margin-top: 0px; text-indent: 0em;&quot;&gt;&lt;span style=&quot;color: #000000; font-size: 16px;&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;改完立刻生效，不必重启&lt;/span&gt; X&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;，也不必注销（个别版本的 &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;vblank_mode &lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;除外）。先确认窗口管理器确实是 &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;xfwm4&lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;：&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;wmctrl -m &lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;或 &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;ps -C xfwm4&lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;。若实际在跑 &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;Compiz&lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;、&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;Marco&lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;、&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;KWin&lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;、&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;Mutter&lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;，改 &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;xfwm4 &lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;通道无效。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 32px; margin-bottom: 0px; break-after: avoid; line-height: 21.28px; font-family: Calibri; color: rgb(54, 96, 145); font-size: 19px; text-wrap-mode: wrap; text-indent: 0em;&quot;&gt;&lt;span style=&quot;color: #000000; font-size: 20px;&quot;&gt;&lt;strong&gt;2. 合成器为什么吃带宽、拖慢显示&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 11px;line-height: 17.6px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;text-wrap-mode: wrap;margin-top: 0&quot;&gt;&lt;span style=&quot;color: #000000; font-size: 16px;&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;远程协议（&lt;/span&gt;RFB/VNC&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;、&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;SPICE&lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;、&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;RDP&lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;）按「脏矩形」压缩画面。合成器打开时大致是：&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 5px;margin-left: 24px;line-height: 16.72px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;text-wrap-mode: wrap;margin-top: 0&quot;&gt;&lt;span style=&quot;color: #000000; font-size: 16px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;1.&amp;nbsp;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;每个&lt;/span&gt; toplevel &lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;窗口被 &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;Composite Redirect&lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;，不直接画到根窗口。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 5px;margin-left: 24px;line-height: 16.72px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;text-wrap-mode: wrap;margin-top: 0&quot;&gt;&lt;span style=&quot;color: #000000; font-size: 16px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;2.&amp;nbsp;xfwm4 &lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;用 &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;Render/GLX &lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;把窗口、阴影、透明面板合成一张屏幕图。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 5px;margin-left: 24px;line-height: 16.72px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;text-wrap-mode: wrap;margin-top: 0&quot;&gt;&lt;span style=&quot;color: #000000; font-size: 16px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;3.&amp;nbsp;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;移动窗口时，阴影拖尾导致周围一大片像素变化，远程编码器按帧重压。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 5px;margin-left: 24px;line-height: 16.72px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;text-wrap-mode: wrap;margin-top: 0&quot;&gt;&lt;span style=&quot;color: #000000; font-size: 16px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;4.&amp;nbsp;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;半透明面板&lt;/span&gt;/&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;终端让像素无法用单色矩形或 &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;copyrect &lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;优化。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 11px;line-height: 17.6px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;text-wrap-mode: wrap;margin-top: 0&quot;&gt;&lt;span style=&quot;color: #000000; font-size: 16px;&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;关合成器后，窗口不再被重定向到离屏缓冲，直接显示，拖动可用&lt;/span&gt; X &lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;的 &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;CopyArea&lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;。&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;VNC &lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;的 &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;copyrect&lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;、&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;SPICE &lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;的 &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;image cache &lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;都能重新生效。带宽下降、拖动跟手，是因为少画了、也好压了。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;h1 style=&quot;margin-top: 32px;margin-bottom: 0;break-after: avoid;line-height: 21.28px;font-family: Calibri;color: rgb(54, 96, 145);font-size: 19px;text-wrap-mode: wrap&quot;&gt;&lt;span style=&quot;color: #000000; font-size: 20px;&quot;&gt;&lt;strong&gt;3. &lt;span style=&quot;font-family: 微软雅黑; color: #000000;&quot;&gt;图形界面怎么关&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/h1&gt;&lt;p style=&quot;margin-bottom: 5px;margin-left: 24px;line-height: 16.72px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;text-wrap-mode: wrap;margin-top: 0&quot;&gt;&lt;span style=&quot;color: #000000; font-size: 16px;&quot;&gt;1.&amp;nbsp;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;应用菜单&lt;/span&gt; &lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;→ &lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;设置 &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;→ &lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;窗口管理器微调（&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;Window Manager Tweaks&lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;）。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 5px;margin-left: 24px;line-height: 16.72px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;text-wrap-mode: wrap;margin-top: 0&quot;&gt;&lt;span style=&quot;color: #000000; font-size: 16px;&quot;&gt;2.&amp;nbsp;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;打开最后一页「合成器&lt;/span&gt; / Compositor&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;」。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 5px;margin-left: 24px;line-height: 16.72px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;text-wrap-mode: wrap;margin-top: 0&quot;&gt;&lt;span style=&quot;color: #000000; font-size: 16px;&quot;&gt;3.&amp;nbsp;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;取消勾选「启用显示合成&lt;/span&gt; / Enable display compositing&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;」。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 11px;line-height: 17.6px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;text-wrap-mode: wrap;margin-top: 0&quot;&gt;&lt;span style=&quot;color: #000000; font-size: 16px;&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;同一页还有窗口不透明度、移动&lt;/span&gt;/&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;缩放时透明度、阴影。远程场景建议整页都「不透明 &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;+ &lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;无阴影」。&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;box_move / box_resize &lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;不在这一页，而在「窗口管理器微调」的「无障碍（&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;Accessibility&lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;）」页：勾选「移动&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;缩放窗口时隐藏窗口内容」（&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;Hide content of windows when moving / resizing&lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;），对应 &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;box_move / box_resize = true&lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;。不同版本界面文字可能略有出入，以 &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;xfconf-query &lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;的值为准。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 13px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;text-wrap-mode: wrap;margin-top: 8px;margin-left: 11px;background: rgb(243, 237, 230)&quot;&gt;&lt;span style=&quot;font-family: Consolas; line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;xfconf-query -c xfwm4 -l -v | grep -E &amp;#39;composit|opacity|shadow|vblank|unredirect|box_move|box_resize|zoom|cycle_preview&amp;#39;&lt;/span&gt;&lt;/p&gt;&lt;h1 style=&quot;margin-top: 32px;margin-bottom: 0;break-after: avoid;line-height: 21.28px;font-family: Calibri;color: rgb(54, 96, 145);font-size: 19px;text-wrap-mode: wrap&quot;&gt;&lt;span style=&quot;color: #000000; font-size: 20px;&quot;&gt;&lt;strong&gt;4. &lt;span style=&quot;font-family: 微软雅黑; color: #000000;&quot;&gt;参数表（远程 &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000;&quot;&gt;/ &lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000;&quot;&gt;瘦客户机推荐值）&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/h1&gt;&lt;p style=&quot;margin-bottom: 11px;line-height: 17.6px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;text-wrap-mode: wrap;margin-top: 0&quot;&gt;&lt;span style=&quot;color: #000000; font-size: 16px;&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;读写方式：&lt;/span&gt;xfconf-query -c xfwm4 -p /general/&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;名字。「远程推荐」用于降带宽和加速绘制；本机带独显、在意撕裂时不要全抄。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;table cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;&lt;tr class=&quot;firstRow&quot;&gt;&lt;td width=&quot;157&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-width: 1px; border-color: windowtext; background: rgb(59, 13, 22);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;color: #000000; font-size: 16px;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;line-height: 14.2667px; font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;属性&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;157&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-width: 1px; border-color: windowtext; background: rgb(59, 13, 22);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;color: #000000; font-size: 16px;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;line-height: 14.2667px; font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;远程推荐&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;157&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-width: 1px; border-color: windowtext; background: rgb(59, 13, 22);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;color: #000000; font-size: 16px;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;line-height: 14.2667px; font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;作用&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;157&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-width: 1px; border-color: windowtext; background: rgb(59, 13, 22);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;color: #000000; font-size: 16px;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;line-height: 14.2667px; color: #000000; font-size: 16px;&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;对带宽&lt;/span&gt;/&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;速度&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width=&quot;157&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;/general/use_compositing&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;157&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;false&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;157&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;&lt;span style=&quot;line-height: 12.84px; font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;总开关。&lt;/span&gt;false=&lt;span style=&quot;line-height: 12.84px; font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;不走离屏合成&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;157&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑; line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;最大收益，立刻少一层全屏合成&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width=&quot;157&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 247, 243);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;/general/unredirect_overlays&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;157&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 247, 243);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;true&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;157&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 247, 243);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑; line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;合成器仍开时，全屏窗口绕过合成&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;157&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 247, 243);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;&lt;span style=&quot;line-height: 12.84px; font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;全屏视频&lt;/span&gt;/GL &lt;span style=&quot;line-height: 12.84px; font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;少拷一次&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width=&quot;157&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;/general/show_frame_shadow&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;157&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;false&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;157&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑; line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;普通窗口阴影&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;157&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑; line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;拖动时脏区小一圈&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width=&quot;157&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 247, 243);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;/general/show_dock_shadow&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;157&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 247, 243);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;false&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;157&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 247, 243);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;&lt;span style=&quot;line-height: 12.84px; font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;面板&lt;/span&gt;/dock &lt;span style=&quot;line-height: 12.84px; font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;阴影&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;157&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 247, 243);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑; line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;面板附近少半透明像素&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width=&quot;157&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;/general/show_popup_shadow&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;157&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;false&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;157&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;&lt;span style=&quot;line-height: 12.84px; font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;菜单、&lt;/span&gt;tooltip &lt;span style=&quot;line-height: 12.84px; font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;阴影&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;157&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑; line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;菜单弹出更干净&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width=&quot;157&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 247, 243);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;/general/shadow_opacity&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;157&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 247, 243);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;0&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;157&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 247, 243);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;&lt;span style=&quot;line-height: 12.84px; font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;阴影浓度&lt;/span&gt; 0–100&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;157&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 247, 243);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑; line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;即使忘了关阴影也不发虚&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width=&quot;157&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;/general/frame_opacity&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;157&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;100&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;157&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑; line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;窗口边框不透明度&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;157&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;100=&lt;span style=&quot;line-height: 12.84px; font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;不透明，可矩形压缩&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width=&quot;157&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 247, 243);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;/general/inactive_opacity&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;157&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 247, 243);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;100&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;157&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 247, 243);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑; line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;非活动窗口&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;157&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 247, 243);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑; line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;避免失焦变半透明&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width=&quot;157&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;/general/move_opacity&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;157&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;100&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;157&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑; line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;移动窗口过程中&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;157&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑; line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;拖动时不要透视桌面&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width=&quot;157&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 247, 243);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;/general/resize_opacity&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;157&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 247, 243);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;100&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;157&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 247, 243);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑; line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;缩放窗口过程中&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;157&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 247, 243);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑; line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;同上&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width=&quot;157&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;/general/popup_opacity&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;157&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;100&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;157&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑; line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;弹出菜单&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;157&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑; line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;菜单不透底&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width=&quot;157&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 247, 243);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;/general/vblank_mode&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;157&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 247, 243);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;off&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;157&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 247, 243);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;auto / glx / xpresent / off&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;157&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 247, 243);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;&lt;span style=&quot;line-height: 12.84px; font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;远程不必等&lt;/span&gt; vsync&lt;span style=&quot;line-height: 12.84px; font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;；需 &lt;/span&gt;&lt;span style=&quot;line-height: 12.84px; font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;xfwm4 --replace&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width=&quot;157&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;/general/zoom_desktop&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;157&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;false&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;157&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;Alt+&lt;span style=&quot;line-height: 12.84px; font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;滚轮桌面放大&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;157&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑; line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;少一个全屏缩放路径&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width=&quot;157&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 247, 243);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;/general/cycle_preview&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;157&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 247, 243);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;false&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;157&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 247, 243);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;Alt+Tab &lt;span style=&quot;line-height: 12.84px; font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;缩略图&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;157&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 247, 243);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;&lt;span style=&quot;line-height: 12.84px; font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;切窗口时少抓&lt;/span&gt; pixmap&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width=&quot;157&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;/general/box_move&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;157&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;true&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;157&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑; line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;移动时只画线框&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;157&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑; line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;拖动带宽断崖下降&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width=&quot;157&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 247, 243);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;/general/box_resize&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;157&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 247, 243);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;true&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;157&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 247, 243);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑; line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;缩放时只画线框&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;157&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 247, 243);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑; line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;同上&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width=&quot;157&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;/general/horiz_scroll_opacity&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;157&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;false&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;157&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑; line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;水平滚轮调透明度&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;157&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑; line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;防止误触半透明&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style=&quot;margin-bottom: 13px;line-height: 16.72px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;text-wrap-mode: wrap&quot;&gt;&lt;span style=&quot;color: #000000; font-size: 16px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;h1 style=&quot;margin-top: 32px;margin-bottom: 0;break-after: avoid;line-height: 21.28px;font-family: Calibri;color: rgb(54, 96, 145);font-size: 19px;text-wrap-mode: wrap&quot;&gt;&lt;span style=&quot;color: #000000; font-size: 20px;&quot;&gt;&lt;strong&gt;5. &lt;span style=&quot;font-family: 微软雅黑; color: #000000;&quot;&gt;一条命令套装&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/h1&gt;&lt;p style=&quot;margin-bottom: 11px;line-height: 17.6px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;text-wrap-mode: wrap;margin-top: 0&quot;&gt;&lt;span style=&quot;color: #000000; font-size: 16px;&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;在图形登录后的用户会话里执行（&lt;/span&gt;xfconf &lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;按用户隔离）。&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;root &lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;改自己的会话改不到普通用户。没有 &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;DISPLAY &lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;时命令会失败。若某条命令提示属性不存在，说明该属性在你的 &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;xfwm4.xml &lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;里还没有，在命令末尾加 &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;--create&lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;（&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;-t &lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;类型照写）即可。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 13px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;text-wrap-mode: wrap;margin-top: 8px;margin-left: 11px;background: rgb(243, 237, 230)&quot;&gt;&lt;span style=&quot;font-family: Consolas; line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;# 总开关：关合成&lt;br/&gt;xfconf-query -c xfwm4 -p /general/use_compositing -t bool -s false&lt;br/&gt;&lt;br/&gt;# 阴影全关&lt;br/&gt;xfconf-query -c xfwm4 -p /general/show_frame_shadow -t bool -s false&lt;br/&gt;xfconf-query -c xfwm4 -p /general/show_dock_shadow &amp;nbsp;-t bool -s false&lt;br/&gt;xfconf-query -c xfwm4 -p /general/show_popup_shadow -t bool -s false&lt;br/&gt;xfconf-query -c xfwm4 -p /general/shadow_opacity &amp;nbsp;&amp;nbsp;&amp;nbsp;-t int &amp;nbsp;-s 0&lt;br/&gt;&lt;br/&gt;# 全部不透明（合成器万一又被打开也不发虚）&lt;br/&gt;xfconf-query -c xfwm4 -p /general/frame_opacity &amp;nbsp;&amp;nbsp;&amp;nbsp;-t int &amp;nbsp;-s 100&lt;br/&gt;xfconf-query -c xfwm4 -p /general/inactive_opacity -t int &amp;nbsp;-s 100&lt;br/&gt;xfconf-query -c xfwm4 -p /general/move_opacity &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;-t int &amp;nbsp;-s 100&lt;br/&gt;xfconf-query -c xfwm4 -p /general/resize_opacity &amp;nbsp;&amp;nbsp;-t int &amp;nbsp;-s 100&lt;br/&gt;xfconf-query -c xfwm4 -p /general/popup_opacity &amp;nbsp;&amp;nbsp;&amp;nbsp;-t int &amp;nbsp;-s 100&lt;br/&gt;&lt;br/&gt;# 线框移动/缩放；关掉桌面缩放和 Alt-Tab 预览&lt;br/&gt;xfconf-query -c xfwm4 -p /general/box_move &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;-t bool -s true&lt;br/&gt;xfconf-query -c xfwm4 -p /general/box_resize &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;-t bool -s true&lt;br/&gt;xfconf-query -c xfwm4 -p /general/zoom_desktop &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;-t bool -s false&lt;br/&gt;xfconf-query -c xfwm4 -p /general/cycle_preview &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;-t bool -s false&lt;br/&gt;xfconf-query -c xfwm4 -p /general/horiz_scroll_opacity -t bool -s false&lt;br/&gt;xfconf-query -c xfwm4 -p /general/unredirect_overlays &amp;nbsp;-t bool -s true&lt;br/&gt;&lt;br/&gt;# vsync 关掉（可能需要 --create），然后替换窗口管理器&lt;br/&gt;xfconf-query -c xfwm4 -p /general/vblank_mode -t string -s off --create&lt;br/&gt;xfwm4 --replace &amp;amp;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 11px;line-height: 17.6px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;text-wrap-mode: wrap;margin-top: 0&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;临时翻转合成器（适合绑快捷键，会议投屏卡顿时一键关特效）：&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 13px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;text-wrap-mode: wrap;margin-top: 8px;margin-left: 11px;background: rgb(243, 237, 230)&quot;&gt;&lt;span style=&quot;font-family: Consolas; line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;xfconf-query -c xfwm4 -p /general/use_compositing -T&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 11px;line-height: 17.6px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;text-wrap-mode: wrap;margin-top: 0&quot;&gt;&lt;span style=&quot;color: #000000; font-size: 16px;&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;配套脚本：&lt;/span&gt;scripts/xfce-fast-display.sh &lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;。加 &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;--restore &lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;可大致恢复本机观感默认。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;h1 style=&quot;margin-top: 32px;margin-bottom: 0;break-after: avoid;line-height: 21.28px;font-family: Calibri;color: rgb(54, 96, 145);font-size: 19px;text-wrap-mode: wrap&quot;&gt;&lt;span style=&quot;color: #000000; font-size: 20px;&quot;&gt;&lt;strong&gt;6. &lt;span style=&quot;font-family: 微软雅黑; color: #000000;&quot;&gt;合成器必须留着时的折中&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/h1&gt;&lt;p style=&quot;margin-bottom: 11px;line-height: 17.6px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;text-wrap-mode: wrap;margin-top: 0&quot;&gt;&lt;span style=&quot;color: #000000; font-size: 16px;&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;无边框透明终端、录屏、本机&lt;/span&gt; Intel &lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;卡靠合成器减撕裂时，不要关总开关，按下面砍特效：&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 5px;margin-left: 24px;line-height: 16.72px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;text-wrap-mode: wrap;margin-top: 0&quot;&gt;&lt;span style=&quot;color: #000000; font-size: 16px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;1.&amp;nbsp;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;三颗阴影全&lt;/span&gt; false&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;，&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;shadow_opacity=0&lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 5px;margin-left: 24px;line-height: 16.72px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;text-wrap-mode: wrap;margin-top: 0&quot;&gt;&lt;span style=&quot;color: #000000; font-size: 16px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;2.&amp;nbsp;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;五种&lt;/span&gt; opacity &lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;全 &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;100&lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 5px;margin-left: 24px;line-height: 16.72px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;text-wrap-mode: wrap;margin-top: 0&quot;&gt;&lt;span style=&quot;color: #000000; font-size: 16px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;3.&amp;nbsp;unredirect_overlays=true&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;（全屏播放器&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;/GL &lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;不再被合成）。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 5px;margin-left: 24px;line-height: 16.72px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;text-wrap-mode: wrap;margin-top: 0&quot;&gt;&lt;span style=&quot;color: #000000; font-size: 16px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;4.&amp;nbsp;vblank_mode=off&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;，或按显卡试 &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;xpresent&lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;（较新 &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;AMD&lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;）&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;/ glx&lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;（&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;Intel&lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;）。远程优先 &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;off&lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 5px;margin-left: 24px;line-height: 16.72px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;text-wrap-mode: wrap;margin-top: 0&quot;&gt;&lt;span style=&quot;color: #000000; font-size: 16px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;5.&amp;nbsp;cycle_preview=false&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;，&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;zoom_desktop=false&lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 11px;line-height: 17.6px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;text-wrap-mode: wrap;margin-top: 0&quot;&gt;&lt;span style=&quot;color: #000000; font-size: 16px;&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;不注销、只换&lt;/span&gt; vblank &lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;试手感：&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 13px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;text-wrap-mode: wrap;margin-top: 8px;margin-left: 11px;background: rgb(243, 237, 230)&quot;&gt;&lt;span style=&quot;font-family: Consolas; line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;xfwm4 --vblank=off --replace &amp;amp;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 11px;line-height: 17.6px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;text-wrap-mode: wrap;margin-top: 0&quot;&gt;&lt;span style=&quot;color: #000000; font-size: 16px;&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;注意：&lt;/span&gt;use_compositing &lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;多数版本热更新；&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;vblank_mode &lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;不会。必须 &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;xfwm4 --replace &amp;amp;&lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;，不要在 &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;tty &lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;里 &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;kill &lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;掉 &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;xfwm4 &lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;后不管，否则会丢掉窗口装饰。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;h1 style=&quot;margin-top: 32px;margin-bottom: 0;break-after: avoid;line-height: 21.28px;font-family: Calibri;color: rgb(54, 96, 145);font-size: 19px;text-wrap-mode: wrap&quot;&gt;&lt;span style=&quot;color: #000000; font-size: 20px;&quot;&gt;&lt;strong&gt;7. &lt;span style=&quot;font-family: 微软雅黑; color: #000000;&quot;&gt;桌面、面板、&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000;&quot;&gt;GTK&lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000;&quot;&gt;：合成器以外同样吃带宽&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/h1&gt;&lt;h2 style=&quot;margin-top: 13px;margin-bottom: 0;break-after: avoid;line-height: 19.76px;font-family: Calibri;color: rgb(79, 129, 189);font-size: 17px;text-wrap-mode: wrap&quot;&gt;&lt;span style=&quot;color: #000000; font-size: 18px;&quot;&gt;&lt;strong&gt;7.1 &lt;span style=&quot;font-family: 微软雅黑; color: #000000;&quot;&gt;壁纸改纯色&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/h2&gt;&lt;p style=&quot;margin-bottom: 11px;line-height: 17.6px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;text-wrap-mode: wrap;margin-top: 0&quot;&gt;&lt;span style=&quot;color: #000000; font-size: 16px;&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;大图壁纸一滚动、一露出桌面就要传整屏&lt;/span&gt; JPEG&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;。纯色几乎为零流量。图形界面：设置 &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;→ &lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;桌面 &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;→ &lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;样式选「无」，颜色选深灰或纯黑。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 13px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;text-wrap-mode: wrap;margin-top: 8px;margin-left: 11px;background: rgb(243, 237, 230)&quot;&gt;&lt;span style=&quot;font-family: Consolas; line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;xfconf-query -c xfce4-desktop -l | grep -i image-style&lt;br/&gt;# image-style 0=无图。多屏时属性路径可能是 monitorDP-1 等&lt;br/&gt;xfconf-query -c xfce4-desktop -p /backdrop/screen0/monitor0/workspace0/image-style -s 0&lt;/span&gt;&lt;/p&gt;&lt;h2 style=&quot;margin-top: 13px;margin-bottom: 0;break-after: avoid;line-height: 19.76px;font-family: Calibri;color: rgb(79, 129, 189);font-size: 17px;text-wrap-mode: wrap&quot;&gt;&lt;span style=&quot;color: #000000; font-size: 18px;&quot;&gt;&lt;strong&gt;7.2 &lt;span style=&quot;font-family: 微软雅黑; color: #000000;&quot;&gt;面板不要透明&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/h2&gt;&lt;p style=&quot;margin-bottom: 13px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;text-wrap-mode: wrap;margin-top: 8px;margin-left: 11px;background: rgb(243, 237, 230)&quot;&gt;&lt;span style=&quot;font-family: Consolas; line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;xfconf-query -c xfce4-panel -l | grep -i background&lt;br/&gt;# background-style: 0=无（跟随主题） &amp;nbsp;1=纯色 &amp;nbsp;2=背景图（没有“透明”这一档）&lt;br/&gt;# 面板编号以上面 -l 输出为准，默认面板通常是 panel-1&lt;br/&gt;xfconf-query -c xfce4-panel -p /panels/panel-1/background-style -t int -s 1&lt;br/&gt;# XFCE 4.12：用 background-alpha（0-100）&lt;br/&gt;xfconf-query -c xfce4-panel -p /panels/panel-1/background-alpha -t int -s 100&lt;br/&gt;# XFCE 4.14 及以后：改用 background-rgba（R G B A，最后一项 1.0=不透明）&lt;br/&gt;xfconf-query -c xfce4-panel -p /panels/panel-1/background-rgba -t double -t double -t double -t double -s 0.2 -s 0.2 -s 0.2 -s 1.0 --create&lt;br/&gt;xfce4-panel -r&lt;/span&gt;&lt;/p&gt;&lt;h2 style=&quot;margin-top: 13px;margin-bottom: 0;break-after: avoid;line-height: 19.76px;font-family: Calibri;color: rgb(79, 129, 189);font-size: 17px;text-wrap-mode: wrap&quot;&gt;&lt;span style=&quot;color: #000000; font-size: 18px;&quot;&gt;&lt;strong&gt;7.3 &lt;span style=&quot;font-family: 微软雅黑; color: #000000;&quot;&gt;关掉 &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000;&quot;&gt;GTK &lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000;&quot;&gt;动画与提示音&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/h2&gt;&lt;p style=&quot;margin-bottom: 13px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;text-wrap-mode: wrap;margin-top: 8px;margin-left: 11px;background: rgb(243, 237, 230)&quot;&gt;&lt;span style=&quot;font-family: Consolas; line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;xfconf-query -c xsettings -p /Net/EnableEventSounds -t bool -s false&lt;br/&gt;xfconf-query -c xsettings -p /Net/EnableInputFeedbackSounds -t bool -s false&lt;br/&gt;# GTK 动画：走 xsettings 通道（会覆盖 gtk-3.0/settings.ini 里的同名项）&lt;br/&gt;xfconf-query -c xsettings -p /Gtk/EnableAnimations -t bool -s false --create&lt;/span&gt;&lt;/p&gt;&lt;h2 style=&quot;margin-top: 13px;margin-bottom: 0;break-after: avoid;line-height: 19.76px;font-family: Calibri;color: rgb(79, 129, 189);font-size: 17px;text-wrap-mode: wrap&quot;&gt;&lt;span style=&quot;color: #000000; font-size: 18px;&quot;&gt;&lt;strong&gt;7.4 Thunar &lt;span style=&quot;font-family: 微软雅黑; color: #000000;&quot;&gt;缩略图&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/h2&gt;&lt;p style=&quot;margin-bottom: 11px;line-height: 17.6px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;text-wrap-mode: wrap;margin-top: 0&quot;&gt;&lt;span style=&quot;color: #000000; font-size: 16px;&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;远程打开图片、视频多的目录时，缩略图会变成成百张小&lt;/span&gt; JPEG&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;。设置 &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;→ &lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;文件管理器 &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;→ &lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;显示 &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;→ &lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;缩略图「从不」，或：&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 13px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;text-wrap-mode: wrap;margin-top: 8px;margin-left: 11px;background: rgb(243, 237, 230)&quot;&gt;&lt;span style=&quot;font-family: Consolas; line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;xfconf-query -c thunar -p /misc-thumbnail-mode -s THUNAR_THUMBNAIL_MODE_NEVER&lt;/span&gt;&lt;/p&gt;&lt;h1 style=&quot;margin-top: 32px;margin-bottom: 0;break-after: avoid;line-height: 21.28px;font-family: Calibri;color: rgb(54, 96, 145);font-size: 19px;text-wrap-mode: wrap&quot;&gt;&lt;span style=&quot;color: #000000; font-size: 20px;&quot;&gt;&lt;strong&gt;8. &lt;span style=&quot;font-family: 微软雅黑; color: #000000;&quot;&gt;远程协议侧再砍一刀&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/h1&gt;&lt;table cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;&lt;tr class=&quot;firstRow&quot;&gt;&lt;td width=&quot;314&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-width: 1px; border-color: windowtext; background: rgb(59, 13, 22);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;color: #000000; font-size: 16px;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;line-height: 14.2667px; font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;通道&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;314&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-width: 1px; border-color: windowtext; background: rgb(59, 13, 22);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;color: #000000; font-size: 16px;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;line-height: 14.2667px; font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;建议&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width=&quot;314&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(255, 255, 255);&quot; height=&quot;36&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑; line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;Ftu/Xlink&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;314&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(255, 255, 255);&quot; height=&quot;36&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑; line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;&lt;span style=&quot;line-height: 12.84px; font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;&amp;nbsp;&lt;/span&gt;建议使用&lt;span style=&quot;line-height: 12.84px; font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;use_compositing=false&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width=&quot;314&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;TigerVNC / x11vnc&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;314&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;&lt;span style=&quot;line-height: 12.84px; font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;色深&lt;/span&gt; 16 &lt;span style=&quot;line-height: 12.84px; font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;或 &lt;/span&gt;&lt;span style=&quot;line-height: 12.84px; font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;24&lt;/span&gt;&lt;span style=&quot;line-height: 12.84px; font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;；开 &lt;/span&gt;&lt;span style=&quot;line-height: 12.84px; font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;Tight/ZRLE&lt;/span&gt;&lt;span style=&quot;line-height: 12.84px; font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;；关高质量 &lt;/span&gt;&lt;span style=&quot;line-height: 12.84px; font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;JPEG&lt;/span&gt;&lt;span style=&quot;line-height: 12.84px; font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;。合成器关后 &lt;/span&gt;&lt;span style=&quot;line-height: 12.84px; font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;copyrect &lt;/span&gt;&lt;span style=&quot;line-height: 12.84px; font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;才有用。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width=&quot;314&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 247, 243);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;SPICE&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;314&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 247, 243);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;&lt;span style=&quot;line-height: 12.84px; font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;客户端勿滥用&lt;/span&gt; jpeg wan&lt;span style=&quot;line-height: 12.84px; font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;；服务端 &lt;/span&gt;&lt;span style=&quot;line-height: 12.84px; font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;streaming-video=off&lt;/span&gt;&lt;span style=&quot;line-height: 12.84px; font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;，除非真在放视频。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width=&quot;314&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;XRDP&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;314&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;&lt;span style=&quot;line-height: 12.84px; font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;用&lt;/span&gt; xorgxrdp &lt;span style=&quot;line-height: 12.84px; font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;而不是嵌套 &lt;/span&gt;&lt;span style=&quot;line-height: 12.84px; font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;VNC&lt;/span&gt;&lt;span style=&quot;line-height: 12.84px; font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;；&lt;/span&gt;&lt;span style=&quot;line-height: 12.84px; font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;max bpp=24&lt;/span&gt;&lt;span style=&quot;line-height: 12.84px; font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width=&quot;314&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 247, 243);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;X2Go&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;314&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 247, 243);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;&lt;span style=&quot;line-height: 12.84px; font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;无自定义壁纸&lt;/span&gt; + &lt;span style=&quot;line-height: 12.84px; font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;无合成；压缩方式选 &lt;/span&gt;&lt;span style=&quot;line-height: 12.84px; font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;jpeg/png &lt;/span&gt;&lt;span style=&quot;line-height: 12.84px; font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;类（如 &lt;/span&gt;&lt;span style=&quot;line-height: 12.84px; font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;16m-jpeg&lt;/span&gt;&lt;span style=&quot;line-height: 12.84px; font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;、&lt;/span&gt;&lt;span style=&quot;line-height: 12.84px; font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;4k-png&lt;/span&gt;&lt;span style=&quot;line-height: 12.84px; font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;），质量选中档（约 &lt;/span&gt;&lt;span style=&quot;line-height: 12.84px; font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;4–6&lt;/span&gt;&lt;span style=&quot;line-height: 12.84px; font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;），不要选 &lt;/span&gt;&lt;span style=&quot;line-height: 12.84px; font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;line-height: 12.84px; font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width=&quot;314&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;ssh -X / -Y&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;314&quot; valign=&quot;top&quot; style=&quot;padding: 0px 7px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(255, 255, 255);&quot;&gt;&lt;p style=&quot;margin-bottom: 3px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;margin-top: 3px&quot;&gt;&lt;span style=&quot;line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;&lt;span style=&quot;line-height: 12.84px; font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;合成器几乎无意义且极慢。务必&lt;/span&gt; use_compositing=false&lt;span style=&quot;line-height: 12.84px; font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;；整桌面优先改用 &lt;/span&gt;&lt;span style=&quot;line-height: 12.84px; font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;VNC/SPICE&lt;/span&gt;&lt;span style=&quot;line-height: 12.84px; font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style=&quot;margin-bottom: 13px;line-height: 16.72px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;text-wrap-mode: wrap&quot;&gt;&lt;span style=&quot;color: #000000; font-size: 16px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 11px;line-height: 17.6px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;text-wrap-mode: wrap;margin-top: 0&quot;&gt;&lt;span style=&quot;color: #000000; font-size: 16px;&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;显示尺寸也是线性成本：远程会话用&lt;/span&gt; 1280×720 &lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;或 &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;1600×900&lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;，不要默认 &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;4K&lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;。&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;XFCE&lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;：设置 &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;→ &lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;显示，或 &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;xrandr --output … --mode 1600x900&lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;h1 style=&quot;margin-top: 32px;margin-bottom: 0;break-after: avoid;line-height: 21.28px;font-family: Calibri;color: rgb(54, 96, 145);font-size: 19px;text-wrap-mode: wrap&quot;&gt;&lt;span style=&quot;color: #000000; font-size: 20px;&quot;&gt;&lt;strong&gt;9. &lt;span style=&quot;font-family: 微软雅黑; color: #000000;&quot;&gt;怎么验证变快、变省&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/h1&gt;&lt;p style=&quot;margin-bottom: 5px;margin-left: 24px;line-height: 16.72px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;text-wrap-mode: wrap;margin-top: 0&quot;&gt;&lt;span style=&quot;color: #000000; font-size: 16px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;1.&amp;nbsp;xfconf-query -c xfwm4 -p /general/use_compositing &lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;应为 &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;false&lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;。拖动窗口应出现线框（若开了 &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;box_move&lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;），不应有阴影拖尾。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 5px;margin-left: 24px;line-height: 16.72px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;text-wrap-mode: wrap;margin-top: 0&quot;&gt;&lt;span style=&quot;color: #000000; font-size: 16px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;2.&amp;nbsp;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;拖动窗口时不应再出现阴影或半透明拖尾；这是最直观的判断。（不建议用&lt;/span&gt; xprop -root &lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;查 &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;_NET_WM_CM_S0&lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;：它是 &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;selection&lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;，不是 &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;root &lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;属性，&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;xprop &lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;查不到。）&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 5px;margin-left: 24px;line-height: 16.72px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;text-wrap-mode: wrap;margin-top: 0&quot;&gt;&lt;span style=&quot;color: #000000; font-size: 16px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;3.&amp;nbsp;VNC &lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;中持续拖动大窗口，对比开关前后 &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;iftop &lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;或客户端统计。常见观感是从「发糊的 &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;JPEG &lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;瀑布」变成「整窗平移」。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 5px;margin-left: 24px;line-height: 16.72px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;text-wrap-mode: wrap;margin-top: 0&quot;&gt;&lt;span style=&quot;color: #000000; font-size: 16px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;4.&amp;nbsp;top &lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;里 &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;xfwm4 &lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;在拖动时不应再占满一核；&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;Xorg / Xtigervnc / spice &lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;编码 &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;CPU &lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;应下降。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 11px;line-height: 17.6px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;text-wrap-mode: wrap;margin-top: 0&quot;&gt;&lt;span style=&quot;color: #000000; font-size: 16px;&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;落地顺序：&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;① &lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;关合成器 &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;→ ② &lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;线框拖动 &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;→ ③ &lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;纯色桌面 &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;→ ④ &lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;降低分辨率 &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;→ ⑤ &lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;再调 &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;VNC/SPICE/RDP &lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;编码器。只做第 &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;1 &lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;步，多数 &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;VNC &lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;会话已经能从「能用」变成「跟手」。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;h1 style=&quot;margin-top: 32px;margin-bottom: 0;break-after: avoid;line-height: 21.28px;font-family: Calibri;color: rgb(54, 96, 145);font-size: 19px;text-wrap-mode: wrap&quot;&gt;&lt;span style=&quot;color: #000000; font-size: 20px;&quot;&gt;&lt;strong&gt;10. &lt;span style=&quot;font-family: 微软雅黑; color: #000000;&quot;&gt;还原、持久化、注意点&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/h1&gt;&lt;h2 style=&quot;margin-top: 13px;margin-bottom: 0;break-after: avoid;line-height: 19.76px;font-family: Calibri;color: rgb(79, 129, 189);font-size: 17px;text-wrap-mode: wrap&quot;&gt;&lt;span style=&quot;color: #000000; font-size: 18px;&quot;&gt;&lt;strong&gt;10.1 &lt;span style=&quot;font-family: 微软雅黑; color: #000000;&quot;&gt;配置落在哪&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/h2&gt;&lt;p style=&quot;margin-bottom: 11px;line-height: 17.6px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;text-wrap-mode: wrap;margin-top: 0&quot;&gt;&lt;span style=&quot;color: #000000; font-size: 16px;&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;用户级&lt;/span&gt; xfconf&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;：&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;~/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml&lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;。&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;kickstart/ansible &lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;应改这一份，或登录后跑脚本。改 &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;/etc/xdg/xfce4/xfconf/… &lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;只影响尚未有个人配置的新用户。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;h2 style=&quot;margin-top: 13px;margin-bottom: 0;break-after: avoid;line-height: 19.76px;font-family: Calibri;color: rgb(79, 129, 189);font-size: 17px;text-wrap-mode: wrap&quot;&gt;&lt;span style=&quot;color: #000000; font-size: 18px;&quot;&gt;&lt;strong&gt;10.2 &lt;span style=&quot;font-family: 微软雅黑; color: #000000;&quot;&gt;恢复本机观感&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/h2&gt;&lt;p style=&quot;margin-bottom: 13px;line-height: 15.6933px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;text-wrap-mode: wrap;margin-top: 8px;margin-left: 11px;background: rgb(243, 237, 230)&quot;&gt;&lt;span style=&quot;font-family: Consolas; line-height: 12.84px; color: #000000; font-size: 16px;&quot;&gt;xfconf-query -c xfwm4 -p /general/use_compositing -s true&lt;br/&gt;xfconf-query -c xfwm4 -p /general/show_frame_shadow -s true&lt;br/&gt;xfconf-query -c xfwm4 -p /general/box_move -s false&lt;br/&gt;xfconf-query -c xfwm4 -p /general/box_resize -s false&lt;br/&gt;xfconf-query -c xfwm4 -p /general/vblank_mode -t string -s auto --create&lt;br/&gt;xfwm4 --replace &amp;amp;&lt;/span&gt;&lt;/p&gt;&lt;h2 style=&quot;margin-top: 13px;margin-bottom: 0;break-after: avoid;line-height: 19.76px;font-family: Calibri;color: rgb(79, 129, 189);font-size: 17px;text-wrap-mode: wrap&quot;&gt;&lt;span style=&quot;color: #000000; font-size: 18px;&quot;&gt;&lt;strong&gt;10.3 &lt;span style=&quot;font-family: 微软雅黑; color: #000000;&quot;&gt;不要踩的坑&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/h2&gt;&lt;p style=&quot;margin-bottom: 5px;margin-left: 24px;line-height: 16.72px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;text-wrap-mode: wrap;margin-top: 0&quot;&gt;&lt;span style=&quot;color: #000000; font-size: 16px;&quot;&gt;&lt;span style=&quot;font-family: Symbol; color: #000000; font-size: 16px;&quot;&gt;·&lt;span style=&quot;font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-size-adjust: none; font-kerning: auto; font-optical-sizing: auto; font-feature-settings: normal; font-variation-settings: normal; font-variant-position: normal; font-variant-emoji: normal; font-stretch: normal; line-height: normal; font-family: &amp;quot;Times New Roman&amp;quot;; color: #000000; font-size: 16px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;在&lt;/span&gt; ssh &lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;文本会话里改 &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;xfconf&lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;：没有 &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;DISPLAY &lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;和会话 &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;DBus &lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;时会改空通道或失败。应带上 &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;DISPLAY=:0 &lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;和 &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;DBUS_SESSION_BUS_ADDRESS&lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;，或直接在桌面终端跑。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 5px;margin-left: 24px;line-height: 16.72px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;text-wrap-mode: wrap;margin-top: 0&quot;&gt;&lt;span style=&quot;color: #000000; font-size: 16px;&quot;&gt;&lt;span style=&quot;font-family: Symbol; color: #000000; font-size: 16px;&quot;&gt;·&lt;span style=&quot;font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-size-adjust: none; font-kerning: auto; font-optical-sizing: auto; font-feature-settings: normal; font-variation-settings: normal; font-variant-position: normal; font-variant-emoji: normal; font-stretch: normal; line-height: normal; font-family: &amp;quot;Times New Roman&amp;quot;; color: #000000; font-size: 16px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;XFCE &lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;默认合成器就是 &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;xfwm4&lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;，不是 &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;picom&lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;。只有自己又装了独立 &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;compositor &lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;才需要停 &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;picom&lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 5px;margin-left: 24px;line-height: 16.72px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;text-wrap-mode: wrap;margin-top: 0&quot;&gt;&lt;span style=&quot;color: #000000; font-size: 16px;&quot;&gt;&lt;span style=&quot;font-family: Symbol; color: #000000; font-size: 16px;&quot;&gt;·&lt;span style=&quot;font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-size-adjust: none; font-kerning: auto; font-optical-sizing: auto; font-feature-settings: normal; font-variation-settings: normal; font-variant-position: normal; font-variant-emoji: normal; font-stretch: normal; line-height: normal; font-family: &amp;quot;Times New Roman&amp;quot;; color: #000000; font-size: 16px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;xfwm4 &lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;合成 &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;+ picom &lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;同时开会花屏或吃双倍 &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;GPU&lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;。远程两者都关。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 5px;margin-left: 24px;line-height: 16.72px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;text-wrap-mode: wrap;margin-top: 0&quot;&gt;&lt;span style=&quot;color: #000000; font-size: 16px;&quot;&gt;&lt;span style=&quot;font-family: Symbol; color: #000000; font-size: 16px;&quot;&gt;·&lt;span style=&quot;font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-size-adjust: none; font-kerning: auto; font-optical-sizing: auto; font-feature-settings: normal; font-variation-settings: normal; font-variant-position: normal; font-variant-emoji: normal; font-stretch: normal; line-height: normal; font-family: &amp;quot;Times New Roman&amp;quot;; color: #000000; font-size: 16px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;本机游戏&lt;/span&gt;/&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;浏览器视频撕裂是关 &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;vsync &lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;的代价。本机把 &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;vblank_mode &lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;改回 &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;glx &lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;或 &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;auto&lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;；合成器可以开着但阴影关掉。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 5px;margin-left: 24px;line-height: 16.72px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;text-wrap-mode: wrap;margin-top: 0&quot;&gt;&lt;span style=&quot;color: #000000; font-size: 16px;&quot;&gt;&lt;span style=&quot;font-family: Symbol; color: #000000; font-size: 16px;&quot;&gt;·&lt;span style=&quot;font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-size-adjust: none; font-kerning: auto; font-optical-sizing: auto; font-feature-settings: normal; font-variation-settings: normal; font-variant-position: normal; font-variant-emoji: normal; font-stretch: normal; line-height: normal; font-family: &amp;quot;Times New Roman&amp;quot;; color: #000000; font-size: 16px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;Wayland&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;：官方 &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;XFCE &lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;仍以 &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;X11 &lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;为主。若发行版用 &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;labwc/Wayland&lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;，这些 &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;xfconf &lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;项不适用。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0;line-height: 16.72px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;text-wrap-mode: wrap;margin-top: 21px&quot;&gt;&lt;span style=&quot;color: #000000; font-size: 16px;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;最短记忆：远程&lt;/span&gt; XFCE &lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;四件事&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;——use_compositing=false&lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;，&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;box_move/box_resize=true&lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;，纯色桌面，分辨率不要 &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; color: #000000; font-size: 16px;&quot;&gt;4K&lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑; color: #000000; font-size: 16px;&quot;&gt;。参数表其余项是防止总开关又被设置向导打开时的保险。&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0;line-height: 16.72px;font-family: Calibri;color: rgb(26, 26, 26);font-size: 15px;text-wrap-mode: wrap;margin-top: 16px&quot;&gt;&lt;span style=&quot;color: #000000; font-size: 16px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Wed, 28 Oct 2026 08:28:43 +0800</pubDate></item><item><title>Fasteda Backup for Business（FBB）正式发布：企业级集中备份与归档平台</title><link>https://www.fasteda.cn/post/461.html</link><description>&lt;p style=&quot;text-align: left;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;产品名称： Fasteda Backup for Business（简称 FBB）&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;当前版本： 2.0.7&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;发布日期： 2026 年 10 月&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;适用场景： 企业服务器 / 工作站文件保护、虚拟化平台备份、应用库备份、卷级快照备份，以及磁带 / 光盘离线归档&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br style=&quot;text-align: left;&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;一、为什么要做 FBB&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;在集成电路设计、EDA/CAD 与企业 IT 环境里，真正难的不是“会不会拷贝文件”，而是：&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br style=&quot;text-align: left;&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;数据分布在 Windows 工作站、Linux 计算节点、文件服务器、VMware / Hyper-V / Proxmox 上；&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;备份窗口短，小文件多，又要能增量、可校验、可还原；&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;要兼顾对象存储、NAS，以及合规要求的离线介质（磁带 / 光盘）；&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;运维希望有一个控制台统一管任务、告警、报表和权限，而不是一堆脚本。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;FBB 面向这类需求：用浏览器控制台集中管理，被保护主机安装 Agent，备份数据写入仓库或归档库，形成可审计、可恢复的企业备份体系。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br style=&quot;text-align: left;&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;二、产品是什么&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;Fasteda Backup for Business 是一套企业级集中备份管理软件。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br style=&quot;text-align: left;&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;组成部分	作用&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;Web 控制台&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;设备、任务、存储、还原、活动、监控、报表、用户与许可证；中英文界面&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;管理服务&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;Node.js 服务，默认端口 3001&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;数据库&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;PostgreSQL，存任务 / 设备 / 审计等元数据（不存文件内容本身）&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;备份代理 Agent&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;运行在被保护主机；连接码注册；可装为系统服务；Nuitka 单文件，无需目标机装 Python&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;备份仓库&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;内容寻址块存储；可写本地目录、已挂载 NFS/SMB，或 S3 / 阿里云 OSS&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;归档库&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;磁带库 / 光盘库：条码、介质池、手动归档与回读，支持仿真模式&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;管理员在浏览器里登记设备、编排任务、看进度与告警，并按版本还原；Agent 主动连控制台、拉任务、在本地读数据并上报进度。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br style=&quot;text-align: left;&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;三、能保护什么&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;1. 文件与目录&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;全量 / 增量 / 差异&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;块级 SHA-256 去重（约 4 MiB 分块）&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;可选 zlib 压缩、AES-256-GCM 加密&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;排除规则；按类型、大小、修改时间过滤&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;2.0.7： 增量快路径——size + mtime（含纳秒）跳过未变文件，块存在缓存 + 本地 SQLite 索引，减轻“海量小文件”&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;场景下相对 rsync/cp 的额外开销，&lt;/span&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;还原仍以仓库清单为准&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;2. 应用系统&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;支持多类常见应用（如 MySQL、PostgreSQL、MariaDB、MongoDB、Oracle、SQL Server、Redis、Exchange、&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;Active Directory、GitLab、Docker 等）。&lt;/span&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;优先原生协议，不可用时回退厂商命令行。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br style=&quot;text-align: left;&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;3. 虚拟机&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;VMware vSphere&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;Microsoft Hyper-V&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;Proxmox VE（含经 SFTP 写入 dump 目录的还原路径）&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;控制台侧登记清单；增量可走 CBT 等变更跟踪能力（现场性能以实测为准）。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br style=&quot;text-align: left;&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;4. 卷级备份&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;自动推荐适合当前环境的方式，包括：&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br style=&quot;text-align: left;&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;Windows：VSS&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;Linux：LVM / ZFS / Btrfs 快照&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;Partclone、DD 原始镜像&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;5. 文件服务器&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;以 NFS（v3/v4）或 SMB 作为源；连接失败时不允许创建依赖该源的任务。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br style=&quot;text-align: left;&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;四、存储、保留与 3-2-1&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;在线仓库： 本地盘、NAS 挂载、S3 兼容、OSS（默认校验证书）&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;保留策略： 按日 / 周 / 月 / 年数量及最长天数&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;锁定： 到期策略 + 文件系统不可变属性（依赖 chattr 等环境能力）&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;归档： 将已完成备份版本写入磁带库或光盘库，满足异地 / 离线副本；可做回读校验&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;便于落实常见的 3-2-1 思路：多份副本、多种介质、一份离线&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;五、运维与安全能力（摘要）&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;角色：管理员 / 操作员 / 审计员&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;定时任务、备份窗口、优先级、任务依赖、批量启停&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;传输限速；前后置脚本（白名单目录，失败可熔断后续备份）&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;告警与多通道通知（邮件、短信、Webhook、钉钉、企业微信、飞书等）&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;报表导出（CSV / PDF / HTML / JSON），审计日志可导出&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;TLS 证书：导入、自签名、Let’s Encrypt 申请与续期&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;OpenAPI + Swagger；升级前备份、失败回滚&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;许可证采用 Ed25519 签名核验&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;更细的操作步骤见产品内帮助页（安装后一般为 /opt/fbb/app/manual/），以及《用户操作手册》v2.0.7。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br style=&quot;text-align: left;&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;六、Agent 支持的平台&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;控制台提供按平台下载的 Agent（安装后位于 /opt/fbb/app/agent/downloads）：&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br style=&quot;text-align: left;&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;系统	包名&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;Windows 10/11、Server 2016+（x64）&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;fbb-agent-windows-x64.exe&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;macOS 12+（Apple 芯片）&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;fbb-agent-macos-arm64&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;macOS 12+（Intel）&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;fbb-agent-macos-x64&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;Linux x86_64，glibc 2.28+（RHEL 8 / Rocky 8 / Ubuntu 20.04+）&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;fbb-agent-linux-x64&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;Linux x86_64，RHEL 7 / CentOS 7&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;fbb-agent-linux-x64-rhel7&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;Linux aarch64，glibc 2.28+&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;fbb-agent-linux-arm64&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;虚拟机平台、部分文件服务器与应用备份由控制台直连，不一定依赖目标机上的该 Agent。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br style=&quot;text-align: left;&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;七、部署方式（概要）&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;发行形态为一键自解压安装包，例如：&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br style=&quot;text-align: left;&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;fbb-installer-2.0.7-linux-x64.run&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;典型安装后目录为 /opt/fbb。安装器会部署控制台、内置便携 Node.js / Python 运行时，并协助初始化 PostgreSQL&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;与 systemd 服务。&lt;/span&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;客户机无需预装 Node；&lt;/span&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;Agent 端为编译后的单文件。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br style=&quot;text-align: left;&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;建议环境： 64 位 Linux 控制台主机（x86_64），足够的磁盘用于仓库与归档路径；浏览器访问&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;http://&amp;lt;服务器IP&amp;gt;:3000（端口可配置）。首次登录凭据在服务器&lt;/span&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;上的初始口令文件中，登录后务必立即改密。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br style=&quot;text-align: left;&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;具体硬件与兼容性以现场评估为准；磁带 / 光盘库在仿真模式下可完整演练流程，真实库机需确认 SCSI / 厂商工具与权限。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br style=&quot;text-align: left;&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;八、2.0 系列相对早期版本的重点&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;方向	内容&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;归档&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;磁带库 / 光盘库管理、手动归档与回读&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;虚拟化&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;增加 Proxmox VE；完善还原路径&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;卷备份&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;VSS / LVM / ZFS / Btrfs / Partclone / DD&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;应用&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;多类型应用备份扩展&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;通知与报表&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;多通道告警、SLA / 合规向报表&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;调度&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;修复定时任务 next_run 解析导致的“卡住不跑”&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;性能&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;2.0.6 检查点批处理与进度节流；2.0.7 mtime 快路径 + 块缓存 + 本地索引&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;九、适合谁先用起来&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;需要统一备份 Windows / Linux 工作站与服务器文件的团队&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;已有 VMware、Hyper-V 或 Proxmox，希望进控制台统一管备份与还原&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;仓库放 NAS 或对象存储，并计划做磁带 / 光盘离线归档的单位&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;需要角色权限、审计导出、告警通知的运维与安全团队&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;十、试用与支持&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;如需试用安装包、许可证或 PoC 方案，请通过 FastEDA 站内联系方式或既有商务 / 技术渠道沟通，说明：&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br style=&quot;text-align: left;&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;大概保护对象（文件 / 虚拟机 / 应用 / 卷）&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;控制台与仓库计划部署的操作系统&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;是否需要 RHEL 7 或国产化环境上的 Agent&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;是否涉及磁带库 / 光盘库实机&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;我们会按场景提供安装指引与验收清单。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br style=&quot;text-align: left;&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;十一、小结&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;Fasteda Backup for Business 2.0.7 把“控制台 + Agent + 去重仓库 + 可选离线归档”收成一套可落地的企业备份产品：&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;覆盖文件、应用、虚拟机与卷&lt;/span&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;支持常见 Linux / Windows / macOS 代理，并持续加固调度、还原与小文件增量性能。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br style=&quot;text-align: left;&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;欢迎在 FastEDA 在线问答及后台工单讨论 部署经验与场景需求；正式环境请以对应版本的用户手册与现场验证为准。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br style=&quot;text-align: left;&quot;/&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;strong&gt;下载与试用地址： &lt;a href=&quot;http://fbb.fasteda.cn&quot; target=&quot;_self&quot;&gt;http://fbb.fasteda.cn&lt;/a&gt;&lt;/strong&gt;&lt;br style=&quot;text-align: left;&quot;/&gt;&lt;/p&gt;</description><pubDate>Thu, 08 Oct 2026 16:32:46 +0800</pubDate></item><item><title>bsub提交job后pending</title><link>https://www.fasteda.cn/post/460.html</link><description>你好，bsub提交job后pending，bjobs -l &amp;lt;xxx&amp;gt;，pending原因是：

PENDING REASONS:
 Failed to send fan-out information to other SBDs;

等待几分钟就可以自动提交job了，这该如何排查啊？</description><pubDate>Fri, 28 Aug 2026 09:26:47 +0800</pubDate></item><item><title>LSF集群配置——用户与资源限额实战，多级管理员体系 · 用户配额矩阵 · 排查手册</title><link>https://www.fasteda.cn/post/459.html</link><description>&lt;h1 style=&quot;margin: 24px 0 13px;font-family: Calibri;color: rgb(46, 116, 181);font-size: 21px;text-wrap-mode: wrap;line-height: 32px&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: 微软雅黑;color: #000000;font-size: 21px&quot;&gt;前言：把前面所有内容串成一套体系&lt;/span&gt;&lt;/strong&gt;&lt;/h1&gt;&lt;p style=&quot;margin: 0 0 11px;text-align: justify;font-family: Calibri;font-size: 14px;text-wrap-mode: wrap;text-indent: 29px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 22px;font-size: 15px&quot;&gt;&lt;span style=&quot;font-family:微软雅黑&quot;&gt;这是「&lt;/span&gt;LSF 集群配置系列」的第三篇，也是完结篇。前面两篇分别讲了 lsf.cluster.cluster_name 的基础结构与集群管理员权限，以及 lsf.shared 自定义资源与 ResourceMap 的阈值控制；再往前的系列文章还讲过 lsb.queues、lsb.hosts、lsb.users、lsb.params、lsb.applications、lsb.resources、lsb.modules 七个批处理层配置文件。单独看每一篇，都是在讲某一个文件“能做什么”；这篇要解决的问题是：面对一个几十人、多项目组共用的真实 CAD Farm，这些配置该怎么组合起来，形成一套“谁能用、能用多少、超了怎么办”的完整体系。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin: 7px 0 13px 13px;text-align: justify;font-family: Calibri;font-size: 14px;text-wrap-mode: wrap;text-indent: 28px;border-left: 4px solid rgb(230, 168, 0);padding: 0;line-height: 21px;background: rgb(255, 243, 205)&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 21px;font-size: 14px&quot;&gt;&lt;span style=&quot;font-family:微软雅黑&quot;&gt;***本系列以&lt;/span&gt; IBM Spectrum LSF 10.1 为基准。LSF 各个 Fix Pack 之间个别参数的行为/语义存在过调整（比如排队相关的限额参数），文中给出的是主线行为，具体细节请以你实际安装版本对应的官方文档为准，不要机械照搬。&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;h2 style=&quot;margin: 19px 0 11px;font-family: Calibri;color: rgb(46, 116, 181);font-size: 17px;text-wrap-mode: wrap;text-indent: 35px;line-height: 26px&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: 微软雅黑;color: #000000;font-size: 17px&quot;&gt;本篇要回答的四个核心问题&lt;/span&gt;&lt;/strong&gt;&lt;/h2&gt;&lt;p style=&quot;font-size: medium;text-wrap-mode: wrap;margin-bottom: 5px;margin-left: 28px;text-indent: 29px;line-height: 1.5px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;font-size: 15px&quot;&gt;•&lt;span style=&quot;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal;font-size-adjust: none;font-kerning: auto;font-optical-sizing: auto;font-feature-settings: normal;font-variation-settings: normal;font-variant-position: normal;font-variant-emoji: normal;font-stretch: normal;font-size: 9px;line-height: normal;font-family: &amp;#39;Times New Roman&amp;#39;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 22px;font-size: 15px&quot;&gt;&lt;span style=&quot;font-family:微软雅黑&quot;&gt;如何限制用户使用&lt;/span&gt;&lt;span style=&quot;font-family:微软雅黑&quot;&gt;——某个用户/项目组能不能提交作业到这个队列？能同时跑多少个？&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-size: medium;text-wrap-mode: wrap;margin-bottom: 5px;margin-left: 28px;text-indent: 29px;line-height: 1.5px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;font-size: 15px&quot;&gt;•&lt;span style=&quot;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal;font-size-adjust: none;font-kerning: auto;font-optical-sizing: auto;font-feature-settings: normal;font-variation-settings: normal;font-variant-position: normal;font-variant-emoji: normal;font-stretch: normal;font-size: 9px;line-height: normal;font-family: &amp;#39;Times New Roman&amp;#39;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 22px;font-size: 15px&quot;&gt;&lt;span style=&quot;font-family:微软雅黑&quot;&gt;如何限制资源使用&lt;/span&gt;&lt;span style=&quot;font-family:微软雅黑&quot;&gt;——某个用户/项目组的作业总共能占用多少 CPU、内存、license？&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-size: medium;text-wrap-mode: wrap;margin-bottom: 5px;margin-left: 28px;text-indent: 29px;line-height: 1.5px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;font-size: 15px&quot;&gt;•&lt;span style=&quot;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal;font-size-adjust: none;font-kerning: auto;font-optical-sizing: auto;font-feature-settings: normal;font-variation-settings: normal;font-variant-position: normal;font-variant-emoji: normal;font-stretch: normal;font-size: 9px;line-height: normal;font-family: &amp;#39;Times New Roman&amp;#39;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 22px;font-size: 15px&quot;&gt;&lt;span style=&quot;font-family:微软雅黑&quot;&gt;如何配置最小&lt;/span&gt;/最大资源使用量——防止申请过少导致资源预留失效、或申请过多导致资源浪费和挤占。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-size: medium;text-wrap-mode: wrap;margin-bottom: 5px;margin-left: 28px;text-indent: 29px;line-height: 1.5px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;font-size: 15px&quot;&gt;•&lt;span style=&quot;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal;font-size-adjust: none;font-kerning: auto;font-optical-sizing: auto;font-feature-settings: normal;font-variation-settings: normal;font-variant-position: normal;font-variant-emoji: normal;font-stretch: normal;font-size: 9px;line-height: normal;font-family: &amp;#39;Times New Roman&amp;#39;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 22px;font-size: 15px&quot;&gt;&lt;span style=&quot;font-family:微软雅黑&quot;&gt;如何配置各种阈值&lt;/span&gt;&lt;span style=&quot;font-family:微软雅黑&quot;&gt;——从主机负载阈值到作业并发阈值，多层阈值该如何搭配，才不会互相冲突或留下漏洞。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-wrap-mode: wrap;text-indent: 28px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-size: 14px&quot;&gt;&lt;br clear=&quot;all&quot; style=&quot;break-before: page&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;h1 style=&quot;margin: 24px 0 13px;font-family: Calibri;color: rgb(46, 116, 181);font-size: 21px;text-wrap-mode: wrap;text-indent: 43px;line-height: 32px&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: 微软雅黑;color: #000000;font-size: 21px&quot;&gt;一、多级权限模型：谁能管什么&lt;/span&gt;&lt;/strong&gt;&lt;/h1&gt;&lt;p style=&quot;margin: 0 0 11px;text-align: justify;font-family: Calibri;font-size: 14px;text-wrap-mode: wrap;text-indent: 29px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 22px;font-size: 15px&quot;&gt;&lt;span style=&quot;font-family:微软雅黑&quot;&gt;回顾一下系列第一篇里提到的权限分层&lt;/span&gt;&lt;span style=&quot;font-family:微软雅黑&quot;&gt;——集群管理员、队列管理员、用户组管理员，这里把它扩展成一张完整的责任矩阵，并补充「谁能限制谁」这个维度。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;h3 style=&quot;margin: 15px 0 8px;font-family: Calibri;color: rgb(31, 77, 120);font-size: 16px;text-wrap-mode: wrap;text-indent: 31px;line-height: 24px&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 23px;color: #000000;font-size: 15px&quot;&gt;1.1 完整权限矩阵&lt;/span&gt;&lt;/strong&gt;&lt;/h3&gt;&lt;table cellspacing=&quot;0&quot; width=&quot;623&quot;&gt;&lt;tbody&gt;&lt;tr class=&quot;firstRow&quot;&gt;&lt;td width=&quot;107&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-width: 1px; border-color: windowtext; background: rgb(46, 92, 138);&quot;&gt;&lt;p style=&quot;;text-align: center;font-family: Calibri;font-size: 14px;text-indent: 28px;line-height: 21px&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 21px;font-size: 14px&quot;&gt;层级&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;140&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-width: 1px; border-color: windowtext; background: rgb(46, 92, 138);&quot;&gt;&lt;p style=&quot;;text-align: center;font-family: Calibri;font-size: 14px;text-indent: 28px;line-height: 21px&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 21px;font-size: 14px&quot;&gt;&lt;span style=&quot;font-family:微软雅黑&quot;&gt;配置文件&lt;/span&gt; / 段&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;200&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-width: 1px; border-color: windowtext; background: rgb(46, 92, 138);&quot;&gt;&lt;p style=&quot;;text-align: center;font-family: Calibri;font-size: 14px;text-indent: 28px;line-height: 21px&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 21px;font-size: 14px&quot;&gt;能做什么&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;177&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-width: 1px; border-color: windowtext; background: rgb(46, 92, 138);&quot;&gt;&lt;p style=&quot;;text-align: center;font-family: Calibri;font-size: 14px;text-indent: 28px;line-height: 21px&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 21px;font-size: 14px&quot;&gt;不能做什么&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width=&quot;107&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 250, 250);&quot;&gt;&lt;p style=&quot;;font-family: Calibri;font-size: 14px;text-indent: 27px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 20px;font-size: 13px&quot;&gt;集群管理员&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;140&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 250, 250);&quot;&gt;&lt;p style=&quot;;font-family: Calibri;font-size: 14px;text-indent: 27px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 20px;font-size: 13px&quot;&gt;lsf.cluster.cluster_name ClusterAdmins&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;200&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 250, 250);&quot;&gt;&lt;p style=&quot;;font-family: Calibri;font-size: 14px;text-indent: 27px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 20px;font-size: 13px&quot;&gt;reconfig、开关任意队列、杀任意用户的作业、增删主机等集群级操作（注意：只有 ClusterAdmins 列表第一位的主管理员才拥有配置文件的属主/写权限，其余集群管理员默认不能直接改配置文件，具体区分请回顾系列第一篇第三章）&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;177&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 250, 250);&quot;&gt;&lt;p style=&quot;;font-family: Calibri;font-size: 14px;text-indent: 27px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 20px;font-size: 13px&quot;&gt;其余集群管理员不能直接修改配置文件；应严格控制拥有此身份的人数&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width=&quot;107&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 250, 250);&quot;&gt;&lt;p style=&quot;;font-family: Calibri;font-size: 14px;text-indent: 27px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 20px;font-size: 13px&quot;&gt;队列管理员&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;140&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 250, 250);&quot;&gt;&lt;p style=&quot;;font-family: Calibri;font-size: 14px;text-indent: 27px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 20px;font-size: 13px&quot;&gt;lsb.queues ADMINISTRATORS&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;200&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 250, 250);&quot;&gt;&lt;p style=&quot;;font-family: Calibri;font-size: 14px;text-indent: 27px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 20px;font-size: 13px&quot;&gt;&lt;span style=&quot;font-family:微软雅黑&quot;&gt;挂起&lt;/span&gt;/恢复/终止本队列内的作业、切换作业到其他队列；也可以用 badmin qclose/qopen 开启或关闭自己负责的队列（暂停/恢复接受新作业）&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;177&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 250, 250);&quot;&gt;&lt;p style=&quot;;font-family: Calibri;font-size: 14px;text-indent: 27px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 20px;font-size: 13px&quot;&gt;不能改配置文件、不能操作其他队列的作业或队列开关&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width=&quot;107&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 250, 250);&quot;&gt;&lt;p style=&quot;;font-family: Calibri;font-size: 14px;text-indent: 27px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 20px;font-size: 13px&quot;&gt;用户组管理员&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;140&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 250, 250);&quot;&gt;&lt;p style=&quot;;font-family: Calibri;font-size: 14px;text-indent: 27px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 20px;font-size: 13px&quot;&gt;lsb.users GROUP_ADMIN&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;200&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 250, 250);&quot;&gt;&lt;p style=&quot;;font-family: Calibri;font-size: 14px;text-indent: 27px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 20px;font-size: 13px&quot;&gt;&lt;span style=&quot;font-family:微软雅黑&quot;&gt;对本组成员的作业执行默认的用户组管理员&lt;/span&gt; Job control 操作（如切换队列），IBM 10.1 还支持进一步配置 usershares/full 等额外管理员权限&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;177&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 250, 250);&quot;&gt;&lt;p style=&quot;;font-family: Calibri;font-size: 14px;text-indent: 27px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 20px;font-size: 13px&quot;&gt;不能操作组外用户的作业、不能改任何限额配置&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width=&quot;107&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 250, 250);&quot;&gt;&lt;p style=&quot;;font-family: Calibri;font-size: 14px;text-indent: 27px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 20px;font-size: 13px&quot;&gt;普通用户&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;140&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 250, 250);&quot;&gt;&lt;p style=&quot;;font-family: Calibri;font-size: 14px;text-indent: 27px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 20px;font-size: 13px&quot;&gt;无特殊配置&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;200&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 250, 250);&quot;&gt;&lt;p style=&quot;;font-family: Calibri;font-size: 14px;text-indent: 27px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 20px;font-size: 13px&quot;&gt;提交、查看、终止自己的作业&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;177&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 250, 250);&quot;&gt;&lt;p style=&quot;;font-family: Calibri;font-size: 14px;text-indent: 27px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 20px;font-size: 13px&quot;&gt;只能操作自己提交的作业&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style=&quot;margin: 7px 0 13px 13px;text-align: justify;font-family: Calibri;font-size: 14px;text-wrap-mode: wrap;text-indent: 28px;border-left: 4px solid rgb(60, 154, 92);padding: 0;line-height: 21px;background: rgb(229, 243, 232)&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 21px;font-size: 14px&quot;&gt;✅ 最佳实践：给每一层角色发放权限前，先问一句“这个人真的需要更高一级的权限吗，还是只是想解决”自己作业管理不方便“这个具体问题”——大多数“能不能给我加个队列管理员权限”的请求，本质需求其实是“我想在自己的作业卡住时能自己处理”，用户组管理员的权限往往已经够用，不必层层上调到队列管理员甚至集群管理员。&lt;/span&gt;&lt;/p&gt;&lt;h3 style=&quot;margin: 15px 0 8px;font-family: Calibri;color: rgb(31, 77, 120);font-size: 16px;text-wrap-mode: wrap;text-indent: 31px;line-height: 24px&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 23px;color: #000000;font-size: 15px&quot;&gt;1.2 常见反模式：权限扁平化&lt;/span&gt;&lt;/strong&gt;&lt;/h3&gt;&lt;p style=&quot;margin: 7px 0 13px 13px;text-align: justify;font-family: Calibri;font-size: 14px;text-wrap-mode: wrap;text-indent: 28px;border-left: 4px solid rgb(192, 57, 43);padding: 0;line-height: 21px;background: rgb(251, 230, 230)&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 21px;font-size: 14px&quot;&gt;⚠️ 注意：很多 CAD Farm 在早期规模小的时候，图省事把所有骨干工程师都加进 ClusterAdmins，随着团队扩张，这个列表会越滚越大，变成“谁都能改配置、谁都能杀别人的作业”的失控状态，一旦出现误操作（比如手滑 badmin qclose 关掉了别人在用的队列），很难在多个“管理员”之间定位是谁做的。建议无论集群规模大小，都坚持“集群管理员只保留 1~2 名核心运维、其余人走队列/组管理员”的收敛设计。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-wrap-mode: wrap;text-indent: 28px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-size: 14px&quot;&gt;&lt;br clear=&quot;all&quot; style=&quot;break-before: page&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;h1 style=&quot;margin: 24px 0 13px;font-family: Calibri;color: rgb(46, 116, 181);font-size: 21px;text-wrap-mode: wrap;text-indent: 43px;line-height: 32px&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: 微软雅黑;color: #000000;font-size: 21px&quot;&gt;二、用户资源限额矩阵设计方法&lt;/span&gt;&lt;/strong&gt;&lt;/h1&gt;&lt;p style=&quot;margin: 0 0 11px;text-align: justify;font-family: Calibri;font-size: 14px;text-wrap-mode: wrap;text-indent: 29px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 22px;font-size: 15px&quot;&gt;&lt;span style=&quot;font-family:微软雅黑&quot;&gt;限额配置最容易踩的坑不是&lt;/span&gt;&lt;span style=&quot;font-family:微软雅黑&quot;&gt;“不知道怎么写参数”，而是“没有提前想清楚要限制的到底是什么维度”。这一节给出一个可以直接套用的设计流程。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;h3 style=&quot;margin: 15px 0 8px;font-family: Calibri;color: rgb(31, 77, 120);font-size: 16px;text-wrap-mode: wrap;text-indent: 31px;line-height: 24px&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 23px;color: #000000;font-size: 15px&quot;&gt;2.1 三个维度：并发（Job Slot / Job 数）、资源量、时间&lt;/span&gt;&lt;/strong&gt;&lt;/h3&gt;&lt;table cellspacing=&quot;0&quot; width=&quot;623&quot;&gt;&lt;tbody&gt;&lt;tr class=&quot;firstRow&quot;&gt;&lt;td width=&quot;147&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-width: 1px; border-color: windowtext; background: rgb(46, 92, 138);&quot;&gt;&lt;p style=&quot;;text-align: center;font-family: Calibri;font-size: 14px;text-indent: 28px;line-height: 21px&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 21px;font-size: 14px&quot;&gt;限额维度&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;227&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-width: 1px; border-color: windowtext; background: rgb(46, 92, 138);&quot;&gt;&lt;p style=&quot;;text-align: center;font-family: Calibri;font-size: 14px;text-indent: 28px;line-height: 21px&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 21px;font-size: 14px&quot;&gt;关心的问题&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;250&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-width: 1px; border-color: windowtext; background: rgb(46, 92, 138);&quot;&gt;&lt;p style=&quot;;text-align: center;font-family: Calibri;font-size: 14px;text-indent: 28px;line-height: 21px&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 21px;font-size: 14px&quot;&gt;对应配置&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width=&quot;147&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 250, 250);&quot;&gt;&lt;p style=&quot;;font-family: Calibri;font-size: 14px;text-indent: 27px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 20px;font-size: 13px&quot;&gt;Job Slot 并发&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;227&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 250, 250);&quot;&gt;&lt;p style=&quot;;font-family: Calibri;font-size: 14px;text-indent: 27px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 20px;font-size: 13px&quot;&gt;&lt;span style=&quot;font-family:微软雅黑&quot;&gt;同时最多占用多少个&lt;/span&gt; job slot？（并行作业一个作业可能占多个 slot）&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;250&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 250, 250);&quot;&gt;&lt;p style=&quot;;font-family: Calibri;font-size: 14px;text-indent: 27px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 20px;font-size: 13px&quot;&gt;lsb.users 的 MAX_JOBS，lsb.queues 的 UJOB_LIMIT/QJOB_LIMIT，lsb.hosts 的 MXJ&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width=&quot;147&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 250, 250);&quot;&gt;&lt;p style=&quot;;font-family: Calibri;font-size: 14px;text-indent: 27px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 20px;font-size: 13px&quot;&gt;Job 数量 / 排队数&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;227&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 250, 250);&quot;&gt;&lt;p style=&quot;;font-family: Calibri;font-size: 14px;text-indent: 27px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 20px;font-size: 13px&quot;&gt;同时最多运行多少个作业？最多允许多少作业排队等待？&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;250&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 250, 250);&quot;&gt;&lt;p style=&quot;;font-family: Calibri;font-size: 14px;text-indent: 27px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 20px;font-size: 13px&quot;&gt;lsb.resources 的 JOBS（运行+挂起的作业数），lsb.users 的 MAX_PEND_JOBS（排队数）&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width=&quot;147&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 250, 250);&quot;&gt;&lt;p style=&quot;;font-family: Calibri;font-size: 14px;text-indent: 27px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 20px;font-size: 13px&quot;&gt;资源量限制&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;227&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 250, 250);&quot;&gt;&lt;p style=&quot;;font-family: Calibri;font-size: 14px;text-indent: 27px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 20px;font-size: 13px&quot;&gt;&lt;span style=&quot;font-family:微软雅黑&quot;&gt;总共能占用多少&lt;/span&gt; CPU核心/内存/license？&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;250&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 250, 250);&quot;&gt;&lt;p style=&quot;;font-family: Calibri;font-size: 14px;text-indent: 27px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 20px;font-size: 13px&quot;&gt;lsb.resources 的 Limit 段（RESOURCE/SLOTS/MEM），lsb.queues 的 RESRSV_LIMIT&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width=&quot;147&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 250, 250);&quot;&gt;&lt;p style=&quot;;font-family: Calibri;font-size: 14px;text-indent: 27px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 20px;font-size: 13px&quot;&gt;时间限制&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;227&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 250, 250);&quot;&gt;&lt;p style=&quot;;font-family: Calibri;font-size: 14px;text-indent: 27px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 20px;font-size: 13px&quot;&gt;单个作业能跑多久？什么时间段能跑？&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;250&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 250, 250);&quot;&gt;&lt;p style=&quot;;font-family: Calibri;font-size: 14px;text-indent: 27px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 20px;font-size: 13px&quot;&gt;lsb.queues/lsb.applications 的 RUNLIMIT/CPULIMIT，RUN_WINDOW&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style=&quot;margin: 7px 0 13px 13px;text-align: justify;font-family: Calibri;font-size: 14px;text-wrap-mode: wrap;text-indent: 28px;border-left: 4px solid rgb(192, 57, 43);padding: 0;line-height: 21px;background: rgb(251, 230, 230)&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 21px;font-size: 14px&quot;&gt;⚠️ 注意：这里特意把“并发数”拆成两行，是因为 EDA Farm 里这是一个非常容易踩的坑：MAX_JOBS/UJOB_LIMIT/QJOB_LIMIT/MXJ 这些参数名字虽然带“JOB”，但 IBM 官方对它们的定义都是 job slot 数量，不是作业数量。对于串行作业（1 个作业=1 个 slot）两者没区别；但只要涉及 bsub -n 提交的并行仿真作业，“最多用 40 个 slot”和“最多同时跑 40 个作业”就是完全不同的两件事——如果真正想限制的是“作业数量”，要用 lsb.resources 的 JOBS 参数，本篇第三章 3.7 节会结合实际案例展开讲这个区别。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin: 0 0 11px;text-align: justify;font-family: Calibri;font-size: 14px;text-wrap-mode: wrap;text-indent: 29px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 22px;font-size: 15px&quot;&gt;&lt;span style=&quot;font-family:微软雅黑&quot;&gt;设计限额时建议按这几个维度依次过一遍，而不是想到哪个配哪个。比如给&lt;/span&gt;&lt;span style=&quot;font-family:微软雅黑&quot;&gt;“回归仿真”这类作业设计限额，完整的思路应该是：并发上，这个项目组同时最多占用多少 job slot（避免占满整个仿真农场），如果业务上更关心“作业数量”而不是核数，还要额外考虑 JOBS 参数；资源量上，license 和内存的总占用上限是多少；时间上，单个回归任务超过多久算异常（该被系统自动杀掉而不是无限占着资源）。这几者缺一不可，只配置了 job slot 限制、没配置资源量限制的情况在实践中很常见，也是最容易出问题的疏漏。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;h3 style=&quot;margin: 15px 0 8px;font-family: Calibri;color: rgb(31, 77, 120);font-size: 16px;text-wrap-mode: wrap;text-indent: 31px;line-height: 24px&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 23px;color: #000000;font-size: 15px&quot;&gt;2.2 从组织架构反推限额矩阵&lt;/span&gt;&lt;/strong&gt;&lt;/h3&gt;&lt;p style=&quot;margin: 0 0 11px;text-align: justify;font-family: Calibri;font-size: 14px;text-wrap-mode: wrap;text-indent: 29px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 22px;font-size: 15px&quot;&gt;&lt;span style=&quot;font-family:微软雅黑&quot;&gt;实际操作中，建议先画一张&lt;/span&gt;&lt;span style=&quot;font-family:微软雅黑&quot;&gt;“项目组 × 资源类型”的矩阵表，把每个项目组在每类资源上应该拿到的份额定下来，再翻译成配置文件。下面是一个三个项目组共享一个 CAD Farm 的示例矩阵——注意这里的上限列写的是“Job Slot 上限”而不是笼统的“并发作业上限”，呼应前面强调的 Job 和 Job Slot 的区别；如果业务上还需要单独控制“活动作业数量”，可以再加一列 Active Job 上限，用 lsb.resources 的 JOBS 参数落地，本例暂不展开：&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;table cellspacing=&quot;0&quot; width=&quot;623&quot;&gt;&lt;tbody&gt;&lt;tr class=&quot;firstRow&quot;&gt;&lt;td width=&quot;173&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-width: 1px; border-color: windowtext; background: rgb(46, 92, 138);&quot;&gt;&lt;p style=&quot;;text-align: center;font-family: Calibri;font-size: 14px;text-indent: 28px;line-height: 21px&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 21px;font-size: 14px&quot;&gt;项目组&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;147&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-width: 1px; border-color: windowtext; background: rgb(46, 92, 138);&quot;&gt;&lt;p style=&quot;;text-align: center;font-family: Calibri;font-size: 14px;text-indent: 28px;line-height: 21px&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 21px;font-size: 14px&quot;&gt;Job Slot 上限&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;120&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-width: 1px; border-color: windowtext; background: rgb(46, 92, 138);&quot;&gt;&lt;p style=&quot;;text-align: center;font-family: Calibri;font-size: 14px;text-indent: 28px;line-height: 21px&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 21px;font-size: 14px&quot;&gt;license (calibre_dv)&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;107&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-width: 1px; border-color: windowtext; background: rgb(46, 92, 138);&quot;&gt;&lt;p style=&quot;;text-align: center;font-family: Calibri;font-size: 14px;text-indent: 28px;line-height: 21px&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 21px;font-size: 14px&quot;&gt;&lt;span style=&quot;font-family:微软雅黑&quot;&gt;内存上限&lt;/span&gt;/作业&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;77&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-width: 1px; border-color: windowtext; background: rgb(46, 92, 138);&quot;&gt;&lt;p style=&quot;;text-align: center;font-family: Calibri;font-size: 14px;text-indent: 28px;line-height: 21px&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 21px;font-size: 14px&quot;&gt;备注&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width=&quot;173&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 250, 250);&quot;&gt;&lt;p style=&quot;;font-family: Calibri;font-size: 14px;text-indent: 27px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 20px;font-size: 13px&quot;&gt;&lt;span style=&quot;font-family:Consolas&quot;&gt;数字设计组&lt;/span&gt; (dig_design)&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;147&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 250, 250);&quot;&gt;&lt;p style=&quot;;font-family: Calibri;font-size: 14px;text-indent: 27px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 20px;font-size: 13px&quot;&gt;40&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;120&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 250, 250);&quot;&gt;&lt;p style=&quot;;font-family: Calibri;font-size: 14px;text-indent: 27px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 20px;font-size: 13px&quot;&gt;15&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;107&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 250, 250);&quot;&gt;&lt;p style=&quot;;font-family: Calibri;font-size: 14px;text-indent: 27px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 20px;font-size: 13px&quot;&gt;64GB&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;77&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 250, 250);&quot;&gt;&lt;p style=&quot;;font-family: Calibri;font-size: 14px;text-indent: 27px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 20px;font-size: 13px&quot;&gt;回归仿真占比最大，优先保障并发数&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width=&quot;173&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 250, 250);&quot;&gt;&lt;p style=&quot;;font-family: Calibri;font-size: 14px;text-indent: 27px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 20px;font-size: 13px&quot;&gt;&lt;span style=&quot;font-family:Consolas&quot;&gt;模拟设计组&lt;/span&gt; (ana_design)&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;147&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 250, 250);&quot;&gt;&lt;p style=&quot;;font-family: Calibri;font-size: 14px;text-indent: 27px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 20px;font-size: 13px&quot;&gt;20&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;120&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 250, 250);&quot;&gt;&lt;p style=&quot;;font-family: Calibri;font-size: 14px;text-indent: 27px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 20px;font-size: 13px&quot;&gt;5&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;107&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 250, 250);&quot;&gt;&lt;p style=&quot;;font-family: Calibri;font-size: 14px;text-indent: 27px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 20px;font-size: 13px&quot;&gt;128GB&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;77&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 250, 250);&quot;&gt;&lt;p style=&quot;;font-family: Calibri;font-size: 14px;text-indent: 27px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 20px;font-size: 13px&quot;&gt;作业数少但单作业内存需求高&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width=&quot;173&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 250, 250);&quot;&gt;&lt;p style=&quot;;font-family: Calibri;font-size: 14px;text-indent: 27px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 20px;font-size: 13px&quot;&gt;&lt;span style=&quot;font-family:Consolas&quot;&gt;验证组&lt;/span&gt; (verif_team)&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;147&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 250, 250);&quot;&gt;&lt;p style=&quot;;font-family: Calibri;font-size: 14px;text-indent: 27px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 20px;font-size: 13px&quot;&gt;60&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;120&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 250, 250);&quot;&gt;&lt;p style=&quot;;font-family: Calibri;font-size: 14px;text-indent: 27px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 20px;font-size: 13px&quot;&gt;共享池&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;107&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 250, 250);&quot;&gt;&lt;p style=&quot;;font-family: Calibri;font-size: 14px;text-indent: 27px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 20px;font-size: 13px&quot;&gt;32GB&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;77&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 250, 250);&quot;&gt;&lt;p style=&quot;;font-family: Calibri;font-size: 14px;text-indent: 27px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 20px;font-size: 13px&quot;&gt;作业数量大但单个作业资源需求小，走公平共享&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style=&quot;margin: 7px 0 13px 13px;text-align: justify;font-family: Calibri;font-size: 14px;text-wrap-mode: wrap;text-indent: 28px;border-left: 4px solid rgb(230, 168, 0);padding: 0;line-height: 21px;background: rgb(255, 243, 205)&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 21px;font-size: 14px&quot;&gt;&lt;span style=&quot;font-family:微软雅黑&quot;&gt;&lt;/span&gt;&lt;em style=&quot;font-family: Calibri; text-align: justify; text-indent: 28px; text-wrap-mode: wrap;&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑; line-height: 21px;&quot;&gt;***&lt;/span&gt;&lt;/em&gt;&lt;span style=&quot;font-family:微软雅黑&quot;&gt;这张表本身不是配置文件，而是配置前的规划产物&lt;/span&gt;&lt;span style=&quot;font-family:微软雅黑&quot;&gt;——建议作为团队内部文档长期维护，每次调整配置前先改这张表、评审后再落地到配置文件，能大幅减少“改了才发现影响了别的组”的返工。&lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-wrap-mode: wrap;text-indent: 28px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-size: 14px&quot;&gt;&lt;br clear=&quot;all&quot; style=&quot;break-before: page&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;h1 style=&quot;margin: 24px 0 13px;font-family: Calibri;color: rgb(46, 116, 181);font-size: 21px;text-wrap-mode: wrap;text-indent: 43px;line-height: 32px&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: 微软雅黑;color: #000000;font-size: 21px&quot;&gt;三、实战：把矩阵落地为完整配置&lt;/span&gt;&lt;/strong&gt;&lt;/h1&gt;&lt;p style=&quot;margin: 0 0 11px;text-align: justify;font-family: Calibri;font-size: 14px;text-wrap-mode: wrap;text-indent: 29px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 22px;font-size: 15px&quot;&gt;&lt;span style=&quot;font-family:微软雅黑&quot;&gt;接着上一节的矩阵示例，这一节给出对应的完整配置片段，横跨&lt;/span&gt; lsf.cluster、lsf.shared、lsb.users、lsb.queues、lsb.resources 五个文件，展示它们是如何配合工作的。&lt;/span&gt;&lt;/p&gt;&lt;h3 style=&quot;margin: 15px 0 8px;font-family: Calibri;color: rgb(31, 77, 120);font-size: 16px;text-wrap-mode: wrap;text-indent: 31px;line-height: 24px&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 23px;color: #000000;font-size: 15px&quot;&gt;3.1 第一步：lsf.cluster.cluster_name 定义集群管理员与主机分组标签&lt;/span&gt;&lt;/strong&gt;&lt;/h3&gt;&lt;table cellspacing=&quot;0&quot; width=&quot;623&quot;&gt;&lt;tbody&gt;&lt;tr class=&quot;firstRow&quot;&gt;&lt;td width=&quot;623&quot; valign=&quot;top&quot; style=&quot;padding: 8px 11px; border-width: 1px; border-color: rgb(204, 204, 204); background: rgb(245, 245, 245);&quot;&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;Begin ClusterAdmins&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;ADMINISTRATORS = lsfadmin cad_ops_lead&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;End ClusterAdmins&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;Begin Host&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;HOSTNAME &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;model &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;type &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;server &amp;nbsp;&amp;nbsp;RESOURCES&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;digfarm01 &amp;nbsp;&amp;nbsp;&amp;nbsp;IntelXeon &amp;nbsp;LINUX64 &amp;nbsp;&amp;nbsp;1 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;(dig_pool)&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;digfarm02 &amp;nbsp;&amp;nbsp;&amp;nbsp;IntelXeon &amp;nbsp;LINUX64 &amp;nbsp;&amp;nbsp;1 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;(dig_pool)&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;anafarm01 &amp;nbsp;&amp;nbsp;&amp;nbsp;AMDEpyc &amp;nbsp;&amp;nbsp;&amp;nbsp;LINUX64 &amp;nbsp;&amp;nbsp;1 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;(ana_pool bigmem)&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;verifarm01 &amp;nbsp;&amp;nbsp;IntelXeon &amp;nbsp;LINUX64 &amp;nbsp;&amp;nbsp;1 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;(verif_pool)&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;verifarm02 &amp;nbsp;&amp;nbsp;IntelXeon &amp;nbsp;LINUX64 &amp;nbsp;&amp;nbsp;1 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;(verif_pool)&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;End Host&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style=&quot;margin: 7px 0 13px 13px;text-align: justify;font-family: Calibri;font-size: 14px;text-wrap-mode: wrap;text-indent: 28px;border-left: 4px solid rgb(230, 168, 0);padding: 0;line-height: 21px;background: rgb(255, 243, 205)&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 21px;font-size: 14px&quot;&gt;&lt;span style=&quot;font-family:微软雅黑&quot;&gt;&lt;/span&gt;&lt;em style=&quot;font-family: Calibri; text-align: justify; text-indent: 28px; text-wrap-mode: wrap;&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑; line-height: 21px;&quot;&gt;***&lt;/span&gt;&lt;/em&gt;&lt;span style=&quot;font-family:微软雅黑&quot;&gt;这里&lt;/span&gt; Host 段 RESOURCES 列打的 dig_pool/ana_pool/verif_pool 是静态 Boolean 资源标签，用途是配合 bsub -R 或队列的 RES_REQ 里的 select[] 语句筛选主机（回顾系列第一篇 2.5 节）。它和接下来 ResourceMap 段的 LOCATION、以及 lsb.queues 的 HOSTS 参数是两套不同的语法体系，都不能直接拿资源标签名当主机名或主机组名来用——下面两步分别会踩到这个边界，要格外注意。&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;h3 style=&quot;margin: 15px 0 8px;font-family: Calibri;color: rgb(31, 77, 120);font-size: 16px;text-wrap-mode: wrap;text-indent: 31px;line-height: 24px&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 23px;color: #000000;font-size: 15px&quot;&gt;3.2 第二步：lsb.hosts 定义 HostGroup，把主机按项目组分组&lt;/span&gt;&lt;/strong&gt;&lt;/h3&gt;&lt;p style=&quot;margin: 0 0 11px;text-align: justify;font-family: Calibri;font-size: 14px;text-wrap-mode: wrap;text-indent: 29px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 22px;font-size: 15px&quot;&gt;&lt;span style=&quot;font-family:微软雅黑&quot;&gt;在圈定队列可用主机池（&lt;/span&gt;lsb.queues 的 HOSTS 参数）之前，需要先在 lsb.hosts 里用 HostGroup 段给主机分组——HOSTS 参数只接受显式主机名、HostGroup 名或 all 关键字，不能直接填 Host 段 RESOURCES 列里的资源标签名，两者是完全不同的语法层面。&lt;/span&gt;&lt;/p&gt;&lt;table cellspacing=&quot;0&quot; width=&quot;623&quot;&gt;&lt;tbody&gt;&lt;tr class=&quot;firstRow&quot;&gt;&lt;td width=&quot;623&quot; valign=&quot;top&quot; style=&quot;padding: 8px 11px; border-width: 1px; border-color: rgb(204, 204, 204); background: rgb(245, 245, 245);&quot;&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;# lsb.hosts&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;Begin HostGroup&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;GROUP_NAME &amp;nbsp;&amp;nbsp;&amp;nbsp;GROUP_MEMBER&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;dig_group &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;(digfarm01 digfarm02)&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;ana_group &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;(anafarm01)&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;verif_group &amp;nbsp;&amp;nbsp;(verifarm01 verifarm02)&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;End HostGroup&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;h3 style=&quot;margin: 15px 0 8px;font-family: Calibri;color: rgb(31, 77, 120);font-size: 16px;text-wrap-mode: wrap;text-indent: 31px;line-height: 24px&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 23px;color: #000000;font-size: 15px&quot;&gt;3.3 第三步：lsf.shared + ResourceMap 定义并拆分 license&lt;/span&gt;&lt;/strong&gt;&lt;/h3&gt;&lt;table cellspacing=&quot;0&quot; width=&quot;623&quot;&gt;&lt;tbody&gt;&lt;tr class=&quot;firstRow&quot;&gt;&lt;td width=&quot;623&quot; valign=&quot;top&quot; style=&quot;padding: 8px 11px; border-width: 1px; border-color: rgb(204, 204, 204); background: rgb(245, 245, 245);&quot;&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;# lsf.shared&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;Begin Resource&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;RESOURCENAME &amp;nbsp;&amp;nbsp;TYPE &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;INTERVAL &amp;nbsp;&amp;nbsp;INCREASING &amp;nbsp;&amp;nbsp;CONSUMABLE &amp;nbsp;&amp;nbsp;DESCRIPTION&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;calibre_dv &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Numeric &amp;nbsp;&amp;nbsp;() &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;N &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Y &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;(Calibre DRC/LVS License)&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;End Resource&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;# lsf.cluster.fasteda_farm&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;Begin ResourceMap&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;RESOURCENAME &amp;nbsp;&amp;nbsp;LOCATION&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;calibre_dv &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;(15@[digfarm01 digfarm02] 5@[anafarm01])&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;End ResourceMap&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style=&quot;margin: 7px 0 13px 13px;text-align: justify;font-family: Calibri;font-size: 14px;text-wrap-mode: wrap;text-indent: 28px;border-left: 4px solid rgb(192, 57, 43);padding: 0;line-height: 21px;background: rgb(251, 230, 230)&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 21px;font-size: 14px&quot;&gt;⚠️ 注意：这里必须用显式主机名列表 [digfarm01 digfarm02]，不能写成 [dig_pool]——ResourceMap 段的 LOCATION 语法只接受显式主机名、all/others/default 关键字，不认 Host 段 RESOURCES 列里的资源标签，也不认 lsb.hosts 的 HostGroup 名。这是系列第二篇 3.2 节已经强调过的规则，这里再次提醒，因为拿资源标签当主机列表用是最容易犯的错误之一，写错了 reconfig 不一定报错，但资源不会按预期分配。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin: 7px 0 13px 13px;text-align: justify;font-family: Calibri;font-size: 14px;text-wrap-mode: wrap;text-indent: 28px;border-left: 4px solid rgb(230, 168, 0);padding: 0;line-height: 21px;background: rgb(255, 243, 205)&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 21px;font-size: 14px&quot;&gt;&lt;span style=&quot;font-family:微软雅黑&quot;&gt;&lt;/span&gt;&lt;em style=&quot;font-family: Calibri; text-align: justify; text-indent: 28px; text-wrap-mode: wrap;&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑; line-height: 21px;&quot;&gt;***&lt;/span&gt;&lt;/em&gt;&lt;span style=&quot;font-family:微软雅黑&quot;&gt;这里再澄清一个容易理解错的地方：&lt;/span&gt;15@[digfarm01 digfarm02] 表示 digfarm01 和 digfarm02 这两台主机共同共享一份数量为 15 的 calibre_dv license，不是“每台主机各自拥有 15 个”（那样两台加起来就变成 30 个了）。IBM 官方 ResourceMap 的语义就是“方括号内的这组主机共享同一份数量”，如果确实希望每台主机各自独立拥有一份资源，需要分别给每台主机单独映射一条（比如 console (1@[cadmgr01] 1@[cadmgr02]) 这种写法，每台各自 1 个、互不共享）。&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;h3 style=&quot;margin: 15px 0 8px;font-family: Calibri;color: rgb(31, 77, 120);font-size: 16px;text-wrap-mode: wrap;text-indent: 31px;line-height: 24px&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 23px;color: #000000;font-size: 15px&quot;&gt;3.4 第四步：lsb.users 定义用户组与并发限额&lt;/span&gt;&lt;/strong&gt;&lt;/h3&gt;&lt;table cellspacing=&quot;0&quot; width=&quot;623&quot;&gt;&lt;tbody&gt;&lt;tr class=&quot;firstRow&quot;&gt;&lt;td width=&quot;623&quot; valign=&quot;top&quot; style=&quot;padding: 8px 11px; border-width: 1px; border-color: rgb(204, 204, 204); background: rgb(245, 245, 245);&quot;&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;Begin UserGroup&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;GROUP_NAME &amp;nbsp;&amp;nbsp;&amp;nbsp;GROUP_MEMBER &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;USER_SHARES &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;GROUP_ADMIN&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;dig_design &amp;nbsp;&amp;nbsp;&amp;nbsp;(u_alice u_bob u_carol) &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;([each,1]) &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;(u_alice)&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;ana_design &amp;nbsp;&amp;nbsp;&amp;nbsp;(u_dave u_eve) &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;([each,1]) &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;(u_dave)&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;verif_team &amp;nbsp;&amp;nbsp;&amp;nbsp;(u_frank u_grace u_hank) &amp;nbsp;&amp;nbsp;&amp;nbsp;([each,1]) &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;(u_frank)&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;End UserGroup&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;Begin User&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;USER_NAME &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;MAX_JOBS &amp;nbsp;&amp;nbsp;JL/P &amp;nbsp;&amp;nbsp;MAX_PEND_JOBS &amp;nbsp;&amp;nbsp;PRIORITY&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;dig_design &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;40 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;2 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;300 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;300&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;ana_design &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;20 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;2 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;200 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;300&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;verif_team &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;60 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;1 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;600 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;250&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;default &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;10 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;1 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;50 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;0&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;End User&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style=&quot;margin: 7px 0 13px 13px;text-align: justify;font-family: Calibri;font-size: 14px;text-wrap-mode: wrap;text-indent: 28px;border-left: 4px solid rgb(192, 57, 43);padding: 0;line-height: 21px;background: rgb(251, 230, 230)&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 21px;font-size: 14px&quot;&gt;⚠️ 注意：这里组名故意不加 @，是要精确匹配第二章矩阵里“数字设计组总共最多 40”这个设计目标——组名不加 @ 表示这个 MAX_JOBS 上限是整个组共享的总量（Alice+Bob+Carol 加起来 ≤ 40），加了 @（写成 dig_design@）则表示组内每个成员各自独立拥有 40 的上限（Alice 自己就能用到 40、Bob 也能用到 40，互不影响）。这两种语义差异巨大，务必对照自己的业务需求选择，写错了不会报错、但实际生效的配额和预期完全不同。另外还要注意：MAX_JOBS 这个参数名字虽然叫“Job”，但 IBM 官方对它的定义其实是 job slot 总量，不是作业数量——3.7 节会专门展开这个区别。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin: 7px 0 13px 13px;text-align: justify;font-family: Calibri;font-size: 14px;text-wrap-mode: wrap;text-indent: 28px;border-left: 4px solid rgb(230, 168, 0);padding: 0;line-height: 21px;background: rgb(255, 243, 205)&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 21px;font-size: 14px&quot;&gt;&lt;span style=&quot;font-family:微软雅黑&quot;&gt;&lt;/span&gt;&lt;em style=&quot;font-family: Calibri; text-align: justify; text-indent: 28px; text-wrap-mode: wrap;&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑; line-height: 21px;&quot;&gt;***&lt;/span&gt;&lt;/em&gt;USER_SHARES 列里的 ([each,1]) 定义的是这个用户组在公平共享份额树（share tree）里的层级配置——组内每个成员各自均分 1 份。它本身只是“定义份额”，真正让这份配置在某个队列里生效、按份额而非先到先得分配运行机会的，是队列里的 FAIRSHARE 参数（比如下面 verif_farm 队列的 FAIRSHARE = USER_SHARES[[each,1]]）——两者是配合关系：lsb.users 定义“树”，lsb.queues 的 FAIRSHARE 决定“这个队列要不要用这棵树来调度”，同一份 USER_SHARES 配置可以被多个队列各自引用。&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;h3 style=&quot;margin: 15px 0 8px;font-family: Calibri;color: rgb(31, 77, 120);font-size: 16px;text-wrap-mode: wrap;text-indent: 31px;line-height: 24px&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 23px;color: #000000;font-size: 15px&quot;&gt;3.5 第五步：lsb.queues 圈定主机池 + 资源需求 + 最小/最大限制&lt;/span&gt;&lt;/strong&gt;&lt;/h3&gt;&lt;table cellspacing=&quot;0&quot; width=&quot;623&quot;&gt;&lt;tbody&gt;&lt;tr class=&quot;firstRow&quot;&gt;&lt;td width=&quot;623&quot; valign=&quot;top&quot; style=&quot;padding: 8px 11px; border-width: 1px; border-color: rgb(204, 204, 204); background: rgb(245, 245, 245);&quot;&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;Begin Queue&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;QUEUE_NAME &amp;nbsp;&amp;nbsp;&amp;nbsp;= dig_regress&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;DESCRIPTION &amp;nbsp;&amp;nbsp;= 数字设计回归仿真队列&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;HOSTS &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;= dig_group&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;USERS &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;= dig_design&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;RES_REQ &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;= rusage[calibre_dv=1]&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;RESRSV_LIMIT &amp;nbsp;= [calibre_dv=1,3] [mem=2000,64000]&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;RUNLIMIT &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;= 10:00&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;End Queue&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;Begin Queue&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;QUEUE_NAME &amp;nbsp;&amp;nbsp;&amp;nbsp;= ana_sta&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;DESCRIPTION &amp;nbsp;&amp;nbsp;= 模拟设计签核队列&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;HOSTS &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;= ana_group&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;USERS &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;= ana_design&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;RES_REQ &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;= select[bigmem] rusage[calibre_dv=1:mem=32000]&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;RESRSV_LIMIT &amp;nbsp;= [mem=8000,128000]&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;RUNLIMIT &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;= 24:00&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;End Queue&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;Begin Queue&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;QUEUE_NAME &amp;nbsp;&amp;nbsp;&amp;nbsp;= verif_farm&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;DESCRIPTION &amp;nbsp;&amp;nbsp;= 验证组仿真队列，公平共享调度&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;HOSTS &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;= verif_group&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;USERS &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;= verif_team&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;FAIRSHARE &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;= USER_SHARES[[each,1]]&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;RESRSV_LIMIT &amp;nbsp;= [mem=1000,32000]&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;RUNLIMIT &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;= 6:00&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;End Queue&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style=&quot;margin: 7px 0 13px 13px;text-align: justify;font-family: Calibri;font-size: 14px;text-wrap-mode: wrap;text-indent: 28px;border-left: 4px solid rgb(192, 57, 43);padding: 0;line-height: 21px;background: rgb(251, 230, 230)&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 21px;font-size: 14px&quot;&gt;⚠️ 注意：同理，HOSTS 参数这里必须填 3.2 节定义好的 HostGroup 名字（dig_group/ana_group/verif_group），不能直接填资源标签名 dig_pool——如果写成 HOSTS = dig_pool，LSF 会把 dig_pool 当成一个主机名去找，显然找不到这台机器，配置不会按预期生效。如果确实想通过资源标签来筛选主机（而不是硬性圈定候选池），正确做法是在 RES_REQ 里用 select[dig_pool]，比如 ana_sta 队列里的 select[bigmem] 就是这种用法——HOSTS 和 select[] 语义不同：HOSTS 是硬性圈定队列的候选主机范围，select[] 是在候选范围内按条件筛选，两者不能互相替代，需要根据业务意图选择合适的方式。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin: 7px 0 13px 13px;text-align: justify;font-family: Calibri;font-size: 14px;text-wrap-mode: wrap;text-indent: 28px;border-left: 4px solid rgb(230, 168, 0);padding: 0;line-height: 21px;background: rgb(255, 243, 205)&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 21px;font-size: 14px&quot;&gt;&lt;span style=&quot;font-family:微软雅黑&quot;&gt;&lt;/span&gt;&lt;em style=&quot;font-family: Calibri; text-align: justify; text-indent: 28px; text-wrap-mode: wrap;&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑; line-height: 21px;&quot;&gt;***&lt;/span&gt;&lt;/em&gt;&lt;span style=&quot;font-family:微软雅黑&quot;&gt;再澄清一个容易产生误解的地方：&lt;/span&gt;dig_regress 队列里的 RES_REQ = rusage[calibre_dv=1] 表示的是“每个作业预留/消耗 1 个 calibre_dv”，这是单个作业的资源需求，不代表整个队列只能同时跑 1 个作业。这个队列实际能同时调度多少个作业，取决于 3.3 节 ResourceMap 里分配给数字组的 15 个 license 总量、加上 3.4 节的 job slot 限制、加上主机本身的 CPU/内存等其他资源约束共同决定——多个约束条件同时满足才能派发，任何一个卡住都会导致作业排队。&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;h3 style=&quot;margin: 15px 0 8px;font-family: Calibri;color: rgb(31, 77, 120);font-size: 16px;text-wrap-mode: wrap;text-indent: 31px;line-height: 24px&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 23px;color: #000000;font-size: 15px&quot;&gt;3.6 第六步：lsb.resources 补充用户组维度的资源配额&lt;/span&gt;&lt;/strong&gt;&lt;/h3&gt;&lt;p style=&quot;margin: 0 0 11px;text-align: justify;font-family: Calibri;font-size: 14px;text-wrap-mode: wrap;text-indent: 29px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 22px;font-size: 15px&quot;&gt;&lt;span style=&quot;font-family:微软雅黑&quot;&gt;前面&lt;/span&gt; ResourceMap 已经把 license 资源池隔离到了两个主机池，但如果还想对“用户组”这个维度再加一层总量控制（比如即使 license 够用，也不希望某个组一次性把内存资源全占满），lsb.resources 提供了跨用户、队列、主机、项目、应用等多个消费者维度的资源分配限制能力，可以和前面已有的 job slot 限制组合使用：&lt;/span&gt;&lt;/p&gt;&lt;table cellspacing=&quot;0&quot; width=&quot;623&quot;&gt;&lt;tbody&gt;&lt;tr class=&quot;firstRow&quot;&gt;&lt;td width=&quot;623&quot; valign=&quot;top&quot; style=&quot;padding: 8px 11px; border-width: 1px; border-color: rgb(204, 204, 204); background: rgb(245, 245, 245);&quot;&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;Begin Limit&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;NAME &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;= dig_mem_cap&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;USERS &amp;nbsp;&amp;nbsp;&amp;nbsp;= dig_design&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;MEM &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;= 70%&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;PER_HOST = all&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;End Limit&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style=&quot;margin: 7px 0 13px 13px;text-align: justify;font-family: Calibri;font-size: 14px;text-wrap-mode: wrap;text-indent: 28px;border-left: 4px solid rgb(192, 57, 43);padding: 0;line-height: 21px;background: rgb(251, 230, 230)&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 21px;font-size: 14px&quot;&gt;⚠️ 注意：这里有一个语法上很容易写错的地方：PER_HOST 不是 Y/N 开关参数，而是要填主机列表、HostGroup 名或 all 关键字（比如 PER_HOST = all 或 PER_HOST = digfarm01 digfarm02），表示“这条限制分别应用在每一台指定主机上”。另外 IBM 官方规定：MEM/SWP/TMP 用百分比表示时，必须指定 PER_HOST 并列出主机范围，不能用 HOSTS 参数——这也是为什么这里用 PER_HOST 而不是 USERS+HOSTS 的组合。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin: 7px 0 13px 13px;text-align: justify;font-family: Calibri;font-size: 14px;text-wrap-mode: wrap;text-indent: 28px;border-left: 4px solid rgb(230, 168, 0);padding: 0;line-height: 21px;background: rgb(255, 243, 205)&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 21px;font-size: 14px&quot;&gt;&lt;span style=&quot;font-family:微软雅黑&quot;&gt;&lt;/span&gt;&lt;em style=&quot;font-family: Calibri; text-align: justify; text-indent: 28px; text-wrap-mode: wrap;&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑; line-height: 21px;&quot;&gt;***&lt;/span&gt;&lt;/em&gt;&lt;span style=&quot;font-family:微软雅黑&quot;&gt;这里的&lt;/span&gt; MEM = 70% 配合 PER_HOST = all，表示的是“dig_design 组的作业，在集群里的每一台主机上，各自不能超过该主机物理内存的 70%”，是相对于单台主机内存的百分比，而不是相对于集群总内存的百分比——比如 256GB 内存的主机上限是 179.2GB，512GB 内存的主机上限是 358.4GB，各台主机独立计算，不汇总成一个集群级总量。&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p style=&quot;margin: 7px 0 13px 13px;text-align: justify;font-family: Calibri;font-size: 14px;text-wrap-mode: wrap;text-indent: 28px;border-left: 4px solid rgb(192, 57, 43);padding: 0;line-height: 21px;background: rgb(251, 230, 230)&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 21px;font-size: 14px&quot;&gt;⚠️ 注意：这里的 MEM 是 lsb.resources 的 Resource Allocation Limit，本质是调度层面的资源分配配额统计，不等价于 Linux cgroup 那种“超过就强制杀进程”的硬内存限制。如果目标是让作业实际运行时的内存消耗被操作系统层面强制限制住（超限直接 kill），需要另外配置系列第二篇提到的 MEMLIMIT/LSB_JOB_MEMLIMIT，或者更彻底的 cgroup 内存强制机制，两者是不同层面的手段，不要以为配了这里的 MEM=70% 就等于有了硬性的进程级内存保护。&lt;/span&gt;&lt;/p&gt;&lt;h3 style=&quot;margin: 15px 0 8px;font-family: Calibri;color: rgb(31, 77, 120);font-size: 16px;text-wrap-mode: wrap;text-indent: 31px;line-height: 24px&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 23px;color: #000000;font-size: 15px&quot;&gt;3.7 一个容易被忽略的区分：Job 数量 vs Job Slot 数量&lt;/span&gt;&lt;/strong&gt;&lt;/h3&gt;&lt;p style=&quot;margin: 0 0 11px;text-align: justify;font-family: Calibri;font-size: 14px;text-wrap-mode: wrap;text-indent: 29px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 22px;font-size: 15px&quot;&gt;&lt;span style=&quot;font-family:微软雅黑&quot;&gt;前面&lt;/span&gt; 3.4 节 lsb.users 里配置的 MAX_JOBS，名字虽然叫“Job”，但 IBM 官方对它的定义其实是“Total number of job slots”——也就是说 MAX_JOBS 限制的是这个用户/组总共能占用多少个 job slot，而不是能同时跑多少个作业。对于普通串行作业（一个作业占 1 个 slot），两者数值上没有区别；但 EDA Farm 里大量使用 bsub -n 提交的并行仿真作业，一个作业可能占用几十个 slot，这时候“MAX_JOBS=40”和“最多跑 40 个作业”就完全是两回事了——如果 3 个作业各自申请 16、16、8 个 slot，加起来已经用满 40 个 slot 触顶限制，即使当前只有 3 个作业在跑。&lt;/span&gt;&lt;/p&gt;&lt;table cellspacing=&quot;0&quot; width=&quot;623&quot;&gt;&lt;tbody&gt;&lt;tr class=&quot;firstRow&quot;&gt;&lt;td width=&quot;623&quot; valign=&quot;top&quot; style=&quot;padding: 8px 11px; border-width: 1px; border-color: rgb(204, 204, 204); background: rgb(245, 245, 245);&quot;&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;# 如果目标是真正意义上的“作业数量”限制（不管每个作业占多少 slot）&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;# 而不是 job slot 总量限制，要用 lsb.resources 的 JOBS 参数，而不是 lsb.users 的 MAX_JOBS&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;Begin Limit&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;NAME &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;= dig_job_cap&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;USERS &amp;nbsp;&amp;nbsp;&amp;nbsp;= dig_design&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;JOBS &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;= 40&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;End Limit&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style=&quot;margin: 7px 0 13px 13px;text-align: justify;font-family: Calibri;font-size: 14px;text-wrap-mode: wrap;text-indent: 28px;border-left: 4px solid rgb(192, 57, 43);padding: 0;line-height: 21px;background: rgb(251, 230, 230)&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 21px;font-size: 14px&quot;&gt;⚠️ 注意：lsb.users 的 MAX_JOBS、lsb.queues 的 UJOB_LIMIT/QJOB_LIMIT/HJOB_LIMIT、lsb.hosts 的 MXJ/JL_U，这些参数管的都是 job slot 数量；而 lsb.resources 的 JOBS 管的是“运行中和挂起中（RUN/SSUSP/USUSP）的作业数量”，两者语义不同、不能混用。如果业务需求是“这个组最多允许 40 个作业同时处于运行/挂起等活动状态，不关心每个作业占多少 slot”，应该用 JOBS；如果需求是“这个组最多同时占用 40 个 CPU slot”，应该用 MAX_JOBS（或 lsb.resources 的 SLOTS）。混淆这两者，在只跑串行作业的环境里不会有问题，但一旦引入并行仿真作业就会导致实际效果和预期完全不同。&lt;/span&gt;&lt;/p&gt;&lt;h3 style=&quot;margin: 15px 0 8px;font-family: Calibri;color: rgb(31, 77, 120);font-size: 16px;text-wrap-mode: wrap;text-indent: 31px;line-height: 24px&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 23px;color: #000000;font-size: 15px&quot;&gt;3.8 验证整套配置&lt;/span&gt;&lt;/strong&gt;&lt;/h3&gt;&lt;table cellspacing=&quot;0&quot; width=&quot;623&quot;&gt;&lt;tbody&gt;&lt;tr class=&quot;firstRow&quot;&gt;&lt;td width=&quot;623&quot; valign=&quot;top&quot; style=&quot;padding: 8px 11px; border-width: 1px; border-color: rgb(204, 204, 204); background: rgb(245, 245, 245);&quot;&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;badmin ckconfig -v &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;# 语法检查&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;lsadmin reconfig &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;# 生效 lsf.cluster / lsf.shared&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;badmin mbdrestart &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;# 生效主机清单变化&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;badmin reconfig &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;# 生效 lsb.* 变化&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;# 逐项核实&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;lsclusters -l &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;# 确认集群管理员列表&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;bmgroup -l &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;# 确认 HostGroup 是否按预期建好&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;bhosts -s calibre_dv &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;# 查看LSF侧记录的license资源分配情况（不等价于license server真实checkout状态）&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;bugroup -l &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;# 确认 UserGroup 成员关系&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;busers -l dig_design &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;# 确认用户组的 job slot 限额（MAX_JOBS/JL_P等）&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;bqueues -l dig_regress &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;# 确认队列的资源需求与最小/最大限制&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;blimits -a &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;# 确认 lsb.resources 里所有 Limit 规则当前占用情况&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;bresources -c &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;# 确认 lsb.resources 中的资源配置本身是否正确加载&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style=&quot;margin: 7px 0 13px 13px;text-align: justify;font-family: Calibri;font-size: 14px;text-wrap-mode: wrap;text-indent: 28px;border-left: 4px solid rgb(60, 154, 92);padding: 0;line-height: 21px;background: rgb(229, 243, 232)&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 21px;font-size: 14px&quot;&gt;✅ 最佳实践：六个文件改完不要一次性全部 reconfig，建议按“lsf.cluster/lsf.shared → lsb.hosts → lsb.users → lsb.queues → lsb.resources”的顺序逐层验证，每改一层就跑一遍对应的查看命令核实，出问题能快速定位是哪一层的配置有误，而不是面对一堆报错无从下手。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin: 7px 0 13px 13px;text-align: justify;font-family: Calibri;font-size: 14px;text-wrap-mode: wrap;text-indent: 28px;border-left: 4px solid rgb(192, 57, 43);padding: 0;line-height: 21px;background: rgb(251, 230, 230)&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 21px;font-size: 14px&quot;&gt;⚠️ 注意：这里再强调一次系列第二篇提到过的边界：bhosts -s 看到的是 LSF 自己记账的 Shared Resource 状态，反映的是“通过 LSF 提交的作业消耗了多少”，不能替代对 license server（如 FlexLM）的真实 checkout 查询。如果有人绕开 LSF 直接启动 EDA 工具占用了 license，这里看到的数字和 license server 的真实剩余量会不一致，本篇用的是静态记账方案，这个局限性需要提前和团队讲清楚。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-wrap-mode: wrap;text-indent: 28px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-size: 14px&quot;&gt;&lt;br clear=&quot;all&quot; style=&quot;break-before: page&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;h1 style=&quot;margin: 24px 0 13px;font-family: Calibri;color: rgb(46, 116, 181);font-size: 21px;text-wrap-mode: wrap;text-indent: 43px;line-height: 32px&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: 微软雅黑;color: #000000;font-size: 21px&quot;&gt;四、多层阈值如何搭配才不冲突&lt;/span&gt;&lt;/strong&gt;&lt;/h1&gt;&lt;p style=&quot;margin: 0 0 11px;text-align: justify;font-family: Calibri;font-size: 14px;text-wrap-mode: wrap;text-indent: 29px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 22px;font-size: 15px&quot;&gt;&lt;span style=&quot;font-family:微软雅黑&quot;&gt;配置到这一步，同一个作业在提交时可能同时受到好几层限额约束：用户级&lt;/span&gt; MAX_JOBS、队列级 UJOB_LIMIT、主机级 MXJ、资源级 RESRSV_LIMIT、Limit 段的总量限制……这些限制到底是什么关系？谁优先谁生效？这一节把关系理清楚。&lt;/span&gt;&lt;/p&gt;&lt;h3 style=&quot;margin: 15px 0 8px;font-family: Calibri;color: rgb(31, 77, 120);font-size: 16px;text-wrap-mode: wrap;text-indent: 31px;line-height: 24px&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 23px;color: #000000;font-size: 15px&quot;&gt;4.1 同类限制取更严格值，不同维度的限制分别独立生效&lt;/span&gt;&lt;/strong&gt;&lt;/h3&gt;&lt;p style=&quot;margin: 0 0 11px;text-align: justify;font-family: Calibri;font-size: 14px;text-wrap-mode: wrap;text-indent: 29px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 22px;font-size: 15px&quot;&gt;&lt;span style=&quot;font-family:微软雅黑&quot;&gt;准确的说法是：多层限制不是简单粗暴地把所有数值取一个&lt;/span&gt; min()，而是几个不同维度的限制同时生效、互不替代。对于存在明确叠加关系的同类限制，LSF 会按对应参数的规则取有效约束——举例来说，MAX_JOBS 和 UJOB_LIMIT 都是 job slot 维度的限制，如果用户级 MAX_JOBS=40、队列级 UJOB_LIMIT=20，该用户在这个队列里实际能用的 slot 数是 20（更严格的那个）；JOBS 和 SLOTS 同时配置时同理，取更严格的限制生效。但像 RUNLIMIT=10小时、RESRSV_LIMIT 里的 mem 上限、MAX_JOBS、FAIRSHARE 份额这几个参数，分别管的是运行时长、资源预留范围、slot 数量、调度优先级四个完全不同的维度，它们不是“取其中最小值”的关系，而是四套约束/调度机制同时独立作用于同一个作业。&lt;/span&gt;&lt;/p&gt;&lt;h3 style=&quot;margin: 15px 0 8px;font-family: Calibri;color: rgb(31, 77, 120);font-size: 16px;text-wrap-mode: wrap;text-indent: 31px;line-height: 24px&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 23px;color: #000000;font-size: 15px&quot;&gt;4.2 按限制的性质分类，而不是按“谁松谁紧”排序&lt;/span&gt;&lt;/strong&gt;&lt;/h3&gt;&lt;p style=&quot;margin: 0 0 11px;text-align: justify;font-family: Calibri;font-size: 14px;text-wrap-mode: wrap;text-indent: 29px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 22px;font-size: 15px&quot;&gt;&lt;span style=&quot;font-family:微软雅黑&quot;&gt;与其把这些限制想象成一个从上到下、从松到紧的固定层级（这种理解容易让人误以为存在一种严格的先后顺序，但实际上很多限制是可以任意组合、共同生效的，并没有谁天然&lt;/span&gt;&lt;span style=&quot;font-family:微软雅黑&quot;&gt;“管辖”谁），不如按它们限制的性质分类理解，会更接近 LSF 实际的行为：&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;table cellspacing=&quot;0&quot; width=&quot;623&quot;&gt;&lt;tbody&gt;&lt;tr class=&quot;firstRow&quot;&gt;&lt;td width=&quot;120&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-width: 1px; border-color: windowtext; background: rgb(46, 92, 138);&quot;&gt;&lt;p style=&quot;;text-align: center;font-family: Calibri;font-size: 14px;text-indent: 28px;line-height: 21px&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 21px;font-size: 14px&quot;&gt;限制类别&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;240&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-width: 1px; border-color: windowtext; background: rgb(46, 92, 138);&quot;&gt;&lt;p style=&quot;;text-align: center;font-family: Calibri;font-size: 14px;text-indent: 28px;line-height: 21px&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 21px;font-size: 14px&quot;&gt;配置位置&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;263&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-width: 1px; border-color: windowtext; background: rgb(46, 92, 138);&quot;&gt;&lt;p style=&quot;;text-align: center;font-family: Calibri;font-size: 14px;text-indent: 28px;line-height: 21px&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 21px;font-size: 14px&quot;&gt;限制的是什么&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width=&quot;120&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 250, 250);&quot;&gt;&lt;p style=&quot;;font-family: Calibri;font-size: 14px;text-indent: 27px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 20px;font-size: 13px&quot;&gt;Job Slot 限制&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;240&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 250, 250);&quot;&gt;&lt;p style=&quot;;font-family: Calibri;font-size: 14px;text-indent: 27px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 20px;font-size: 13px&quot;&gt;lsb.users 的 MAX_JOBS，lsb.queues 的 UJOB_LIMIT/QJOB_LIMIT/HJOB_LIMIT，lsb.hosts 的 MXJ/JL_U&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;263&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 250, 250);&quot;&gt;&lt;p style=&quot;;font-family: Calibri;font-size: 14px;text-indent: 27px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 20px;font-size: 13px&quot;&gt;&lt;span style=&quot;font-family:微软雅黑&quot;&gt;传统意义上的&lt;/span&gt; job slot 总量上限&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width=&quot;120&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 250, 250);&quot;&gt;&lt;p style=&quot;;font-family: Calibri;font-size: 14px;text-indent: 27px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 20px;font-size: 13px&quot;&gt;Job 数量限制&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;240&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 250, 250);&quot;&gt;&lt;p style=&quot;;font-family: Calibri;font-size: 14px;text-indent: 27px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 20px;font-size: 13px&quot;&gt;lsb.resources 的 JOBS&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;263&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 250, 250);&quot;&gt;&lt;p style=&quot;;font-family: Calibri;font-size: 14px;text-indent: 27px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 20px;font-size: 13px&quot;&gt;&lt;span style=&quot;font-family:微软雅黑&quot;&gt;运行中和挂起中（&lt;/span&gt;RUN/SSUSP/USUSP）的作业个数&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width=&quot;120&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 250, 250);&quot;&gt;&lt;p style=&quot;;font-family: Calibri;font-size: 14px;text-indent: 27px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 20px;font-size: 13px&quot;&gt;Slot 资源配额&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;240&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 250, 250);&quot;&gt;&lt;p style=&quot;;font-family: Calibri;font-size: 14px;text-indent: 27px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 20px;font-size: 13px&quot;&gt;lsb.resources 的 SLOTS&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;263&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 250, 250);&quot;&gt;&lt;p style=&quot;;font-family: Calibri;font-size: 14px;text-indent: 27px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 20px;font-size: 13px&quot;&gt;&lt;span style=&quot;font-family:微软雅黑&quot;&gt;在&lt;/span&gt; lsb.resources 这套框架下，按 consumer 维度（用户/队列/主机/项目等）控制的 job slot 数量，和上面第一行的传统 job slot 限制是同一类资源的两套配置入口&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width=&quot;120&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 250, 250);&quot;&gt;&lt;p style=&quot;;font-family: Calibri;font-size: 14px;text-indent: 27px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 20px;font-size: 13px&quot;&gt;资源配额&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;240&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 250, 250);&quot;&gt;&lt;p style=&quot;;font-family: Calibri;font-size: 14px;text-indent: 27px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 20px;font-size: 13px&quot;&gt;lsb.resources 的 Limit 段（MEM/SWP/TMP/RESOURCE）&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;263&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 250, 250);&quot;&gt;&lt;p style=&quot;;font-family: Calibri;font-size: 14px;text-indent: 27px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 20px;font-size: 13px&quot;&gt;&lt;span style=&quot;font-family:微软雅黑&quot;&gt;按用户&lt;/span&gt;/队列/主机/项目等维度统计的内存/swap/临时空间/自定义资源总占用配额&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width=&quot;120&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 250, 250);&quot;&gt;&lt;p style=&quot;;font-family: Calibri;font-size: 14px;text-indent: 27px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 20px;font-size: 13px&quot;&gt;资源预留限制&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;240&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 250, 250);&quot;&gt;&lt;p style=&quot;;font-family: Calibri;font-size: 14px;text-indent: 27px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 20px;font-size: 13px&quot;&gt;lsb.queues 的 RESRSV_LIMIT&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;263&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 250, 250);&quot;&gt;&lt;p style=&quot;;font-family: Calibri;font-size: 14px;text-indent: 27px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 20px;font-size: 13px&quot;&gt;&lt;span style=&quot;font-family:微软雅黑&quot;&gt;单个作业申请的&lt;/span&gt; rusage 资源量允许范围&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width=&quot;120&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 250, 250);&quot;&gt;&lt;p style=&quot;;font-family: Calibri;font-size: 14px;text-indent: 27px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 20px;font-size: 13px&quot;&gt;运行时限制&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;240&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 250, 250);&quot;&gt;&lt;p style=&quot;;font-family: Calibri;font-size: 14px;text-indent: 27px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 20px;font-size: 13px&quot;&gt;lsb.queues/lsb.applications 的 RUNLIMIT/CPULIMIT/MEMLIMIT&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;263&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 250, 250);&quot;&gt;&lt;p style=&quot;;font-family: Calibri;font-size: 14px;text-indent: 27px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 20px;font-size: 13px&quot;&gt;&lt;span style=&quot;font-family:微软雅黑&quot;&gt;作业运行起来之后，实际能持续运行&lt;/span&gt;/消耗资源多久&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width=&quot;120&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 250, 250);&quot;&gt;&lt;p style=&quot;;font-family: Calibri;font-size: 14px;text-indent: 27px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 20px;font-size: 13px&quot;&gt;调度优先级&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;240&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 250, 250);&quot;&gt;&lt;p style=&quot;;font-family: Calibri;font-size: 14px;text-indent: 27px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 20px;font-size: 13px&quot;&gt;FAIRSHARE、PRIORITY&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;263&quot; valign=&quot;center&quot; style=&quot;padding: 5px 8px; border-left-width: 1px; border-left-color: windowtext; border-right-width: 1px; border-right-color: windowtext; border-top: none; border-bottom-width: 1px; border-bottom-color: windowtext; background: rgb(250, 250, 250);&quot;&gt;&lt;p style=&quot;;font-family: Calibri;font-size: 14px;text-indent: 27px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 20px;font-size: 13px&quot;&gt;&lt;span style=&quot;font-family:微软雅黑&quot;&gt;决定的不是&lt;/span&gt;&lt;span style=&quot;font-family:微软雅黑&quot;&gt;“能不能跑”，而是“谁先拿到运行机会”&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style=&quot;margin: 7px 0 13px 13px;text-align: justify;font-family: Calibri;font-size: 14px;text-wrap-mode: wrap;text-indent: 28px;border-left: 4px solid rgb(230, 168, 0);padding: 0;line-height: 21px;background: rgb(255, 243, 205)&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 21px;font-size: 14px&quot;&gt;&lt;span style=&quot;font-family:微软雅黑&quot;&gt;&lt;/span&gt;&lt;em style=&quot;font-family: Calibri; text-align: justify; text-indent: 28px; text-wrap-mode: wrap;&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑; line-height: 21px;&quot;&gt;***&lt;/span&gt;&lt;/em&gt;&lt;span style=&quot;font-family:微软雅黑&quot;&gt;排查&lt;/span&gt;&lt;span style=&quot;font-family:微软雅黑&quot;&gt;“为什么我的作业迟迟不跑”这类问题时，不要预设某一类限制天生比另一类“优先级更高”，而是要按上表这几个类别分别排查：先看物理主机 MXJ 是否已经打满、再看 lsb.resources 的资源配额是否还有余量、再看队列/用户的 job slot 限制是否触顶、最后看有没有 RESRSV_LIMIT 之类的申请范围问题——这几类互相独立，任何一类卡住都会导致作业排队，不存在“上层通过了下层就一定通过”这种从属关系。&lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;h3 style=&quot;margin: 15px 0 8px;font-family: Calibri;color: rgb(31, 77, 120);font-size: 16px;text-wrap-mode: wrap;text-indent: 31px;line-height: 24px&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 23px;color: #000000;font-size: 15px&quot;&gt;4.3 常见冲突场景与解决方式&lt;/span&gt;&lt;/strong&gt;&lt;/h3&gt;&lt;p style=&quot;font-size: medium;text-wrap-mode: wrap;margin-bottom: 5px;margin-left: 28px;text-indent: 29px;line-height: 1.5px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;font-size: 15px&quot;&gt;•&lt;span style=&quot;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal;font-size-adjust: none;font-kerning: auto;font-optical-sizing: auto;font-feature-settings: normal;font-variation-settings: normal;font-variant-position: normal;font-variant-emoji: normal;font-stretch: normal;font-size: 9px;line-height: normal;font-family: &amp;#39;Times New Roman&amp;#39;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 22px;font-size: 15px&quot;&gt;&lt;span style=&quot;font-family:微软雅黑&quot;&gt;场景一：用户级&lt;/span&gt; MAX_JOBS 设置得比队列级 UJOB_LIMIT 还小——两者都是 job slot 维度的限制，用户实际能用的 slot 数以更小的那个为准，通常是配置疏忽，检查两者数值是否符合预期意图。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-size: medium;text-wrap-mode: wrap;margin-bottom: 5px;margin-left: 28px;text-indent: 29px;line-height: 1.5px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;font-size: 15px&quot;&gt;•&lt;span style=&quot;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal;font-size-adjust: none;font-kerning: auto;font-optical-sizing: auto;font-feature-settings: normal;font-variation-settings: normal;font-variant-position: normal;font-variant-emoji: normal;font-stretch: normal;font-size: 9px;line-height: normal;font-family: &amp;#39;Times New Roman&amp;#39;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 22px;font-size: 15px&quot;&gt;&lt;span style=&quot;font-family:微软雅黑&quot;&gt;场景二：&lt;/span&gt;RESRSV_LIMIT 的上限比 ResourceMap 分配给这个主机池的资源总量还大——RESRSV_LIMIT 限制的是单个作业的申请范围，不代表能保证申请到，如果池子总量不够，作业依然会排队等待，这不是配置错误，是正常的资源紧张现象。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-size: medium;text-wrap-mode: wrap;margin-bottom: 5px;margin-left: 28px;text-indent: 29px;line-height: 1.5px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;font-size: 15px&quot;&gt;•&lt;span style=&quot;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal;font-size-adjust: none;font-kerning: auto;font-optical-sizing: auto;font-feature-settings: normal;font-variation-settings: normal;font-variant-position: normal;font-variant-emoji: normal;font-stretch: normal;font-size: 9px;line-height: normal;font-family: &amp;#39;Times New Roman&amp;#39;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 22px;font-size: 15px&quot;&gt;&lt;span style=&quot;font-family:微软雅黑&quot;&gt;场景三：&lt;/span&gt;FAIRSHARE 和 RESRSV_LIMIT 同时配置——公平共享决定的是“谁先拿到运行机会”，RESRSV_LIMIT 决定的是“每次能拿多少”，两者维度不同、互不冲突，可以放心同时使用。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-size: medium;text-wrap-mode: wrap;margin-bottom: 5px;margin-left: 28px;text-indent: 29px;line-height: 1.5px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;font-size: 15px&quot;&gt;•&lt;span style=&quot;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal;font-size-adjust: none;font-kerning: auto;font-optical-sizing: auto;font-feature-settings: normal;font-variation-settings: normal;font-variant-position: normal;font-variant-emoji: normal;font-stretch: normal;font-size: 9px;line-height: normal;font-family: &amp;#39;Times New Roman&amp;#39;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 22px;font-size: 15px&quot;&gt;&lt;span style=&quot;font-family:微软雅黑&quot;&gt;场景四：&lt;/span&gt;MAX_JOBS 已经设置得很宽松，但作业还是大批量排队——如果作业是并行提交（bsub -n），先检查是不是 job slot 总量被少数几个大作业占满了，而不是同时运行的作业数太多，这正是 3.7 节讲的 Job 数量和 Job Slot 数量混淆导致的典型排查误区。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-wrap-mode: wrap;text-indent: 28px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-size: 14px&quot;&gt;&lt;br clear=&quot;all&quot; style=&quot;break-before: page&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;h1 style=&quot;margin: 24px 0 13px;font-family: Calibri;color: rgb(46, 116, 181);font-size: 21px;text-wrap-mode: wrap;text-indent: 43px;line-height: 32px&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: 微软雅黑;color: #000000;font-size: 21px&quot;&gt;&lt;span style=&quot;font-family:微软雅黑&quot;&gt;五、标准操作流程：新用户&lt;/span&gt; / 新项目组开通&lt;/span&gt;&lt;/strong&gt;&lt;/h1&gt;&lt;p style=&quot;margin: 0 0 11px;text-align: justify;font-family: Calibri;font-size: 14px;text-wrap-mode: wrap;text-indent: 29px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 22px;font-size: 15px&quot;&gt;&lt;span style=&quot;font-family:微软雅黑&quot;&gt;有了前面的体系设计，日常最高频的运维操作&lt;/span&gt;&lt;span style=&quot;font-family:微软雅黑&quot;&gt;——给新入职工程师开通权限、给新项目组分配资源——就可以变成一套可复制的标准流程，而不是每次都临时现想怎么配。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;h3 style=&quot;margin: 15px 0 8px;font-family: Calibri;color: rgb(31, 77, 120);font-size: 16px;text-wrap-mode: wrap;text-indent: 31px;line-height: 24px&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 23px;color: #000000;font-size: 15px&quot;&gt;5.1 新用户加入已有项目组&lt;/span&gt;&lt;/strong&gt;&lt;/h3&gt;&lt;table cellspacing=&quot;0&quot; width=&quot;623&quot;&gt;&lt;tbody&gt;&lt;tr class=&quot;firstRow&quot;&gt;&lt;td width=&quot;623&quot; valign=&quot;top&quot; style=&quot;padding: 8px 11px; border-width: 1px; border-color: rgb(204, 204, 204); background: rgb(245, 245, 245);&quot;&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;# 只需在 lsb.users 的 UserGroup 段追加成员，无需改动其他任何文件&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;Begin UserGroup&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;GROUP_NAME &amp;nbsp;&amp;nbsp;&amp;nbsp;GROUP_MEMBER&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;dig_design &amp;nbsp;&amp;nbsp;&amp;nbsp;(u_alice u_bob u_carol u_ivan) &amp;nbsp;&amp;nbsp;# 新增 u_ivan&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;End UserGroup&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;badmin reconfig&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-indent: 25px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: Consolas;line-height: 19px;font-size: 13px&quot;&gt;busers -l u_ivan &amp;nbsp;&amp;nbsp;# 验证新用户已继承组的限额配置&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style=&quot;margin: 7px 0 13px 13px;text-align: justify;font-family: Calibri;font-size: 14px;text-wrap-mode: wrap;text-indent: 28px;border-left: 4px solid rgb(60, 154, 92);padding: 0;line-height: 21px;background: rgb(229, 243, 232)&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 21px;font-size: 14px&quot;&gt;✅ 最佳实践：把限额配置在“组”这一级，新人入职只需要一步——加入对应的用户组——就能自动获得这个项目组已经设计好的完整限额，不需要每次给个人重新配置一遍，这是前面强调“从组织架构反推限额矩阵”的直接收益。&lt;/span&gt;&lt;/p&gt;&lt;h3 style=&quot;margin: 15px 0 8px;font-family: Calibri;color: rgb(31, 77, 120);font-size: 16px;text-wrap-mode: wrap;text-indent: 31px;line-height: 24px&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 23px;color: #000000;font-size: 15px&quot;&gt;5.2 新项目组从零开始&lt;/span&gt;&lt;/strong&gt;&lt;/h3&gt;&lt;p style=&quot;font-size: medium;text-wrap-mode: wrap;margin-bottom: 5px;margin-left: 28px;text-indent: 29px;line-height: 1.5px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;font-size: 15px&quot;&gt;•&lt;span style=&quot;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal;font-size-adjust: none;font-kerning: auto;font-optical-sizing: auto;font-feature-settings: normal;font-variation-settings: normal;font-variant-position: normal;font-variant-emoji: normal;font-stretch: normal;font-size: 9px;line-height: normal;font-family: &amp;#39;Times New Roman&amp;#39;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 22px;font-size: 15px&quot;&gt;&lt;span style=&quot;font-family:微软雅黑&quot;&gt;第一步：和项目负责人一起，按第二章的方法画出资源限额矩阵（并发数&lt;/span&gt;/license/内存/时间）。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-size: medium;text-wrap-mode: wrap;margin-bottom: 5px;margin-left: 28px;text-indent: 29px;line-height: 1.5px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;font-size: 15px&quot;&gt;•&lt;span style=&quot;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal;font-size-adjust: none;font-kerning: auto;font-optical-sizing: auto;font-feature-settings: normal;font-variation-settings: normal;font-variant-position: normal;font-variant-emoji: normal;font-stretch: normal;font-size: 9px;line-height: normal;font-family: &amp;#39;Times New Roman&amp;#39;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 22px;font-size: 15px&quot;&gt;&lt;span style=&quot;font-family:微软雅黑&quot;&gt;第二步：如果需要专属主机池，在&lt;/span&gt; lsf.cluster.cluster_name 的 Host 段给主机打上新的 RESOURCES 标签（用于 select[] 筛选），同时在 lsb.hosts 里新建对应的 HostGroup（用于队列的 HOSTS 参数），两者不能混用，具体区别参见本篇 3.1~3.2 节。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-size: medium;text-wrap-mode: wrap;margin-bottom: 5px;margin-left: 28px;text-indent: 29px;line-height: 1.5px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;font-size: 15px&quot;&gt;•&lt;span style=&quot;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal;font-size-adjust: none;font-kerning: auto;font-optical-sizing: auto;font-feature-settings: normal;font-variation-settings: normal;font-variant-position: normal;font-variant-emoji: normal;font-stretch: normal;font-size: 9px;line-height: normal;font-family: &amp;#39;Times New Roman&amp;#39;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 22px;font-size: 15px&quot;&gt;&lt;span style=&quot;font-family:微软雅黑&quot;&gt;第三步：如果涉及独立的&lt;/span&gt; license 配额，在 lsf.shared 定义资源（如果是新资源类型）+ ResourceMap 用显式主机名拆分数量。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-size: medium;text-wrap-mode: wrap;margin-bottom: 5px;margin-left: 28px;text-indent: 29px;line-height: 1.5px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;font-size: 15px&quot;&gt;•&lt;span style=&quot;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal;font-size-adjust: none;font-kerning: auto;font-optical-sizing: auto;font-feature-settings: normal;font-variation-settings: normal;font-variant-position: normal;font-variant-emoji: normal;font-stretch: normal;font-size: 9px;line-height: normal;font-family: &amp;#39;Times New Roman&amp;#39;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 22px;font-size: 15px&quot;&gt;&lt;span style=&quot;font-family:微软雅黑&quot;&gt;第四步：在&lt;/span&gt; lsb.users 新建 UserGroup，把矩阵里的 Job Slot 上限落地为 MAX_JOBS，排队上限落地为 MAX_PEND_JOBS（注意 MAX_PEND_JOBS 及相关排队限制参数在不同 LSF 版本/Fix Pack 之间存在语义演进，落地前建议核对自己集群实际安装的版本文档）。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-size: medium;text-wrap-mode: wrap;margin-bottom: 5px;margin-left: 28px;text-indent: 29px;line-height: 1.5px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;font-size: 15px&quot;&gt;•&lt;span style=&quot;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal;font-size-adjust: none;font-kerning: auto;font-optical-sizing: auto;font-feature-settings: normal;font-variation-settings: normal;font-variant-position: normal;font-variant-emoji: normal;font-stretch: normal;font-size: 9px;line-height: normal;font-family: &amp;#39;Times New Roman&amp;#39;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 22px;font-size: 15px&quot;&gt;&lt;span style=&quot;font-family:微软雅黑&quot;&gt;第五步：在&lt;/span&gt; lsb.queues 新建专属队列，HOSTS 参数填第二步建好的 HostGroup 名，把矩阵里的资源量落地为 RES_REQ/RESRSV_LIMIT/RUNLIMIT。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-size: medium;text-wrap-mode: wrap;margin-bottom: 5px;margin-left: 28px;text-indent: 29px;line-height: 1.5px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;font-size: 15px&quot;&gt;•&lt;span style=&quot;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal;font-size-adjust: none;font-kerning: auto;font-optical-sizing: auto;font-feature-settings: normal;font-variation-settings: normal;font-variant-position: normal;font-variant-emoji: normal;font-stretch: normal;font-size: 9px;line-height: normal;font-family: &amp;#39;Times New Roman&amp;#39;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 22px;font-size: 15px&quot;&gt;&lt;span style=&quot;font-family:微软雅黑&quot;&gt;第六步：&lt;/span&gt;badmin ckconfig -v 检查语法，按顺序 reconfig，逐项验证。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-size: medium;text-wrap-mode: wrap;margin-bottom: 5px;margin-left: 28px;text-indent: 29px;line-height: 1.5px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;font-size: 15px&quot;&gt;•&lt;span style=&quot;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal;font-size-adjust: none;font-kerning: auto;font-optical-sizing: auto;font-feature-settings: normal;font-variation-settings: normal;font-variant-position: normal;font-variant-emoji: normal;font-stretch: normal;font-size: 9px;line-height: normal;font-family: &amp;#39;Times New Roman&amp;#39;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 22px;font-size: 15px&quot;&gt;&lt;span style=&quot;font-family:微软雅黑&quot;&gt;第七步：给项目负责人开通&lt;/span&gt; GROUP_ADMIN 或队列 ADMINISTRATORS 权限（视团队规模决定给哪一级）。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;;text-align: justify;font-family: Calibri;font-size: 14px;text-wrap-mode: wrap;text-indent: 28px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-size: 14px&quot;&gt;&lt;br clear=&quot;all&quot; style=&quot;break-before: page&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;h1 style=&quot;margin: 24px 0 13px;font-family: Calibri;color: rgb(46, 116, 181);font-size: 21px;text-wrap-mode: wrap;text-indent: 43px;line-height: 32px&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: 微软雅黑;color: #000000;font-size: 21px&quot;&gt;六、系列总结&lt;/span&gt;&lt;/strong&gt;&lt;/h1&gt;&lt;p style=&quot;margin: 0 0 11px;text-align: justify;font-family: Calibri;font-size: 14px;text-wrap-mode: wrap;text-indent: 29px;line-height: 21px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 22px;font-size: 15px&quot;&gt;&lt;span style=&quot;font-family:微软雅黑&quot;&gt;到这里，「&lt;/span&gt;LSF 集群配置系列」的核心内容就完整了。回顾一下整条主线：&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-size: medium;text-wrap-mode: wrap;margin-bottom: 5px;margin-left: 28px;text-indent: 29px;line-height: 1.5px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;font-size: 15px&quot;&gt;•&lt;span style=&quot;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal;font-size-adjust: none;font-kerning: auto;font-optical-sizing: auto;font-feature-settings: normal;font-variation-settings: normal;font-variant-position: normal;font-variant-emoji: normal;font-stretch: normal;font-size: 9px;line-height: normal;font-family: &amp;#39;Times New Roman&amp;#39;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 22px;font-size: 15px&quot;&gt;lsb.queues / lsb.hosts / lsb.users：作业调度策略、主机负载阈值、用户并发限额——「批处理层」的三大核心文件。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-size: medium;text-wrap-mode: wrap;margin-bottom: 5px;margin-left: 28px;text-indent: 29px;line-height: 1.5px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;font-size: 15px&quot;&gt;•&lt;span style=&quot;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal;font-size-adjust: none;font-kerning: auto;font-optical-sizing: auto;font-feature-settings: normal;font-variation-settings: normal;font-variant-position: normal;font-variant-emoji: normal;font-stretch: normal;font-size: 9px;line-height: normal;font-family: &amp;#39;Times New Roman&amp;#39;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 22px;font-size: 15px&quot;&gt;lsb.params / lsb.applications / lsb.resources / lsb.modules：集群级全局参数、应用画像、跨队列资源配额、调度器插件开关——「批处理层」的四个补充文件。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-size: medium;text-wrap-mode: wrap;margin-bottom: 5px;margin-left: 28px;text-indent: 29px;line-height: 1.5px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;font-size: 15px&quot;&gt;•&lt;span style=&quot;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal;font-size-adjust: none;font-kerning: auto;font-optical-sizing: auto;font-feature-settings: normal;font-variation-settings: normal;font-variant-position: normal;font-variant-emoji: normal;font-stretch: normal;font-size: 9px;line-height: normal;font-family: &amp;#39;Times New Roman&amp;#39;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 22px;font-size: 15px&quot;&gt;lsf.cluster.cluster_name：集群定义、主机清单、集群管理员权限——「集群层」的基础配置。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-size: medium;text-wrap-mode: wrap;margin-bottom: 5px;margin-left: 28px;text-indent: 29px;line-height: 1.5px&quot;&gt;&lt;span style=&quot;font-family: 微软雅黑;font-size: 15px&quot;&gt;•&lt;span style=&quot;font-variant-numeric: normal;font-variant-east-asian: normal;font-variant-alternates: normal;font-size-adjust: none;font-kerning: auto;font-optical-sizing: auto;font-feature-settings: normal;font-variation-settings: normal;font-variant-position: normal;font-variant-emoji: normal;font-stretch: normal;font-size: 9px;line-height: normal;font-family: &amp;#39;Times New Roman&amp;#39;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 微软雅黑;line-height: 22px;font-size: 15px&quot;&gt;lsf.shared 的 Resource 段 + lsf.cluster.* 中的 ResourceMap 段：自定义资源的定义与精确映射——把 license、GPU 这些稀缺资源管理精细化的关键（这里明确一下：ResourceMap 不是独立的配置文件，而是 lsf.cluster.cluster_name 文件里的一个配置段，和 Host 段、ClusterAdmins 段同属一个文件，回顾系列第一篇）。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-size: medium;text-wrap-mode: wrap;margin-bottom: 5px;margin-left: 28px;text-indent: 29px;line-height: 1.5px&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Wed, 26 Aug 2026 14:10:30 +0800</pubDate></item></channel></rss>