<html><body bgcolor="#FFFFFF"><div>1. Maybe I didn&#39;t make it clear .I don&#39;t just want to count , I want to save the data to disk(ramdisk ) too .  At the rate of 614Mbps,  recording  data lasts about 2 minutes.  But I found it began to have packets loss sometimes ,even I just count the packets number.</div>
<div><br></div><div>2. All the packets from the fpga is 1514,  I made the minitocopy as 8 kytes, kernel buffer and user buffer both as 32MB.</div><div><br></div><div>3. There is still have tcp/ip bound to the netcard , it is recommended to disable it? I will have a try.</div>
<div><br></div><div>Thank you.   <span class="Apple-style-span" style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.289062); -webkit-composition-fill-color: rgba(175, 192, 227, 0.222656); -webkit-composition-frame-color: rgba(77, 128, 180, 0.222656); "> </span></div>
<div>  <br><br>在 2010-8-7,1:45,Gianluca Varenni &lt;<a href="mailto:gianluca.varenni@cacetech.com">gianluca.varenni@cacetech.com</a>&gt; 写到:<br><br></div><div></div><blockquote type="cite"><div>

<div><font face="Calibri">I&#39;m not 100% sure what the performance problem has to do 
with the live_dump feature. At those traffic rates you definitely don&#39;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.</font></div>
<div><font face="Calibri"></font> </div>
<div><font face="Calibri">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?</font></div>
<div><font face="Calibri"></font> </div>
<div><font face="Calibri">Have a nice day</font></div>
<div><font face="Calibri">GV</font></div>
<div><font face="Calibri"></font> </div>
<div><font face="Calibri"></font> </div>
<div style="FONT: 10pt Tahoma">
<div><br></div>
<div style="BACKGROUND: #f5f5f5">
<div style="font-color: black"><b>From:</b> <a title="lyulou@gmail.com" href="mailto:lyulou@gmail.com">yulou liu</a> </div>
<div><b>Sent:</b> Friday, August 06, 2010 10:14 AM</div>
<div><b>To:</b> <a title="winpcap-users@winpcap.org" href="mailto:winpcap-users@winpcap.org"><a href="mailto:winpcap-users@winpcap.org">winpcap-users@winpcap.org</a></a> </div>
<div><b>Subject:</b> Re: [Winpcap-users] does the winpcap version 4.1.2 
supportthekernelDump feature?</div></div></div>
<div><br></div>
<blockquote type="cite"><span style="COLOR: rgb(0,0,0); -webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469)" class="Apple-style-span">
  <div>yes,i don&#39;t want to use an old version either.but there has been a 
  problem that I can&#39;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.   <br></div></span></blockquote>Thanks a 
lot!<br>
<blockquote type="cite"><span style="COLOR: rgb(0,0,0); -webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469)" class="Apple-style-span">
  <div><br>在 2010-8-6,23:58,Gianluca Varenni &lt;<a href="mailto:gianluca.varenni@cacetech.com"><a href="mailto:gianluca.varenni@cacetech.com">gianluca.varenni@cacetech.com</a></a>&gt; 
  写到:<br><br></div>
  <div></div>
  <blockquote type="cite">
    <div>
    <div><font face="Calibri">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.</font></div>
    <div><font face="Calibri"></font> </div>
    <div><font face="Calibri">Have a nice day</font></div>
    <div><font face="Calibri">GV</font></div>
    <div style="FONT: 10pt Tahoma">
    <div><br></div>
    <div style="BACKGROUND-COLOR: rgb(245,245,245); -webkit-background-clip: initial; -webkit-background-origin: initial">
    <div><b>From:</b> <a title="lyulou@gmail.com" href="mailto:lyulou@gmail.com">yulou liu</a></div>
    <div><b>Sent:</b> Thursday, August 05, 2010 7:22 PM</div>
    <div><b>To:</b> <a title="winpcap-users@winpcap.org" href="mailto:winpcap-users@winpcap.org"></a><a title="mailto:winpcap-users@winpcap.org
CTRL + Click to follow link" href="mailto:winpcap-users@winpcap.org"><a href="mailto:winpcap-users@winpcap.org">winpcap-users@winpcap.org</a></a></div>
    <div><b>Subject:</b> Re: [Winpcap-users] does the winpcap version 4.1.2 
    support thekernelDump feature?</div></div></div>
    <div><br></div>
    <div><span style="FONT-SIZE: 15px; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.292969); -webkit-composition-fill-color: rgba(175, 192, 227, 0.226562); -webkit-composition-frame-color: rgba(77, 128, 180, 0.226562)" class="Apple-style-span"><br>
