[{"data":1,"prerenderedAt":421},["ShallowReactive",2],{"content:\u002Fposts\u002Fpve-troubleshoot-optimize":3,"surround:\u002Fposts\u002Fpve-troubleshoot-optimize":410},{"id":4,"title":5,"body":6,"categories":385,"date":387,"description":388,"draft":389,"extension":390,"image":391,"meta":392,"navigation":394,"path":395,"permalink":391,"pinned":389,"published":391,"readingTime":396,"recommend":391,"references":391,"seo":401,"sitemap":402,"stem":403,"tags":404,"type":408,"updated":387,"__hash__":409},"content\u002Fposts\u002Fposts\u002Fpve-troubleshoot-optimize.md","PVE 疑难解答与系统优化",{"type":7,"value":8,"toc":369},"minimark",[9,19,24,35,105,109,115,125,129,132,138,141,149,156,162,166,169,175,181,186,199,207,211,218,221,227,232,302,308,312,318,323,326,329,333,344,350,353,359],[10,11,15],"alert",{"type":12,"icon":13,"title":14},"info","tabler:robot","AI 迁移提示",[16,17,18],"p",{},"本文由 AI 协助从旧站迁移，尚未完成逐篇人工审校；内容如有疏漏，将在复核后修订。",[20,21,23],"h2",{"id":22},"一cpu-调度模式优化","一、CPU 调度模式优化",[25,26,32],"pre",{"className":27,"code":29,"language":30,"meta":31},[28],"language-bash","apt install cpufrequtils\ncpufreq-info\n\n# 设置为按需动态调频（推荐）\ncpupower -c all frequency-set -g ondemand\nsystemctl restart cpufrequtils\n","bash","",[33,34,29],"code",{"__ignoreMap":31},[36,37,38,51],"table",{},[39,40,41],"thead",{},[42,43,44,48],"tr",{},[45,46,47],"th",{},"模式",[45,49,50],{},"说明",[52,53,54,65,75,85,95],"tbody",{},[42,55,56,62],{},[57,58,59],"td",{},[33,60,61],{"code":61},"performance",[57,63,64],{},"固定最高频率",[42,66,67,72],{},[57,68,69],{},[33,70,71],{"code":71},"powersave",[57,73,74],{},"固定最低频率",[42,76,77,82],{},[57,78,79],{},[33,80,81],{"code":81},"ondemand",[57,83,84],{},"按需快速动态调频（推荐）",[42,86,87,92],{},[57,88,89],{},[33,90,91],{"code":91},"conservative",[57,93,94],{},"渐变式调频",[42,96,97,102],{},[57,98,99],{},[33,100,101],{"code":101},"schedutil",[57,103,104],{},"调度器回调触发调频",[20,106,108],{"id":107},"二添加温度传感器显示","二、添加温度传感器显示",[25,110,113],{"className":111,"code":112,"language":30,"meta":31},[28],"curl -Lf -o \u002Ftmp\u002Ftemp.sh \\\n  https:\u002F\u002Fraw.githubusercontent.com\u002Fa904055262\u002FPVE-manager-status\u002Fmain\u002Fshowtempcpufreq.sh\nchmod +x \u002Ftmp\u002Ftemp.sh\n\u002Ftmp\u002Ftemp.sh remod\n",[33,114,112],{"__ignoreMap":31},[16,116,117,118],{},"来源：",[119,120,124],"a",{"href":121,"rel":122},"https:\u002F\u002Fwww.right.com.cn\u002Fforum\u002Fthread-6754687-1-1.html",[123],"nofollow","右键论坛",[20,126,128],{"id":127},"三网卡配置修复加网卡后无法进入后台","三、网卡配置修复（加网卡后无法进入后台）",[16,130,131],{},"查看当前网络配置，找到绑定管理 IP 的网桥：",[25,133,136],{"className":134,"code":135,"language":30,"meta":31},[28],"vim \u002Fetc\u002Fnetwork\u002Finterfaces\n",[33,137,135],{"__ignoreMap":31},[16,139,140],{},"找到类似如下配置：",[25,142,147],{"className":143,"code":145,"language":146},[144],"language-text","auto vmbr2\niface vmbr2 inet static\n    address 192.168.1.100\u002F24\n    gateway 192.168.1.1\n    bridge-ports enp67s0   # 修改此处为目标网卡\n    bridge-stp off\n    bridge-fd 0\n","text",[33,148,145],{"__ignoreMap":31},[16,150,151,152,155],{},"修改 ",[33,153,154],{"code":154},"bridge-ports"," 为目标网卡后刷新网络：",[25,157,160],{"className":158,"code":159,"language":30,"meta":31},[28],"systemctl restart networking\nping \u003Cpve-ip> -c 4\n",[33,161,159],{"__ignoreMap":31},[20,163,165],{"id":164},"四安装-qemu-guest-agent","四、安装 qemu-guest-agent",[16,167,168],{},"在虚拟机内安装，使 PVE 控制台可直接显示虚拟机 IP，提升监控精度。",[16,170,171],{},[172,173,174],"strong",{},"Linux",[25,176,179],{"className":177,"code":178,"language":30,"meta":31},[28],"# Ubuntu \u002F Debian\napt install -y qemu-guest-agent\n\n# CentOS \u002F RHEL\nyum install -y qemu-guest-agent\n\nsystemctl enable qemu-guest-agent\nsystemctl start qemu-guest-agent\nsystemctl status qemu-guest-agent\n",[33,180,178],{"__ignoreMap":31},[16,182,183],{},[172,184,185],{},"Windows",[16,187,188,189,194,195,198],{},"下载 ",[119,190,193],{"href":191,"rel":192},"https:\u002F\u002Fvirtio-win.github.io\u002F",[123],"virtio-win"," 驱动包，安装 ISO 内的 ",[33,196,197],{"code":197},"virtio-win-gt-x64","，可选安装 QEMU Guest Agent 和 SPICE Agent 提升远程体验。",[16,200,201,202],{},"安装 Intel 核显驱动：",[119,203,206],{"href":204,"rel":205},"https:\u002F\u002Fwww.intel.cn\u002Fcontent\u002Fwww\u002Fcn\u002Fzh\u002Fsearch.html#cf-tabfilter=Downloads",[123],"Intel 显卡驱动下载",[20,208,210],{"id":209},"五黑群晖型号选择备忘","五、黑群晖型号选择备忘",[16,212,213,214],{},"rr 引导镜像：",[119,215,216],{"href":216,"rel":217},"https:\u002F\u002Fgithub.com\u002FRROrg\u002Frr\u002Freleases",[123],[16,219,220],{},"创建引导盘：",[25,222,225],{"className":223,"code":224,"language":30,"meta":31},[28],"qm importdisk 103 \u002Fvar\u002Flib\u002Fvz\u002Ftemplate\u002Fiso\u002Frr.img local\n",[33,226,224],{"__ignoreMap":31},[16,228,229],{},[172,230,231],{},"推荐型号速查：",[36,233,234,244],{},[39,235,236],{},[42,237,238,241],{},[45,239,240],{},"场景",[45,242,243],{},"推荐型号",[52,245,246,254,262,270,278,286,294],{},[42,247,248,251],{},[57,249,250],{},"CPU 核心 \u003C 24",[57,252,253],{},"DS3622xs+、RS1619xs+",[42,255,256,259],{},[57,257,258],{},"CPU 核心 > 24",[57,260,261],{},"FS6400、HD6500",[42,263,264,267],{},[57,265,266],{},"11-14 代 Intel iGPU",[57,268,269],{},"SA6400",[42,271,272,275],{},[57,273,274],{},"4-10 代 Intel iGPU（NVMe \u003C 2）",[57,276,277],{},"DS1019+、DS918+",[42,279,280,283],{},[57,281,282],{},"独显使用",[57,284,285],{},"SA6400、DS1819+",[42,287,288,291],{},[57,289,290],{},"不使用硬解 + HBA 卡",[57,292,293],{},"DS3622xs+",[42,295,296,299],{},[57,297,298],{},"免费 8 路摄像头",[57,300,301],{},"DVA3221、DVA3219、DVA1622",[10,303,305],{"type":304},"tip",[16,306,307],{},"不知如何选型可直接使用热门型号：DS3622xs+、DS1019+、DS918+、SA6400",[20,309,311],{"id":310},"六直通pcie设备报错","六、直通PCIE设备报错",[16,313,314,315],{},"直通了PCIE设备，无法启动报错：",[33,316,317],{"code":317},"TASK ERROR: cannot prepare PCI pass-through, IOMMU not present",[319,320,322],"h3",{"id":321},"_1bios设置","1、BIOS设置",[16,324,325],{},"在BIOS里面必须开启Intel Virtualization Technology (VT-x)、开启虚拟化 等选项",[16,327,328],{},"必须开启Intel VT for Directed I\u002FO (VT-d)等",[319,330,332],{"id":331},"_2内核启动参数","2、内核启动参数",[16,334,335,336,339,340,343],{},"Proxmox 需要通过内核参数来初始化 IOMMU。具体操作取决于你的系统是使用 ",[172,337,338],{},"GRUB"," 还是 ",[172,341,342],{},"systemd-boot"," 引导。",[345,346,348],"h4",{"id":347},"确定引导方式",[172,349,347],{},[16,351,352],{},"在终端运行：",[25,354,357],{"className":355,"code":356,"language":30,"meta":31},[28],"[ -d \u002Fsys\u002Ffirmware\u002Fefi ] && echo \"EFI\" || echo \"BIOS\u002FLegacy\"\n",[33,358,356],{"__ignoreMap":31},[360,361,362,366],"ul",{},[363,364,365],"li",{},"如果是 BIOS\u002FLegacy，必然使用 GRUB。",[363,367,368],{},"如果是 EFI，检查是否存在 \u002Fetc\u002Fkernel\u002Fcmdline。如果有，则是 systemd-boot；否则通常仍为 GRUB。",{"title":31,"searchDepth":370,"depth":370,"links":371},4,[372,374,375,376,377,378],{"id":22,"depth":373,"text":23},2,{"id":107,"depth":373,"text":108},{"id":127,"depth":373,"text":128},{"id":164,"depth":373,"text":165},{"id":209,"depth":373,"text":210},{"id":310,"depth":373,"text":311,"children":379},[380,382],{"id":321,"depth":381,"text":322},3,{"id":331,"depth":381,"text":332,"children":383},[384],{"id":347,"depth":370,"text":347},[386],"虚拟化","2026-02-14","汇总 Proxmox VE 常见问题的解决方法，包括 CPU 调度优化、温度传感器显示、网卡配置修复、qemu-guest-agent 安装及黑群晖型号选择备忘。",false,"md",null,{"slots":393},{},true,"\u002Fposts\u002Fpve-troubleshoot-optimize",{"text":397,"minutes":398,"time":399,"words":400},"3 min read",2.795,167700,559,{"title":5,"description":388},{"loc":395},"posts\u002Fposts\u002Fpve-troubleshoot-optimize",[405,406,407],"PVE","Homelab","运维","tech","J6bKDrZaxn2N8PW7PoHH1ZxM5xebQ7oXvS3hMZMNUm4",[411,416],{"title":412,"path":413,"stem":414,"date":415,"type":408,"children":-1},"服务器初始化完整配置流程","\u002Fposts\u002Fserver-init","posts\u002Fposts\u002Fserver-init","2026-02-13",{"title":417,"path":418,"stem":419,"date":420,"type":408,"children":-1},"PVE Intel 核显 GVT-g 虚拟化教程","\u002Fposts\u002Fpve-gvtg-passthrough","posts\u002Fposts\u002Fpve-gvtg-passthrough","2026-02-15",1788712223936]