我尝试了ssh、samba等方法在windows与vm两者间传输文件,但速度还是30几k,我记得以前可以达到好几M呢?难道退化了!排除虚拟网卡的问题,问题可能是出在windows上,思考无果,google之。网上果然有先行之人,这位仁兄给出的的解答是因为win7默认启用了“远程差分压缩功能”,关闭后重启。方法如下:
不过经过我的尝试,win7到vm之间的传输速度并未得到提升,仍然在二三十k左右徘徊,问题未解决!经过再次google之后,看到另外的解决方法(文章里说了三种方法,第二种较合适,所以只摘抄了第二种方法,详情可参阅Slow performance when you try to access resources on your Virtual Server 2005 host computer from a guest virtual machine):
Method 2
Disable TCP task offloading in the registry of the host computer. To do this, follow these steps.Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 (http://support.microsoft.com/kb/322756/ ) How to back up and restore the registry in Windows
- Click Start, click Run, type regedit, and then click OK.
- Locate and then click the following registry subkey:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
- Click Edit, point to New, and then click DWORD Value.
- Type DisableTaskOffload as the entry name, and then press ENTER.
- Right-click DisableTaskOffload, and then click Modify.
- In the Value data box, type a value of 1, and then click OK.
- Quit Registry Editor.
- Restart your computer.