<font size="2" face="宋体"> </font> <br><font size="2" face="宋体">thanks a lot. </font><br><font size="2" face="宋体"> </font> <br><font size="2" face="宋体">I have another 
    question. </font><br><font size="2" face="宋体">Is there any possible that I 
    could use the live_dump feature if I install the older version of winpcap 
    ?</font> <br><font size="2" face="宋体"> </font> <br><font size="2" face="宋体">the following was what I just tried this 
    morning:</font> <br><font size="2" face="宋体"> </font> <br><font size="2" face="宋体">1.  install the 
    3.0alpha2-WinPcap.exe   </font><br><font size="2" face="Calibri">2.   download the  &quot;</font><font size="2" face="宋体">3.0beta-wpdpack.zip</font><font size="2" face="Calibri">&quot;  
    file  and unzip  , and config VC6 to refer to the lib , 
    include&#39;s  directions .</font> <br><font size="2" face="Calibri"> </font> <br><font size="2" face="Calibri">Compile the 
    project  which uses  pcap_live_dump().  It was successully 
    compiled . </font><br><font size="2" face="Calibri">But when I run the .exe 
    file , it can&#39;t find the  netcard interfaces. </font><br><font size="2" face="Calibri"> </font> <br><font size="2" face="Calibri">Please  tell me what  mistakes did I make 
    ? </font><br><font size="2" face="宋体"> </font> <br><font size="2" face="Calibri">Thank you. </font><br><font size="2" face="sans-serif"><br><br></font></span>在 2010-8-6,0:45,Gianluca Varenni 
    &lt;<a href="mailto:gianluca.varenni@cacetech.com"></a><a href="mailto:gianluca.varenni@cacetech.com"><a href="mailto:gianluca.varenni@cacetech.com">gianluca.varenni@cacetech.com</a></a>&gt; 
    写到:<br><br></div>
    <div></div>
    <blockquote type="cite">
      <div>
      <div><font face="Calibri">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 &quot;savedump&quot; in the 
      WinPcap developer&#39;s pack.</font></div>
      <div><font face="Calibri"></font> </div>
      <div><font face="Calibri">Have a nice day.</font></div>
      <div style="FONT: 10pt Tahoma">
      <div><br></div>
      <div style="BACKGROUND-COLOR: rgb(245,245,245); -webkit-background-clip: initial; -webkit-background-origin: initial">
      <div><b>From:</b> <a title="lyulou@gmail.com" href="mailto:lyulou@gmail.com">yulou liu</a></div>
      <div><b>Sent:</b> Thursday, August 05, 2010 9:32 AM</div>
      <div><b>To:</b> <a title="winpcap-users@winpcap.org" href="mailto:winpcap-users@winpcap.org"></a><a href="mailto:winpcap-users@winpcap.org"></a><a href="mailto:winpcap-users@winpcap.org"><a href="mailto:winpcap-users@winpcap.org">winpcap-users@winpcap.org</a></a></div>

      <div><b>Subject:</b> [Winpcap-users] does the winpcap version 4.1.2 
      support the kernelDump feature?</div></div></div>
      <div><br></div>
      <div>I&#39;m working on a project , that I want to dump packets to the disk 
      .</div>
      <div>I think the pcap_live_dump()  maybe could work in the way I 
      want.</div>
      <div>but it seems the pcap_live_dump() is not supported in the new version 
      of winpcap.</div>
      <div>is it true ??</div>
      <div> </div>
      <div>thank you.</div>
      <p></p>
      <hr>

      <p></p>_______________________________________________<br>Winpcap-users 
      mailing list<br><a href="mailto:Winpcap-users@winpcap.org"></a><a href="mailto:Winpcap-users@winpcap.org"></a><a href="mailto:Winpcap-users@winpcap.org"><a href="mailto:Winpcap-users@winpcap.org">Winpcap-users@winpcap.org</a></a><br>
<a href="https://www.winpcap.org/mailman/listinfo/winpcap-users"></a><a href="https://www.winpcap.org/mailman/listinfo/winpcap-users"></a><a href="https://www.winpcap.org/mailman/listinfo/winpcap-users"><a href="https://www.winpcap.org/mailman/listinfo/winpcap-users">https://www.winpcap.org/mailman/listinfo/winpcap-users</a></a><br>
</div></blockquote>
    <blockquote type="cite">
      <div><span>_______________________________________________</span><br><span>Winpcap-users 
      mailing list</span><br><span><a href="mailto:Winpcap-users@winpcap.org"></a><a href="mailto:Winpcap-users@winpcap.org"><a href="mailto:Winpcap-users@winpcap.org">Winpcap-users@winpcap.org</a></a></span><br><span><a href="https://www.winpcap.org/mailman/listinfo/winpcap-users"></a><a href="https://www.winpcap.org/mailman/listinfo/winpcap-users"><a href="https://www.winpcap.org/mailman/listinfo/winpcap-users">https://www.winpcap.org/mailman/listinfo/winpcap-users</a></a></span><br>
</div></blockquote>
    <p></p>
    <hr>

    <p></p>_______________________________________________<br>Winpcap-users 
    mailing list<br><a href="mailto:Winpcap-users@winpcap.org"><a href="mailto:Winpcap-users@winpcap.org">Winpcap-users@winpcap.org</a></a><br><a href="https://www.winpcap.org/mailman/listinfo/winpcap-users"><a href="https://www.winpcap.org/mailman/listinfo/winpcap-users">https://www.winpcap.org/mailman/listinfo/winpcap-users</a></a><br>
</div></blockquote>
  <blockquote type="cite">
    <div><span>_______________________________________________</span><br><span>Winpcap-users 
    mailing list</span><br><span><a href="mailto:Winpcap-users@winpcap.org"><a href="mailto:Winpcap-users@winpcap.org">Winpcap-users@winpcap.org</a></a></span><br><span><a href="https://www.winpcap.org/mailman/listinfo/winpcap-users"><a href="https://www.winpcap.org/mailman/listinfo/winpcap-users">https://www.winpcap.org/mailman/listinfo/winpcap-users</a></a></span></div>
</blockquote></span></blockquote>
<p>
</p><hr>

<p></p>_______________________________________________<br>Winpcap-users mailing 
list<br><a href="mailto:Winpcap-users@winpcap.org">Winpcap-users@winpcap.org</a><br><a href="https://www.winpcap.org/mailman/listinfo/winpcap-users">https://www.winpcap.org/mailman/listinfo/winpcap-users</a><br>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Winpcap-users mailing list</span><br><span><a href="mailto:Winpcap-users@winpcap.org">Winpcap-users@winpcap.org</a></span><br>
<span><a href="https://www.winpcap.org/mailman/listinfo/winpcap-users">https://www.winpcap.org/mailman/listinfo/winpcap-users</a></span><br></div></blockquote></body></html>