host os: Windows 10
VMware workstation 12
Guest os Linux 4.x 64
Guest memory size: 12G
when windows wakes up from sleep, it take quite about 10 minutes of high disk io before disk io LED is quiet.
i found a solution to this before: execute sync.exe (from cygwin) before sleep, it take about 10 minutes to sync and then sleep, at least it won't do it during wake up when i want to use the computer
recently i find the real cause, it was the memory map file, the *.vmem file
prefvmx.minVmMemPct = "100"
MemTrimRate = "0"
mainMem.useNamedFile = "FALSE"
sched.mem.pshare.enable = "FALSE"
prefvmx.useRecommendedLockedMemSize = "TRUE"
i use these setting to disable the map file and the problem is gone
however this solution is not permanent, as soon as i use suspend feature of vmware, a new *.vmem file is generated.
so the question is, can *.vmem not be sync to disk when it is in memory?