ntop / n2disk

Open source components and extensions for n2disk
503 stars 11 forks source link

Improve throughput statistics with Fiberblaze adapters #13

Closed cardigliano closed 5 years ago

cardigliano commented 5 years ago

Statistics in /proc/net/pf_ring/stats/* for each interval show throughput of an arbitrary amount (a spike, then back to 0.00Mpps and 0.00Gbps). The dumpedBytes counter reliably increments but the throughput doesn't.
Note: at the moment n2disk computes packets/bytes in the capture loop in packet mode only, while in segment mode (which is what Fiberblaze uses) statistics are read from the adapter to avoid scanning all segments. This seems to cause this issue (it seems statistics are not constantly updated by the adapter, this need to be verified).

cardigliano commented 5 years ago

This seems to work in our lab, it is likely it depends on the Fiberblaze card model or driver (waiting for more details from the customer)

nathandau commented 5 years ago

This can be closed off. We have decided to use N2disk ZMQ monitoring instead. Thanks

cardigliano commented 5 years ago

Ok, we are not able to reproduce this thus I will close this for now.