Press "Enter" to skip to content

VMware性能优化

VMware Player里安装的虚拟机一般都特别卡(即使你的物理机配置很高), 原因是VMware默认设定在本地生成一个swap文件来当作虚拟机的内存(这能不卡吗??), 本文介绍一些优化参数.

将以下选择写入到你的.vmx文件中(仅适用Windows物理机)

MemTrimRate = "0" 
mainMem.useNamedFile = "FALSE"
sched.mem.pshare.enable = "FALSE" 
prefvmx.useRecommendedLockedMemSize = "TRUE"
prefvmx.minVmMemPct = "100"

如果你的物理机是Linux而不是Windows则需要用如下选项代替上面的mainMem.useNamedFile = “FALSE”

mainmem.backing = "swap"

参考文档
Windows 7 kills VMWare performance by disk caching?

2 Comments

  1. 鸟叔 2018-05-30

    我说虚拟机为啥卡,原因似乎这么回事,回头试试

  2. 蜗牛 2018-07-08

    牛逼,牛逼,确实快了写,不过Launchpad还是挺慢的,大牛有办法吗?

Leave a Reply to 蜗牛 Cancel reply

Your email address will not be published. Required fields are marked *