[blockmon-demons] Problem with PFQ and Blockmon


chronological Thread 
  • From: " " < >
  • To: request < >
  • Subject: [blockmon-demons] Problem with PFQ and Blockmon
  • Date: Thu, 9 Jan 2014 00:27:41 +0800

Dear,

Recently, I was focused on Blockmon and PFQ. I was absorbed in the high performance, so I decided to deploy for my research. I installed Blockmon and PFQ on my computer to achieve high performace packet capture. The detailed information of my computer is HP Compaq Elite 8380 Convertible Microtower and the ethernet controller is Intel corporation 82579LM gigabit network connection. And the operation system is Ubuntu 12.04. There was few problem with installing, however, something that was not normal when I tried to test the software.
1. The queue number of my computer is only one. If I tried to configure "queue number=\"0\"" in configuration file. The software would not capture one packet.
2. When I did not configure the queue number, that means each queue would be ok. Indeed, my program captured some packets. In this case, another problem occurred. The number of packet captured was always smaller than the number of packet captured by using pcap block.
3. In condition 2, if I issued a simple pcap program at the same time, then the packet captured by PFQ would increase a lot. So, what's the major impact factor that would influence the efficiency of PFQ?
4. I tried a lot to let PFQ to work normally, but it worked a little. Whether the filter ETH_P_ALL will cause some problem, or something else that will have an impact on the performance.
The xml file below is showing how I configured my program.
<composition id="mysnifferctr" app_id="boh">
  <general>
        <clock type="wall"/>
  </general>
  <install>
    <threadpool id="sniffer_thread" num_threads="1" >
      <core number="0"/>
    </threadpool>

    <block id="sniffer0" type="PFQSource" sched_type="active" threadpool="sniffer_thread" invocation="async" blocking_mode="drop">
      <params>
        <queues device="eth1">
<!--   <queue number="0"> -->
        </queues>
      </params>
    </block>

    <block id="counter" type="PacketCounter" sched_type="passive" invocation="direct">
      <params>
      </params>
    </block>

    <connection src_block="sniffer0" src_gate="source_out" dst_block="counter" dst_gate="in_pkt"/>
  </install>
</composition>

I am looking forward to your reply. If possible, an  example of a configuration xml file will be better.
 
Best regrads,
 

Pan Peilong
Computer Science and Engineering
Southeast University, China
Phone:+8615651620710


  • [blockmon-demons] Problem with PFQ and Blockmon,

Archive powered by MhonArc 2.6.16.

§