解决Proxmox(PVE)使用黑苹果macOS Hackintosh 上高 CPU 使用率问题

命令

macOS 仅接受 2 的幂次的 CPU 核心。这意味着只有 1、2、4、8、16、32、64 等可以在本机运行。
我们有一个解决方法。请注意,这可能对您有用,也可能不起作用,如果您遇到问题,只需恢复该过程即可。

nano /etc/pve/qemu-server/[VMID].conf

100为你虚拟机ID

对于英特尔CPU

将所需内核数量的行添加到 Hackintosh VM args 的末尾。
在“硬件”选项卡中,将其设置为 1 插槽 + 4 核!

2 核
Native
3核
-smp 3,cores=1,sockets=3,threads=1,maxcpus=3
4核
Native
5核
-smp 5,cores=1,sockets=5,threads=1,maxcpus=5
6核
-smp 6,cores=2,sockets=3,threads=1,maxcpus=6
7核
-smp 7,cores=1,sockets=7,threads=1,maxcpus=7
8核
Native
9 核
-smp 9,cores=1,sockets=9,threads=1,maxcpus=9
10核
-smp 10,cores=2,sockets=5,threads=1,maxcpus=10
11 核
-smp 11,cores=1,sockets=11,threads=1,maxcpus=11
12核
-smp 12,cores=2,sockets=3,threads=2,maxcpus=12
13核
-smp 13,cores=1,sockets=13,threads=1,maxcpus=13
14核
-smp 14,cores=2,sockets=7,threads=1,maxcpus=14
15核
-smp 15,cores=1,sockets=15,threads=1,maxcpus=15
16核
Native
17 核
-smp 17,cores=1,sockets=17,threads=1,maxcpus=17
18核
-smp 18,cores=2,sockets=9,threads=1,maxcpus=18
19 核
-smp 19,cores=1,sockets=19,threads=1,maxcpus=19
20 核
-smp 20,cores=2,sockets=5,threads=2,maxcpus=20
21 核
-smp 21,cores=1,sockets=21,threads=1,maxcpus=21
22 核
-smp 22,cores=2,sockets=11,threads=1,maxcpus=22
23 核
-smp 23,cores=1,sockets=23,threads=1,maxcpus=23
24核
-smp 24,cores=2,sockets=6,threads=2,maxcpus=24
25 核
-smp 25,cores=1,sockets=25,threads=1,maxcpus=25
26核
-smp 26,cores=2,sockets=13,threads=1,maxcpus=26
27 核
-smp 27,cores=1,sockets=27,threads=1,maxcpus=27
28核
-smp 28,cores=2,sockets=7,threads=2,maxcpus=28
29 核
-smp 29,cores=1,sockets=29,threads=1,maxcpus=29
30 核
-smp 30,cores=2,sockets=15,threads=1,maxcpus=30
31 核
-smp 31,cores=1,sockets=31,threads=1,maxcpus=31
32核
Native
48 核
-smp 48,cores=2,sockets=24,threads=1,maxcpus=48
-smp 48,cores=2,sockets=12,threads=2,maxcpus=48

对于 AMD CPU

将当前的 -cpu arg 替换为以下内容。然后在虚拟机硬件设置中设置所需的 CPU 核心数量。

args: <default-arg> -cpu host
百度网盘立即下载提取码: 9w99复制
天翼云盘立即下载提取码: az7y复制
夸克网盘立即下载提取码: 358c复制
迅雷云盘立即下载提取码: mb4c复制
客服QQ271638927
原文链接:http://imacos.top/2024/04/29/158/,转载请注明出处。
0
1. 本站所有资源解压密码均为imacos.top
2. 本站资源收集于网络,仅做学习和交流使用,请于下载后24小时内删除。如果你喜欢我们推荐的软件,请购买正版支持作者。
3. 如有无法下载的链接,联系:邮箱271638927@qq.com,或直接联系QQ271638927进行反馈,我们将及时进行处理。
4. 本站发布的内容若侵犯到您的权益,请联系站长删除,联系方式:邮箱271638927@qq.com,我们将第一时间配合处理!

评论0

请先
终身会员限时上线 ☞ 限时永久会员折扣活动开始啦 > 查看优惠
显示验证码
没有账号?注册  忘记密码?

社交账号快速登录

微信扫一扫关注
如已关注,请回复“登录”二字获取验证码