Hi Craig
the error says it is a memory allocation failure, this is strange but please 1. 
check free memory and 2. try decreasing the num_rx_slots to avoid taking all 
the ram.
If it's an option for you, please let us ssh to your machine to debug it.

Best Regards
Alfredo

On May 30, 2013, at 1:26 AM, Craig Merchant <[email protected]> wrote:

> I’ve compiled both 5.5.2 and 5.5.3 and am having the same error with both…
>  
> We’ve got Silicom fiber 10G cards in these boxes.
>  
> After compiling pf_ring and the dna/libzero drives, here is what I did:
>  
> insmod PF_RING-5.5.2/kernel/pf_ring.ko
> insmod PF_RING-5.5.2/drivers/DNA/ixgbe-3.10.16-DNA/src/ixgbe.ko MQ=0,0 
> RSS=1,1 num_rx_slots=32768
> ifconfig dna0 up promisc
> ethtool -K dna0 tso off &>/dev/null
> ethtool -K dna0 gro off &>/dev/null
> ethtool -K dna0 lro off &>/dev/null
> ethtool -K dna0 gso off &>/dev/null
> ethtool -G dna0 tx 32768 &>/dev/null
> ethtool -G dna0 rx 32768 &>/dev/null
>  
> pfcount –i dna0 shows between 2-5 Gbps of traffic with no packet loss
>  
> pfdnacluster_master -i dna0 -c 10 -n 2
>  
> Output:
> Absolute Stats: RX 15'153'857 pkts [721'566.74 pkt/sec] Processed 0 pkts 
> [0.00 pkt/sec]
> Actual Stats:   RX 728'197 pkts [1'000.06 ms][728'151.85 pps] Processed 0 
> pkts [1'000.06 ms][0.00 pps]
> ---
> Absolute Stats: RX 15'988'515 pkts [726'704.93 pkt/sec] Processed 0 pkts 
> [0.00 pkt/sec]
> Actual Stats:   RX 834'658 pkts [1'000.06 ms][834'607.08 pps] Processed 0 
> pkts [1'000.06 ms][0.00 pps]
> ---
> Absolute Stats: RX 16'868'810 pkts [733'380.38 pkt/sec] Processed 0 pkts 
> [0.00 pkt/sec]
> Actual Stats:   RX 880'295 pkts [1'000.06 ms][880'240.42 pps] Processed 0 
> pkts [1'000.06 ms][0.00 pps]
> ---
> Absolute Stats: RX 17'571'663 pkts [732'106.65 pkt/sec] Processed 0 pkts 
> [0.00 pkt/sec]
> Actual Stats:   RX 702'853 pkts [1'000.05 ms][702'810.83 pps] Processed 0 
> pkts [1'000.05 ms][0.00 pps]
>  
> pfcount –I dnacluster:10@0
>  
> pfring_open error [Cannot allocate memory] (pf_ring not loaded or perhaps you 
> use quick mode and have already a socket bound to dnacluster:10@0 ?)
>  
> Any idea what the problem is?
> 
> Thanks.
> 
> Craig
>  
>  
> _______________________________________________
> Ntop-misc mailing list
> [email protected]
> http://listgateway.unipi.it/mailman/listinfo/ntop-misc

_______________________________________________
Ntop-misc mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-misc

Reply via email to