open-vm-tools icon indicating copy to clipboard operation
open-vm-tools copied to clipboard

Vmware FreeBSD guest disk IO way slower than Linux

Open tbswork1 opened this issue 2 years ago • 3 comments

Describe the bug

Building the same C project on FreeBSD guest takes at least 3 times longer than on Linux. The source code resides on a Windows host shared folder. This issue has existed since I used open-vm-tools on VMWware for Windows. Upgrading to new version alleviates the problem a bit but the gap is still huge.

Reproduction steps

  1. VMWare Workstation 17 Pro for Windows
  2. FreeBSD 13.2 Release with open-vm-tools 12.2.5 (installed with pkg)
  3. Ubuntu 20.04 guest with official vmware-tools

Expected behavior

Offer a disk IO performance on VM host shared folder in FreeBSD guest comparable to Linux guest.

Additional context

No response

tbswork1 avatar Aug 23 '23 06:08 tbswork1

@tbswork1

Thanks for reporting this issue.

Re: "Ubuntu 20.04 guest with official vmware-tools" - What is the tools version number? Was this vmware-tools supplied by Ubuntu or was it obtained elsewhere?

Can you provide more specific reproduction steps? Ideally you could provide some relatively simple commands such as cp or dd running on your Ubuntu and FreeBSD guest to illustrate the i/o problem, but in any case some more specific repro steps would be helpful.

How did you establish that the reason for the performance difference is shared folder performance as opposed to other commands or configuration that might be different between the FreeBSD and Ubuntu guests?

Thank you.

jonathanvmw avatar Aug 23 '23 14:08 jonathanvmw

How did you establish that the reason for the performance difference is shared folder performance as opposed to other commands or configuration that might be different between the FreeBSD and Ubuntu guests?

Its shared folder performance issue. If the source files reside locally on FreeBSD it has no such problem.

Just build a C project on a Windows host directory that requires some 10 minutes on both Linux and FreeBSD VM. Let me know if you get a build time with FreeBSD close to that with Linux.

tbswork1 avatar Sep 01 '23 11:09 tbswork1

@tbswork1

Thanks for the update. An internal bug has been filed for this issue.

It would be useful if you could provide the following information:

  • What version of Windows is running on the host?
  • What version of VMware Tools is running on the Ubuntu 20.04 guest? Was it installed with the OS? If not, from where was it obtained?
  • The original bug description says "Upgrading to a new version alleviates the problem a bit but the gap is still huge." Upgrading to a new version of what?

Thank you.

jonathanvmw avatar Sep 01 '23 18:09 jonathanvmw