Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: NTop: Misc

Nprobe/pf_ring tuning

 

 

NTop misc RSS feed   Index | Next | Previous | View Threaded


steve.maresca at gmail

Nov 3, 2009, 12:44 PM

Post #1 of 2 (904 views)
Permalink
Nprobe/pf_ring tuning

In nprobe's debug output, I see: "Drops: [export queue too
long=3344314][too many flows=0]" --

Is this problematic? I'm trying to track down why I'm seeing a
disparity between interface counters and reported traffic.

Does it mean that new packets were dropped because the queue for flow
processing was full? If it is possible that this a performance tuning
issue, what parameters would you suggest I investigate (I have been
experimenting with hash size..)? Also, do you have suggested
parameters to pass to the ixgbe-itnapi module for tuning the hardware?

The NIC is an Intel, 82598EB 10gbe. See below for coalesce parameters, etc.

I am not observing dropped packets at the interface.

Thanks,
Steve Maresca
UITS Network Security
University of Connecticut


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


[steve [at] brun ~]$ sudo /sbin/ethtool -c eth2
Coalesce parameters for eth2:
Adaptive RX: off TX: off
stats-block-usecs: 2000000
sample-interval: 0
pkt-rate-low: 0
pkt-rate-high: 0

rx-usecs: 125
rx-frames: 0
rx-usecs-irq: 0
rx-frames-irq: 512

tx-usecs: 0
tx-frames: 0
tx-usecs-irq: 0
tx-frames-irq: 1024

rx-usecs-low: 0
rx-frame-low: 0
tx-usecs-low: 0
tx-frame-low: 0

rx-usecs-high: 0
rx-frame-high: 0
tx-usecs-high: 0
tx-frame-high: 0

[steve [at] brun ~]$ sudo /sbin/ethtool -g eth2
Ring parameters for eth2:
Pre-set maximums:
RX: 4096
RX Mini: 0
RX Jumbo: 0
TX: 4096
Current hardware settings:
RX: 1024
RX Mini: 0
RX Jumbo: 0
TX: 1024


[PF_RING] Welcome to PF_RING 3.9.6
[PF_RING] Ring slots 4096
[PF_RING] Slot version 9
[PF_RING] Capture TX Yes [RX+TX]
[PF_RING] IP Defragment No
[PF_RING] Initialized correctly
[PF_RING] registered /proc/net/pf_ring/
[PF_RING] successfully allocated 684032 bytes at 0xffffc20015161000
[PF_RING] allocated 4118 slots [slot_len=166][tot_mem=684032]
_______________________________________________
Ntop-misc mailing list
Ntop-misc [at] listgateway
http://listgateway.unipi.it/mailman/listinfo/ntop-misc


yuri at ntop

Nov 3, 2009, 2:19 PM

Post #2 of 2 (865 views)
Permalink
Re: Nprobe/pf_ring tuning [In reply to]

It is not a problem related to the pf_ring config, but is related to
nprobe configuration.
Try tuning timeouts for flow emission.
Y.
On Nov 3, 2009, at 9:44 PM, Steven Maresca wrote:

> In nprobe's debug output, I see: "Drops: [export queue too
> long=3344314][too many flows=0]" --
>
> Is this problematic? I'm trying to track down why I'm seeing a
> disparity between interface counters and reported traffic.
>
> Does it mean that new packets were dropped because the queue for flow
> processing was full? If it is possible that this a performance tuning
> issue, what parameters would you suggest I investigate (I have been
> experimenting with hash size..)? Also, do you have suggested
> parameters to pass to the ixgbe-itnapi module for tuning the hardware?
>
> The NIC is an Intel, 82598EB 10gbe. See below for coalesce
> parameters, etc.
>
> I am not observing dropped packets at the interface.
>
> Thanks,
> Steve Maresca
> UITS Network Security
> University of Connecticut
>
>
> --------------
>
>
> [steve [at] brun ~]$ sudo /sbin/ethtool -c eth2
> Coalesce parameters for eth2:
> Adaptive RX: off TX: off
> stats-block-usecs: 2000000
> sample-interval: 0
> pkt-rate-low: 0
> pkt-rate-high: 0
>
> rx-usecs: 125
> rx-frames: 0
> rx-usecs-irq: 0
> rx-frames-irq: 512
>
> tx-usecs: 0
> tx-frames: 0
> tx-usecs-irq: 0
> tx-frames-irq: 1024
>
> rx-usecs-low: 0
> rx-frame-low: 0
> tx-usecs-low: 0
> tx-frame-low: 0
>
> rx-usecs-high: 0
> rx-frame-high: 0
> tx-usecs-high: 0
> tx-frame-high: 0
>
> [steve [at] brun ~]$ sudo /sbin/ethtool -g eth2
> Ring parameters for eth2:
> Pre-set maximums:
> RX: 4096
> RX Mini: 0
> RX Jumbo: 0
> TX: 4096
> Current hardware settings:
> RX: 1024
> RX Mini: 0
> RX Jumbo: 0
> TX: 1024
>
>
> [PF_RING] Welcome to PF_RING 3.9.6
> [PF_RING] Ring slots 4096
> [PF_RING] Slot version 9
> [PF_RING] Capture TX Yes [RX+TX]
> [PF_RING] IP Defragment No
> [PF_RING] Initialized correctly
> [PF_RING] registered /proc/net/pf_ring/
> [PF_RING] successfully allocated 684032 bytes at 0xffffc20015161000
> [PF_RING] allocated 4118 slots [slot_len=166][tot_mem=684032]
> _______________________________________________
> Ntop-misc mailing list
> Ntop-misc [at] listgateway
> http://listgateway.unipi.it/mailman/listinfo/ntop-misc

###############################################
Yuri Francalacci - yuri [at] ntop - http://www.ntop.org
"Simplicity is the ultimate sophistication" - Leonardo da Vinci
###############################################







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

NTop misc RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.