I'm not 100% sure what the performance problem has to do with the live_dump 
feature. At those traffic rates you definitely don't want to dump all the 
packets to disk. If you are just interested in counting the packets, I would 
use the statistical mode of WinPcap to just count the packets. Follow the 
sample Examples-remote\tcptop for that.

Having said, at those rates there is no guarantee that WinPcap will be able to 
keep up (especially if the packets are small). What is the average packet size 
that you are analyzing? Did you disable all the bound protocols from the 
network card used for the capture?

Have a nice day
GV




From: yulou liu 
Sent: Friday, August 06, 2010 10:14 AM
To: [email protected] 
Subject: Re: [Winpcap-users] does the winpcap version 4.1.2 
supportthekernelDump feature?


  yes,i don't want to use an old version either.but there has been a problem 
that I can't resolve . I made a capture program to collecte datas which are 
sent from an fpga  . There are several receive threads in the program, each of 
threads accesses a global netcard port in tern. In order to verify the 
performace ,it just do the least thing In the receive thread---it just count 
the amount of  Ethernet frames that it receive. But when the fpga sending  rate 
increases,especially above 500Mbps, it sometimes loss packets. My question is, 
is it possible to totally avoid packets loss by optimism the code?  I want to 
collect datas on the speed 614Mbps without packet loss.   My workstations 
features with 2 Xeon CPU (each has 4core), 1 G onboard  netcard.   

Thanks a lot!


  在 2010-8-6,23:58,Gianluca Varenni <[email protected]> 写到:


    I would definitely avoid using an old version of WinPcap (like 3.0alpha2). 
A huge number of bugs have been fixed since that release, including critical 
bugs in the driver that could cause OS crashes.

    Have a nice day
    GV


    From: yulou liu
    Sent: Thursday, August 05, 2010 7:22 PM
    To: [email protected]
    Subject: Re: [Winpcap-users] does the winpcap version 4.1.2 support 
thekernelDump feature?



      
    thanks a lot. 
      
    I have another question. 
    Is there any possible that I could use the live_dump feature if I install 
the older version of winpcap ? 
      
    the following was what I just tried this morning: 
      
    1.  install the 3.0alpha2-WinPcap.exe   
    2.   download the  "3.0beta-wpdpack.zip"  file  and unzip  , and config VC6 
to refer to the lib , include's  directions . 
      
    Compile the project  which uses  pcap_live_dump().  It was successully 
compiled . 
    But when I run the .exe file , it can't find the  netcard interfaces. 
      
    Please  tell me what  mistakes did I make ? 
      
    Thank you. 


    在 2010-8-6,0:45,Gianluca Varenni <[email protected]> 写到:


      The live_dump feature has been disabled several years ago (because of 
other changes in the driver) and no one has worked to support it again. At the 
moment in order to dump to disk you need to use the standard dump-to-disk 
mechanism shown in sample "savedump" in the WinPcap developer's pack.

      Have a nice day.


      From: yulou liu
      Sent: Thursday, August 05, 2010 9:32 AM
      To: [email protected]
      Subject: [Winpcap-users] does the winpcap version 4.1.2 support the 
kernelDump feature?


      I'm working on a project , that I want to dump packets to the disk .
      I think the pcap_live_dump()  maybe could work in the way I want.
      but it seems the pcap_live_dump() is not supported in the new version of 
winpcap.
      is it true ??

      thank you.


--------------------------------------------------------------------------


      _______________________________________________
      Winpcap-users mailing list
      [email protected]
      https://www.winpcap.org/mailman/listinfo/winpcap-users

      _______________________________________________
      Winpcap-users mailing list
      [email protected]
      https://www.winpcap.org/mailman/listinfo/winpcap-users



----------------------------------------------------------------------------


    _______________________________________________
    Winpcap-users mailing list
    [email protected]
    https://www.winpcap.org/mailman/listinfo/winpcap-users

    _______________________________________________
    Winpcap-users mailing list
    [email protected]
    https://www.winpcap.org/mailman/listinfo/winpcap-users


--------------------------------------------------------------------------------


_______________________________________________
Winpcap-users mailing list
[email protected]
https://www.winpcap.org/mailman/listinfo/winpcap-users
_______________________________________________
Winpcap-users mailing list
[email protected]
https://www.winpcap.org/mailman/listinfo/winpcap-users

Reply via email to