Reputation: 1293
The InitiateFileTransferToGuest let's me upload a file to a VM via the ESXi host it's running on. When I perform the HTTP upload, I'm only getting about 8 Mb/s.
When I use dd
on the source machine and target VM, I get about 730 MB/s reads & writes.
When I use iperf
between the source machine and target VM, I get 8 Gb/s throughput.
I get the same HTTP upload speed if I use curl
or Python's requests module.
All three machines (source, target VM, and ESXi host) are on the same 10 GbE subnet.
Is there some HTTP buffer setting in ESXi that needs adjustment?
Upvotes: 0
Views: 324
Reputation: 2121
What's happening here is that the file is traversing the host and going into the VM with no reliance on the VM's networking configuration. It's using the VM's instance of VMware Tools.
This certainly won't be the most performant option, as you've found already, but it is extremely handy when there are network limitations or the VM is otherwise inaccessible externally, but it is powered on with VMware Tools running.
Upvotes: 0