VirtualBox

13 年 前 建立

12 年 前 結束

#8979 closed defect (worksforme)

Very slow host-only (vboxnet0) transfer

回報者: oxoocoffee 負責人:
元件: network/hostif 版本: VirtualBox 4.0.8
關鍵字: slow transfer vboxnet0 副本:
Guest type: Windows Host type: Mac OS X

描述

I have host-only setup between my host (10.6.7 x64) and guest (XP x32) when I try to dump database running on host from host (terminal) it takes 2 sec. If I try to dump same database from guest I get 22 sec. First I noticed this with my program that was taking very long time to talk to DB. So db dump was another test to see if it is my program or general speed.

附加檔案 (1)

VBox.log (74.8 KB ) - 13 年 前, 由 oxoocoffee 新增
NAT and hostonly

下載所有附檔: .zip

更動歷史 (10)

13 年 前oxoocoffee 編輯

附檔: 新增 VBox.log

NAT and hostonly

comment:1 13 年 前oxoocoffee 編輯

here is netstat -I vboxnet0

Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll vboxn 1500 <Link#8> 0a:00:27:00:00:00 0 0 0 0 0 vboxn 1500 192.168.77 192.168.77.1 0 - 0 - -

comment:2 13 年 前Paul Kronenwetter 編輯

You might look at whether TX/RX offloading is enabled for the NIC. On Linux that can be determined by using ethtool -k eth0, as an example. Output could look like: rx-checksumming: on tx-checksumming: on scatter-gather: on tcp segmentation offload: on udp fragmentation offload: off generic segmentation offload: off generic-receive-offload: off

On a guest VM, I've never found a configuration where offloading checksums to the NIC works, and only sometimes does it work on the host. Eg: I've found that a NIC will properly calculate checksums for IPv4 traffic but not IPv6. Disabling offloading fixes these problems very quickly and evidently: ethtool -K eth0 rx off ethtool -K eth0 tx off

Good luck! -Paul

comment:3 13 年 前oxoocoffee 編輯

I am on Mac. Ethtool do not exists (that I know of) on this platform. Interesting info anyway :)

comment:4 13 年 前oxoocoffee 編輯

Still it is a problem under 4.1.8. Any one has idea how to test/diagnose this?

comment:5 13 年 前oxoocoffee 編輯

In Win7 guest network interface (I have two setup) both are showing as 1Gbps speed. I can't figure out is there is a query function from host what is the speed of that interface.

comment:6 13 年 前oxoocoffee 編輯

This is output on running Win7x32 guest with VBoxManage showvminfo

NIC 1:           MAC: 080027527BC7, Attachment: NAT, Cable connected: on, Trace: off (file: none), Type: 82540EM, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: deny
NIC 1 Settings:  MTU: 0, Socket (send: 64, receive: 64), TCP Window (send:64, receive: 64)
NIC 2:           MAC: 08002750E32B, Attachment: Host-only Interface 'vboxnet0', Cable connected: on, Trace: off (file: none), Type: 82540EM, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: deny

comment:7 13 年 前vasily Levchenko 編輯

One of the way to measure speed of network is iperf, and probably it will be more demonstrative if put here comparison of iperf output for both interfaces in both directions.

comment:8 13 年 前oxoocoffee 編輯

Will do so. Give little time...

comment:9 12 年 前Frank Mehnert 編輯

狀態: newclosed
處理結果: worksforme

No response, closing.

注意: 瀏覽 TracTickets 來幫助您使用待辦事項功能

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette