Hey Luca,

>
>               I was checking performance of netflow collector Plugin in
> ntop-5.0.1 and discovered that ntop is dropping a lot of packets when I
> send data very fast.
>
>
> Here's the Setup:
>
>  ntop5.0.1 running on  Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz with
> Atheros AR8151 v2.0 Gigabit Ethernet
>
>  netflowgen program running on Intel(R) Core(TM) 2 Dou E8400 @ 3.00GHz
> with intel Gigabit Ethernet -- netflowgen is a python program that sends
> netflow packet of 264B size (5 records) continuously to the ntop.
>
> Both of the systems are cross-link to each other.
>
> Here's the Result:
>
> netperf -H 10.5.0.187 gives 936 mbps
>
> pkt_sent_to_ntop             time_taken_to_send_pkts
> pkt_recv_by_ntop              netflow_pkt_process_time
> -------------------------     ------------------------------------
> -------------------------      -------------------------------
> 100                                       0.00575 sec                100
>                         0.000031 sec
> 1000                                     0.0388  sec
> 310                          0.000034 sec
> 10000                                    0.2611
> 2183                         0.000032 sec
>
> As you can see, only 310 of 1000 packets are received by ntop. I find that
the UDP socket of netflow receives all 1000 packets when I check the
/proc/net/UDP information. I had a counter in ntop which is incremented
every time a recvfrom() is executed in the netflow plugin for the netflow
port. That is how I got the 310 figure. I just wanted to verify if this is
an expected result or is there something I am doing wrong. Any help in this
regard will be appreciated.

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

Reply via email to