登录 用户中心() [退出] 后台管理 注册
   
您的位置: 首页 >> SoftHub关联区 >> 主题: [内存]vmware 参数调整让其性能最优     [回主站]     [分站链接]
[内存]vmware 参数调整让其性能最优
clq
浏览(466) - 2023-08-30 14:25:10 发表 编辑

关键字:

[2023-08-30 20:12:35 最后更新]
[内存]vmware 参数调整让其性能最优


1.
在整体的首选项中,可设置内存不使用硬盘进行交换。应该是第一项目,使用预留内存。

2.
和 vmx 文件中的参数作用应该是一样的。

prefvmx.minVmMemPct =“100” 将存储器装入RAMorm 尽量避免设置下降100%

prefvmx.minVmMemPct =“50”容许交换一些内存ssl

prefvmx.minVmMemPct =“25”容许大多数内存交换

--------------------------------------------------------
关于“禁用”vmem文件

对所有的虚拟机“禁用”vmem文件
修改C:/Documents and Settings/All Users/Application Data/VMware/VMware Workstation/settings.ini文件,(如果没有这个文件的话手工添加一个),在其中加上一行:mainMem.useNamedFile = "FALSE"

对特定的虚拟机“禁用”vmem文件
修改特定虚拟机目录下的vmx文件,在其中加上一行:mainMem.useNamedFile = "FALSE"

----
不过有评测说这样客户机的内存速度会下降。

--------------------------------------------------------
https://blog.51cto.com/u_15054042/4276238

提高vmware station 在windows下的性能 转载

mb5fd33ffac6eab
2021-01-05 15:21:00

文章标签
ide
配置文件
github
技术
文章分类
代码人生
阅读数
90

修改这个全局配置文件 :C:\ProgramData\VMware\VMware Workstation\config.ini

.encoding = "UTF-8"
prefvmx.minVmMemPct = "100"
priority.grabbed = "high"
authd.client.port = "903"
authd.proxy.nfc = "vmware-hostd:ha-nfc"
installerDefaults.autoSoftwareUpdateEnabled = "yes"
installerDefaults.autoSoftwareUpdateEnabled.epoch = "5910"
installerDefaults.componentDownloadEnabled = "yes"
installerDefaults.dataCollectionEnabled = "yes"
installerDefaults.dataCollectionEnabled.epoch = "5910"
mainMem.partialLazySave = "FALSE"
mainMem.partialLazyRestore = "FALSE"
mainMem.useNamedFile = "FALSE"


参考:

https://gist.github.com/wpivotto/3993502


* mainMem.useNamedFile = "FALSE", doesn't use named-file - use for VMs on USB-disks or other slow disks. On Windows: useNamedFile= "FALSE" causes memory to be backed by the host's swap space.

* prefvmx.minVmMemPct = "100", fit memory into RAM. Whenever possible, avoid settings lower 100%.

* MemTrimRate = "0" , by disabling MemTrimRate, memory allocation inside the guest is faster because it doesn't take and give memory to the host os upon all requests.

* prefvmx.useRecommendedLockedMemSize = "TRUE" , this tells VMWare whether to use a fixed sized memory chunk or balloon and shrink memory as needed.

* mainMem.partialLazySave = "FALSE" , do not take snapshots in background

* mainMem.partialLazyRestore = "FALSE" , do not restore snapshots in background

* priority.grabbed = "high" , sets the priority for the VM in grabbed state

* priority.ungrabbed = "normal" , sets the priority for the VM in ungrabbed state.

--------------------------------------------------------
很多人提到 beamoff ,改天测试下。

----

安装beamoff 划重点
beamoff是VM上Mac虚拟机的优化神器,github地址:https://github.com/JasF/beamoff

安装方法
在虚拟机中用浏览器打开 https://raw.githubusercontent.com/S-Benjamin/Beamoff/master/beamoff.zip 这个链接,或者在虚拟机的浏览器中打开本篇博文直接点击这个链接,自动下载beamoff,下载完成后在Finder中打开,拖动下载好的文件到左侧栏中的【应用程序】中

设置为开机启动
打开系统设置的【用户与群组】,左侧栏中点击自己的账户,在右边的登录项中添加beamoff即可











总数:0 页次:1/0 首页 尾页  
总数:0 页次:1/0 首页 尾页  


所在合集/目录



发表评论:
文本/html模式切换 插入图片 文本/html模式切换


附件:



NEWBT官方QQ群1: 276678893
可求档连环画,漫画;询问文本处理大师等软件使用技巧;求档softhub软件下载及使用技巧.
但不可"开车",严禁国家敏感话题,不可求档涉及版权的文档软件.
验证问题说明申请入群原因即可.

Copyright © 2005-2020 clq, All Rights Reserved
版权所有
桂ICP备15002303号-1