[Bro] Netmap plugin issue
Deshmukh, Andy
deshmukh at slac.stanford.edu
Fri Feb 10 16:05:41 PST 2017
I did tweak it by putting this in /etc/modprobe.d/netmap.conf :
options netmap default_pipes=1000
options netmap ring_num=1024
options netmap buf_num=655360
options netmap if_num=1024
options netmap ring_size=100000
options netmap buf_size=4096
options netmap if_size=4096
However, when I run:
[sec-bro04 ~]$ lb -i em1 -B 1000 -p broem1:5 &
[sec-bro04 ~]$ lb -i em2 -B 1000 -p broem2:5 &
Ring stats :
Feb 10 16:03:54 sec-bro04 lb:
{"ts":1486771434.006337,"input_interface":"netmap:em1","output_interface":"netmap:broem1{0/xT at 1","packets_forwarded":0,"packets_dropped":0,"data_forward_rate_Mbps":0.0000,
"data_drop_rate_Mbps":0.0000,"packet_forward_rate_kpps":0.0000,"packet_drop_rate_kpps":0.0000,"overflow_queue_size":0}
Feb 10 16:03:54 sec-bro04 lb: {"ts":1486771434.668234,"input_interface":"netmap:em2","output_interface":"netmap:broem2{0/xT at 1","packets_forwarded":0,"packets_dropped":0,"data_forward_rate_Mbps":0.0000,
"data_drop_rate_Mbps":0.0000,"packet_forward_rate_kpps":0.0000,"packet_drop_rate_kpps":0.0000,"overflow_queue_size":0}
From: Dave Crawford [mailto:bro at pingtrip.com]
Sent: Friday, February 10, 2017 3:48 PM
To: Deshmukh, Andy <deshmukh at slac.stanford.edu>
Cc: Seth Hall <seth at icir.org>; bro at bro.org
Subject: Re: [Bro] Netmap plugin issue
On Feb 10, 2017, at 6:43 PM, Deshmukh, Andy <deshmukh at slac.stanford.edu<mailto:deshmukh at slac.stanford.edu>> wrote:
In my case only 5 instances are running per NIC; cannot run 10/NIC as it crashes. I modified the lb_procs to 5 in node.cfg.
However, I am not seeing any packet forwarded or dropped. Do you see that on the running instances ?
I can get 10 instances to run on the x520 if I comment out the IGB worker in node.cfg. I’m wondering if the issue has to due with memory allocations done when the netmap kernel module loads. Do we need to tweak them in modprobe.d to account for two instances requesting X number of buffers?
"data_forward_rate_Mbps": 330.0390,
"data_drop_rate_Mbps": 0.0000,
"packet_forward_rate_kpps": 71.5200,
"packet_drop_rate_kpps": 0.0000,
-Dave
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/bro/attachments/20170211/f4fb2ca6/attachment-0001.html
More information about the Bro
mailing list