[Winpcap-users] WinPcap, VMWare and Packet Loss
Alan Jay Weiner
a.weiner at valid8.com
Wed Mar 4 17:35:25 PST 2009
Gianluca's already answered, but I agree - definitely install VMware tools!
100Mb throughput is more than I've tested; if I remember correctly, the last
I measured was around 40Mb/s sustained rate. We're increasing traffic
generation; I'll be interested in your performance at that rate. Please
post your results!
- Al Weiner -
----------------------------------------------------------------------------
Alan Jay Weiner / Valid8.com, Inc. - Conform, Perform & Excel(tm)
500 W Cummings Park, Suite #2700, Woburn, MA 01801, USA
a.weiner at valid8.com / Tel:+1-781-938-1221 x112, Fax +1-781-207-0550
http://www.VALID8.com
-----Original Message-----
From: winpcap-users-bounces at winpcap.org
[mailto:winpcap-users-bounces at winpcap.org] On Behalf Of Max WhoTheHellCares
Sent: Wednesday, March 04, 2009 1:02 PM
To: winpcap-users at winpcap.org
Subject: Re: [Winpcap-users] WinPcap, VMWare and Packet Loss
Hi,
The NICs are 1Gb, but my program's throughput is nearly 100Mb.
I'm not sure if i installed VMWare tools... could it possibly improve
current situation ?
Thanks!
2009/3/4 Gianluca Varenni <gianluca.varenni at cacetech.com>:
> What is the traffic rate we are talking about?
> Also, have you installed the VMware tools in the guest?
>
> Have a nice day
> GV
> ----- Original Message -----
> From: "Max WhoTheHellCares" <krakazzyabra at gmail.com>
> To: <winpcap-users at winpcap.org>
> Sent: Tuesday, March 03, 2009 12:45 PM
> Subject: Re: [Winpcap-users] WinPcap, VMWare and Packet Loss
>
>
> Thanks for the answers!
>
> I upgraded winpcap to 4.0.1 - nearly 10% packets are still lost...
>
> I'm using VMWare Workstaion 5.5.3 ,though i install Win2k3 Server on
> it. And VMWares are installed on physical servers running Win2k3
> Server... Could that be a problem ?
> Do I need VMWare Server edition instead ?
>
> Thanks again!
>
> 2009/3/3 Alan Jay Weiner <a.weiner at valid8.com>:
>> As Gianluca posted, please upgrade to a more recent version of WinPcap.
>>
>> I am using VMware Workstation and WinPcap 4.0.2 without any packet loss
>> problem.
>>
>> Currently I'm using Workstation 6.5; I have used previous 6.x versions in
>> the past.
>>
>> I use several different configurations, including virtual NICs bridged to
>> physical adapters on the host, USB adapters (Linksys and Belkin)
connected
>> directly to the virtual machine, and virtual NICs on virtual LANs within
>> VMware.
>>
>> We do VoIP testers and emulators - I do all my development in VMs, and
>> frequently test between my VM and emulators running in other VMs, or
>> between
>> my VM and real (VoIP) hardware.
>>
>> - Al Weiner -
>>
>>
>>
----------------------------------------------------------------------------
>> Alan Jay Weiner / Valid8.com, Inc. - Conform, Perform & Excel(tm)
>> 500 W Cummings Park, Suite #2700, Woburn, MA 01801, USA
>> a.weiner at valid8.com / Tel:+1-781-938-1221 x112, Fax +1-781-207-0550
>> http://www.VALID8.com
>>
>>
>> -----Original Message-----
>> From: winpcap-users-bounces at winpcap.org
>> [mailto:winpcap-users-bounces at winpcap.org] On Behalf Of Max
>> WhoTheHellCares
>> Sent: Monday, March 02, 2009 3:00 PM
>> To: winpcap-users at winpcap.org
>> Subject: [Winpcap-users] WinPcap, VMWare and Packet Loss
>>
>> Hi everybody!
>>
>> I have recently stumbled upon a problem, which renders my project
>> nearly useless....
>>
>> I have 2 VMs on two physical servers, each one runs Win2k3 Server. My
>> server-side program sends packets using WinPcap, the client-side gets
>> them using WinPcap (lets call them Tx and Rx respectively).
>> Up till now i worked without VMs - Win2k3 Server was installed on both
>> physical servers. My project worked like it should - without losses
>> during packet transfer from server to client.
>>
>> Now, as i started using VMs (Virtual NIC is BRIDGED to physical), i
>> get packet loss ~11% in case Tx AND Rx are installed on VMs.
>> If i install only one side (Tx OR Rx) on VM and the other one on
>> physical disk(on another server), packet loss is still present, but
>> varies depending on which side (Tx or Rx) is installed on VM. It goes
>> like this:
>>
>> Transmitter Receiver %packet loss
>> -------------------------------------------------------------
>> TX RX 0%
>> TX VM_RX 10%
>> VM_TX RX 0.1%
>> VM_TX VM_RX 11%
>>
>> where TX, RX - installed on physical machines
>> VM_TX, VM_RX - installed on virtual machines.
>>
>> How it works: having done extensive debug on the Tx side,
>> pcap_sendpacket(...) sends everything without errors. However the Rx
>> side still registers packet loss. BTW, WinPcap version is 3.1beta.
>>
>> Please, if someone has a clue of why this happens, share your
>> thoughts, my project is on-hold ATM.
>>
>> Thanks in advance.
>> _______________________________________________
>> Winpcap-users mailing list
>> Winpcap-users at winpcap.org
>> https://www.winpcap.org/mailman/listinfo/winpcap-users
>>
>> _______________________________________________
>> Winpcap-users mailing list
>> Winpcap-users at winpcap.org
>> https://www.winpcap.org/mailman/listinfo/winpcap-users
>>
> _______________________________________________
> Winpcap-users mailing list
> Winpcap-users at winpcap.org
> https://www.winpcap.org/mailman/listinfo/winpcap-users
>
> _______________________________________________
> Winpcap-users mailing list
> Winpcap-users at winpcap.org
> https://www.winpcap.org/mailman/listinfo/winpcap-users
>
_______________________________________________
Winpcap-users mailing list
Winpcap-users at winpcap.org
https://www.winpcap.org/mailman/listinfo/winpcap-users
More information about the Winpcap-users
mailing list