VMware Communities
numbaone
Contributor
Contributor
Jump to solution

Do I need vmem file on ssd?

Hello! I start VM on ssd.

2gb ram on Vm.

Use option : Fit all virtual machine memory into reserved host RAM.

Memory use 100% on VM. Can I turn off my vmem file by this command mainMem.useNamedFile=FALSE, If I use ssd?

I dont use snapshots.

I want to save my ssd, because when I start my VM it create 2gb vmem file...

This file need for snapshots or suspend mode?

If I off it do I lose any perfomance?

Thanks.

0 Kudos
1 Solution

Accepted Solutions
continuum
Immortal
Immortal
Jump to solution

Years ago I would have given you precise tuning-instructions according to your expected usage.

Nowadays I tune to avoid problems like "suspend at the wrong time and the windows-explorer is frozen for next half an hour."
Workstation configured with

mainMem.useNamedFile = "false"

is still fine when your host is more or less idle and you run a single VM.
If your host is busy and runs more VMs or use very large sparse vmdks and large vRAM Workstation will be less stable.
So I would say try if the mainMem parameters are working as expect when you have one VM on idle host.
If your system is busy go with the defaults.
Use defaults when you want to do things like:
- suspend
- create snapshots
- add scsi-cotrollers
- want to use auto-destruct mode
- encrypted VMs.
...

Ulli


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

View solution in original post

0 Kudos
2 Replies
continuum
Immortal
Immortal
Jump to solution

Years ago I would have given you precise tuning-instructions according to your expected usage.

Nowadays I tune to avoid problems like "suspend at the wrong time and the windows-explorer is frozen for next half an hour."
Workstation configured with

mainMem.useNamedFile = "false"

is still fine when your host is more or less idle and you run a single VM.
If your host is busy and runs more VMs or use very large sparse vmdks and large vRAM Workstation will be less stable.
So I would say try if the mainMem parameters are working as expect when you have one VM on idle host.
If your system is busy go with the defaults.
Use defaults when you want to do things like:
- suspend
- create snapshots
- add scsi-cotrollers
- want to use auto-destruct mode
- encrypted VMs.
...

Ulli


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

0 Kudos
numbaone
Contributor
Contributor
Jump to solution

thanks!

0 Kudos